Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On any Unix, just enable the "compose" key, then <Compose>+"+i.

It's always something easy to remember, like " for umlauts, o for circles (©, ®), obviously ' for accents (ń) and so on.



You can see and modify the .XCompose file, and you can even put your own strings there like an email address or change the sequence. There are some community XCompose files on GitHub too.


You may or may not need to set GTK_IM_MODULE=xim to get GTK applications to use ~/.XCompose.

Also, Qt5 broke support for multi-character results when using compose sequences (everything after the first character is ignored).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: