{"id":20131303,"url":"https://github.com/qzed/linux-surfacegen5-button-autoremap","last_synced_at":"2026-05-12T00:44:45.328Z","repository":{"id":100517958,"uuid":"149767789","full_name":"qzed/linux-surfacegen5-button-autoremap","owner":"qzed","description":"Auto-remap Surface Book 2/Surface Pro (2017) volume buttons based on device orientation (on Linux).","archived":false,"fork":false,"pushed_at":"2019-01-05T13:01:07.000Z","size":8,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T08:46:54.138Z","etag":null,"topics":["linux","linux-surface"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qzed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-09-21T13:32:18.000Z","updated_at":"2020-04-10T09:53:38.000Z","dependencies_parsed_at":"2023-05-15T16:15:32.702Z","dependency_job_id":null,"html_url":"https://github.com/qzed/linux-surfacegen5-button-autoremap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qzed%2Flinux-surfacegen5-button-autoremap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qzed%2Flinux-surfacegen5-button-autoremap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qzed%2Flinux-surfacegen5-button-autoremap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qzed%2Flinux-surfacegen5-button-autoremap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qzed","download_url":"https://codeload.github.com/qzed/linux-surfacegen5-button-autoremap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241577070,"owners_count":19984940,"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":["linux","linux-surface"],"created_at":"2024-11-13T20:47:29.745Z","updated_at":"2026-05-12T00:44:45.286Z","avatar_url":"https://github.com/qzed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto-remap volume buttons based on device orientation\n\nAuto-remap Microsoft Surface Book 2 and Surface Pro (2017) volume buttons based on device orientation.\n\nEnsures that the left/lower volume button always decreases, and the right/upper always increases the volume.\n\n## Installing\n\nInstall the required files as described below.\nThen enable the `systemd` service via\n\n```sh\nsystemctl enable surfacebook2-button-autoremap.service\n```\n\n### Debian\n\nIn the source directory, run `./pkg/build-deb.sh` to generate the package, which you can then install via `dpkg -i *.deb`.\n\n### Arch Linux\n\nBuild and install the package via the provided `PKGBUILD`, i.e. simply run `makepkg -si` inside the `pkg` folder (or the directory where you stored the `PKGBUILD`).\n\n### Manual\n\nCopy\n\n- `autoremap.py` to `/opt/surfacebook2-button-autoremap/` and\n- `surfacebook2-button-autoremap.service` to `/etc/systemd/system/`.\n\nYou may want to have a look at the `Pipfile` and make sure the required dependencies are installed.\nAdditionally you may need to install [iio-sensor-proxy](https://github.com/hadess/iio-sensor-proxy).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqzed%2Flinux-surfacegen5-button-autoremap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqzed%2Flinux-surfacegen5-button-autoremap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqzed%2Flinux-surfacegen5-button-autoremap/lists"}