From b7506ecfda9fe30d4b29af5ca2cba8992c5ec6cb Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Thu, 23 Oct 2014 19:31:50 -0500 Subject: New script for low-vision users --- low-vision.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 low-vision.sh diff --git a/low-vision.sh b/low-vision.sh new file mode 100755 index 0000000..b1f37f8 --- /dev/null +++ b/low-vision.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +as() { + user="$1"; shift + env -u HOME sudo -u "$user" dbus-launch --exit-with-session "$@" + unset user +} + +# High-contrast GTK theme and icons +gsettings set org.gnome.desktop.interface gtk-theme HighContrast +gsettings set org.gnome.desktop.interface icon-theme HighContrast + +# High-contrast Unity greeter +# This looks absolutely awful, don't do this +#as lightdm gsettings set com.canonical.unity-greeter high-contrast true +#as lightdm gsettings set com.canonical.unity-greeter theme-name HighContrast +#as lightdm gsettings set com.canonical.unity-greeter icon-theme-name HighContrast + -- cgit v1.2.3-18-g5258