You are not logged in.
I am having problems with my bash script that starts up my desktop environment.
I have the path to my bash script in ~/.config/openbox/autostart file and that part works ok.
The start-up.sh contains all the paths to each script for each element of my environment. The top two could probably be started before startx, tho i have decided to keep them here for now.
#!/bin/bash
~/spiritech-environment/set-key-map.sh
~/spiritech-environment/audio.sh
sleep 1s; ~/spiritech-environment/printer.sh
sleep 1s; ~/spiritech-environment/background-changer.sh
sleep 1s; ~/spiritech-environment/x-composite-manager.sh
sleep 1s; ~/spiritech-environment/cairo-dock.shI have put them in the order that i think is best. my problem is that cairo-dock does not run at all. If i change the order to have cairo-dock.sh further up the list it does run and anything below it does not run.
cairo-dock.sh contains.
#!/bin/bash
cairo-dock -oThis is the output from the terminal when i run cairo-dock.sh.
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/implementations/cairo-dock-glx.c:_initialize_opengl_backend:179)
couldn't find an appropriate visual, trying to get one without Stencil buffer
(it may cause some little deterioration in the rendering) ...
============================================================================
Cairo-Dock version : 3.3.2
Compiled date : Dec 27 2013 16:14:05
Built with GTK : 3.10
Running with OpenGL: 1
============================================================================
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-module-manager.c:gldi_module_new_from_so_file:160)
while opening module '/usr/lib/cairo-dock/libcd-system-monitor.so' : (libsensors.so.4: cannot open shared object file: No such file or directory)
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-module-manager.c:gldi_module_new_from_so_file:160)
while opening module '/usr/lib/cairo-dock/libcd-keyboard-indicator.so' : (libxklavier.so.16: cannot open shared object file: No such file or directory)
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-module-manager.c:gldi_module_new_from_so_file:160)
while opening module '/usr/lib/cairo-dock/libcd-Recent-Events.so' : (libzeitgeist-1.0.so.1: cannot open shared object file: No such file or directory)
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-module-manager.c:gldi_module_new_from_so_file:160)
while opening module '/usr/lib/cairo-dock/libcd-GMenu.so' : (libgnome-menu-3.so.0: cannot open shared object file: No such file or directory)
warning : (/build/cairo-dock-plugins/src/cairo-dock-plugins-3.3.2/gvfs-integration/cairo-dock-gio-vfs.c:cairo_dock_gio_vfs_init:55)
VFS Deamon NOT found on DBus !
GldiShortkey '<Control>F9' failed!
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-keybinder.c:init_object:455)
Couldn't bind '<Control>F9' (Control from keyboard: Enable/disable the keyboard control of the dock)
This shortkey is probably already used by another applet or another application
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-image-buffer.c:cairo_dock_load_image_buffer_from_surface:162)
An image has an invalid size, will not be loaded.
warning : (/build/cairo-dock/src/cairo-dock-3.3.2/src/gldit/cairo-dock-image-buffer.c:cairo_dock_load_image_buffer_from_surface:162)
An image has an invalid size, will not be loaded.If i run each script in any or the same order seperately then they all work as expexted. does anyone know where i am going wrong?
If i execute the cairo-dock.sh script in a terminal it hangs after the error warnings. Is this supposed to happen, because if i run other scripts in a terminal they execute and exit?
Maybe this is a bug with cairo-dock?
Last edited by spiritech (2014-01-02 17:41:29)
Offline
Well i have solved the problem using the & operator. The two commands.
xcompmgr &
ciaro-dock -o &Both needed the & to pass the next command. The other scripts did not as the commands execute and exit.
Last edited by spiritech (2014-01-02 17:40:27)
Offline