xrandr trap the mouse

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
joe343

xrandr trap the mouse

Post by joe343 »

Hi,

I have a Asus eeePC 1001PX with a maximum screen resolution of 1024x600. I tried using xrandr to scale the screen so I can fit a 1024x768 screen on my display using:

xrandr --output LVDS1 --mode 1024x600 --scale 1.00x1.28 --panning 1024x768

The problem is that the mouse is trapped by invisible boundaries at the bottom of the screen. It's like the display is now 1024x768 but the mouse is constrained in the original 1024x600 region - I cannot move the mouse to the bottom of the screen.

Do you have any idea why this is happening?

Thanks.

PS Running Mint 12 (gnome 3)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
nunol
Level 9
Level 9
Posts: 2633
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal

Re: xrandr trap the mouse

Post by nunol »

I found the same thing when running "xrandr --output LVDS1 --scale 1.25x1.28" to compress the screen in Mint 12 and Ubuntu 11.10. It worked in Mint 11...
StarsLikeDust

Re: xrandr trap the mouse

Post by StarsLikeDust »

I have a similar issue on LM 12 not with scaling but just setting the native resolution for my monitor. I used cvt to generate a modeline and then xrandr to add and switch to the new mode.

From glxinfo:

Code: Select all

 OpenGL renderer string: Mesa DRI Intel(R) 945G x86/MMX/SSE2
I looked around a bit and found that this graphics solution isn't terribly well supported on linux. Any ideas would be appreciated.
StarsLikeDust

Re: xrandr trap the mouse

Post by StarsLikeDust »

Slight update: I "fixed" this by downgrading. However the problem returned when I installed the latest stable synergy package from the project website, after downgrading that as well things returned to normal.
User avatar
nunol
Level 9
Level 9
Posts: 2633
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal

Re: xrandr trap the mouse

Post by nunol »

It's a bug: https://bugs.freedesktop.org/show_bug.cgi?id=39949

Has patch for a partial solution, only for panning but not for scaling: http://patchwork.freedesktop.org/patch/6488/

Arch users have the same problem: https://bbs.archlinux.org/viewtopic.php?id=118999

Hope the bug gets solved...

Edit:
There is a new patch: https://bugs.freedesktop.org/attachment.cgi?id=56408
Mint 12 LXDE has the same problem...
Johnny Pest

Re: xrandr trap the mouse

Post by Johnny Pest »

Hi,

How do you apply these patches?

Or, how can we switch to a newer or older xrandr version? 1.2 seems to have problems.

Thanks
Zenxos

Re: xrandr trap the mouse

Post by Zenxos »

I'll move my post elsewhere as this thread seems dead.

[url]http://forums.linuxmint.com/viewtopic.php?f=49&t=152634[/url]
Locked

Return to “Hardware Support”