Package Details: mutter-auto-rotation 44.1+r2+g82bd40dcbc-1

Git Clone URL: https://aur.archlinux.org/mutter-auto-rotation.git (read-only, click to copy)
Package Base: mutter-auto-rotation
Description: Window manager and compositor for GNOME, with touch-mode auto-rotation (reverts MR 1710)
Upstream URL: https://gitlab.gnome.org/GNOME/mutter
Keywords: gnome tablet yoga
Licenses: GPL
Conflicts: mutter
Provides: libmutter-12.so, mutter
Submitter: parcimonic
Maintainer: parcimonic
Last Packager: parcimonic
Votes: 3
Popularity: 0.59
First Submitted: 2022-07-14 14:09 (UTC)
Last Updated: 2023-05-09 22:04 (UTC)

Required by (16)

Sources (2)

Pinned Comments

parcimonic commented on 2022-07-14 14:28 (UTC)

Reasons for reverting MR 1710:

  1. MR 1846 doesn't look like it will be merged (see comments).
  2. The above MR didn't fix auto-rotation for me.
  3. The Gnome extension: https://extensions.gnome.org/extension/4191/screen-autorotate/ didn't work either.

Latest Comments

1 2 Next › Last »

ohno1052 commented on 2023-04-22 18:53 (UTC) (edited on 2023-04-22 20:12 (UTC) by ohno1052)

This is the driver from links, that parcimonic provided: https://github.com/fsmv/linux/releases/tag/yoga-tablet-v3

Looks like it will be in 6.4

But sadly, doesn't work with my Lenovo Yoga 710-14ikb (80V4) Maybe i've done something wrong, but with this module loaded and non-patched mutter nothing has changed, no reaction to rotation of screen and flipping, libinput also didn't reported anything on these actions.

If there are people with same yoga laptop, or a little different ones (like 710-14isk 710-11isk etc), will be glad, if you will test this module and write here results of testing. Also, in case of issues with this module, contact developer kallmeyeras@gmail.com. He was very helpful, and led me to successful build of this module.

parcimonic commented on 2023-04-16 11:39 (UTC)

Good news for Yoga users:

https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?h=for-next&id=e82882cdd241b78d305df1441c624fbbbd07af05

https://www.phoronix.com/news/Lenovo-Yoga-Tablet-Mode-Switch

fsmv commented on 2023-03-17 04:37 (UTC)

That bug is fixed in gtk 3.24.37!

https://gitlab.gnome.org/GNOME/gtk/-/issues/5386

fsmv commented on 2023-03-02 02:45 (UTC) (edited on 2023-03-02 02:45 (UTC) by fsmv)

Actually that focus bug is fixed when running browsers with Wayland flags. It did appear in Firefox as well but I was already running the Wayland flag last time I tested it.

For google-chrome: echo "--ozone-platform-hint=auto" >> ~/.config/chrome-flags.conf

For firefox: echo "MOZ_ENABLE_WAYLAND=1" > ~/.config/environment.d/firefox.conf

Maybe that patch could be updated to fix merge conflicts with the new version of Gnome. This mostly works for me but oxide render does seem to have some quirks in chrome.

parcimonic commented on 2023-03-01 20:43 (UTC) (edited on 2023-03-01 20:44 (UTC) by parcimonic)

@fsmv this is probably because I had to comment the cherrypick: https://github.com/archlinux/svntogit-packages/commit/4df2e76b9f1deb8ce851f484af200f67084de07a

fsmv commented on 2023-02-28 04:16 (UTC) (edited on 2023-02-28 05:15 (UTC) by fsmv)

FYI this triggers a bug in google-chrome which makes Chrome continuously steal focus from other windows (such as gnome-terminal and gedit) that were launched from Gnome while chrome was focused. If you click Chrome then the window you launched focus starts working normally again.

This bug went away when I uninstalled this patch and came back after. Seems to be only Chrome that does it.

parcimonic commented on 2023-02-19 13:49 (UTC)

I've updated the revert patch but the build was still failing.

Commenting the cherrypick commit allowed it to build successfully.

22-all commented on 2023-02-19 05:33 (UTC) (edited on 2023-02-19 14:12 (UTC) by 22-all)

EDIT: Works now, see comment above. Thanks!

Sadly, version 43.3-2 gives me an error. Previous versions worked flawlessly.

    error: patch failed: src/backends/native/meta-seat-impl.c:1663
    error: src/backends/native/meta-seat-impl.c: patch does not apply
    ==> ERROR: A failure occurred in prepare().
    Aborting...

Drew commented on 2022-11-11 03:56 (UTC) (edited on 2022-11-11 04:00 (UTC) by Drew)

With my hp 1040 2in1 this is not helpful. As soon as I fold to a tablet, gnome does appear to enter touch mode, because the "auto-rotate" setting becomes enabled in the quick settings panel. But the screen doesn't actually auto-rotate. It stays in the default landscape no matter what.

Worse yet, this package introduces a regression. When I unfold from tablet back to laptop mode, the mouse and keyboard remain completely unresponsive. I have to close the laptop completely, which triggers sleep, then when I open the laptop I am able to use the mouse and keyboard again to unlock etc., until the next time I fold it as a tablet and it gets stuck again.

With vanilla mutter, my computer has no trouble disabling the mouse and keyboard when in tablet mode. But when I switch to laptop mode, they come right back, as I would expect. But I don't see any indication that gnome is ever in tablet mode.

Previously with gnome 42 I used the "screen-autorotate" extension and everything was perfect.

Upgrading to 43 brought me right back to how poorly this worked right after 42 was released. ugh

sidevesh commented on 2022-11-01 14:52 (UTC)

Gnome 43 just arrived on arch stable, currently I am not able to update because looks like this does not support 43.