I mãþþeđ m¥ Right Ãlt kéÿ tò Çømpø§ə¡
I did this by running xev to find out the keycode of the Right Alt key. Then I added this to a file called .Xmomap in my home dir. Code:
keycode 108 = Multi_key Then add this line to your .xinitrc: Code:
xmodmap ~/.Xmodmap Or for it to take effect now, just type the command xmodmap ~/.Xmodmap in your terminal. |
This is so cool:
10 * 8 / 4 = 40 becomes 10 × 8 ÷ 2 = 40 4.7uF becomes 4.7µF 3 1/2" becomes 3½" "This is a quote" becomes “This is a quote” 2^8 becomes 2⁸ H2O becomes H₂O |
Quote:
|
Quote:
I have $LANG set to en_GB.UTF-8. Could that be the problem? Is anybody else using Compose with UTF-* OK? |
Quote:
Try (Note that you should not do this like a key combination, just press compose, press one letter, and press the senond letter): Compose x x × Compose m u µ Compose : - ÷ Compose s o § EDIT: And did you use xev to find out the keycode? @smeezekitty From my experience 4.7µF is a pretty average capacitor. 0.1µF ones are used very often to suppress noise from microcontrollers. They even make 1pF capacitors! |
Quote:
|
You only need to mess about with xmodmap if you're not using a mainstream desktop like Gnome or KDE. Otherwise, just use the keyboard configuration tool: Gnome offers seven different places for it.
|
keyboa
Quote:
|
How do I get the program?
And does it create an Xmodmap, or does it have to run all the time? Anyway, this part got me very excited — “This enables features such as letting any key act as a modifier and a symbol at the same time (e.g. pressing a gives an a, but pressing b while holding down a gives Ctrl-b)”. That's what I wanted a long time ago! |
Quote:
|
Quote:
|
Quote:
You just download it from the site, instructions for installation is included. It does not create an Xmodmap directly - you see, Xmodmap doesn't have support for a key being a modifier and a symbol at the same time. For now, it runs as a vnc proxy (native X11 support is possible and on the todo list). But as for Xmodmap - yes, the Xvnc server will automatically add any keys you use that aren't in your keymap from the beginning, you don't have to think about it. |
WTF is vnc?
|
Quote:
|
Quote:
To "start" a desktop, do something like this: sudo apt-get install vnc4server vncserver :1 -geometry 1600x1200 #or whatever screen resolution you have. now try to connect with vncviewer :1 --fullscreen If it works, you're ready to get keyboa going. |
All times are GMT -5. The time now is 08:06 AM. |