Skip to content

Add --select argument for opening path, which selects/highlights the last item in path instead of open in default app

Submitted by D33..@..il.com

Assigned to Xfce Bug Triage

Link to original bug (#12273)

Description

current behaviour when you execute: thunar ~/Pictures/icon.png

Is that it goes looking for the default application for the file and opens the file in that application. There is no way to simple tell Thunar to just go to that directory, and select the file.

Nemo, Nautilus, DoubleCommander support this natively, Dolphin has --select parameter that makes this work.

It would be useful for 3rd party applications that want to point to a file/folder to have a way to do this.

You can just go to the parent directory when you detect thunar, but in cases of a folder with 300 files the benefit of highlighting the file would be obvious immediately.

I dont think changing default behavior is worth the trouble but adding --select argument to path that acts similar to how dolphin does it... open the path containing the last item in the path, select / highlight the specified item

discussion has been going on it in here: forum.xfce.org/viewtopic.php?pid=38284

Version: 1.6.10