LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-08-2012, 10:46 AM   #1
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Rep: Reputation: 24
laptop middle mouse paste emulation with touchpad


Slackware64 13.37
Supposedly middlemouse-click paste functionality can be emulated on a touchpad by clicking left and right buttons simultaneously.
http://www.slackware.com/config/x.php states in part
Quote:
Next xorgconfig will ask you about using ChordMiddle and Emulate3Buttons. You'll see these options described in detail on the screen. Use them if the middle button on your mouse doesn't work under X, or if your mouse only has two buttons (Emulate3Buttons lets you simulate the middle button by pressing both buttons simultaneously).
But apparently xorgconfig is history
Code:
~ $ xorgconfig
bash: xorgconfig: command not found
root@a:~#  xorgconfig
-su: xorgconfig: command not found
Could someone kindly advise me how I might edit /etc/X11/xorg.conf to achieve that result? man xorg.conf denies all knowledge of ChordMiddle, Emulate3Buttons, Protocol and ZAxisMapping. Currently my xorg.conf contains
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
.
.
.
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection
 
Old 04-08-2012, 11:37 AM   #2
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
Try adding this to your xorg.conf:

Code:
Section "InputClass"
        Identifier "middle button emulation class"
        MatchIsPointer "on"
        Option "Emulate3Buttons" "on"
EndSection
 
1 members found this post helpful.
Old 04-08-2012, 11:48 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
On my Slackware machines with touchpad the emulation of the third mouse button works out of the box, all i have is a small section regarding the touchpad that has options for speed of mouse-pointer, etc ..., in an extra file in /etc/xorg.conf.d/. If you use the proprietary AMD driver just launch
Code:
aticonfig --inital
and try if it works. If not you should try mattca's options.
 
1 members found this post helpful.
Old 04-08-2012, 01:13 PM   #4
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by mattca View Post
Try adding this to your xorg.conf:

Code:
Section "InputClass"
        Identifier "middle button emulation class"
        MatchIsPointer "on"
        Option "Emulate3Buttons" "on"
EndSection
Thank you very much, this did the trick.

My thanks also to TobiSGD.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] middle mouse paste doesn't work in precise hearthstone Ubuntu 2 03-27-2012 05:05 AM
Gnome - Middle mouse is paste. Can it be remapped? TheJkWhoSaysNi Linux - Hardware 1 05-21-2011 04:46 AM
Middle mouse button doesn't paste CJ Chitwood Linux - General 3 06-12-2008 10:32 PM
Mouse3-Emulation (the Middle-Mouse-Button) MaxistXXL Linux - Desktop 3 01-05-2007 11:02 AM
Disable copy-paste on middle mouse button 311Sam Ubuntu 6 10-09-2006 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration