Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-08-16 19:47:01

fwkb
Member
Registered: 2014-08-16
Posts: 1

"Open selected file with Geany" keyboard shortcut?

Hello,

I would like to be able to hit a keyboard combo to open the file that is currently selected in Thunar with a specific app, e.g. Geany.

I understand how to make a right-click shortcut for Thunar, and I can so Shift+F10 to access the right-click menu, then use the arrow keys to hit the shortcut there, but I am hoping for something slicker/fewer keystrokes. 

I know the basics of how to create a shortcut in Settings Manager > Keyboard >Application Shortcuts, but I can't seem to figure out if it is possible to somehow pick up the currently selected file and let a shortcut there use it.

Xubuntu 14.04, Thunar 1.6.3

Any ideas? Thanks!

Offline

#2 2014-08-16 23:22:38

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: "Open selected file with Geany" keyboard shortcut?

You could create a custom action to open any file with Geany, then assign that custom action a menu accelerator. See: http://docs.xfce.org/faq.

Just tried it here and it works. Note: you need to assign the menu accelerator shortcut from the File menu and not from the right-click menu.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 521.64 KiB (Peak: 524.09 KiB) ]