I know how to make a heart with this sequence: composeKey, <, 3

But how do you make a star ★?


Take a look at your .XCompose file in your home directory. You probably have a line like:

<Multi_key> <asterisk> <asterisk>        :"★" U2605 # BLACK STAR

If not, add that line, and you should be good to go with <Compose> * *

  • 3
    If you create ~/.XCompose (it doesn't normally exist), this overrides all existing compose sequences. You need to copy the standard ones from /usr/share/X11/locale/en_US.UTF-8/Compose (the location may vary on some distributions). – Gilles Dec 20 '13 at 22:44
  • 1
    It's been so long since I first did that and pushed my dotfiles to a repository that I forgot that detail. Good catch! – DopeGhoti Dec 20 '13 at 22:45
  • Sweet. No Linux at the moment, so I'll try when I get a chance. Thanks! – trusktr Jan 19 '14 at 5:40
  • 3
    @trusktr no need to copy the file, just add the line include "%L" in the very beginning of your ~/.XCompose file (that works, I did it ;). You may also look at man 5 compose for more info. – Hi-Angel Nov 9 '14 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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