{"id":28248712,"url":"https://github.com/lexriver/linux-deep-hotkeys","last_synced_at":"2026-05-19T04:36:03.951Z","repository":{"id":102683005,"uuid":"349429663","full_name":"LexRiver/linux-deep-hotkeys","owner":"LexRiver","description":"Bind Space+JKIL as cursor","archived":false,"fork":false,"pushed_at":"2021-03-23T17:59:57.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T01:11:31.223Z","etag":null,"topics":["bindings","evdev","event","hotkeys","keyboard","keyboard-shortcuts","keyboard-shortcuts-library","linux","remapping","remapping-keyboards","shortcuts","xlib","xmodmap"],"latest_commit_sha":null,"homepage":"","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/LexRiver.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,"zenodo":null}},"created_at":"2021-03-19T13:19:03.000Z","updated_at":"2021-03-23T18:00:01.000Z","dependencies_parsed_at":"2023-03-09T20:00:27.389Z","dependency_job_id":null,"html_url":"https://github.com/LexRiver/linux-deep-hotkeys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LexRiver/linux-deep-hotkeys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LexRiver%2Flinux-deep-hotkeys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LexRiver%2Flinux-deep-hotkeys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LexRiver%2Flinux-deep-hotkeys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LexRiver%2Flinux-deep-hotkeys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LexRiver","download_url":"https://codeload.github.com/LexRiver/linux-deep-hotkeys/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LexRiver%2Flinux-deep-hotkeys/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33201965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bindings","evdev","event","hotkeys","keyboard","keyboard-shortcuts","keyboard-shortcuts-library","linux","remapping","remapping-keyboards","shortcuts","xlib","xmodmap"],"created_at":"2025-05-19T12:16:54.773Z","updated_at":"2026-05-19T04:36:03.946Z","avatar_url":"https://github.com/LexRiver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linux-deep-hotkeys\n\nThis script allows you to use Space-key as a modifier key like Shift or Ctrl and as a usual Space-key at the same time.\n\nThis script adds the following bindings:\n```\n   Space + j = Left\n   Space + l = Right\n   Space + i = Up\n   Space + k = Down\n   Space + u = Backspace\n   Space + o = Delete\n   Space + h = Home\n   Space + ; = End\n   Space + n = PageUp\n   Space + m = PageDown\n\n   Ctrl+Alt+Win+q = quit script\n   Ctrl+Alt+Win+z = pause/unpase bindings\n```   \nBut you can modify it as you like.\n\n\n\u003cbr/\u003e\n\n## Step 1 : install evdev\n\nEvdev is a library for working with input devices.\n\nMore details here: https://en.wikipedia.org/wiki/Evdev\n\nTo install it for Ubuntu:\n\n```\nsudo apt-get install python-dev python3-pip gcc\n```\n\n```\nsudo pip install evdev \n```\n\nFor more details and other distros please see:\n\nhttps://python-evdev.readthedocs.io/en/latest/install.html\n\n\u003cbr/\u003e\n\n## Step 2 : get script\n\n```\nwget https://raw.githubusercontent.com/LexRiver/linux-deep-hotkeys/main/linux-deep-hotkeys.py\n```\n\n\u003cbr/\u003e\n\n## Step 3 : run script\n\nTo modify keyboard codes user must be in group `input`, so run the script as root.\n\n```\nsudo python3 linux-deep-hotkeys.py\n```\n\nSelect your keyboard when asked.\n\nCheck if binding is working.\n\n\n\u003cbr/\u003e\n\n## To modify key bindings\n\nEdit the script `linux-deep-hotkeys.py` line number around 50 `keycodes_to_bind`\n\n\u003cbr/\u003e\n\n## To set keyboard device name as argument\n\nRun the script like so:\n\n```\nsudo python3 linux-deep-hotkeys.py --device /dev/input/event3\n```\n\nAgain, to find your keyboard name, run the script without arguments.\n\n\u003cbr/\u003e\n\n## Licence\n\nMIT\n\n\u003cbr/\u003e\n\n\n## Keywords to find this script\n\nlinux keyboard remapping shortcuts hotkeys binding evdev libevdev xmodmap xlib libinput xorg\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexriver%2Flinux-deep-hotkeys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flexriver%2Flinux-deep-hotkeys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexriver%2Flinux-deep-hotkeys/lists"}