Tablet mode switch for Chuwi Minibook
https://howto.wikis.systemausfall.org/hardware/chuwi_minibook
tabletmode | ||
laptop-mode.service | ||
LICENSE.txt | ||
README.md | ||
setsysmode | ||
setup.py | ||
sysmoded | ||
tablet-mode.desktop | ||
tablet-mode.group | ||
tablet-mode.service | ||
tablet-mode.sudoers |
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 setsysmode toggle
or use the desktop icon provided with this package.