Inspired by an article on adding playback actions to
Spotify's application icon, I have begun to add common actions to
application icons in my task bar. In particular, VLC occasionally
refuses to close, running in the background while refusing to open any
subsequent files. I've generally worked around it by running
pkill -9 vlc.
Here's what I added to
; Added at end of existing [Desktop Entry] section Actions=Kill [Desktop Action Kill] Name=Kill Exec=pkill -9 vlc