3

I am using an Acer Swift One laptop with Windows 10. The keyboard is a standard German keyboard.

I downloaded bash today from git-scm.com/download/win and tried some commands. For some reason bash shows k instead of ~ when pressing the tilde key.

Any help or advice on what I'm doing wrong?

7
  • 1
    Where/how are you running bash? (I mean - locally on a linux machine, through ssh/putty, etc.). This is most likely an issue outside of bash - keyboard layout, keybindings, etc.
    – myxal
    Commented Feb 8, 2020 at 11:59
  • I am using an acer swift one laptop with Windows 10.. How do I change the Keyboard layout to get the keys I need / which are showing on the physical keyboard. Well as I´m german the keyboard setting is on standard german. I tried to look up how to find the "virtual" keyboard layout but not successful.
    – Linda
    Commented Feb 8, 2020 at 12:34
  • Don't have much experience with DE layout, but according to wikipedia, tilde should be accessible via AltGr (right Alt) + the key with +, * on it, left of Enter. If that fails, just add US-English layout a see if that helps. On that layout, tilde is on the key left of '1', via Shift.
    – myxal
    Commented Feb 8, 2020 at 15:15
  • This is a Win32 program running on Windows, and in an answer comment the questioner responded to a request for which Linux or Unix operating system this is, with "simply Windows 10".
    – JdeBP
    Commented Feb 8, 2020 at 17:07
  • 2
    There is no involvement of Unix or Linux here.
    – JdeBP
    Commented Feb 8, 2020 at 17:07

2 Answers 2

0

I'm using a Norwegian keyboard layout, and after doing this once, it for some reason works like normal again:

  • Press Alt Gr + ^ twice.

https://unix.stackexchange.com/a/566443/514949]

Same as what Munzir Taha suggested in his answer

1
-3

This could prove useful. It mentioned you need to press the key with +*~ twice!

On the german keyboard layout you have to hold "Alt Gr" and then type the "+ * ~" key to create the tilde sign. When I want do do this in a konsole that I opened with Xming, I have to type that key two times before the tilde appears

13
  • I just pressed the ctrl key and the key with +,* and ~ and bash shows a k. I don´t get it either because in all other tools I use i don´t have that issue with my keyboard
    – Linda
    Commented Feb 8, 2020 at 12:05
  • @Linda: Why do you need the ctrl key with +,* to type ~? Isn't the tilde in its own key to the left of the number 1 in your keyboard? I just need to press SHIFT with that key on the top left. Commented Feb 8, 2020 at 12:10
  • @Linda, can you please edit that into your question. And also specify which keyboard layout you have. Are you sure about ctrl, I think you mean either shift or Alt Gr.
    – Oskar Skog
    Commented Feb 8, 2020 at 12:10
  • 1
    @Linda: Alt-Gr and that button twice instead of one, works? Commented Feb 8, 2020 at 13:17
  • 1
    :O it does! Thanks!
    – Linda
    Commented Feb 8, 2020 at 14:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .