![]() |
Re: My Debian Tricks - N810 xmodmap
Quote:
I just rebooted, launched a term and keyboard was mapped automagically. Thanks Debernardis. |
Re: My Debian Tricks - N810 xmodmap
Here's my /home/user/.Xmodmap-debian file for my french N810 :
Quote:
A good help for finding correspondances : http://wiki.linuxquestions.org/wiki/...sed_by_Xmodmap Be aware that when a wrong keysym is written, xmodmap does not charge the file, you have to launch it manually have the error message (with few special character): cd home cd user xmodmap .Xmodmap-debian (and see the error message) |
Re: My Debian Tricks - N810 xmodmap
I am going to update the Original post with all three .. this is awesome.. thanks murphy!
|
Re: My Debian Tricks - N810 xmodmap
I'll put this here, as it is the most likely place for it to be.
If you want application-by-application control over your keycodes (for instance, mapping the + and - hardware keys in an app to do zoom-in and zoom-out for that app), just preface the app with Code:
xmodmap -e "keysym <original keysym> = <your new keysym>" Code:
xmodmap -e "keycode <original keycode> = <original keysym>" - HW key: keysym: F8 keycode: 74 FullScreen HW key : keysym: F6 keycode: 72 + HW key: keysym: F7 keycode: 73 Menu HW key: keysym: F4 keycode: 70 Home (Swap) HW key: keysym: F5 keycode: 71 |
Re: My Debian Tricks - N810 xmodmap
One nifty trick that I've added to my xmodmap is changing the full screen F6 to F11... F11 is what every browser I've tried so far (konqueror, galeon, epiphany, iceweasel, kazahakaske (or whatever)) uses for a full screen key. F6 does pretty much nothing on the debian side. I didn't add it to the original because I dunno how important it is to anyone and only works for browsers I think...but as an example of what qole is saying:
Code:
xmodmap -e "keysym F6 = F11" |
Re: My Debian Tricks - N810 xmodmap
Quote:
put this in your /home/user/.xbindkeysrc file: Code:
"wmctrl -r :ACTIVE: -b toggle,fullscreen" |
Re: My Debian Tricks - N810 xmodmap
Awesome tip!
I'll look into it if I ever end up actually booting my debian again =-(. Stupid compiles. |
Re: My Debian Tricks - N810 xmodmap
Nothing terribly new here, but I figured I'd add mine in since I changed a few things (I needed curly braces so I replaced the Euro and Pound symbols, also added grave in place of Yen). I also changed _ and = to shift modifiers instead of Fn and changed their Fn definitions to [ and ]. I believe those are the only changes from the file in the original post. My .xbindkeysrc eats up F6-F8, but allows for left, middle, and right clicking. I initially tried to use the Release + <keysym> trick, but it wasn't working reliably for me.
My ~/.Xmodmap: Code:
keycode 216 = Mode_switch Code:
"r-mouse" Code:
#!/bin/sh |
Re: My Debian Tricks - N810 xmodmap
Added keys to make the CONTROL key work in deblet in OP.
|
Re: My Debian Tricks - N810 xmodmap
Can anyone tell me a way to check for tablet model number (ie N800 or N810) in a shell script, for example, a postinst script? I want to put the plain keymap file (see my "virtual keyboard woes" thread) in place for N800 users, and the keymap file + fatalsaint's mappings for N810 users.
It didn't matter before, because fatalsaint's mappings would just cause an error for N800 users, and xmodmap wouldn't load. But now, everyone needs xmodmap so that Debian virtual keyboards will function correctly, and so simply letting xmodmap crash on the N800 isn't an option. And installing the N810 xmodmap on the N800 does very wacky things to the maemo virtual keyboard. The good news is that I'm getting really close to having Easy-Debian-Final ready. It will have sound, adobe Flash, "real" Sun Java (openjdk-6-jre), Gimp, LXDE, etc. It really feels like a finished, functional system. Thanks in advance! |
All times are GMT. The time now is 11:30. |
vBulletin® Version 3.8.8