Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Key Bindings cannot be changed

#282

Hi Benny,

I followed the manual to set up my own keybinding list in "~/Library/Application Support/MailMate/Resources/KeyBindings/" and enabled it in the Preferences (General pane) by prioritizing it before "Gmail". But MailMate does not take my setting. Instead, it still goes with Gmail.plist. Any suggestion?

Thanks,

Tai

Reported by Tai-Chung Huang · September 11th, 2012 @ 11:49 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to accepted

    Maybe MailMate cannot parse your file. Unfortunately there is no visual feedback for that, but you can take a look in Console.app for any output from MailMate. Although a quick look at the code tells me that it'll probably quietly fail. I'll take that as an implicit feature request :-)

    You can attach your file to this ticket and I'll try it out myself.

    September 12th, 2012 @ 06:20 AM

  2. Tai-Chung Huang
    Tai-Chung Huang

    In my own keybindings file "taikeybinding.plist" (as attached), I changed almost nothing from Gmail.plist except that the first item "c" = "newMessage" was changed to "q" = "newMessage". Just for a simple. It did not work.
    Thanks, Tai

    September 13th, 2012 @ 02:41 AM

  3. benny
    benny

    Ok, it worked for me. To be specific:

    1. In the preferences I have: “taikeybinding, Gmail”.
    2. I copied the file to /Users/<username>/Library/Application Support/MailMate/Resources/KeyBindings/

    Please check that you have the same.

    September 13th, 2012 @ 10:46 AM

  4. Tai-Chung Huang
    Tai-Chung Huang

    I confirmed I did the same steps (1. & 2. above) like you, and it does not work for me. What do you need to proceed the troubleshooting?

    September 13th, 2012 @ 05:40 PM

  5. benny
    benny

    I would like to verify once more that settings are correct. Could you do the following in the Terminal:

    defaults read com.freron.MailMate | grep MmCustomKeyBindings 
    ls ~/Library/Application\ Support/MailMate/Resources/KeyBindings/
    

    If that does not show what is wrong then the next step is probably a debug version of MailMate.

    September 13th, 2012 @ 07:19 PM

  6. Tai-Chung Huang
    Tai-Chung Huang

    I executed those two lines you gave and this is what Terminal shows:

    tcgneh_:~ mac$ defaults read com.freron.MailMate | grep MmCustomKeyBindings
    MmCustomKeyBindingsEnabled = 1; tcgneh_:~ mac$ ls ~/Library/Application\ Support/MailMate/Resources/KeyBindings/
    taikeybinding.plist

    September 13th, 2012 @ 10:24 PM

  7. benny
    benny

    Ok, something is wrong. I also get:

    MmCustomKeyBindingsName = "taikeybinding, Gmail";
    

    I think maybe it is all related to the changes in the text field for this setting not being committed. That might not happen if just closing the window or changing preferences pane without first hitting the “Enter” key.

    In any case, you should be able to make it work by doing the following (but first try the GUI again):

    defaults write com.freron.MailMate MmCustomKeyBindingsName "taikeybinding, Gmail"
    

    Restart MailMate after doing the above.

    September 14th, 2012 @ 06:27 AM

  8. Tai-Chung Huang
    Tai-Chung Huang

    You are right and I appreciate you help. Now self-made key bindings work! I think I know why things went awry:

    Although I checked the box to enable "Custom Key Bindings", I forgot to hit the Enter key to make the items selected (i.e., shaded in the blue shadow). Instead, "taikeybinding, Gmail" were not selected. So MailMate couldn't take my input.

    Now, I have been able to add my own keywords and toggle them! Beautiful!

    Now what I am going to do is to recommend this wonderful email client to my friends using mac.

    Thanks a bunch, Benny.

    September 14th, 2012 @ 11:18 AM

  9. benny
    benny

    I'm glad we found the problem. I'll keep this ticket open for fixing this: Automatically end editing of the text field when leaving the preferences window (changing focus).

    September 14th, 2012 @ 11:24 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.