LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-27-2005, 01:03 PM   #1
lagu2653
Member
 
Registered: Jun 2005
Distribution: Lubuntu 16.04 LTS
Posts: 104

Rep: Reputation: 15
Double-clicking via thum-button solved!


I made my Logitech MX510 optical mouse double-click via the thum-button. If anybody is interested I can post the solution.

/Lars
 
Old 06-27-2005, 01:31 PM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47


No, nobody is interested in technical stuff here.
 
Old 06-27-2005, 01:45 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
lagu, please do post the solution.

--Shade
 
Old 06-28-2005, 09:11 AM   #4
lagu2653
Member
 
Registered: Jun 2005
Distribution: Lubuntu 16.04 LTS
Posts: 104

Original Poster
Rep: Reputation: 15
Solution

First you follow this guide www.linux-gamers.net. Then you install xkindkeys. Then you install mvmouse. Then you put a file called .xbindkeysrc containing the code-snippet below in your home-directory.
Code:
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
  b:2
"~/./my_double_click.sh && ~/./my_double_click.sh &"
  b:6
You have to check which button is the thum- and wheelbutton. On my mouse it's button No. 2 and 6. Then you create a file called my_double_click.sh and put the following line in it:
Code:
mvmouse +0 +0 1 && mvmouse +0 +0 1 &
It looks as if it will produce 4 clicks but it doesn't. You have to chmod the shell-script to give it execution-rights. my_double_click.sh should also be placed in your home-directory. Then you restart your X server using the ctrl-alt-backspace keys. And that's it!

/Lars
 
  


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
KDE and double clicking Ravo Linux - General 2 02-20-2005 11:41 AM
How to run a script by double clicking it tom221 Linux - Newbie 6 02-07-2005 03:04 PM
enable Double clicking??? xhispage Linux - Newbie 2 10-19-2004 03:22 AM
mozilla not opening on double clicking..? metoome Linux - Newbie 1 03-11-2004 06:37 PM
Running .sh script by double clicking? pilot1 Linux - General 2 03-29-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:49 PM.

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