placing on head with xinerama

Atte André Jensen atte.jensen at gmail.com
Tue Mar 27 17:52:32 EDT 2007


Hi

I just got a second display for use together with my laptop. I setup
xinerama at least I *think so* since my xdm is only displayed on the
buildin screen and fullscreen doesn't stretch applications over both
screens as the did with pure x dual head.

Now I'm trying to control which dekstops *and* wich physical screen
certain applications are placed on and I found this

http://wiki.archlinux.org/index.php/Openbox#Per-application_settings

I have the following in the <applications> part my .config/openbox/rc.xml:

   <application class="Firefox-bin">
     <desktop>0</desktop>
     <head>1</head>
   </application>

And lines: with "screen 0" and "screen 1" in the devices in my xorg.conf

However I still get firefox on the left screen. Of course I tried
playing with different values for "head" (even tried putting "head 0/1"
instead of "screen 0/1" in xorg.conf, but then x wouldn't start). I also
tried playing around with the <position>, for instance I thought that 
putting an x-offset of 1024 (the size of my buildin) would force firefox 
to start on the external, but unfortunately not so :-(

Any pointers about how to nail firefox to my external screen would be 
most welcome, thanks in advance...

-- 
peace, love & harmony
Atte

http://www.atte.dk      | quintet:      http://www.anagrammer.dk
                         | compositions: http://www.atte.dk/compositions





More information about the openbox mailing list