diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-07 20:16:52 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-07 20:16:52 (GMT) |
commit | bce9a0bdcd1d4cbd464b7f4ec2c3b19bff86d48f (patch) | |
tree | 9ad961719cda3b1033e67302df3f8e302f6912e0 /abs/core/LinHES-system | |
parent | 33671693297f177c4b30c30584ddb79359a3d0ed (diff) | |
download | linhes_pkgbuild-bce9a0bdcd1d4cbd464b7f4ec2c3b19bff86d48f.zip linhes_pkgbuild-bce9a0bdcd1d4cbd464b7f4ec2c3b19bff86d48f.tar.gz linhes_pkgbuild-bce9a0bdcd1d4cbd464b7f4ec2c3b19bff86d48f.tar.bz2 |
LinHES-system|config: add support for x11vnc
x11vnc support added to service menu. By default it will run on :2.
The startup script will reference /etc/x11vnc.cfg if a user wishes to override the default flags.
Ex:
x11_vnc_options=” -rfbport 6000” will result in a startup cmd of “x11vnc -rfbport 6000”
refs # 894
Diffstat (limited to 'abs/core/LinHES-system')
-rwxr-xr-x | abs/core/LinHES-system/LinHES-session | 15 | ||||
-rwxr-xr-x | abs/core/LinHES-system/PKGBUILD | 8 |
2 files changed, 19 insertions, 4 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session index d55b900..1eb991e 100755 --- a/abs/core/LinHES-system/LinHES-session +++ b/abs/core/LinHES-system/LinHES-session @@ -110,6 +110,20 @@ function keylaunch(){ } +function start_x11vnc(){ + if [ x$xvncenable = "x1" ] + then + if [ -e /etc/x11vnc.cfg ] + then + . /etc/x11vnc.cfg + x11vnc $x11vnc_options + else + x11vnc -rfbport 5902 --passwd $xvncpassword + fi + fi +} + + function fluxbox_settings(){ if [ ! -e $HOME/.fluxbox ] then @@ -433,6 +447,7 @@ $WM & pid=$! mouse_move keylaunch +start_x11vnc & #set_background unclutter load_nvidia_settings diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD index 2cb8997..6731cf0 100755 --- a/abs/core/LinHES-system/PKGBUILD +++ b/abs/core/LinHES-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-system pkgver=2 -pkgrel=134 +pkgrel=135 arch=('i686' 'x86_64') MVDIR=$startdir/pkg/usr/LH BINDIR=$startdir/pkg/usr/bin @@ -80,7 +80,7 @@ build() { } -md5sums=('d275db0a946087671e0c2014dac9ed22' +md5sums=('53bc3d73641c7227fe1da4084f69a7a1' '5881bdb43d578ec3a79d1f77ea58a3db' 'a875ee97f86e46f34a741c2bc455f894' '76b2637cac0452b3acdbeeb4e8a5474b' @@ -95,8 +95,8 @@ md5sums=('d275db0a946087671e0c2014dac9ed22' '692563448cca1d49f45e7d1c8abcaa0c' '962a3e9eaba2d1466251b7ab0956705d' '1758aed160de64abfafb28a3a8f3390e' - '1da34ffbe6dccfdf202bdd03edd6bb28' - '079085b1ad92e23a1c3399ad1dcf7486' + '323048b6c1e17106830e66e7f935e747' + '6b2640772d89195cd6fa3db134142951' '1be1d3dfc83f828eede93055713882ae' '47e093e8cfe4b5b96602358e1f540832' 'a85c19902f2af90931e05c839c63b62d' |