Go to file
2019-09-02 11:58:39 +02:00
laptop-mode.service Fix. 2019-05-21 15:32:39 +02:00
LICENSE.txt init 2019-03-23 14:11:21 +01:00
README.md Updated readme. 2019-09-02 11:58:39 +02:00
setsysmode Fix. 2019-06-08 08:51:21 +02:00
sysmoded Refac. 2019-05-21 15:26:30 +02:00
tablet-mode.desktop Refac. 2019-05-21 15:26:30 +02:00
tablet-mode.group init 2019-03-23 14:11:21 +01:00
tablet-mode.service Fix. 2019-05-21 15:32:39 +02:00
tablet-mode.sudoers Refac. 2019-05-21 15:26:30 +02:00

tablet-mode

Allow users to toggle a convertible laptop between laptop and tablet mode.

Configuration

The devices to be deactivated in either tablet or laptop mode must be specified in /etc/tablet-mode.json.

{
    "tablet": [
        "/dev/input/by-path/platform-i8042-serio-0-event-kbd",
        "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
    ]
}

Usage

You must be a member of the group tablet to toggle between tablet and laptop mode.
You can toggle between tablet and laptop mode by running toggle-tablet-mode or use the desktop icon provided with this package.