Results 1 to 8 of 8

Thread: Need drag-lock, PLEASE!

  1. #1
    Join Date
    Feb 2007
    Beans
    397
    Distro
    Ubuntu 12.04 Precise Pangolin

    Need drag-lock, PLEASE!

    On most other PCs and Macs with a touchpad, you can double tap to start dragging, and if you need to move something a great distance, you can let up on the touchpad just for a second and reposition your finger on it, and you will still be in drag mode, until you let off your finger for a certain amount of time, or you single tap. Is there some way to do this in Ubuntu 11.04?

  2. #2
    Join Date
    Feb 2007
    Beans
    397
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need drag-lock, PLEASE!

    Bam, just solved my own prob!

    Install xinput if it's not already, then type "xinput list" to see your devices. Look for the trackpad and make a note of its id# (mine is id=12).

    Then do "xinput list-props 12 | grep Lock" (replace '12' with whatever your ID is) and you'll see options for locked drags and a timeout value. Make a note of their ID#s (in parentheses) for easy access. You want to set locked drags to 1, and timeout to whatever is comfortable for you (350ms is good for me).

    Type: xinput set-prop 12 259 1 (259 is my ID for Locked Drags)
    And: xinput set-prop 12 260 350 (260 is my ID for Locked Drags Timeout)

    Works like a charm!

  3. #3
    Join Date
    Aug 2011
    Beans
    2

    Re: Need drag-lock, PLEASE!

    Awesome !!! Been looking to get this working on my mac magic trackpad for a while now and had almost given up. Was getting real frustrating not having the locking drag. Thanks !

  4. #4
    Join Date
    Sep 2011
    Beans
    1

    Re: Need drag-lock, PLEASE!

    Thanks.

  5. #5
    Join Date
    Dec 2011
    Beans
    8

    Re: Need drag-lock, PLEASE!

    On my box, just in case anyone else is trying to get this going, I also set:

    Synaptics Tap FastTap to 1 (this was pretty much necessary to get tap-to-drag of window-bars to work)
    Synaptics Palm Detection to 1 (this may have helped with false-fires of the touchpad from my palm while typing)

    I am running on MacBookPro8,2 (thats a late-2011 15-inch model) with Ubuntu 11.10 (A custom kernel is necessary to run on this hardware: I don't know how much of my setu.p differs from the norm b/c of that, but that's my mileage).

    The FastTap thing really improved my experience b/c I like to tap-drag windows. Right now I don't have it working as well for text selection, for some reason, but it's still better.

    Cheers.

  6. #6
    Join Date
    Feb 2007
    Beans
    397
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need drag-lock, PLEASE!

    Another tip:

    To apply the settings to all users, instead of pasting the lines above into ~/.xinput.d/en_US, paste them into /etc/X11/xinit/xinput.d/en_US.

  7. #7
    Join Date
    Jul 2012
    Beans
    3

    Re: Need drag-lock, PLEASE!

    Thank you for this nice tips.

    I wonder is there an option to activate locked drags after a little time if the tap is continue.

    Windows allow to set this little time. To activate click lock the mouse button should holded down during this little time.

    In Ubuntu, drag starting with no delay. I searched and tried somethings but no result.

    Any idea?

  8. #8
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Need drag-lock, PLEASE!

    Quote Originally Posted by podcast View Post
    Thank you for this nice tips.

    I wonder is there an option to activate locked drags after a little time if the tap is continue.

    Windows allow to set this little time. To activate click lock the mouse button should holded down during this little time.

    In Ubuntu, drag starting with no delay. I searched and tried somethings but no result.

    Any idea?
    Your previous request has been moved here: http://ubuntuforums.org/showthread.php?t=2032043

    Old thread closed.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

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
  •