Kodpoet
March 17th, 2010, 09:10 AM
Hi,
I've started using xmonad as my window manager and is currently trying to make it effective to use by installing dzen2, a system tray and starting som basic things on startup, such as nm-applet. Now, I've managed to get to a point where both dzen2 and xmonad works, but my start-up script doesn't work the way I want and I haven't found a suitable system tray yet. (Most people seem to use "trayer" which is listed in the repos but has no install candidate)
Now, to the facts:
I followed this tutorial to set up xmonad and dzen2: http://tombuntu.com/index.php/2009/03/19/adding-a-dzen2-statusbar-to-xmonad/
My setup is basically exactly like his but to the end of the tutorial he mentions that you could start all the apps I need at startup from a startup_script. The startup_script.sh is run from xmonad.desktop and my version looks like this:
#!/bin/sh
# Start Xmonad and pipe status data to dzen
xmonad | dzen2 -ta l
# launch terminal
# gnome-terminal
# Allow wireless internet access
# nm-applet
# Set background
feh --bg-scale ~/Pictures/Beautiful.jpg
The script halts after the first line and never executes the rest of the script, which might be obvious to you if you're experienced in scripting - I am not. :) I'm aware that you can start apps from inside the xmonad.hs config file but somehow I've gotten the idea that it's better to do it in the startup script, if that's wrong please tell me so. ^^
My questions are as follows:
1. What's wrong with my script and what do I need to make it run my apps?
2. What system tray is best for this setup? (and please point me in the right direction about how to install and set it up)
Thank you for your time and effort!
I've started using xmonad as my window manager and is currently trying to make it effective to use by installing dzen2, a system tray and starting som basic things on startup, such as nm-applet. Now, I've managed to get to a point where both dzen2 and xmonad works, but my start-up script doesn't work the way I want and I haven't found a suitable system tray yet. (Most people seem to use "trayer" which is listed in the repos but has no install candidate)
Now, to the facts:
I followed this tutorial to set up xmonad and dzen2: http://tombuntu.com/index.php/2009/03/19/adding-a-dzen2-statusbar-to-xmonad/
My setup is basically exactly like his but to the end of the tutorial he mentions that you could start all the apps I need at startup from a startup_script. The startup_script.sh is run from xmonad.desktop and my version looks like this:
#!/bin/sh
# Start Xmonad and pipe status data to dzen
xmonad | dzen2 -ta l
# launch terminal
# gnome-terminal
# Allow wireless internet access
# nm-applet
# Set background
feh --bg-scale ~/Pictures/Beautiful.jpg
The script halts after the first line and never executes the rest of the script, which might be obvious to you if you're experienced in scripting - I am not. :) I'm aware that you can start apps from inside the xmonad.hs config file but somehow I've gotten the idea that it's better to do it in the startup script, if that's wrong please tell me so. ^^
My questions are as follows:
1. What's wrong with my script and what do I need to make it run my apps?
2. What system tray is best for this setup? (and please point me in the right direction about how to install and set it up)
Thank you for your time and effort!