Hacker GitHub

← All repos

kragen/xcompose

View on GitHub ↗ ★ 377 Python

for sharing .XCompose keybindings

26 mentions on Hacker News by 12 people: 1 story, 25 comments · first 2009-11-27 · latest 2025-10-22

Mentions per year 26 mentions · busiest year 2024 (5)
20082026
  1. Thank you! I usually use THIN SPACE on each side of my em dashes (Compose Space Minus in https://github.com/kragen/xcompose ), but on HN that gets bashed to a regular space.
    comment by kragen · 2025-10-22 · in LLMs can get "brain rot"
  2. There's a Compose key binding for it in https://github.com/kragen/xcompose/blob/master/dotXCompose . Usually a lowercase i is the small-signal current, but some ambiguity is probably unavoidable with short abbreviations.
  3. …a file ~/.XCompose. A number of people have created files with extended compose sequences, of which https://github.com/kragen/xcompose is possibly the best-known. If you install or change ~/.XCompose, you must restart your session (log out…
    comment by vincent-manis · 2025-09-23 · in Linux Compose Key Sequences (2007)
  4. …in this should peruse and install < https://github.com/rrthomas/pointless-xcompose > or perhaps < https://github.com/kragen/xcompose >.
    comment by bmn__ · 2025-09-23 · in Linux Compose Key Sequences (2007)
  5. I have a Compose key binding in https://github.com/kragen/xcompose which maps Compose Space Minus to "—" with two thin spaces on each side of it, because I prefer the spaces. But HN rewrites the thin spaces to regular spaces, so on HN I…
  6. …this seems like a good start to build up custom mappings in case anyone gets interested in this, https://github.com/kragen/xcompose
    comment by dietr1ch · 2024-10-29 · in Improving Xwayland window resizing
  7. …ae, Æ with Compose AE, … with Compose .., — with Compose ---, – with Compose --. and so forth. https://github.com/kragen/xcompose offers an excellent XCompose file with over a thousand wonderful Compose mappings. Highly recommended!
  8. …i have sequences for 'n’t ', ' — ' (with thin spaces), ' the ', ' The ', ' and ', ' I’m ', etc. see https://github.com/kragen/xcompose/blob/master/dotXCompose#L... but i agree that compose is not a great user experience
  9. i do love me some xcompose ( https://github.com/kragen/xcompose ) but being able to see the possible options is pretty nice
  10. …my algebraic formulas with the compose key and a custom compose map mostly written by mark shoulson https://github.com/kragen/xcompose for the above, after a false start picking random unicode characters, i realized that maybe i shouldn't…
  11. …way that is not general matrix multipication i typed special characters with the compose key; cf. https://github.com/kragen/xcompose not as easy as latex but more compatible
  12. …such that (for example) the three-key sequence "SysRq . Z" is Ż. Here's the XCompose file I use: https://github.com/kragen/xcompose
    comment by msla · 2022-12-25 · in Moving the Ctrl Key
  13. http://canonical.org/~kragen/setting-up-keyboard maps my right Alt to Compose, and https://github.com/kragen/xcompose maps Compose ( 1 ) to ①, etc.
  14. …your left Win key an «Option-modifier» and its right PrtSc counterpart an «Option-compose». [1]: https://github.com/kragen/xcompose Maybe one day I will buy another Mac... but shall we prefer comfort to freedom?
  15. https://github.com/kragen/XCompose for those who prefer a more methodical approach.
  16. …for unexpected problems arising from interactions between features. As far as the keyboard goes, https://GitHub.com/kragen/xcompose and http://canonical.org/~kragen/setting-up-keyboard are your friends.
    comment by kragen · 2019-08-02 · in Why Generics?
  17. …sequences to fill in the gaps You can do that with an .XCompose file in your home directory. See https://github.com/kragen/xcompose for more info.
    comment by smacktoward · 2019-07-30 · in Chopping substrings
  18. That's right. I'm sorry I didn't post the correct name in the first place; I don't have https://github.com/kragen/xcompose set up on my hand computer (because it doesn't run X).
    comment by kragen · 2019-07-18 · in Soulver – Notepad, meet calculator
  19. …looking for a good .XCompose file, this is one that someone on HN pointed me to some time ago: https://github.com/kragen/xcompose/blob/master/dotXCompose
    comment by mistercow · 2013-12-27 · in A useful Caps Lock key
  20. …Google '.xcompose github' (without quotes) and see what you come up with. I use this one, myself: https://github.com/kragen/xcompose but there are a lot of others.
  21. …<Multi_key> <asterisk> <l> (actually all greek letters are on <Multi_key> <asterisk> [letter]). [1] https://github.com/kragen/xcompose/blob/master/dotXCompose
  22. …revs. (As mentioned in another comment, http://canonical.org/~kragen/setting-up-keyboard.html https://github.com/kragen/xcompose . The Chinese I copied and pasted from http://www.mdbg.net/chindict/chindict.php?page=radicals though.)
    comment by kragen · 2012-02-21 · in Valid JavaScript variable names
  23. …and possibly install a bigger XCompose map so you can type Greek letters conveniently https://github.com/kragen/xcompose .
    comment by kragen · 2012-02-21 · in Valid JavaScript variable names
  24. I have compoſe-f-s as the key combination for long s in my .xcompoſe file: https://github.com/kragen/xcompose . You, too, can compoſe miſsives uſing our dear antiquated friend, ſhould you ſo deſire.
    comment by kragen · 2011-10-07 · in Long S
  25. I'm maintaining a larger supplementary compose file at http://github.com/kragen/xcompose now.
    comment by kragen · 2009-11-27 · in Linux Compose Key