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! ;)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1188569

Title:
  [SRU]Some keyboard shortcuts randomly stop working

Status in GNOME Shell:
  New
Status in Unity:
  Confirmed
Status in unity package in Ubuntu:
  Invalid
Status in unity-settings-daemon package in Ubuntu:
  Fix Released

Bug description:
  *Impact

  Hi,
  Certain shortcuts randomly stops working in my computer. They are Super+s 
(workspace switcher), Super+Up (switch to workspace above) and Super+Down 
(switch to workspace below). Other shortcuts work fine.

  *Test Case

  A few notes that might help:
  1- Reassigning shortcuts make them work again except for Super+s.
  2- Rebooting make shortcuts work.
  3- I have been using these shortcuts with many previous ubuntu versions and 
my preferences are old.
  4- I am not sure of certain steps that produces the problem. The shortcuts 
sometimes stop working but once they stop, they do not work unless I reassign 
them or reboot.

  I am using Ubuntu 13.04.

  Thank you

  * Regression potential

  None

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: unity 7.0.0daily13.04.18~13.04-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
  Uname: Linux 3.8.0-23-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,regex,grid,mousepoll,place,wall,snap,resize,vpswitch,session,animation,gnomecompat,imgpng,commands,move,workarounds,fade,unitymtgrabhandles,expo,scale,ezoom,unityshell]
  Date: Fri Jun  7 13:40:06 2013
  InstallationDate: Installed on 2013-05-27 (11 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1188569/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to