Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #412116

Re: Logitech 3 button mouse

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: Logitech 3 button mouse
Date 2017-04-30 16:25 +0000
Organization O.W.L.
Message-ID <zcv8002.ay@rooftop.invalid> (permalink)
References (4 earlier) <zcvqw0k.a@rooftop.invalid> <oe32up128md@news3.newsguy.com> <zv793.ahu@rooftop.invalid> <oe4sml02eek@news4.newsguy.com> <av9308ab.r33@rooftop.invalid>

Show all headers | View raw


owl <owl@rooftop.invalid> wrote:
> F. Russell <fr@random.info> wrote:
>> On Sat, 29 Apr 2017 23:16:58 +0000, owl wrote:
>> 
>>> 
>>> I'll try to figure out how it is supposed to work.
>>> 
>> 
>> It's supposed to work like this:
>> 
>> ftp://www.x.org/pub/xorg/X11R6.7.0/doc/mouse5.html
>> 
>> The drag lock buttons can be configured in the xorg.config
>> file, but I am not sure if this still applies to the
>> evdev/xinput garbage that is now the norm.
>> 
>> Fortunately, I still use the "legacy" input methods, but
>> this still doesn't help.  The drag lock buttons are intended
>> for track balls and only apply to buttons.  I need a key,
>> or a key combination, that I can press to lock the button.
>> 
>> Also, I am not referring to text selection.  I am referring
>> to selecting portions of images in an image editor like the
>> GIMP.  Having to hold down the button while scrolling becomes
>> awkward and fatiguing.  Sometimes the scrolling must persist
>> for several minutes.  A drag lock key is most desirable.
>> 
>> In this case, a drawing pad is the ideal solution, but since
>> I perform such selections only infrequently I'd rather not
>> invest in a drawing pad.
>> 
>> I need a drag lock key!!!
>> 
> 
> Like I said, get the id of your mouse or trackball with
> 
> xinput --list
> 
> Then run
> 
> xinput --set-prop ${id} "Evdev Drag Lock Buttons" 1 1
> 
> That sets button 1 as its own lock button.
> 
> After running that, with a select tool in gimp,
> 
> 1. left-click the start point
> 2. move the mouse (or trackball)
> 3. left-click the end point.
> 
> Turn it off with:
> 
> xinput --set-prop ${id} "Evdev Drag Lock Buttons" 0 
> 
> You can bind this toggle to a hotkey (need your own mouse string):
> 
> anon@lowtide:~$ cat ll
> #!/bin/bash
> 
> id=$(xinput --list |grep "Logitech USB Optical Mouse" \
> |cut -f2 -d= |awk '{print $1}')
> 
> state=$(xinput --list-props 9 |grep "Evdev Drag Lock Buttons" \
> |cut -f2 -d: |awk '{print $1}'|sed -e 's/,//g')
> 
> case ${state} in
>    1) xinput --set-prop 9 "Evdev Drag Lock Buttons" 0
>       zenity --info --text="button 1 lock now off"
>       ;;
>    0) xinput --set-prop 9 "Evdev Drag Lock Buttons" 1 1
>       zenity --info --text="button 1 lock now on"
>       ;;
>    *)
>       ;;
> esac
> 
> anon@lowtide:~$ 
> 

oops, replace '9' with ${id} in that.

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-28 23:21 -0500
  Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 14:05 +0000
    Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 09:22 -0500
      Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 14:49 +0000
        Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 10:13 -0500
          Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 15:43 +0000
            Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 10:57 -0500
        Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 10:18 -0500
    Re: Logitech 3 button mouse Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-04-29 11:14 -0400
      Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 10:39 -0500
        Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-29 10:55 -0700
        Re: Logitech 3 button mouse Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-04-29 15:06 -0400
          Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 14:28 -0500
            Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 20:04 +0000
      Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 15:55 +0000
        Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 11:04 -0500
          Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 17:03 +0000
            Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 12:08 -0500
              Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 17:45 +0000
            Re: Logitech 3 button mouse RonB <ronb02NOSPAM@gmail.com> - 2017-04-29 21:50 +0000
          Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-29 10:53 -0700
        Re: Logitech 3 button mouse Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-04-29 15:17 -0400
  Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-29 20:10 +0000
    Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 20:34 +0000
      Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-29 20:45 +0000
        Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 21:01 +0000
          Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-29 22:09 +0000
            Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 23:16 +0000
              Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 23:47 +0000
                Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 18:53 -0500
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 23:58 +0000
                Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 19:03 -0500
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 01:20 +0000
                Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 20:35 -0500
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 02:08 +0000
                Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 21:22 -0500
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 03:53 +0000
                Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-30 00:09 -0500
                Re: Logitech 3 button mouse Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-04-30 08:08 -0400
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 17:02 +0000
                Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-30 12:08 -0500
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-30 12:02 -0700
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-30 12:03 -0700
                Re: Logitech 3 button mouse Glenn Harrison <glannharrison0@gmail.com> - 2017-05-01 16:29 +0000
                Re: Logitech 3 button mouse fr314159@gmail.com - 2017-05-01 10:31 -0700
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-05-01 12:00 -0700
                Re: Logitech 3 button mouse Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-05-02 05:45 -0400
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-05-02 10:16 -0700
                Re: Logitech 3 button mouse Glenn Harrison <glannharrison0@gmail.com> - 2017-05-02 19:03 +0000
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-29 22:21 -0700
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-29 18:42 -0700
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-29 17:10 -0700
              Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-30 14:35 +0000
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 15:31 +0000
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 16:25 +0000
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-30 09:48 -0700
                Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-30 17:23 +0000
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 17:32 +0000
                Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-30 17:47 +0000
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 17:58 +0000
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-30 11:57 -0700
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-30 11:52 -0700
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-30 19:55 +0000
                Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-30 22:13 +0000
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-30 15:18 -0700
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-05-01 01:01 +0000
                Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-05-01 10:31 +0000
                Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-05-01 13:52 +0000
                Re: Logitech 3 button mouse Snit <usenet@gallopinginsanity.com> - 2017-04-30 09:51 -0700
          Re: Logitech 3 button mouse Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-04-30 07:40 -0400
            Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-30 14:38 +0000
              Re: Logitech 3 button mouse Peter Köhlmann <peter-koehlmann@t-online.de> - 2017-04-30 18:38 +0200
                Re: Logitech 3 button mouse Steve Carroll <fretwizzer@gmail.com> - 2017-04-30 09:53 -0700
                Re: Logitech 3 button mouse Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-04-30 13:58 -0400
                Re: Logitech 3 button mouse chrisv <chrisv@nospam.invalid> - 2017-05-01 13:16 -0500
                Re: Logitech 3 button mouse chrisv <chrisv@nospam.invalid> - 2017-05-01 13:23 -0500
              Re: Logitech 3 button mouse DFS <nospam@dfs.com> - 2017-05-01 18:14 -0400
    Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 15:40 -0500
      Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-29 21:48 +0000
      Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-29 22:25 +0000
        Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 17:48 -0500
          Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 23:22 +0000
            Re: Logitech 3 button mouse Marek Novotny <marek.novotny@marspolar.com> - 2017-04-29 18:32 -0500
            Re: Logitech 3 button mouse "F. Russell" <fr@random.info> - 2017-04-29 23:51 +0000
              Re: Logitech 3 button mouse owl <owl@rooftop.invalid> - 2017-04-29 23:55 +0000

csiph-web