I needed to type u-umlaut in some text.
I googled and found
Edit the file /etc/default/console and add the line XKBOPTIONS=“compose:ralt”. That sets right-alt key to be a "compose" key. The you type AltGr " u` . … that fails … I guess it is for consoles, not for Xterminals. AltGr means right-alt
Next I found … Use the command setxkbmap -option compose:ralt to set the compose key to right-alt. Then type AltGr "u . his one works. I suppose I can put the setxkbmap command in my .bashrc.
You can get the available compose key options with grep "compose:" /usr/share/X11/xkb/rules/base.lst
Here is my creation
journal = {Zeitschrift für Tierzüchting und Züchtungsbiologie},
that is a line out of a Bibtex (.bib) file.
Bibtex is used for keeping a bibliography of reference.
I do it the most simple way: just press the “ü” key
I see this is not obvious on an english keyboard. Probably knowing the utf code and typing it could help. I mean, I remember entering some special char by pressing Alt+typing the code.
Release Alt, and char is entered …
I did this long time ago, so I’m not sure it still works. Does it?
When I need a special character (ü is easy for me) I always copy+paste it from the original text or search for it and then copy+paste. Learned that trick on 90’s when I needed a special character and copied it to my 3.5" floppy? disk. I always had it on that disk
In Ubuntu (and probably other distro’s) there is a key setting called “Compose Key”. This lets you enter some of the unusual characters. I used the “Caps lock” key as my Compose key. To type a ü I press the sequence
CapsLock u "
Many other special characters can be entered via a Compose key sequence, for example æ å ¥ £ ±
That is what I ended up doing… I set right-alt to be the compose key for Xorg. There may be a gui way of setting it, I used CLI.
I have no idea what happens with compose key in Wayland.?
I usually cheat when I need an accented vowel and look for an example on a web page and copy that to the clipboard…
Doesn’t happen very often… one of my social media identities has umlauts (incorrectly used)… But quite a few metal bands I like have umlauts in their name :
Blue Öyster Cult
Motörhead
Queensrÿche (all incorrectly used - i.e. not intented to change pronunciation - the the “ÿ” in Queensrÿche is kinda ridiculous )
I used to keep my music files in folders named with those umlauted vowels - but it played havoc when trying to copy them elsewhere - e.g. the fat32 SD-Card on my Samsung phone barfs on them (using adb-sync).
(but not that glam hair metal band from California who I shan’t name - nor fake bands like Spın̈al Tap - I think the 1983 Adrian Edmondson / Rik Mayall [The Young Ones] mockumentary “Bad News Tour” is better/funnier than “This Is Spın̈al Tap” anyway)
The ü character is available in the character map app in Linux Mint’s Software manager. Just install the app and just about any character imaginable is found there. If you are running a different distro, there is more than likely a character map app available for your distro.
Simplest way is to install a character map app from your distro’s software manager. That’s how I do it in Linux Mint. Just about any character imaginable is found there.