[Users] How do you assign single-letter hotkeys to actions?
Adam Nielsen
a.nielsen at shikadi.net
Sat Jun 29 14:13:58 CEST 2013
> > How can I assign the "m" key to mark a message as unread?
>
> I think you need to use a combo Shift+m
> Them mark any mail as unread by hightligh then press Shift+m
>
> I'm guessing m is in use for something else.
Thanks for the suggestion. "m" wasn't in use, but it looks like the
keystroke was being grabbed by another menu item before it had a chance
to be set as a shortcut. I guess that's one drawback of using this
method for setting shortcut keys.
I ended up working around the problem by setting the shortcut key to
Shift+M as you suggested, then editing ~/.claws-mail/menurc and looking
for the line where Shift+M was mentioned. I then removed the Shift
like so:
(gtk_accel_path "<Actions>/Menu/Message/Mark/MarkUnread" "m")
And now it works - I can press "m" to mark a message as unread.
Cheers,
Adam.
More information about the Users
mailing list