keyboard layout

petergransenior's Avatar

petergransenior

07 Mar, 2013 11:23 AM

I created my own keyboard layout, so I am able to enter french, spanish, and turkish special characters without switching languages (i.e. ş Ş ç Ç ğ Ğ ñ ı İ œ Œ). This works fine in all my editors and office applications, and it almost works also in ANKI with one exception I noticed just now: I cannot enter the dotless litte 'ı' (char U+131) in my cards. Someone able to explain to me why?
Thanks in advance
Peter Gran

  1. Support Staff 1 Posted by Damien Elmes on 07 Mar, 2013 11:25 AM

    Damien Elmes's Avatar

    Are you on Windows?

  2. 2 Posted by petergransenior on 07 Mar, 2013 11:34 AM

    petergransenior's Avatar

    Yes, I'm on Windows XP.
    Sorry, I couldn't answer online: I failed the spam protection question. I
    tried yellow, bright, and white!

    Spam protection: What color is the sun?

  3. Support Staff 3 Posted by Damien Elmes on 07 Mar, 2013 11:37 AM

    Damien Elmes's Avatar

    I'd imagine the answer is yellow, is it possible you mistyped it? In
    any case, once you create an account and have one question answered,
    you should no longer need to type the spam question.

    Since you're on Windows, please try
    https://groups.google.com/forum/?fromgroups=#!topic/anki-users/xFHS5pu8dIA
    and see if it makes a difference.

  4. 4 Posted by petergransenior on 07 Mar, 2013 05:11 PM

    petergransenior's Avatar

    Hello Damien,
    sorry for the delay. The new version prints all characters just fine with
    one exception:
    When I try to enter 'Ç' (U+00C7) it tells me: If you want to use this
    function use 'Lückentext', which must be the German translation of 'Cloze
    Deletion', that at least the chapter it opens if I press 'Help' in response.
    It's better than before, because Ç is not as often as the small ı (U+0131)
    in the turkish language.
    Thanks for your help
    Maybe you find a solution for the Ç too.
    Thanks for your help
    Peter
     
    In a message dated 07.03.2013 12:37:34 Westeuropäische Normalzeit,
    [email blocked] writes:
     
    https://groups.google.com/forum/?fromgroups=#!topic/anki-users/xFHS5pu8dIA

  5. Support Staff 5 Posted by Damien Elmes on 07 Mar, 2013 05:14 PM

    Damien Elmes's Avatar

    What keys are you pressing? It seems like the keys you're pressing are
    benig treated as ctrl+shift+c

  6. 6 Posted by petergransenior on 07 Mar, 2013 05:30 PM

    petergransenior's Avatar

    I have to press Ctrl-Alt-Shift-c (ctrl-alt is a special key on german keyboards called 'Alt GR': You see all my special chars in the Jpg attached.

  7. Support Staff 7 Posted by Damien Elmes on 07 Mar, 2013 05:36 PM

    Damien Elmes's Avatar

    Ctrl+shift+c is a reserved key in Anki. If it conflicts with a
    standard German keyboard layout then it's possible to change the
    binding in the German translation of Anki, but if it conflicts only
    with your custom keyboard layout then you'll either need to write a
    small add-on to change the key in Anki, or adjust your keyboard layout
    so it doesn't conflict.

  8. 8 Posted by petergransenior on 07 Mar, 2013 09:35 PM

    petergransenior's Avatar

    Does that mean, that Ctrl+Alt+shift+c is handled like Ctrl+shift+c?
    And: Are there any more of those reserved keys?
    I think I can change my keyboard layout, but I don't want to run into the next problem.
    Thanks for your help.
    Peter

  9. 9 Posted by Soren Bjornstad on 07 Mar, 2013 10:38 PM

    Soren Bjornstad's Avatar

    Apparently the toolkit is indeed interpreting it as so.

    There are plenty of reserved key shortcuts, but I don't know of any others offhand that use Ctrl-Shift.

  10. Support Staff 10 Posted by Damien Elmes on 08 Mar, 2013 07:03 AM

    Damien Elmes's Avatar

    Holding down alt while triggering the cloze shortcut tells anki not to increase the cloze number. The only other ctrl+alt combo in the program is the remove tags item in the browser and find&replace shortcut.

  11. Damien Elmes closed this discussion on 08 Mar, 2013 07:03 AM.

  12. petergransenior re-opened this discussion on 09 Mar, 2013 08:27 PM

  13. 11 Posted by petergransenior on 09 Mar, 2013 08:27 PM

    petergransenior's Avatar

    Hi Damien,
    sorry to bother you again, but I tried all day to find a solution to my
    problem with the turkish chars on my keyboard. Everything works fine, even
    though most of those chars are not in the default code page 1252, with one
    exception:
    I am unable to get the dotless small i ('ı', U+0131) to enter on my cards,
    no matter on what key I put it. If I hit that key nothing gets printed and
    the following input is changed to cursive letters. The big dotted I ('İ',
    U+0130) is printed. but also switches the text to cursive.
    Do you have any idea?
    Thanks in advance
    Peter

  14. 12 Posted by petergransenior on 10 Mar, 2013 04:40 AM

    petergransenior's Avatar

    Sorry Damien,
    wrong alarm! Discard my last mail.
    I have three computers, I forgot to install the new ANKI version on the one
     I was changing the keyboard layout on. It looks ok now. Thanks for your
    help!
    Peter

  15. Support Staff 13 Posted by Damien Elmes on 11 Mar, 2013 09:15 PM

    Damien Elmes's Avatar

    Glad to hear the new build is an improvement! As I haven't heard any reports of problems so far, this new version may be used for the next stable release.

  16. Damien Elmes closed this discussion on 11 Mar, 2013 09:15 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac