Skip to content

Instantly share code, notes, and snippets.

@meyt
Created October 13, 2017 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meyt/261689ca01a2dc9d4c4223a4fac3c671 to your computer and use it in GitHub Desktop.
Save meyt/261689ca01a2dc9d4c4223a4fac3c671 to your computer and use it in GitHub Desktop.
Enable VLC global media keys in XFCE
#!/bin/bash
# from: http://xubuntugeek.blogspot.com/2012/09/multimedia-keys-in-vlc-and-xubuntu.html
vlcrc="$HOME/.config/vlc/vlcrc"
sed -i 's/#global-key-play-pause=/global-key-play-pause=Media Play Pause/' $vlcrc
sed -i 's/#global-key-next=/global-key-next=Media Next Track/' $vlcrc
sed -i 's/#global-key-prev=/global-key-prev=Media Prev Track/' $vlcrc
sed -i 's/#global-key-stop=/global-key-stop=Media Stop/' $vlcrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment