Created
October 13, 2017 11:56
-
-
Save meyt/261689ca01a2dc9d4c4223a4fac3c671 to your computer and use it in GitHub Desktop.
Enable VLC global media keys in XFCE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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