summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <jams@linhes.org>2010-12-18 21:44:40 (GMT)
committerJames Meyer <jams@linhes.org>2010-12-18 21:44:40 (GMT)
commit51d7490509b3908658953e62c5c16c26370f495c (patch)
tree6f0ccd66c6b162bcc5eabefa9cb8f06af9ef0536 /abs
parent60e239e45c6bf216daca2acd8f17fd05e9bc2e60 (diff)
downloadlinhes_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')
-rwxr-xr-xabs/core/LinHES-system/LinHES-run6
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD4
2 files changed, 8 insertions, 2 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 &
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index 588fa32..7f998b5 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=2
-pkgrel=1
+pkgrel=2
arch=('i686')
MVDIR=$startdir/pkg/usr/LH
BINDIR=$startdir/pkg/usr/bin
@@ -43,7 +43,7 @@ md5sums=('19934a456d0e112298b8aac3279f9a16'
'76b2637cac0452b3acdbeeb4e8a5474b'
'c60b6c66f498809a6e5ca18a8c97d336'
'ccae1296ef248fa52ec3a7cb820a476e'
- '48c55301daa44f6ad081d3a5dfb34e2c'
+ '41276ef67df0dda6c763d92e5296c641'
'18a884a73344ff6eb74f63b49745e0f5'
'dc3eef2a624754e16805d72bbe488b67'
'dc0be354ce77ba2b89868fc29b942c43'