You are not logged in.
i can use it in gnome but in xfce dont work.
i tried put this in console :xmodmap -e 'keycode 178 = WebBrowser'
but i get:
xmodmap: commandline:1: bad keysym name 'WebBrowser' in keysym list
xmodmap: 1 error encountered, aborting.
and i dont have and .Xmodmap in my user directory to edit
Offline
you can use binkeys to first listen for an event and find the keycode for a key you press and then just use that code and bind it to launch the web browser
pacman -Sy xbindkeys
xbindkeys --help
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
i solved it
i create a .Xmodmap file in /home/user and put this line:
keycode 178 = XF86HomePage
then i put in console xmodmap ~/.Xmodmap (maybe its not necesary and just with ctrl alt bacspace is enough)
thats it, to know the keycodes i used command xev
i leave a list of keycodes and names
Acer Travelmate 6000 (6003)
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 160 = XF86AudioMute
keycode 236 = XF86Mail
keycode 178 = XF86WWW
Logitech Internet Keyboard
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 236 = XF86Mail
keycode 229 = XF86Search
keycode 230 = XF86Go
keycode 178 = XF86HomePage
keycode 223 = XF86Sleep
Offline
You should run xmodmap ~/.Xmodmap at each Xfce start (add this command to autostarted apps).
Offline
I've found the keycodes of my keyboard with xev and i've created a .Xmodmap on home directory and i runned xmodmap ~/.Xmodmap... but i still haven't my multimedia keys working! What am i missing?!
(pck computers keyboard)
Linux / 4.18.5-ARCH / x86_64 / Intel I5-4460s / Intel® HD Graphics 4600 / MSI B85-G43 Gaming
Offline
"You should run xmodmap ~/.Xmodmap at each Xfce start (add this command to autostarted apps)." i dont do it i think gdm does but maybe with others its necessary.
"I've found the keycodes of my keyboard with xev and i've created a .Xmodmap on home directory and i runned xmodmap ~/.Xmodmap... but i still haven't my multimedia keys working! What am i missing?!"
are you sure that the name of the key is right?
Do you asign the key to a shorcut?
try xmodmap -e 'keycode yourCode = YourName'
Offline
That's it!! It could only be a simple thing, duhhh.... I needed to asign the key to a shortcut on keyboard settings!!! And, for me, wasn't necessary to add the command "xmodmap ~/.Xmodmap" to autostarted apps cause XFCE recognizes it...
Thanks yo
PS: does anyone know the command for "prev", "next", "stop" and "refresh" in firefox?
Last edited by lmsguerr (2008-09-03 19:53:05)
Linux / 4.18.5-ARCH / x86_64 / Intel I5-4460s / Intel® HD Graphics 4600 / MSI B85-G43 Gaming
Offline