From: Mike Frysinger Date: Sat, 17 Dec 2011 19:38:45 +0000 (-0500) Subject: expand vlc/vnc local helpers X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e9de3ab843c7d017ffc019d1e0b738be0a1b2513;p=home.git expand vlc/vnc local helpers --- diff --git a/.profile.d/aliases.sh b/.profile.d/aliases.sh index 0b89e06..142156e 100644 --- a/.profile.d/aliases.sh +++ b/.profile.d/aliases.sh @@ -25,7 +25,8 @@ alias repoman='repoman -q -q' alias rrsync='rsync -av --inplace --progress' alias s='aspell -a' sss() { aspell -a <<<"$*"; } -svlc() { sudo -u smriti env DISPLAY=:0 vlc --volume 512 "$@" >/dev/null 2>&1 ; } +svlc() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec vlc "'"$*"'" >/dev/null 2>&1' ; } +svnc() { sudo -u smriti env DISPLAY=:0 x11vnc -q -nopw ; } alias xine='xine -l' alias wol-vapier='wakeonlan -i 192.168.1.255 00:26:18:80:ea:da; wakeonlan -i 192.168.0.255 00:26:18:80:ea:da'