I found a solution that works on Ubuntu 19.04...
- Note: This is only for media keys (the keybindings that stop working for me)
- Note: If you know a better way to set the keybindings to disabled then do that! ;)
Steps:
1) Open Terminal and enter:
"sudo apt install playerctl"
then to be sure run "restart"
1) Go to settings
2) Find keyboard shortcuts (devices > keyboard)
3) Find play-pause under media and set it to:
Ctrl+Shift+E or something you don't use (this is what I used)
Explanation: you need to disable these shortcuts to actually use them (with playerctl)
(Do this for each predefined media key keybinding, when you do it'll disable the last one
done and they'll all be set to disabled except for one which is set to Ctrl+shift+E or
whatever you chose)
4) Scroll to the bottom
6) Create a new custom keyboard shortcut
7) Set the name according to which action you desire, set the command to something similar to:
"playerctl pause-play --player=spotify" more documentation can be found here: https://github.com/altdesktop/playerctl
8) Repeat steps 5-7 for each media key & modify the command accordingly (see Github link)
9) Create a new keyboard shortcut called deleteMe 1.0
10) Bind this to whatever you chose earlier (Ctrl+shift+E is what I used)
11) Now delete it! Ha, bet you didn't see that one coming! Anyways now all the media keys above
should be set to disabled, now use your newly invigorated keybindings with ease! ;)
I found a solution that works on Ubuntu 19.04...
- Note: This is only for media keys (the keybindings that stop working for me)
- Note: If you know a better way to set the keybindings to disabled then do that! ;)
Steps:
1) Open Terminal and enter:
"sudo apt install playerctl"
then to be sure run "restart" /github. com/altdesktop/ playerctl
1) Go to settings
2) Find keyboard shortcuts (devices > keyboard)
3) Find play-pause under media and set it to:
Ctrl+Shift+E or something you don't use (this is what I used)
Explanation: you need to disable these shortcuts to actually use them (with playerctl)
(Do this for each predefined media key keybinding, when you do it'll disable the last one
done and they'll all be set to disabled except for one which is set to Ctrl+shift+E or
whatever you chose)
4) Scroll to the bottom
6) Create a new custom keyboard shortcut
7) Set the name according to which action you desire, set the command to something similar to:
"playerctl pause-play --player=spotify" more documentation can be found here:
https:/
8) Repeat steps 5-7 for each media key & modify the command accordingly (see Github link)
9) Create a new keyboard shortcut called deleteMe 1.0
10) Bind this to whatever you chose earlier (Ctrl+shift+E is what I used)
11) Now delete it! Ha, bet you didn't see that one coming! Anyways now all the media keys above
should be set to disabled, now use your newly invigorated keybindings with ease! ;)