From e9de3ab843c7d017ffc019d1e0b738be0a1b2513 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 17 Dec 2011 14:38:45 -0500 Subject: [PATCH] expand vlc/vnc local helpers --- .profile.d/aliases.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- 2.39.5