I used the Danish keyboard layout(win11) for both italian and Danish, because Italian needs àèéìòù and that language setting allowed me to type those. when I pressed the key next to backspace it waited until I pressed a vowel and it would write the vowel with the accent. if you pressed it twice it would write two lone accent symbols like this: ``. one day, it randomly stopped waiting for the vowel and immediately writes two symbols so it renders writing the accented letters impossible. i had changed no setting, done nothing, and my keyboard cannot be dirty or something because otherwise it would be hitting that key twice in other languages too. i cleaned it anyway. i tried redownloading the Danish layout but nothing changed. what can I do? having to change language gets quite annoying when you have to do it often.

  • nottheengineer@feddit.de
    link
    fedilink
    arrow-up
    5
    ·
    8 months ago

    Sounds like microsoft changed the danish layout.

    The behaviour you want is called “dead keys” and the layout knows which keys should work like that.

    If you want the old behaviour back, you need to do the following: Download MSKLC (Microsoft keyboard layout creator) from microsoft’s website, install and open it and then go to File->Load existing layout and then select the danish one.

    Then double click the accent key to open the popup, which includes a checkbox to make it a dead key.

    Then compile and install the layout. I don’t remember where exactly that button is but you’ll find it. If it doesn’t work first try, make sure that you change the name of the layout on the second try. Windows is a buggy mess and if you reuse names, it will break sooner or later and you’ll find yourself with layouts that cannot be removed anymore.

    You can also set a few other things in the layout like shiftlock, but as I said windows is a buggy mess so doing that will almost certainly break something.

      • nottheengineer@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        8 months ago

        Because it’s microsoft.

        Linux is great, I switched all my personal machines because I was fed up with all the crap they do.

        And what can I say? It’s just a better OS. The only reason to still use windows is because of software that’s made for it and doesn’t run well on linux yet.

    • 6mementomori@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      7 months ago

      i tried it, it worked once, after rebooting it stopped working. dead keys just do not work at all anymore. what the fuck?