Mouse section of xorg.conf is:
Section"InputDevice"
# generated from default
Identifier"Mouse0"
Driver"mouse"
Option"Protocol""auto"
Option"Device""/dev/psaux"
Option"Emulate3Buttons""yes"
Option"ZAxisMapping""4 5"
EndSection
but cannot get simultaneous click of 2Button mouse to behave as 3rd button (this works in my squeeze gnome setup on same machine).
Since I like to use the 3rd button paste selection feature a lot, I'd like to get this back.
Thanks, Nick
9 posts
• Page 1 of 1
-
Posts: 13
- Joined: 16 Oct 2011
#1
Last edited by gurfle on 21 Oct 2011, 04:54, edited 1 time in total.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
I have this line in ~/.xinitrc near the top.
xmodmap -e 'pointer = 1 2 3 4 5'
xmodmap -e 'pointer = 1 2 3 4 5'
-
Posts: 117
- Joined: 20 Aug 2010
#3
MatchIsPointer"on"
Option"Emulate3Buttons""on"
add that then restart X
You can always remap your mouse if that doesn't work or install gpointing-device-settings to make it easier on you. it comes with a bunch of gnome lib, i think
I don't even have an xorg.conf, interesting
Option"Emulate3Buttons""on"
add that then restart X
You can always remap your mouse if that doesn't work or install gpointing-device-settings to make it easier on you. it comes with a bunch of gnome lib, i think
I don't even have an xorg.conf, interesting
-
Posts: 13
- Joined: 16 Oct 2011
#4
Thanks for the ideas, but I am not sure what to do with them. I would like to get a more basic soultion than using gpointing-device-settings as @buttcoffee mentions. I tried
Option"Emulate3Buttons""on"
and
Option"Emulate3Buttons""true"
with no improvement __{{emoticon}}__
The antiX version of xorg.conf (using"Emulate3Buttons""yes") is identical to the one that works using gdm in my debian squeeze setup (which, by the way, does not use .xinitrc).
Can I change the ~/.xinitrc line
xmodmap -e 'pointer = 1 2 3 4 5'
in some way? (Commenting it out is no good because then there is no mouse at all __{{emoticon}}__ )
|\|
Option"Emulate3Buttons""on"
and
Option"Emulate3Buttons""true"
with no improvement __{{emoticon}}__
The antiX version of xorg.conf (using"Emulate3Buttons""yes") is identical to the one that works using gdm in my debian squeeze setup (which, by the way, does not use .xinitrc).
Can I change the ~/.xinitrc line
xmodmap -e 'pointer = 1 2 3 4 5'
in some way? (Commenting it out is no good because then there is no mouse at all __{{emoticon}}__ )
|\|
-
Posts: 117
- Joined: 20 Aug 2010
#5
So, did you try what I suggested?
Change Driver"mouse" to Driver"evdev" Make sure you have xserver-xorg-input-evdev installed, then restart x
Are you using gdm to boot into antix?
To figure out what number represent what button on your mouse buttons, use xev
Change Driver"mouse" to Driver"evdev" Make sure you have xserver-xorg-input-evdev installed, then restart x
Are you using gdm to boot into antix?
To figure out what number represent what button on your mouse buttons, use xev
-
Posts: 1,308
- Joined: 31 Aug 2009
#6
I found this in an archlinux.org forum. I tried in VirtualBox with the lastest testing version of antiX and it worked. Add the following to /etc/X11/xorg.conf:
Code: Select all
Section"InputClass"
Identifier"whatever"
MatchIsPointer"on"
Option"Emulate3Buttons""on"
EndSection
-
Posts: 13
- Joined: 16 Oct 2011
#7
@BitJam: Your solution works for me too! and persuing your forum discovery a little, I found this rationale behind the change:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://who-t.blogspot.com/2010/06/new-evdev-middle-mouse-button-emulation.html"
linktext was:"http://who-t.blogspot.com/2010/06/new-e ... ation.html"
====================================
Thanks you indeed! __{{emoticon}}__ __{{emoticon}}__
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://who-t.blogspot.com/2010/06/new-evdev-middle-mouse-button-emulation.html"
linktext was:"http://who-t.blogspot.com/2010/06/new-e ... ation.html"
====================================
Thanks you indeed! __{{emoticon}}__ __{{emoticon}}__
-
Posts: 117
- Joined: 20 Aug 2010
#8
Could've tried it when i suggested the same thing. :\
-
Posts: 13
- Joined: 16 Oct 2011
#9
MatchIsPointer"on"
Option"Emulate3Buttons""on"
Unfortuntely, the lack of context gave me no clue how to fit them in. Option"Emulate3Buttons""on" was already in place, and sadly X would not even start after I inserted
MatchIsPointer"on"
into the existing mouse"InputDevice" Section - not quite sure where, so I quickly gave up on that __{{emoticon}}__
Without the full context @BitJam offered for where to place those lines you originally gave, I was unable to get it to work. I was just going to post a reply to that effect when I saw the posting that explained how to insert those lines. I tried to figure out how to use"MatchisPointer", but obviously my understanding was too feeble to be able put the available pieces together.
Nonetheless, thanks for you ideas. It was helpful to discover the use of xev, as you suggested, to see how the system was numbering the buttons.
Nick
Sorry @butcoffee, I did try all I could do to figure out what to do from your posting that consisted of nothing but a note to"add" the two linesbuttcoffee wrote:Could've tried it when i suggested the same thing. :\
MatchIsPointer"on"
Option"Emulate3Buttons""on"
Unfortuntely, the lack of context gave me no clue how to fit them in. Option"Emulate3Buttons""on" was already in place, and sadly X would not even start after I inserted
MatchIsPointer"on"
into the existing mouse"InputDevice" Section - not quite sure where, so I quickly gave up on that __{{emoticon}}__
Without the full context @BitJam offered for where to place those lines you originally gave, I was unable to get it to work. I was just going to post a reply to that effect when I saw the posting that explained how to insert those lines. I tried to figure out how to use"MatchisPointer", but obviously my understanding was too feeble to be able put the available pieces together.
Nonetheless, thanks for you ideas. It was helpful to discover the use of xev, as you suggested, to see how the system was numbering the buttons.
Nick