Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cinnamon keyboard shortcuts (including volume/media/brightness keys) are not working #5

Open
ytzemih opened this issue Mar 26, 2024 · 0 comments

Comments

@ytzemih
Copy link

ytzemih commented Mar 26, 2024

Hi,

thank you so much for this i3-gnome fork. It works swiftly. I just wanted to contribute a preliminary solution to the problem. I'm using LMDE6 and use the following snippet in my .config/i3/config file:

bindcode 121 exec --no-startup-id pactl set-sink-mute 0 toggle # XF86AudioMute
bindcode 122 exec --no-startup-id pactl set-sink-volume 0 -5% # XF86AudioLowerVolume
bindcode 123 exec --no-startup-id pactl set-sink-volume 0 +5% # XF86AudioRaiseVolume
# XF86MonBrightnessDown
bindcode 232 exec --no-startup-id gdbus call --session --dest org.cinnamon.SettingsDaemon.Power --object-path /org/cinnamon/SettingsDaemon/Power --method org.cinnamon.SettingsDaemon.Power.Screen.StepDown
# XF86MonBrightnessUp
bindcode 233 exec --no-startup-id gdbus call --session --dest org.cinnamon.SettingsDaemon.Power --object-path /org/cinnamon/SettingsDaemon/Power --method org.cinnamon.SettingsDaemon.Power.Screen.StepUp

It works for me, though without the nice visual feedback you'd have in the Cinnamon default session. Also, I'm using pactl because I haven't found a corresponding DBUS service.

Is there perhaps a possibility to include a variant of this in i3-cinnamon?

I've used the following sources to get this done:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant