Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've recently switched from Windows to Ubuntu 11.04, and a difference that bugs me a bit is, when a dead key (such as ^ or ´) is pressed twice, the behavior differs in the two OS'es.

On Windows, the first press is dead, but the second press gives you two characters. So, for instance, pressing ¨ once nets you nothing, but twice nets you ¨¨.

On Ubuntu, the first press is also dead, but the second press only nets you one character. So, pressing ¨ once nets you nothing, twice nets you ¨.

What I'd like to do is make dead keys function as on Windows, that is, pressing them twice nets you the character two times.

I do not wish to make them non-dead, as I then wouldn't be able to write for ü, for instance.

Is such a thing possible, and if so, how?

share|improve this question
2  
Just out of curiosity, I remember this behavior from my Windows days and it always boggled me what the use case could be for wanting two of them, any insight? I don't think there was a single time where I didn't use the backspace after hitting a dead key twice. –  Ward Muylaert Jun 20 '11 at 10:04
    
For instance, when writing LaTeX, quoted text is written like ``this''. There's also the smiley ^^. –  Sebastian Paaske Tørholm Jun 20 '11 at 11:07
1  
I see, Kile autocorrects my " into `` or '' depending on what's needed. –  Ward Muylaert Jun 20 '11 at 11:51
    
I just defined my own qq{} and q{} function for quotes. If you use a specific editor, you might be able to program that one ` will output `` or so –  queueoverflow Aug 13 '11 at 22:23

2 Answers 2

You can get similar behavior with the compose key. The compose key can be set under System Settings -> Keyboard -> Layout -> Options -> Compose Key. Now, to type ü, press compose, release compose and then proceed as you would in Windows.

Edit: Misread slightly, you'd need to make the keys dead before doing this, which for me, they were by default.

share|improve this answer

What you're asking isn't possible as far as I know; however if you would change your keyboard-layout to one with AltGr deadkeys, you'll still be able to have your deadkeys like ü.

How to get those deadkeys is very easy; e.g. ü would be AltGr + Shift + '.

If you don't have a dedicated AltGr key, then the right Alt key would be that key.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.