Setting Gnome appearance preferences from a script
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! -- Liam Proven • Profile: http://www.linkedin.com/in/liamproven Email: lproven@cix.co.uk • GMail/GoogleTalk/Orkut: lproven@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@hotmail.com • ICQ: 73187508 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
Setting Gnome appearance preferences from a script
* Liam Proven <lproven@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. <http://www.gnome.org/~bmsmith/gconf-docs/C/gnome.html> 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 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
Setting Gnome appearance preferences from a script
On Mon, Nov 23, 2009 at 5:43 PM, James Michael Fultz <croooow@gmail.com> wrote:
> * Liam Proven <lproven@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. > > <http://www.gnome.org/~bmsmith/gconf-docs/C/gnome.html> > > 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@cix.co.uk • GMail/GoogleTalk/Orkut: lproven@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@hotmail.com • ICQ: 73187508 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
| All times are GMT. The time now is 08:10 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.