Results 1 to 3 of 3

Thread: How can I enable mouse keys from the command line?

  1. #1
    Join Date
    Oct 2008
    Beans
    158
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    How can I enable mouse keys from the command line?

    Like the title says, how can I enable mouse keys from the command line (The preference from System->Preferences->Keyboard->Mouse Keys->Pointer Can Be Controlled Using The Keypad

    The reason being, I would like to make a startup script that would disable and then re enable control of the touchpad using my keyboard on startup, as it manages to either disable itself (untick itself) or stops working and requires itself to be unticked and then reticked. Thanks for any replies.
    √ is /

  2. #2
    Join Date
    Dec 2007
    Beans
    61

    Re: How can I enable mouse keys from the command line?

    Better late than never. You can use gconftool-2 to get and set values.

    eg. get a value
    gconftool-2 --get /desktop/gnome/peripherals/mouse/touchpad_enabled

    toggle the value
    gconftool-2 --toggle /desktop/gnome/peripherals/mouse/touchpad_enabled

    However, on this here Dell, these settings don't seem to be effective. There's something wrong with my touchpad. Grrr. Worked OK in 8.04 and 8.10

  3. #3
    Join Date
    Dec 2007
    Beans
    61

    Re: How can I enable mouse keys from the command line?

    There are actually two other approaches to this. I wrote them down in my blog,

    http://play.datalude.com/blog/?p=99

    but now neither of those work for me. The ever moving goalposts of Ubuntu.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •