I'm using the latest stable #!Crunchbang 64 bit backports edition, and I installed the Awesome Window Manager (my favorite!) which I have used in the past. It works just fine, except the notification area icons which appear in Openbox don't appear in Awesome. Specifically, I would like the NetworkManager icon to work, as well as the volume slider and battery monitor icons. I'm not too concerned about the clipboard manager, but that'd be nice too.
I tried searching the #! forum, to no avail. Thanks in advance for helping me!
EDIT: Solved! See below...
Last edited by Phillip Bromley (2012-12-13 07:17:15)
Have you checked the awesome wiki? http://awesome.naquadah.org/wiki/Main_Page
This topic mentions a "systray" widget: http://awesome.naquadah.org/wiki/Widgets_in_awesome -- that might be what you are looking for.
And there is this: http://awesome.naquadah.org/wiki/System_Tray
In GNOME and KDE, the System Tray gives a place to display various items. Awesome doesn't directly have this capability, so some additional programs are needed to achieve this functionality.
It goes on to give some suggestions. I think you could probably even run tint2 (the panel #! uses) if you really want to, but there are several other alternatives.
You might also want to check out this topic, if you have not done so already: http://crunchbang.org/forums/viewtopic.php?id=11796
Last edited by pidsley (2012-12-13 00:21:06)
Thanks! I'll check that out, and I'll post back here if I don't have any luck.
From the link to the Awesome Wiki which pidsley provided, I found this page which showed how to execute commands on startup:
I then copied the default rc.lua from /etc/xdg/awesome to ~/.config/awesome (the directory didn't exsist by default, so I created it) and added the following lines to the end of it:
-- Autostart section -- Blank autostart: -- awful.util.spawn_with_shell("") awful.util.spawn_with_shell("nm-applet") -- networkManager applet awful.util.spawn_with_shell("vlc") -VLC media player awful.util.spawn_with_shell("fatrat -i") -- Fatrat download manager (with systray only command line switch) awful.util.spawn_with_shell("volumeicon") -- Volume icon awful.util.spawn_with_shell("xfce4-power-manager") -- Battery monitor, etc. awful.util.spawn_with_shell("parcellite") -- clipboard manager
nm-applet, volumeicon, xfce4-power-manager, and parcellite were in the openbox systray by default, and I added VLC media player and fatrat too. All of these programs run in the systray automatically when they run, so all I had to do was set them to run as soon as Awesome started.
The main downside is that if you restart awesome (via mod4 + SHIFT + R, for example), a second instance of each program will open, annoyingly. There are other, more complicated ways to prevent this in the Awesome Wiki page that I linked to above.
Also, VLC media player has a command line switch to open in the systray only, supposedly the "-d" switch, but I had no luck with that. But this thread shows a VLC setting to start VLC in the systray by default: http://forum.videolan.org/viewtopic.php?f=14&t=57145
Here's a screenshot!
Thanks a lot guys! I hope this information helps others around here in the future.