Results 1 to 3 of 3
I install Debian on a Power book g3 and i need the right click function. I try mouseemu but it give me an error :
open: No such file or ...
- 01-25-2010 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 6
Right Click
I install Debian on a Power book g3 and i need the right click function. I try mouseemu but it give me an error :
open: No such file or directory
No uinput device found! Make sure the uinput module is loaded
or CONFIG_INPUT_UINPUT is compiled in kernel.
if there are other way for the right click function ?
- 01-25-2010 #2
I was able to map the middle click to the useless menu key on my keyboard. The same procedure should work to map the right click to a key.
You need xkbset. As root do
As I understand, you then need to remove some of the default cursor control settings. Edit the file /usr/share/X11/xkb/compat/mousekeys with your favorite text editor and remove everything between interpret.repeat=False (or True) and // New Keysym ActionsCode:apt-get install xkbset
Then create a script to turn it on and map the key. Save something like this to a file, say, rightclick.sh.
This would map the right click to the Menu button on a windows keyboard. Using the keycode also works.Code:#!/bin/bash # set XKB layout setxkbmap -layout us # turn on mousekeys xkbset m # stop mousekeys expiring after a timeout xkbset exp =m # map keysym to other keysym xmodmap -e "keysym Menu = Pointer_Button3"
You can use xev to find the keysym/keycode of whichever key you want to use.Code:xmodmap -e "keycode 135 = Pointer_Button3"
Then set this to run when you boot into X.
EDIT: Just wanted to acknowledge this guide for the help: Linux Aleph: mapping middle-click to a keyboard key
- 01-30-2010 #3Just Joined!
- Join Date
- Dec 2009
- Posts
- 6
Working...


Reply With Quote
