Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 296084

Summary: x11-drivers/xf86-input-synaptics : allow rotation using xrandr
Product: Gentoo Linux Reporter: niogic <niogic>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: enhancement CC: chainsaw, egore, eva, proxy-maint
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.freedesktop.org/show_bug.cgi?id=21129
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch that adds support for rotating mouse
Patch that adds support for rotating mouse, modified for 1.3.0
Patched ebuild based on 1.3.0
A sh file using zenity allowing easy GUI for screen+mouse rotation

Description niogic 2009-12-07 15:28:26 UTC
Xrandr can rotate screen.
It's good. It would be best if one could also rotate the mousepad.

There's already a patch and the issue is descripted here: http://www.helsinki.fi/~rantalai/synaptics/
It was originally meant for ubuntu.


Can you have a look at the patch, fix it and include it in out synaptics?
Comment 1 niogic 2009-12-07 15:32:12 UTC
Created attachment 212350 [details, diff]
Patch that adds support for rotating mouse
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-12-08 12:47:13 UTC
This has already been discussed on xorg mailing list months ago and although I don't remember the outcome, it'd be best to pick up the discussion there than start implementing this at distribution level.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-04-07 21:37:46 UTC
@Gilles:
You are maintainer, but if it would be up to us in x11 team we would close this one as WONTFIX, since we already have policy of not using patches that were not accepted or are considered to be accepted by upstream.
Comment 4 Scott Logan 2010-09-08 20:07:25 UTC
Created attachment 246486 [details, diff]
Patch that adds support for rotating mouse, modified for 1.3.0
Comment 5 niogic 2010-09-11 14:54:51 UTC
*** Bug 332713 has been marked as a duplicate of this bug. ***
Comment 6 niogic 2010-09-11 14:56:38 UTC
Created attachment 246865 [details]
Patched ebuild based on 1.3.0
Comment 7 niogic 2010-09-11 14:57:41 UTC
Created attachment 246866 [details]
A sh file using zenity allowing easy GUI for screen+mouse rotation
Comment 8 niogic 2010-09-11 15:01:36 UTC
I'll give a good point for implementing this: you need this parameter to rotate you mouse together with screen so that you can use your 7'' 800x480 device as 480x800 to read ebooks but also to access some hidden menus that use 600 or 768 as minimum hard-coded height.

And small-display devices are spreading faster and faster nowadays (netbooks <10'', smartphones, ipad-like, etc.).
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-09-11 16:13:31 UTC
Please Do Not CC: Bug Assignee.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-09-13 08:04:31 UTC
Why was the summary changed... (this is not a question)
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-10-03 21:04:08 UTC
Upstream seems to work on it.
Comment 12 Christoph Brill (egore) (RESIGNED) 2011-03-09 21:38:17 UTC
I just committed this patch upstream. It will be available in 1.4.1 or at least in 1.5.0.

http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/commit/?id=049d5fb6037b34d94b24cb8300849cf4e3b67437

I also added it to my personal overlay: http://cgit.freedesktop.org/~cbrill/egore911-overlay/ Feel free to close this bug.
Comment 13 Matt Turner gentoo-dev 2017-01-30 03:13:50 UTC
Upstream bug is resolved.