Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to emulate mouse button by keyboard??
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
onlinefloh
n00b
n00b


Joined: 02 May 2009
Posts: 25

PostPosted: Sat May 02, 2009 3:54 pm    Post subject: How to emulate mouse button by keyboard?? Reply with quote

Hi Folks,
Even after some searching i haven't found a solution yet, so i'll ask here:
Is there a way to emulate a mouse button with your keyboard?
Background: I got a Apple Powerbook which is running gentoo just fine despite it being nine years old. But: as most Apple boxes this has only one mouse button, where one would rather have two (ya know, right-clicke here, right-click there). I do know a friend of mine had on this very laptop the F12 key mapped as second mouse button. Unfortunately this was on another distro and i can't ask him how he did it.

But i'm sure one or two of you guys already solved the same problem ;-)
Currently, im running kde 3.5 (and am not planning on upgrading) with (nearly) plain evdev, no xf86-input-{mouse,keyboard}.

Suggestions, anyone?
Greets,
Florian
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat May 02, 2009 4:55 pm    Post subject: Reply with quote

Quote:
sys-apps/mouseemu
Available versions: *0.12 ~*0.13 ~*0.14 ~*0.15
Homepage: http://geekounet.org/powerbook/
Description: Emulates scrollwheel, right- & left-click for one-button mice/touchpads
This might be of use(Edit, the linked hp gives a 404, but it's available on the mirrors).

Other than that, there's afaik some X11-functionality for it - don't remember the name, though - and maybe your wm/de does allow it, too(should be easily doable with i.e. fvwm, I think).
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat May 02, 2009 8:24 pm    Post subject: Reply with quote

Check this out: http://wiki.archlinux.org/index.php/Acer_Aspire_One#Using_the_Super_key_for_middle-clicking
Back to top
View user's profile Send private message
onlinefloh
n00b
n00b


Joined: 02 May 2009
Posts: 25

PostPosted: Sun May 03, 2009 11:43 am    Post subject: Reply with quote

Tnx, mouseemu works fine so far, only in (kde-)konsole there appears a tilde for every simulated mouseclick. I don't mind that though as i don't need those additional clicks in konsole anyways ;-)

Greets,
Florian
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun May 03, 2009 2:17 pm    Post subject: Reply with quote

You really don't need any extra software. In xorg you can control the pointer with the numeric pad after pressing shift-numlock
Back to top
View user's profile Send private message
onlinefloh
n00b
n00b


Joined: 02 May 2009
Posts: 25

PostPosted: Fri May 08, 2009 3:11 pm    Post subject: Reply with quote

i92guboj wrote:
You really don't need any extra software. In xorg you can control the pointer with the numeric pad after pressing shift-numlock

That could possibly be, but: This Powerbook (read: 2000ish Apple Laptop) has neither NumLock nor a numeric pad...
Umm, that's only half-true as i just found out: it can emulate a keypad, but pressing three keys instead of just one is not much of a time saver anyways ;-)

But tnx for the pointer.

Greets,
Floh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum