{"id":16646373,"url":"https://github.com/coffebar/google-chrome-quit-shortcut","last_synced_at":"2025-07-14T10:36:38.776Z","repository":{"id":77184002,"uuid":"193105122","full_name":"coffebar/google-chrome-quit-shortcut","owner":"coffebar","description":"Gracefully terminate Google Chrome browser with this bash script using hotkey you like.","archived":false,"fork":false,"pushed_at":"2022-10-16T07:59:00.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T22:12:14.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coffebar.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":"2019-06-21T13:45:18.000Z","updated_at":"2022-10-16T07:59:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"a66c9f99-4bb7-44fd-b790-517070942614","html_url":"https://github.com/coffebar/google-chrome-quit-shortcut","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/coffebar%2Fgoogle-chrome-quit-shortcut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coffebar%2Fgoogle-chrome-quit-shortcut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coffebar%2Fgoogle-chrome-quit-shortcut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coffebar%2Fgoogle-chrome-quit-shortcut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coffebar","download_url":"https://codeload.github.com/coffebar/google-chrome-quit-shortcut/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243188241,"owners_count":20250457,"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-12T08:27:24.012Z","updated_at":"2025-03-12T09:15:05.444Z","avatar_url":"https://github.com/coffebar.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Chrome Quit Shortcut\n\n### Problem\nGoogle Chrome does not support \"Ctrl+Q\" to quit on Linux. \"Ctrl+Shift+Q\" does nothing too.\n\n### Solution\nUse pkill with tiny script to gracefully terminate Google Chrome using hotkey.\n\n### How to use\nMake sure *xdotool* is installed:\n`which xdotool`\nshoud be \"/usr/bin/xdotool\". If xdotool not found, please install it.\n\nBind *quit-chrome.sh* bash script to any hotkey. I prefer \"Ctrl+Win+Q\", which does not conflict with \"Ctrl+Q\".\n\n`/bin/bash YOUR_PATH_TO_SCRIPT/quit-chrome.sh \u003e /dev/null`\n\nKeep in mind that the script will work if the browser window is active. Thereby, You can add other programs to the script to provide the desired logic for each one. You probably won't have to do this. Unlike Chrome, most programs follow the standard to quit on Ctrl+Q.\n\n# UPD: Solution 2\nTry this without any scripts:\n```Alt+e x```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoffebar%2Fgoogle-chrome-quit-shortcut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoffebar%2Fgoogle-chrome-quit-shortcut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoffebar%2Fgoogle-chrome-quit-shortcut/lists"}