[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
Linking the bug about the Gnome on-screen keyboard as is seems to be a general issue that this here bug depends on, and not device specific: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1760399 ** Summary changed: - Convertibles: Switching between laptop mode and tablet mode needed + Convertibles: Switching between laptop, tent, and tablet modes needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop, tent, and tablet modes needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
I am currently setting up such a device, Asus ZenBook Flip 15, UX561UD from 2018, and the new Dell XPS 15 9575 2-in-1 will follow in a week or two. https://www.notebookcheck.net/Asus-ZenBook-Flip-15-i7-8550U-GTX-1050-4K-SSD-HDD-Convertible-Review.295860.0.html https://www.notebookcheck.net/Dell-XPS-15-9575-i7-8705G-Vega-M-GL-4K-UHD-Convertible-Review.301916.0.html For the Asus, the generic laptop functions work out of the box with just two small niggles (bugs are filed) and very little is missing to make conversion features work out of the box. Rotation sensors and touch works perfectly fine (this is on Wayland, X has fewer working touch gestures but basics work too). What is missing is just: 1. Automatically deactivate touchpad when folding to tablet. (The keyboard already turns off. The keyboard has a working key to deactivate the touchpad, these two things only have to be wired together) 2. The new on-screen keyboard (from Gnome 2.28) activates automatically (even when deactivated in Accessibility settings) when touching the search box in the Gnome Activities menu and the applications overview menu. I found no other place where it triggers, not even the first-class Gnome applications like Web. It just has to trigger for every text entry box and we are good. 3. Important and not yet mentioned: This device type has a tent mode, typically for video watching. (It's great because most laptops have air intake grills and speakers at the bottom, which sucks e.g. in bed. Tent mode solves this nicely). However, in tent mode the stereo speakers swap positions relative to the screen, so the stereo channels have to be swapped. This is quite simple on the fly without touching a config file by: pactl load-module module-remap-sink sink_name=reverse-stereo master=0 channels=2 master_channel_map=front-right,front-left channel_map=front- left,front-right Then switch to it by: pactl set-default-sink reverse-stereo One can also switch in the sound control panel. It will disappear after pulseaudio restart I didn't come up with the pulseaudio stuff or try it out yet. Credit goes to @ulidtko on https://superuser.com/questions/59481/how-to-swap- stereo-channels-in-ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
And these convertibles are now starting to pop up all over the place, so getting this to work would be a thing now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
** Changed in: acpid Status: Incomplete => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
** Changed in: acpid Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: acpid (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
Attached is a script which works with Saucy, also a hack, but with logind (via loginctl) support added. Works for the time being until we get a real fix. ** Attachment added: "/etc/acpi/twist-tabletmode.sh" https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1210823/+attachment/3782833/+files/twist-tabletmode.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
xinput needs the DISPLAY and XAUTHORITY env variables to be set. For the time being one can hard-code all these variables in the script, at least on machines with only one user account. The script is a hack, a proper fix is expected in Unity 8. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
I told in the initial description that xinput was not working any more. I checked again today and it is working again. So for the script only a way for root to determine the current desktop user is missing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
** Changed in: acpid Status: Unknown => New ** Changed in: acpid Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
** Bug watch added: GNOME Bug Tracker #698226 https://bugzilla.gnome.org/show_bug.cgi?id=698226 ** Also affects: acpid via https://bugzilla.gnome.org/show_bug.cgi?id=698226 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
An implementation of mode-switching is also on https://launchpad.net/magick-rotation I supports several models of convertibles, so it should contain the appropriate ACPI event information. Not so nice is that it rotates the desktop into portrait mode. The orientation should be automatically set by an orientation sensor or changed by a button press, as in many cases (like video) a tablet is used in landscape orientation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
This file must be made executable. ** Attachment added: "/etc/acpi/twist-tabletmode.sh" https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1210823/+attachment/3767350/+files/twist-tabletmode.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
Attaching relevant files for the case that the Thinkwiki article goes away. ** Attachment added: "/etc/acpi/events/twist-tablet-enabled" https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1210823/+attachment/3767348/+files/twist-tablet-enabled -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1210823] Re: Convertibles: Switching between laptop mode and tablet mode needed
** Attachment added: "/etc/acpi/events/twist-tablet-disabled" https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1210823/+attachment/3767349/+files/twist-tablet-disabled -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210823 Title: Convertibles: Switching between laptop mode and tablet mode needed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1210823/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs