this post was submitted on 21 May 2024
11 points (92.3% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1086 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 2 years ago
MODERATORS
 

Sometimes adding a blank character helps with formatting. For example on Lemmy, it helps me separate lines of text if I insert a blank character between other lines. Currently, do that by copy-and-pasting the blank character from elsewhere. Here is an example

Is there a way I can do this on Linux easily from the keyboard? I am using KDE Neon and have the compose key enabled so that I can easily type uncommon characters like , ñ, and é easily.

you are viewing a single comment's thread
view the rest of the comments
[–] RoyalEngineering 2 points 7 months ago

My go-to would be AutoHotKey on Windows. Maybe this Linux version would work? https://github.com/phil294/AHK_X11

Looks like you can get a script that replaces

; hotstrings - expand 'btw' to 'By the way' as you type
::btw::By the way
; hotkeys - press winkey-z to go to Google
#z::Run http://google.com

You might be able to use whatever character you're using instead of {Space}:

F19::{Space}