Re: Playing Card Symbols
On Mon 27 Mar 2023 at 21:20:45 (+0200), Siard wrote:
> Charles Curley:
> > Thomas George:
> >
> > > I am amazed that the playing card symbols spade, heart, diamond and
> > > club don't appear any of the collections in my Debian Buster
> > > programs. I can insert them in the text I type by entering
> > > CTRL-SHIFT-Uunicode but if this text in a Thunderbird email to a
> > > friend he receives only the unicode.
> >
> > What do you mean by "CTRL-SHIFT-Uunicode"?
>
> To type ♠ , for example:
>
> - hold Ctrl+Shift
> - type U2660
> - release Ctrl+Shift
>
> A slight variation, which I prefer:
>
> - type Ctrl+Shift+U , keep nothing pressed
> - type 2660
> - type Return
Not the most obvious choice, but ♥ is already defined
in X, using your Compose Key:
<Multi_key> <less> <3> : "♥" U2665 # BLACK HEART SUIT
If you're not familiar with this notation, you can
use it as a pattern, and place many more of your own
definitions in ~/.XCompose. Start the file with
include "%S/en_US.UTF-8/Compose"
(locale as appropriate) or you'll lose the ones
already defined by the system.
If you want them in VCs too, then adding them to
/etc/console-setup/remap.inc is more appropriate:
it has a different syntax and is trickier to set up.
Cheers,
David.
Reply to: