I'm using XMonad as my window manager, and want to use trayer as a icon panel for things like nm-applet.
The problem was that the panel wouldn't appear on the top of the screen. If I set it to the bottom it just appeared.
After a lot of trying, I found out it is because my xorg.conf is setup for dualscreens, and probably the trayer panel is spawned outside my view (I currently have only a single screen, but I switch a lot).
After manualy tweaking the xorg.conf file to allow for just one screen, the panel appears on the right spot.
These are the things I had to modify:
Section "Monitor"
Identifier "0-LVDS"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1366x768"
Option "TargetRefresh" "60"
Option "Position" "0 0" # Was 1280 256
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
SubSection "Display"
Viewport 0 0
Virtual 1366 768 # Was 2646 2646
Depth 24
EndSubSection
The problem is ofcourse that I can't use my dual screen setup anymore. Is there a way to force trayer on the right position even with the dualscreen setup?