{"id":20185611,"url":"https://github.com/maur1th/lxde-volumecontrolosd","last_synced_at":"2026-06-08T11:04:47.866Z","repository":{"id":21321674,"uuid":"24638315","full_name":"maur1th/LXDE-VolumeControlOSD","owner":"maur1th","description":"Volume control and OSD for LXDE with pulseaudio and xfce4-notifyd (lubuntu 14.04 setup)","archived":false,"fork":false,"pushed_at":"2014-09-30T15:56:33.000Z","size":216,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-30T19:13:34.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maur1th.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}},"created_at":"2014-09-30T13:08:43.000Z","updated_at":"2014-10-05T18:43:08.000Z","dependencies_parsed_at":"2022-08-20T19:00:48.644Z","dependency_job_id":null,"html_url":"https://github.com/maur1th/LXDE-VolumeControlOSD","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maur1th/LXDE-VolumeControlOSD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maur1th%2FLXDE-VolumeControlOSD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maur1th%2FLXDE-VolumeControlOSD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maur1th%2FLXDE-VolumeControlOSD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maur1th%2FLXDE-VolumeControlOSD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maur1th","download_url":"https://codeload.github.com/maur1th/LXDE-VolumeControlOSD/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maur1th%2FLXDE-VolumeControlOSD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34059194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-14T03:14:01.239Z","updated_at":"2026-06-08T11:04:47.842Z","avatar_url":"https://github.com/maur1th.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"LXDE-VolumeControlOSD\n=====================\n\nAdds laptop media keys (volume +/-/mute) support and OSD for LXDE with pulseaudio and xfce4-notifyd (lubuntu 14.04 base setup). Tested on a ThinkPad X240.\n\n##Installation\n1. Install notify-send (libnotify-bin package in ubuntu/debian).\n\n2. Move the `volumeControl.py` script to the user's `~/.config/openbox/` directory and modify the `*rc.xml` file within. Add to or update its `\u003ckeyboard\u003e` section accordingly:\n\n    ```xml\n    \u003ckeyboard\u003e\n     ...\n     \u003c!-- Keybinding for Volume management --\u003e\n        \u003ckeybind key=\"XF86AudioRaiseVolume\"\u003e\n          \u003caction name=\"Execute\"\u003e\n            \u003ccommand\u003epython3 ~/.config/openbox/volumeControl.py raise\u003c/command\u003e\n          \u003c/action\u003e\n        \u003c/keybind\u003e\n        \u003ckeybind key=\"XF86AudioLowerVolume\"\u003e\n          \u003caction name=\"Execute\"\u003e\n            \u003ccommand\u003epython3 ~/.config/openbox/volumeControl.py lower\u003c/command\u003e\n          \u003c/action\u003e\n        \u003c/keybind\u003e\n        \u003ckeybind key=\"XF86AudioMute\"\u003e\n          \u003caction name=\"Execute\"\u003e\n            \u003ccommand\u003epython3 ~/.config/openbox/volumeControl.py toggle-mute\u003c/command\u003e\n          \u003c/action\u003e\n        \u003c/keybind\u003e\n    ...\n    \u003c/keyboard\u003e\n    ```\n\n3. Then reload openbox by delogging/relogging or invoking `openbox --reconfigure` in a Terminal window.\n\n##Notifications display\nYou might want to force the notifications to stack by adding the following snippet to the `\u003capplications\u003e` section of `*rc.xml`:\n\n```xml\n\u003c!-- Force notifications position --\u003e\n\u003capplication class=\"*notifyd\"\u003e\n    \u003cposition force=\"yes\"\u003e\n        \u003cx\u003ecenter\u003c/x\u003e\n        \u003cy\u003e-50\u003c/y\u003e\n    \u003c/position\u003e\n\u003c/application\u003e\n```\n\n###Customization\nTo customize the position of the OSD, change x and y values. Top (y) and left (x) borders of the screen are (+)0, right (x) and bottom (y) -0. E.g. A y value of -50 will make windows appear 50px away from the bottom of the screen.\n\n##lubuntu/xfce4-power-manager OSD workaround:\nxfce4-power-manager handles brightness +/- keys and its OSD which position cannot be forced by openbox `*rc.xml` configuration. If you want to disable this OSD (courtesy of [docs.xfce.org](http://docs.xfce.org/xfce/xfce4-power-manager/preferences)):\n`xfconf-query -c xfce4-power-manager -n -p \"/xfce4-power-manager/show-brightness-popup\" -t bool -s false`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaur1th%2Flxde-volumecontrolosd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaur1th%2Flxde-volumecontrolosd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaur1th%2Flxde-volumecontrolosd/lists"}