-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Allow to specify rotation manually (e.g. with a --rotate
option).
#539
Comments
--rotate
option).--rotate
option).
This seems like a bug. Touchégg checks (or should be checking) on which screen the mouse pointer is placed at before calculating the rotation. In case you want to debug it or add some logs, the logic is in Does this behaviour changes if the mouse pointer is placed on the right screen before the gesture? I'll try to reproduce it locally when I have some time. |
This seems like a bug. Touchégg checks (or should be checking) on
which screen the mouse pointer is placed at before calculating the
rotation.
My screens are configured to overlap, so the mouse poiner is on both.
Does this behaviour changes if the mouse pointer is placed on the
right screen before the gesture?
If I configure my screens to not overlap then it works fine.
But I need to have them overlapped.
…--
You can't fall off the floor.
|
What do you mean by overlap? Do you mean mirroring? Or actually a bit of the screen is duplicated in both displays? Could you share a screenshot of your configuration? In GNOME display settings or similar. Just to make sure I understand the configuration. |
Yes, I mean mirroring (both screen show exactly the same) or partly-mirroring (the smaller screen completely fits in the larger screen).
In my initial post I already shared the output of Another configuration, where the laptop screen shows a proper subset of the external (touch)screen:
And yes, in that configuration, depending on in which area of the touchscreen I perform the gesture, What do you mean by a "screenshot of my configuration"? You mean a screenshot from a GUI for For maybe more clarity, I have attached a two photographs: And in case you asked for a screenshot of an Does that help? |
... as a suggestion: Why not use the transformation matrix from Taking the transformation for |
Thanks for the extra information. With all of that I should be able to reproduce it and fix it when I have time to look into it. |
Just to ask: What is the state of this? Regards! |
I have very little free time, and this bugs is a bit niche, so it has low priority, so other task are taking priority over this one. I'm sorry I can't look into this right now, hopefully someone will figure it out and open a PR |
Is your feature request related to a problem? Please describe
I have a setup where I have two monitors, configured to show the same screen area:
DSI1
in belowxrandr
output), is physically portrait, so it is rotated in software by 90° to be used in landscape (which is for the laptop the "natural" way),HDMI1
in belowxrandr
output), is physically in landscape and not rotated. This one is a monitor with touchscreen.Both are configured at 1280x720 pixel (more precisely: The laptop monitor is at 720x1280 pixel and rotated right) and are at the same virtual position, i.e. they show ther same content.
touchegg
now automatically rotates the gestures by 90°, because it thinks that it has to do so from the rotation ofDSI1
. This in the end leads to wrong gestures, since in fact the touch screen is the non-rotated monitorHDMI1
.If I set
HDMI1
explicitly as primary monitor withxrandr
, thentouchegg
takes it's rotation from there, i.e. it does not apply rotation and gestures work normally.However, I cannot set
HDMI1
as primary because that then interferes with my window manager which then displays the window switch dialogue on<ALT>
+<TAB>
only on one monitor (if I have no monitor set as primary it displays on both), and might have other interferences (Reference: The other side of this issue at xfwm's side).Describe the solution you'd like
Add an optional option to manually specifiy a rotation to be applied to gestures (default to the automation as it is now when no option is specified).
Describe alternatives you've considered
Setting
xrandr --output HDMI1 --primary
.Additional context
Output of
xrandr
:The text was updated successfully, but these errors were encountered: