this post was submitted on 10 Aug 2023
26 points (96.4% liked)
Linux
48153 readers
654 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
A couple of options present themselves.
Once the Compose feature is activated, certain sequences of keypresses can be, well, composed into a new character. Various "obvious" combinations are usually supported by default.
e.g to get "≠" I hit Shift+AltGr, let them go and then type "/" followed by "=" (no quotes). It also works with the slash and equals in the other order. Some compositions only work in one order, but most work either way. Other symbols that are very much not on my UK keyboard include ä, é, ß, ¤, °, ±, ², etc. (Shift+AltGr followed by "a, 'e, ss, ox, oo and ^2 respectively).
You could then set up Ctrl+Shift+0 (probably not 1 and 0 at the same time though) to run a command like
sleep 0.5; xdotool type "≠"
.You'd need to install
xdotool
if you don't already have it installed, and you'd have to get ≠ for the command itself from the Character Map or copying it from another source to avoid the Catch-22 there.