Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242276

Re: How to rotate screen AND input (consistently)

From riveravaldez <riveravaldezmail@gmail.com>
Newsgroups linux.debian.user
Subject Re: How to rotate screen AND input (consistently)
Date 2021-11-21 02:20 +0100
Message-ID <DlJGp-4FN-1@gated-at.bofh.it> (permalink)
References <Dlsmd-2MD-3@gated-at.bofh.it> <DlxlV-5UL-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/20/21, Dan Ritter <dsr@randomstring.org> wrote:
> riveravaldez wrote:
>> Hi,
>>
>> I'm on Debian 11 in a ThinkPad X220 Tablet (convertible)
>> and I need to rotate the display (both physically and GUI)
>> which I do with:
>>
>> $ xrandr --output LVDS-1 --rotate inverted
>>
>> But then the input (trackpad/mouse, stylus, touchscreen, etc.)
>> doesn't rotate accordingly, so it gets unusable...
>
> Right, because for most cases, rotating a monitor doesn't mean
> picking up your mouse and rotating it, too.
>
> If you've got an external mouse, you'll see that works just
> fine, but that defeats the point of a tablet.

Absolutely right. Thanks a lot for the information.

>> I've been reading different recommendations online
>> but can't figure out which would be the best/proper/simpler
>> approach to achieve this reliably (that hardware input
>> stays consistent with the GUI in display when rotated).
>>
>> What should I do? Any hint?
>
> I haven't done this, but I believe xinput is going to be your
> friend. It can list devices, list properties, and set whatever
> needs to be set.

Thanks, Dan, I'm going to check it.

> The older way of doing this is to get into the Mouse section of
> your xorg.conf.
>
> Wayland has its own ways, which perhaps someone else can
> explain.

Thanks a lot again.
Just to avoid any waste of help, there's nothing/no wayland package
in this box, pure X.

Regards!

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How to rotate screen AND input (consistently) riveravaldez <riveravaldezmail@gmail.com> - 2021-11-20 07:50 +0100
  Re: How to rotate screen AND input (consistently) Dan Ritter <dsr@randomstring.org> - 2021-11-20 13:10 +0100
    Re: How to rotate screen AND input (consistently) David Wright <deblis@lionunicorn.co.uk> - 2021-11-20 17:20 +0100
    Re: How to rotate screen AND input (consistently) Loïc Grenié <loic.grenie@gmail.com> - 2021-11-20 17:20 +0100
    Re: How to rotate screen AND input (consistently) riveravaldez <riveravaldezmail@gmail.com> - 2021-11-21 02:20 +0100

csiph-web