Facilitate quick keyboard or programmatic navigation to saved locations

My ultimate use-case is to be able to quickly navigate to arbitrary saved locations (or potentially programmatically determined locations) in Thunar using a keyboard shortcut in the program.

There are multiple angles that could be used to approach this. Two that I thought of were:

Thunar "navigate to in existing window" and "open in new tab" command options

It would be helpful to have Thunar command line options that open the requested location in the currently open window or in a new tab. This would allow custom actions to open locations in existing Thunar windows. It would achieve this without modifying the typical flow of user action execution (i.e. it is always running a command) and would also enable these to be easily bound to a shortcut. As a side effect this would also enable more powerful options like DWIM functionality where the location to open is determined automatically by a script/program (e.g. go to repository root found via git rev-parse --show-toplevel).

Support 'mnemonic'/keyboard selection of bookmarks (or add a dedicated bookmark selector) more nicely

Update: seems like if you rename the shortcut with an underscore you can make it work, though it looks ugly in the sidebar shortcuts pane. This functionality might also have some issues with folders containing underscores.

Fixing this up a bit seems smart but I don't know what direction I would go.


As another option (less ultimately powerful but potentially a nice improvement over the current UI) is to add key selection for bookmarks. As of my version, while the bookmarks menu bar drop-down can be opened with Alt+B, there is no quick way to select them via the keyboard (you need to go up and down, not just press the first letter).

Either creating a dedicated selector for this (i.e. bookmark search) or adding mnemonic style press key to select method would work to improve this. Obviously, the power of this approach is more limited but it does seem like a fitting improvement nonetheless.

Version information

Version: 4.20.8 Distribution: Arch

Edited by yuki-tsubaki