Hacker Public Radio

HPR3523: The Compose key


Listen Later

The Compose key allows you to input any character or sequence of characters regardless what keyboard layout you use, by typing the Compose key followed by a sequence of other keys. To use it, you must activate it in your system and choose what key you want to serve as the Compose key.
If on Windows, we don't judge, we understand it's because, like me, you have no choice, and that's OK, one day we'll all get to live the dream, until then we'll just make do... WinCompose enables the compose key on that wretched environment. It comes with a ton of additional sequences, plus a fancy GUI for creating your own.
If you use X, I suggest looking at the ArchLinux Wiki: https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Configuring_compose_key
If you are a GNOME user, install GNOME Tweaks to activate the Compose key.
$HOME/.XCompose
include "%L"
<Multi_key> <Multi_key> <braceleft> : "&#123;"
<Multi_key> <Multi_key> <braceright> : "&#125;"
<Multi_key> <Multi_key> <t> <f> : "(╯°□°)╯︵ ┻━┻"
<Multi_key> <C> <C> <C> <P> : "☭"
Note that that last one actually comes with X by default. In ArchLinux, all the default sequences can be found in /usr/share/X11/locale/<your-locale>/Compose. Also good to find out what to call your keys when writing your own sequences.
/etc/X11/xorg.conf.d/00-keyboard.conf is the file that makes the Compose key happen in X.
Section "InputClass"
Identifier "system-keyoard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "acer_laptop"
Option "XkbOptions" "compose:ralt,ctrl:nocaps"
EndSection
Note that it is not recommended to edit the file above, but use localectl to edit it. I don't know why that is. To learn more about that, and all the many options available, start with https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Using_localectl
...more
View all episodesView all episodes
Download on the App Store

Hacker Public RadioBy Hacker Public Radio

  • 4.2
  • 4.2
  • 4.2
  • 4.2
  • 4.2

4.2

34 ratings


More shows like Hacker Public Radio

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

290 Listeners

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec by Jerry Bell and Andrew Kalat

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec

372 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

268 Listeners

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast) by Johannes B. Ullrich

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast)

651 Listeners

Curious Cases by BBC Radio 4

Curious Cases

821 Listeners

The Strong Towns Podcast by Strong Towns

The Strong Towns Podcast

423 Listeners

Late Night Linux by The Late Night Linux Family

Late Night Linux

164 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,059 Listeners

Cybersecurity Today by Jim Love

Cybersecurity Today

179 Listeners

CISO Series Podcast by David Spark, Mike Johnson, and Andy Ellis

CISO Series Podcast

189 Listeners

TechCrunch Daily Crunch by TechCrunch

TechCrunch Daily Crunch

42 Listeners

Strict Scrutiny by Crooked Media

Strict Scrutiny

5,800 Listeners

2.5 Admins by The Late Night Linux Family

2.5 Admins

98 Listeners

Cyber Security Headlines by CISO Series

Cyber Security Headlines

139 Listeners

What the Hack? by DeleteMe

What the Hack?

228 Listeners