You are not logged in.

#1 2014-01-27 21:55:15

MikeDacre
Member
From: San Francisco Bay Area
Registered: 2013-01-18
Posts: 51
Website

[SOLVED] xfce4 application specific keyboard shortcuts

Hi All,

I remember being able to directly change a menu shortcut with xfce, although I could be mis-remembering.  I want to bind 'Send Now' in Thunderbird to Ctrl+Shift+d (or just Ctrl+D I guess), because that is what I am used to.  I don't think I can do this in the xfce keyboard global keyboard shortcuts, those just launch apps from the command line, and I don't think I can use the window manager shortcuts either, although I may be wrong.  I remember just highlighting a menu item and choosing a key combination, and that that just worked... but I can't find it anywhere now.  Is it maybe a different window manager?

I am using xfce4 with xfwm4 4.10.1-1. I have compositing switched on.  Let me know if there is any other info you need about my setup, I am honestly not sure which parts of the desktop environment/window manager/application settings/kernel (probably nothing to do with the kernel) are involved here, so I am not sure what info to give.

Thanks!

Last edited by MikeDacre (2014-01-28 03:25:42)

Offline

#2 2014-01-28 01:24:07

Wake
Member
Registered: 2012-01-12
Posts: 12

Re: [SOLVED] xfce4 application specific keyboard shortcuts

You'd have to know how to communicate with the Thunderbird API. Perhaps a little Python would do? If so, you could run that script from Keyboard|Application Shorcuts.

Offline

#3 2014-01-28 01:33:48

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED] xfce4 application specific keyboard shortcuts

I guess you mean this: http://docs.xfce.org/faq#editable_menu_accelerators
I don't know if it works with thunderbird, though


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2014-01-28 03:25:20

MikeDacre
Member
From: San Francisco Bay Area
Registered: 2013-01-18
Posts: 51
Website

Re: [SOLVED] xfce4 application specific keyboard shortcuts

Yup, that's it: editable menu Appearance->Settings.  Sadly it doesn't work in Thunderbird.  Thanks though!

The solution in Thunderbird is the keyconfig extension.  I found the help page at http://kb.mozillazine.org/Keyconfig_ext … hunderbird and figured out the solution:

1. Install keyconfig
2. Navigate to keyconfig Preferences
3. Click 'Add a new key' at the bottom left
4. Name the key anything, I chose 'key_send' as that is the name of the key
5. Replace /* CODE */ with  goDoCommand("cmd_sendNow") and click 'OK'
6. Assign a hotkey and click 'Apply'
7. Restart Thunderbird
8. You're done!

That worked for me.  Hopefully this helps someone else one day.

Offline

Board footer

Powered by FluxBB