diff options
author | James Meyer <jams@linhes.org> | 2010-12-18 21:44:40 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-18 21:44:40 (GMT) |
commit | 51d7490509b3908658953e62c5c16c26370f495c (patch) | |
tree | 6f0ccd66c6b162bcc5eabefa9cb8f06af9ef0536 /abs/core/LinHES-system/LinHES-run | |
parent | 60e239e45c6bf216daca2acd8f17fd05e9bc2e60 (diff) | |
download | linhes_pkgbuild-51d7490509b3908658953e62c5c16c26370f495c.zip linhes_pkgbuild-51d7490509b3908658953e62c5c16c26370f495c.tar.gz linhes_pkgbuild-51d7490509b3908658953e62c5c16c26370f495c.tar.bz2 |
linhes-system: add nvidia run settings if the nvidia driver is loaded.
refs:#732
closes:#732
Diffstat (limited to 'abs/core/LinHES-system/LinHES-run')
-rwxr-xr-x | abs/core/LinHES-system/LinHES-run | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/abs/core/LinHES-system/LinHES-run b/abs/core/LinHES-system/LinHES-run index ab2f6de..d4fb64d 100755 --- a/abs/core/LinHES-system/LinHES-run +++ b/abs/core/LinHES-system/LinHES-run @@ -20,6 +20,12 @@ function msg(){ #keylaunch & #/usr/bin/tilda & +lsmod |cut -f1 -d" " |grep -q nvidia +if [ $? = 0 ] +then + /usr/bin/nvidia-settings --load-config-only +fi + #move mouse to corner xdotool mousemove 0 0 /usr/X11R6/bin/unclutter -root -idle $idle -jitter $jitter -noevents & |