Setting Gnome appearance preferences from a script
lproven at gmail.com
Mon Nov 23 17:54:29 UTC 2009
On Mon, Nov 23, 2009 at 5:43 PM, James Michael Fultz <croooow at gmail.com> wrote:
> * Liam Proven <lproven at gmail.com> [2009-11-23 17:13 +0000]:
>> Is there a way to increase the size of the mouse pointer in GNOME from
>> within a script? (I know this also means choosing a cursor theme -
>> AFAICS, the "default pointer" cannot be resized.)
>> In other words, the same as using the GUI to do:
>> System | Preferences | Appearance | (pick a theme) | Customise |
>> (click Pointer tab) | (select a resizable theme, e.g. DMZ White) |
>> (Slide the "size" control to the far right, the largest size)
>> I'd also like to turn down the mouse sensitivity, too.
>> I'm writing a script to configure Ubuntu-based boxes for use older
>> people and fine mouse control takes time to master - as does spotting
>> the pointer itself!
> After some searching and experimentation, I found the appropriate GConf
> keys which can be manipulated via gconftool-2.
> gconftool-2 --set --type=string \
> /desktop/gnome/peripherals/mouse/cursor_theme DMZ-White
> gconftool-2 --set --type=int \
> /desktop/gnome/peripherals/mouse/cursor_size 48
Oh, wonderful - thanks!
Never encountered gconftool-2 before and the whole GNOME registry
thing is still a little alarming... :)
Liam Proven • Profile: http://www.linkedin.com/in/liamproven
Email: lproven at cix.co.uk • GMail/GoogleTalk/Orkut: lproven at gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AOL/AIM/iChat/Yahoo/Skype: liamproven • LiveJournal/Twitter: lproven
MSN: lproven at hotmail.com • ICQ: 73187508
More information about the ubuntu-users