You are not logged in.

#1 2013-04-27 17:16:33

VDP76
Member
Registered: 2013-04-21
Posts: 23

[SOLVED] dual monitor setup, issue on positioning of applications

hi,

I have managed to install a Crunchbang-like Arch system and so far I am very happy with the results! I am just having a little issue with a dual monitor setup made through xrandr/ARandR scripts: primary external monitor with secondary laptop monitor at its right.
Basically I think I can't really set a primary monitor because some applications start across the two monitors, at the centre of the virtual display; this is the case for skype and, most annoyingly, oblogout...also the dropbox notifications appear in the secondary monitor.
I set up the monitors with something like this (which works fine in Crunchbang)

xrandr --output LVDS1 --mode 1366x768 --pos 1280x0 --rotate normal --output VGA1 --mode 1280x1024 --pos 0x0 --rotate normal  --primary

using --right-of doesn't seem to make any difference...

any hint for me!?? smile

thanks

Last edited by VDP76 (2013-08-17 18:30:17)

Offline

#2 2013-04-27 20:31:19

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] dual monitor setup, issue on positioning of applications

The coordinates system if from left to right and from top to bottom. The position is the position of the upper left corner of the screen. So in your command the LVDS monitor is at the right of the VGA monitor. If you would like the LVDS monitor on the left (so the VGA monitor on the right), use something like:

xrandr --output LVDS1 --mode 1366x768 --pos -1280x0  --output VGA1 --mode 1280x1024 --pos 0x0 --primary

The --primary option is the monitor when you want to see the taskbar (or the equivalent concept, what the desktop should think as the primary), it has nothing to do with the position.

Offline

#3 2013-04-28 15:28:00

VDP76
Member
Registered: 2013-04-21
Posts: 23

Re: [SOLVED] dual monitor setup, issue on positioning of applications

olive,
thanks for your reply.
In my command the LVDS is correctly at the right of VGA, as I want it to be. I am afraid I couldn't explained my issue, maybe a screenshot will...
jMJsyUKoyaOsK_xs.jpg
I would like programs (skype, for example) to open up in the main VGA monitor, as well as all the icons from oblogout not to be across the screens....

any idea? thanks

Offline

#4 2013-08-17 18:33:06

VDP76
Member
Registered: 2013-04-21
Posts: 23

Re: [SOLVED] dual monitor setup, issue on positioning of applications

I have figured it out today while looking for some other settings in Openbox. I have added to openbox's rc.xlm the following

    <application name="skype">
      <position force="yes">
        <x>100</x>
        <y>100</y>
      </position>
    </application>    
    <application name="oblogout">
      <position force="yes">
        <x>0</x>
        <y>0</y>
      </position>
      <skip_pager>yes</skip_pager>
      <skip_taskbar>yes</skip_taskbar>
      <fullscreen>yes</fullscreen>
    </application> 

and now both application start in the main monitor.

Last edited by VDP76 (2013-08-17 18:33:24)

Offline

Board footer

Powered by FluxBB