chuwi-minibook-tablet-mode/README.md

22 lines
772 B
Markdown
Raw Normal View History

2019-03-23 14:11:21 +01:00
# tablet-mode
Allow users to toggle a convertible laptop between laptop and tablet mode.
## Configuration
2020-03-26 11:49:57 +01:00
The devices to be deactivated in either *tablet* or *laptop* mode must be specified in `/etc/tablet-mode.json`.
Optionally you can specify whether desktop notifications shall be send when changing the mode using the *notify* flag.
2019-09-02 11:58:39 +02:00
{
"tablet": [
"/dev/input/by-path/platform-i8042-serio-0-event-kbd",
"/dev/input/by-path/platform-i8042-serio-1-event-mouse"
2020-03-26 11:49:57 +01:00
],
"notify": false
2019-09-02 11:58:39 +02:00
}
2019-03-23 14:11:21 +01:00
## Usage
2019-03-23 15:22:09 +01:00
You must be a member of the group `tablet` to toggle between tablet and laptop mode.
2019-09-03 23:45:24 +02:00
You can toggle between tablet and laptop mode by running `setsysmode toggle` or use the desktop icon provided with this package.