Getting trayer to work with dual screen setup
Posted
by
Ikke
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Ikke
Published on 2010-10-28T13:07:20Z
Indexed on
2011/01/15
18:00 UTC
Read the original article
Hit count: 190
multiple-monitors
|trayer
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?
© Ask Ubuntu or respective owner