Advertisement
Guest User

mplayer-gui.sh

a guest
Aug 10th, 2016
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. if [ ! -w /dev/cedar_dev ]; then
  6.     # chmod 666 /dev/cedar_dev
  7.     echo "Error: /dev/cedar_dev missing or no access"
  8.     exit 1
  9. fi
  10.  
  11. if [ ! -w /dev/ion ]; then
  12.     # chmod 666 /dev/ion
  13.     echo "Error: /dev/ion missing or no access"
  14.     exit 1
  15. fi
  16.  
  17. if [ ! -w /dev/disp ]; then
  18.     # chmod 666 /dev/disp
  19.     echo "Error: /dev/disp missing or no access"
  20.     exit 1
  21. fi
  22.  
  23. export VDPAU_DRIVER=sunxi
  24. exec gnome-mplayer --large_buttons
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement