{"id":16086191,"url":"https://github.com/zw963/linux_key_rebinding","last_synced_at":"2025-04-05T14:13:06.649Z","repository":{"id":147696487,"uuid":"54112312","full_name":"zw963/linux_key_rebinding","owner":"zw963","description":"Linux key rebinding tools, config is base on application, individually, can be use out of the box.","archived":false,"fork":false,"pushed_at":"2018-12-26T10:46:57.000Z","size":17444,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T10:24:19.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/zw963.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":"2016-03-17T11:20:00.000Z","updated_at":"2018-10-12T03:47:47.000Z","dependencies_parsed_at":"2023-06-27T16:46:10.301Z","dependency_job_id":null,"html_url":"https://github.com/zw963/linux_key_rebinding","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/zw963%2Flinux_key_rebinding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Flinux_key_rebinding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Flinux_key_rebinding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Flinux_key_rebinding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zw963","download_url":"https://codeload.github.com/zw963/linux_key_rebinding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345844,"owners_count":20924102,"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-09T13:11:08.158Z","updated_at":"2025-04-05T14:13:06.617Z","avatar_url":"https://github.com/zw963.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Key Rebinding:  Linux key rebinding tools, config is base on application, individually\n\n# Thanks\n\n### This package is base on following awesome open source project in github.\n\n### [rbindkeys](https://github.com/kui/rbindkeys)\n\n### [revdev](https://github.com/kui/revdev)\n\n### [ruinput](https://github.com/kui/ruinput)\n\n### [active_window_x](https://github.com/kui/active_window_x)\n\n### [traveling-ruby](https://github.com/phusion/traveling-ruby)\n\n# Improve for old rbindkeys.\n\n- Can be use out of the box in X86_64 linux, i386 is current not support, but it easy to extension.\n- No compile is need in X86_64 linux.\n- Refactor old(not active)rebindkeys, keep going ...\n- Lots of functions improve.\n\n# How to start\n\n1. Download package.\n\n   ```sh\n   $ git clone https://github.com/zw963/linux_key_rebinding $HOME/linux_key_rebinding\n   ```\n\n2. Create and edit your's config file $HOME/.rbindkeys.rb, you can found a sample in example directory.\n\n3. Start as daemon with\n\n   ```sh\n   $: $HOME/linux_key_rebinding/bin/rbindkeys 'Your keyboard description' --daemon\n   ```\n\n   For boot autorun with no sudo password, you need add'\n   current user to /etc/sudoers with following command:'\n   this need sudo privilege, if you want boot autorun with no sudo password, \n   you need add current user to /etc/sudoers with following command:\n\n   ```sh\n   $: echo $USER ALL=(ALL) NOPASSWD: ALL |sudo tee -a /etc/sudoers\n   ```\n   your keybaord description can be found with:\n   \n   ```sh\n   $: rbindkeys -l\n\n   /dev/input/event0:\tAT Translated Set 2 keyboard (BUS_I8042)\n   /dev/input/event1:\tPS/2 Generic Mouse (BUS_I8042)\n   /dev/input/event2:\tSleep Button (BUS_HOST)\n   /dev/input/event3:\tLid Switch (BUS_HOST)\n   ...\n   ```\n\n   Here `AT Translated Set 2 keyboard` is your keyboard description.\n   it is not changed when you switch diffrence linux distribtion\n   or use same plug-in external keyboard.\n   \n   __HINT__: you can export a environment variable to simplify startup process\n\n   $: export keyboard_description='You keyboard description' # add this to your's .bashrc.\n   $: rbindkeys --daemon\n\n#  How to debug\n\nremove --daemon argument, will run rbindkeys in foreground.\nyou will get many useful infomation.\n\n# How to stop daemon\n\n```sh\n$: pkill rbindkeys\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzw963%2Flinux_key_rebinding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzw963%2Flinux_key_rebinding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzw963%2Flinux_key_rebinding/lists"}