LinuxQuestions.org
Review your favorite Linux distribution.
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 11-10-2010, 12:31 AM   #1
gunzzz5930
Member
 
Registered: Apr 2010
Posts: 32

Rep: Reputation: 0
Smile How to define keyboard keys as mouse clicks?


Sounds lazy but think its okay...

For example I'm setting key F1 & F2 keys mouse 1 and mouse 2 click in keyboard..



MORE POWER LNXQ!!!

Last edited by gunzzz5930; 11-10-2010 at 12:41 AM.
 
Old 11-10-2010, 01:47 AM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,260

Rep: Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641
Quote:
Originally Posted by gunzzz5930 View Post
Sounds lazy but think its okay...

For example I'm setting key F1 & F2 keys mouse 1 and mouse 2 click in keyboard..
I'm not sure how to add that keybinding (it would depend on your window manager/desktop environment), but I will say that this functionality already exists. Press Shift+Num Lock and you should be able to move the cursor with 8/2/4/6 (up/down/left/right) as well as diagonally (7/9/1/3), and click with 5 (change the mouse button being used to click with / = left, * = middle, - = right). This of course assumes you have a number pad available on your keyboard.
 
Old 11-10-2010, 02:15 AM   #3
gunzzz5930
Member
 
Registered: Apr 2010
Posts: 32

Original Poster
Rep: Reputation: 0
Quote:
I'm not sure how to add that keybinding (it would depend on your window manager/desktop environment), but I will say that this functionality already exists. Press Shift+Num Lock and you should be able to move the cursor with 8/2/4/6 (up/down/left/right) as well as diagonally (7/9/1/3), and click with 5 (change the mouse button being used to click with / = left, * = middle, - = right). This of course assumes you have a number pad available on your keyboard.

I use slackware 13.1 xfce
 
Old 11-10-2010, 04:04 AM   #4
Perceptor
Member
 
Registered: Jul 2007
Location: the Future
Distribution: Slackware 13.37
Posts: 104

Rep: Reputation: 52
Use xdotool in combination with xbindkeys.

Last edited by Perceptor; 11-10-2010 at 04:10 AM. Reason: Spelling
 
Old 11-10-2010, 06:53 AM   #5
jovanoti
LQ Newbie
 
Registered: Mar 2010
Distribution: Slackware
Posts: 25

Rep: Reputation: 2
Quote:
Originally Posted by gunzzz5930 View Post
I use slackware 13.1 xfce
I use -current and xfce, but have checked KDE services to be started at XFCE start up, I'm saying this just in case you think it is something KDE-related. And Shift + Num is working fine here, if you want to disable it just hold left Shift for several seconds.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Counting mouse clicks/movement and keyboard presses? breadcrust Programming 10 01-23-2011 07:31 PM
USB keyboard function keys/numeric keys on boot raypen Linux - Hardware 4 04-17-2008 03:07 PM
random sticky keys and mouse clicks in X Bogus8 Linux - Laptop and Netbook 2 01-20-2007 11:46 PM
random mouse clicks SuSE 9.3 MichaelLange Linux - Hardware 3 03-09-2006 05:10 PM
define hot keys fedora zchoyt Linux - General 2 10-04-2004 04:25 AM


All times are GMT -5. The time now is 05:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration