Skip to content

Instantly share code, notes, and snippets.

@yamatt
Created February 26, 2011 23:24
Show Gist options
  • Save yamatt/845735 to your computer and use it in GitHub Desktop.
Save yamatt/845735 to your computer and use it in GitHub Desktop.
Run VLC as X user
import os
sudo = "sudo -u xuser %s"
instruction = "vlc 20100420-0343a.mp3"
os.system(sudo % instruction)
@yamatt
Copy link
Author

yamatt commented Aug 15, 2011

For use with PirateJoggler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment