diff options
author | James Meyer <james.meyer@operamail.com> | 2010-11-08 00:00:01 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-11-08 00:00:01 (GMT) |
commit | 30b85b94dd3bbdae22d37f494352324de617ea7a (patch) | |
tree | 59b50ee498541d0ee608b3c358acf4b5f8c86d68 /abs/core/LinHES-config/systemconfig.py | |
parent | 6bcc5322c2a04bac54a5ece548478f93cae246f0 (diff) | |
download | linhes_pkgbuild-30b85b94dd3bbdae22d37f494352324de617ea7a.zip linhes_pkgbuild-30b85b94dd3bbdae22d37f494352324de617ea7a.tar.gz linhes_pkgbuild-30b85b94dd3bbdae22d37f494352324de617ea7a.tar.bz2 |
linhes-config: add support for large mouse support
closes #691
Diffstat (limited to 'abs/core/LinHES-config/systemconfig.py')
-rwxr-xr-x | abs/core/LinHES-config/systemconfig.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/systemconfig.py b/abs/core/LinHES-config/systemconfig.py index 3b44779..340751d 100755 --- a/abs/core/LinHES-config/systemconfig.py +++ b/abs/core/LinHES-config/systemconfig.py @@ -41,6 +41,11 @@ def setup_x(systemconfig): else: if not os.path.exists('/usr/share/icons/default'): os.symlink('/usr/share/icons/whiteglass','/usr/share/icons/default'); + if systemconfig["UseXLargeMouse"] == "1" : + cmd = "echo Xcursor.size: 48 > ~/.Xdefaults" + else: + cmd = "echo Xcursor.size: 16 > ~/.Xdefaults" + mv_common.runcmd(cmd) cmd = "%s/bin/xconfig.sh" %systemconfig["MVROOT"] mv_common.runcmd(cmd) |