You are not logged in.

#1 2009-09-19 21:11:29

Isengrin
Member
Registered: 2008-08-07
Posts: 166

[Solved] Set Awesome's dual-monitor screen numbers

Greetings.
I have a question, hope someone can help me.

<background>
Some days ago I started using Awesome as WM. Last night, I attached an old monitor to my notebook and configured it with xrandr. Everything great, except that the tray and the apps I marked to open on screen1 are shown in the old monitor.
</background>

So, can someone tell me how to set my notebook's screen as the number 1, where I have my eyes most of the time? I've googled all morning but nothing.

Thanks in advance. =)

// my rc.lua, if needed: http://isengrin.iespana.es/Config/rc.lua

Last edited by Isengrin (2009-09-19 22:04:15)


The Wheel weaves as the Wheel wills, and we are only the thread of the Pattern."
—Moiraine Damodred

Offline

#2 2009-09-19 21:44:38

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [Solved] Set Awesome's dual-monitor screen numbers

As you noticed when you plugin the external monitor it then becomes screen 1, and your laptop panel screen 2. Where ever you want something to appear on the laptop panel you can use screen.count() instead of a fixed screen number. When only laptop panel is on it will return 1, but with external monitor enabled it will return 2:

    s == screen.count() and mysystray or nil

Alternative is to try and set your laptop panel as the primary screen:
xrandr --output [OUT] --primary


You need to install an RTFM interface.

Offline

#3 2009-09-19 22:03:49

Isengrin
Member
Registered: 2008-08-07
Posts: 166

Re: [Solved] Set Awesome's dual-monitor screen numbers

I just tried the xrandr --primary and it worked perfect.

I greatly appreciate your help. big_smile


The Wheel weaves as the Wheel wills, and we are only the thread of the Pattern."
—Moiraine Damodred

Offline

Board footer

Powered by FluxBB