top | item 35507464

(no title)

diftraku | 2 years ago

Another note for nordic layouts and Linux: tilde (~) is considered to be a "dead key" on most nordic layouts, meaning you may need to follow AltGr + ~ with a space before typing out the dot. Otherwise you might get weird looks from the terminal trying to figure what you meant with the tilde-dot.

Incidentally, while testing on Windows (in both WSL and cmd.exe) with a Finnish layout: you do not need a space after typing out the tilde.

discuss

order

lifthrasiir|2 years ago

For this reason you can change the tilde with `EscapeChar` configuration in your `~/.ssh/config` (or `-e` option, but I bet you want it to be permanent).

SoftTalker|2 years ago

~ is also the (very common) shorthand for home directory. How do Nordic keyboard users deal with that?

nextos|2 years ago

As a former user of ISO layout keyboards, IMHO a great quality of life improvement is to switch to ANSI.

A US ANSI keyboard has all programming symbols in the right place. Yet it makes Latin/Nordic and other symbols easy to type via compose key (e.g. Right Alt), or similar.

For example, Compose a + ' = á, a + e = æ, o + / = ø, s + s = ß, s + o = §, etc.

An annoying issue is that most brands won't sell ANSI keyboards abroad. Apple is one of the few that get this right. A trick is to import from countries where ANSI is the default, such as NL.

mrweasel|2 years ago

Maybe I'm misunderstanding, but it's not an issue on a Mac. The Option + ^ will produce a ~ with no need for a space. I don't recall it ever being an issue for me on Linux either, so I wonder if there's a difference between a Nordic and a purely Danish keyboard.

Personally I always found that ^] for various terminal commands was much more of a hassle, to the point where it's easier to just close the terminal window.

Some Danes will just use a US keyboard layout, but that's not really as common as sites like HN will have you believe. In terms of programming it does make a little sense though. The 8 and 9 key is doing a lot of heavy lifting, Shift + 8 is (, Option + 8 is [ and Shift + Option + 8 is { and the matching close characters on 9.

There's not a lot of room for special characters on a Nordic keyboard, all most all of the require a modifier key. I don't know if that makes Nordic keyboard users more adverse to the use of these characters in commands and programming languages.

nemetroid|2 years ago

With agony. It sucks.

nxpnsv|2 years ago

${HOME}