{"id":18041685,"url":"https://github.com/katyo/tablet-assist","last_synced_at":"2025-10-28T14:35:15.633Z","repository":{"id":214784465,"uuid":"737319269","full_name":"katyo/tablet-assist","owner":"katyo","description":"Tablet-mode assistance for convertible laptops.","archived":false,"fork":false,"pushed_at":"2024-04-12T14:59:33.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T04:24:19.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-30T15:51:55.000Z","updated_at":"2024-04-14T04:24:19.715Z","dependencies_parsed_at":"2024-01-09T08:30:07.334Z","dependency_job_id":"fda2eaff-9a0e-4cc6-8b47-fb2256eb6fae","html_url":"https://github.com/katyo/tablet-assist","commit_stats":null,"previous_names":["katyo/tablet-assist"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Ftablet-assist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Ftablet-assist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Ftablet-assist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Ftablet-assist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katyo","download_url":"https://codeload.github.com/katyo/tablet-assist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247277971,"owners_count":20912639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T16:11:33.672Z","updated_at":"2025-10-28T14:35:15.545Z","avatar_url":"https://github.com/katyo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tablet-mode assistance\n\n[![github](https://img.shields.io/badge/github-katyo/tablet--assist-8da0cb.svg?style=for-the-badge\u0026logo=github)](https://github.com/katyo/tablet-assist)\n[![MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)\n[![CI](https://img.shields.io/github/actions/workflow/status/katyo/tablet-assist/ci.yml?branch=master\u0026style=for-the-badge\u0026logo=github-actions\u0026logoColor=white)](https://github.com/katyo/tablet-assist/actions?query=workflow%3ARust)\n\nThis software intended to support convertible and tablet devices with Linux.\nCurrent status still work-in-progress but main features already implemented.\n\n## Packages\n\n- **tablet-assist-service** - system service which interacts with hardware (tablet switch and accelerometer sensors) and provides D-Bus properties to be able detect current device usage\n- **tablet-assist-agent** - user session service which configures screen orientation and input devices according to settings and current device usage\n- **tablet-assist-ui** - simple GTK-based UI to interact with agent for switching modes and configuring\n\n### Service\n\nFeatures:\n\n- [x] Support for Libinput tablet-mode switches\n- [x] Support for Industrial IO accelerometers\n- [ ] Support tablet-mode detection using two accelerometers\n\nSystem D-Bus service properties:\n\n- `HasTabletMode` - tablet-mode detection supported by service\n  - `true` - detection supported\n  - `false` - detection not supported\n- `TabletMode` - detected mode\n  - `true` - currently in tablet mode\n  - `false` - currently in laptop mode\n- `HasOrientation` - screen orientation detection supported by service\n  - `true` - detection supported\n  - `false` - detection not supported\n- `Orientation` - detected orientation\n  - `top-up`\n  - `bottom-up`\n  - `left-up`\n  - `right-up`\n\n### Agent\n\nFeatures:\n\n- [x] Enabling/disabling input devices when tablet-mode switched\n- [x] Changing screen orientation when orientation changed\n- [x] Auto and manual tablet-mode switching\n- [x] Auto and manual screen orientation changing\n\n### UI\n\n- [x] Tray indicator for quick controls\n- [ ] Input devices configuration dialog\n\n## Installation\n\n### Service\n\n```sh\ncargo build --release -p tablet-assist-service\ncp target/release/tablet-assist-service /usr/sbin\ncp data/tablet-assist.service /usr/lib/systemd/system\ncp data/tablet.assist.Service.conf /usr/share/dbus-1/system.d\ncp data/tablet.assist.Service.service /usr/share/dbus-1/system-services\n```\n\n### Agent\n\n```sh\ncargo build --release -p tablet-assist-agent\ncp target/release/tablet-assist-agent /usr/sbin\ncp data/tablet-assist-agent.service /usr/share/systemd/user\ncp data/tablet.assist.Agent.service /usr/share/dbus-1/services\n```\n\n### UI\n\n```sh\ncargo build --release -p tablet-assist-ui\ncp target/release/tablet-assist-ui /usr/bin\ncp data/tablet-assist.desktop /etc/xdg/autostart\n```\n\n## Supported devices\n\n- [x] Lenovo ThinkPad X1\n  - [x] Gen4 (tested)\n- [ ] Teclast F5\n\nWelcome for issues and PRs with support for other devices!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatyo%2Ftablet-assist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatyo%2Ftablet-assist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatyo%2Ftablet-assist/lists"}