Hi,

On 26.10.2012 14:01, Marco wrote:
> I used  to use xcalib  to invert  my screen. It  is mapped to  a key
> which toggles the screen inversion.
> 
> Recently I switched to a  two monitor setup and unfortunately xcalib
> inverts only the second  screen. I did not find a  way to invert the
> current one. Inverting both screens would also be perfectly fine.

Looking at the xcalib source code, it uses the XF86VidMode extension to mess
with stuff. There are no monitors specified here, so... dunno. From the code, I
would have guessed that this applies to all monitors, but the X11 server seems
to think otherwise.

> In
> the xcalib man page I find
> 
> OPTIONS
>    -d, -display <host:dpy>
> 
>    -s, -screen <screen-#>
> 
> But neither -d,  nor -s works or  maybe I'm just using  it the wrong
> way. I assume the xcalib screen  is not what awesome calls a screen.
[...]

The -d option let's you specify which X11 server to talk to. E.g. you could use
-d myothermachine:2 to say that there is a X11 server running on
"myothermachine" which listens as "dpy 2".

The -s option let's you specify the screen to use. In theory. This uses X11's
zaphod mode. In this mode, you cannot move windows between screens. For this
reason, since Xinerama, there is always just a single, big, virtual screen on
the display and the individual monitors are handled otherwise.

TL;DR: I have no clue about XF86VidMode, but I guess it doesn't let you do what
you want.

Cheers,
Uli
-- 
- Buck, when, exactly, did you lose your mind?
- Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her.

-- 
To unsubscribe, send mail to [email protected].

Reply via email to