Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
icewm
icewm-Stop-messing-around-with-power-related-ke...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File icewm-Stop-messing-around-with-power-related-keys-by-default.patch of Package icewm
From 97d76e73c52d8f7f278a96bdd55b26a2ac36342d Mon Sep 17 00:00:00 2001 From: Eduard Bloch <blade@debian.org> Date: Wed, 3 Jan 2018 09:07:55 +0100 Subject: [PATCH] Stop messing around with power related keys by default This can have unwanted side effects together with other management mechanisms. --- lib/keys.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/keys.in b/lib/keys.in index 058082b..e43eee3 100644 --- a/lib/keys.in +++ b/lib/keys.in @@ -20,8 +20,11 @@ key "Super+KP_Add" amixer sset PCM 5%+ # advanced function keys by watching the output of the xev command whilest # pressing those keys and map those symbols by using xmodmap. -key "XF86Standby" /bin/sh -c "{ test -e /run/systemd/system && systemctl suspend; } ||:" -key "XF86Sleep" /bin/sh -c "{ test -e /run/systemd/system && systemctl suspend; } ||:" +# Note: some of them might have unwanted side effects through concurrency with +# other listeners like systemd for the suspend key events + +#key "XF86Standby" /bin/sh -c "{ test -e /run/systemd/system && systemctl suspend; } ||:" +#key "XF86Sleep" /bin/sh -c "{ test -e /run/systemd/system && systemctl suspend; } ||:" key "XF86AudioLowerVolume" amixer sset PCM 5%- key "XF86AudioRaiseVolume" amixer sset PCM 5%+ key "XF86AudioMute" amixer sset PCM 0% -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor