I am using Anki on an M1 Mac with the German keyboard layout.
The Keyboard shortcut still isn’t displayed properly.
This issue is now at least three years old and still unresolved.
This issue was raised on Reddit and on the Forums (once for Linux) and still is not fixed (for Mac at least). I would love to share the Links to relevant discussions on Reddit and the forums, but the forum doesn’t let me.
I would love to assist anyone who wants to resolve this issue, please let me know.
Anki version:
Anki 24.11 (87ccd24e)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
It says Ctrl+Shift+. for me (using linux), but that doesn’t seem to be working. Ctrl+Shift+, for “Einrückung verringern” doesn’t work for me either.
What is the right shortcut? I could probably correct it in the translation tool, since I’ve got an account for that.
Edit: I don’t believe this is a translation mistake. My laptop has a different keyboard layout then the standard german keyboard my computer uses. On my standard keyboard increasing intendation works with Ctrl+Shift+<. I cannot do that with my nonstandard laptop keyboard.
If I remember correctly there is an addon that shows the keyboard shortcuts that anki uses and allows one to change those shortcuts. Would be great if anki would natively support that or if the shortcuts where dependend on the actual keyboard layout.
Hey Anon, thank you very much for the reply and generous offer!
Here are the correct and working shortcuts. They were posted by
u/maturoto on a Reddit post concerning this issue.
For u/NekoServant and anyone coming back to this later on, here is what works on a German Mac keyboard:
indent: ⌘ + ⇧ + < (i.e., ⌘ + >)
deindent: ⌘ + <
I found this by googling for a UK Mac keyboard and figuring out which characters are actually triggered when you press ⇧ + ./⇧ + , on there. Turns out they are >/<, so I just replicated that on a German keyboard.
Well, it’s also wrong for me using my built in laptop keyboard.
The layout is different. It’s not about the translation if the keyboard layout is wrongly detected (which is the reason the shortcuts don’t work).
E.g. on my laptop I have to press Fn+L to get a < key. But that would mean I’d have to Ctrl+Shift+Fn+L on my keyboard, which anki doesn’t recognize at all. So it’s not the tooltip that’s the issue, but the actual assignment of which keys can be used. If I use my standard PC keyboard on my laptop, it works fine (because the layout of the PC keybaord is different).
That’s why I wrote this:
I hope that makes sense. Maybe some programmer / anki staff sees this and opens an issue on github.
There had been similiar (still open) bug reports like this one here:
Maybe event.code needs to be changed to event.key like it had been done here:
Not sure though.
(btw, you tagged this as “translating”. That’s the reason why I say that it’s not a translating error, but rather something that should be solved on a code level)
Yes, new users are limited in the links they can post. But you can give us them as plain text if you put them in between `backticks` in preformatted-text-block. It will help to see what issues you think are related to each other.
This sounds like another instance of how shortcuts interact with keyboard layouts other than English-International. Sometimes you need to use the keys for where those characters would be on the English Layout.
I had similar results with the Turkish-Q layout. For more background: