Hi Everybody.........I was wondering is there a way to make wbar start automatically during startup. I really like the way it works and have figured out how to modify what you can have on the bar, I just would like to have it start and be there when the system starts. Thanks in advance for any help and advice.
I presume that you are using Xfce as your desktop environment (
if only because wbar does start automatically when you run Fluxbox). Easy to do with Xfce.
Go to Settings > Autostarted Applications. Click on Add and fill in the details. That creates a ~/.config/autostart/wbar.desktop file. If you want to change the way Wbar is loaded, you will need to edit that file, since the Autostarted Apllications menu entry does not permit editing, just adding and removing.
I created a script which is called by ~/.config/autostart/wbar.desktop. I did that because I found that if I log out and then log back in, wbar starts too quickly and does not paint the background correctly. The script s as below:
wbar -above-desk -p bottom -isize 34 -z 1.8 -j 1.0 -bpress -nanim 3
That 'sleep 2' allows enough delay for Xfce to stabilize before wbar is started. I put the script into a ~/bin directory which is added to my path by ~/.bashrc, but I found that I have to specify an absolute path to it in the wbar.desktop file.