TUX Magazine: Entering International Characters
Tuesday, 18 January 2005 | mgagné
Being a guy with an accent on one of the letters of his name, you can imagine that I probably spend a lot of time entering so-called "special characters" in my documents and e-mails. Short of keeping a document with these letters already written, then copying, and pasting them, entering an é can be amazingly time consuming. Worst of all, while OpenOffice.org lets me click Insert, Special Character to select from a list, not all applications have a handy list of characters to choose from. For everyone out there who routinely has to enter special characters or letters with accents, I'm going to give you a great KDE trick to use that will ease the pain.
Comments:
Useful trick - Tom - 2005-01-18
I might just purchase TUX :)
:) - John Dead Keys Freak - 2005-01-18
Funny reading this for those of us foreign people who always used dead keys :) Now what I'd really like for more complicated characters is something like: - Press Special Key. - (cursor look changes) - Type character name/code - (something like "lambda") - Press Return - And you got yourself a lambda I've heard we can do this with X, not sure how though. Native KDE suport (eventually using X already built in capability) would be cool though, for easier set up, cursor effects, etc.
Re: :) - testerus - 2005-01-18
You could use gucharmap, search for lambda and copy the symbol to where you want it.
Re: :) - Ingo Klöcker - 2005-01-18
John wants an easy way to enter special keys. In this particular case adding a Greek keyboard layout, switching to it with Ctrl+Alt+K, pressing l and switching back to his normal keyboard layout would be much easier than starting an extra application, search the symbol and then copy and paste the symbol.
Re: :) - testerus - 2005-01-18
That is only true if you don't have to search where the lambda resides on a greek keyboard. If you use gucharmap (which you could invoke with a shortcut), all you have to do is hit Ctrl + F, type lambda, hit Alt+C to close search dialog, hit Enter to add the lamda sign to "text to copy", hit Alt+C to copy and Strg+Q to close gucharmap and finally press Ctrl+V to enter the sign in the application.
Still don't know how to enter е́ - testerus - 2005-01-18
Wow, I thought this is the right article at the right time for me. But it deals only with entering western letters, mostly precomposed diacritical marks. What I was looking for is a hint on how to enter combining unicode accents using a cyrillic keyboard layout. Any pointers?
Re: Still don't know how to enter е́ - capit. Igloo - 2005-01-18
Yudit ? (www.yudit.org)
Re: Still don't know how to enter ÐµÌ - testerus - 2005-01-18
Well, using a special editor and using copy&paste is not very convenient and time consuming. What I was looking for is a way to enter combining characters in a kde application (in my case kwordquiz). Entering the cyrillic letter and pasting the combining accute does not work.
Re: Still don't know how to enter ÐµÌ - capit. Igloo - 2005-01-19
don't use copy&paste, save your text in a file (in utf-8) and then re-edit it with a kde app. I know it's not a very convenient way, but for years now, I find nothing better, the system of yudit is so wonderful (the dream : the same system, but integrated in KDE).
Re: Still don't know how to enter ÐµÌ - Jim - 2006-06-20
Hold down "alt gr" and start hitting random keys. Lots quicker if you routinely use particular special characters but don't want to keep messing around with keyboard layouts.
Re: Still don't know how to enter е - testerus - 2005-01-19
Thanks to the polish article I added dead_acute, dead_grave and combining_acute, combining_grave to the russian keymap. Seems to work fine in KDE.
Support for manual xmodmap modification? - Dominic - 2005-01-18
This is really cool, but it overwrites my xmodmap for adding support for the "History back/forward" keys and making Caps Lock a second Escape key. Is there anyway to incorporate that? Right now, I call xmodmap with a file of this content: ! Page left and right (Thinkpad keyboard) keycode 234 = F19 keycode 233 = F20 ! Make Caps_Lock another Escape Key remove Lock = Caps_Lock keysym Caps_Lock = Escape add Lock = Caps_Lock
Re: Support for manual xmodmap modification? - Anonymous bin Ich - 2007-07-15
Did you get any reply? How did you solve the problem?
Mmmm... - Martin - 2005-01-18
...not really news for us international users I guess. We wouldn't have been able to write texts all the time if we didn't know that ;-) BTW: A default SuSE installation has Shift+AltGr(=RightAlt) as compose key by default. Just press Shift+AltGr. Then _release_ both keys (I'm mentioning this, because you usually don't use modifier keys without an additional key). Then press the accent (accent gave, accent circumflex, diaresis, etc). Then press a key (A,E,I,O,U,N,Y, did I forget any?). Works perfectly here at work for entering Turkish, Spanish, French, etc... without making all those accent keys "dead" which is quite annoying when programming. If you have LOTS of text to enter a different keyboard in the appropriate language is better though. My colleagues are using them and thanks to cordless keyboards this isnt the plugging-nightmare it once has been.
Compose key - Shift - 2005-01-18
For international characters you can use the compose key (often Windows one). Compose + O + E = Compose + ? + ? = ¿ Compose + n + ~ = ñ Compose + o + / = ø Compose + E + ' = É .... Here I am at work on a Windows so I can't use Compose key and I miss it :)
Re: Compose key - Carewolf - 2005-01-18
Yes, this is the only key I really miss from Unix/Sun keyboards. I don't understand why all these new "multimedia" keyboards with extra keys have not added a compose button for some international correspondence.
Re: Compose key - ac - 2005-01-18
You can add it yourself with xmodmap ;)
Re: Compose key - jon - 2005-01-18
There's no need to use xmodmap -- you can select a key to be used as Compose through kcontrol: Regional & Accessibility -> Keyboard Layout -> Xkb Options -> Compose Key. Works pérfèctly ... and there's no need to keep on changing between different keyboard layouts. Also, if you want to create your own layout, there's a nice introductory article about Xkb here: http://desktops.linux.com/desktops/04/06/03/1558258.shtml
Re: Compose key - superstoned - 2005-01-18
you can set change this to your liking in the xkb options. I use the right-alt as compose key: right-alt - " - e makes ë... normally, " - e is just "e :D just found out, really nice.
Re: Compose key - Ian Monroe - 2005-01-19
It is there, it just has a silly flag on it.
and the question mark? - ochnap2 - 2005-01-18
I have already setup en_US with deadkeys. I has *almost* all the additional caracters I need except the opening question mark... Anyone knows how to solve it?
Re: and the question mark? - Michal Kosmulski - 2005-01-18
http://hektor.umcs.lublin.pl/~mikosmul/computing/articles/custom-keyboard-layouts-xkb.html This tutorial on XKB might help you.
Re: and the question mark? - testerus - 2005-01-18
a) you could use Compose + ? + ? b) you might want to fill an enhancement request against x.org (https://bugs.freedesktop.org/enter_bug.cgi?product=xorg)
Funny... - Macavity - 2005-01-18
On The dk-latin1 keymap there are two buttons for modyfying what kind of accents a given vaul will have. You either press, shift-press or altgr-press the button before you hit the next letter. Theese are modyfier then letter combinations: ó é á ú and ö ë ä ü Theese are shift-modyfier then letter: ò è à ù and ô ê â û These are altgr-modyfier then letter: ã õ Cant this behavior be ported to other keymaps? ~Macavity PS: to make a single tilde i have to press altgr-modyfier then space
Slightly off-topic - gerd - 2005-01-18
IS there a way to map a Gamecontroller on a keyboard or a analog gamecontroller mouse? --- I usually get my é with ` + e