[Users] shortcut to go to a specific folder

Paul claws at thewildbeast.co.uk
Thu May 27 12:11:28 CEST 2021


On Wed, 26 May 2021 13:00:49 -0400
George Avrunin <avrunin at math.umass.edu> wrote: 

> I'd like to be able to define keyboard
> shortcuts to go, for instance, to the inbox for the last account in the
> list, and back to the inbox for the first account.  What's the best way to
> do that?

Create an Action, (/Configuration/Actions):

(Menu Name can be what you want, this is just an example.
In Action replace MAILBOX NAME and FOLDER NAME with your actual values)

Menu Name: GoTo/MySpecialFolder
Action: claws-mail --select "#imap/[MAILBOX NAME]/[FOLDER NAME]"
Make sure 'Shell command' is selected.

Then add a keyboard shortcut to the new menu item, under /Tools/Actions/...

Unfortunately, in their wisdom, the gtk devs made setting hotkeys impossible
in the GTK 3 UI, (and it has not yet been reimplemented in claws-mail), so you
will need to quit Claws Mail, open ~/claws-mail/menurc, locate the new Action
entry, remove the leading semi-colon and space, and at the end of the line
enter your chosen hotkey combo:

E.g., replace the ending  "") with "<Shift><Alt>G").

with regards

Paul


More information about the Users mailing list