! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
option to focus (select) file or directory when opened from CLI
Status:
RESOLVED: DUPLICATE
Severity:
enhancement

Comments

Description jose1711 2012-01-16 22:41:05 CET
User-Agent:       Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7
Build Identifier: 

i would welcome an option to select target (file or directory) instead of entering it/opening it. analogy in win32:

explorer C:\WINDOWS -> displays contents
explorer /select,C:\WINDOWS -> selects

Reproducible: Always
Comment 1 Harald Judt editbugs 2015-04-17 15:48:05 CEST
*** Bug 8371 has been marked as a duplicate of this bug. ***
Comment 2 Harald Judt editbugs 2015-04-17 17:43:08 CEST
At the moment, you can use the dbus interface to accomplish this:

dbus-send --print-reply --dest='org.xfce.FileManager' /org/xfce/FileManager org.xfce.FileManager.DisplayFolderAndSelect string:/home/user/tmp string:some-file.zip string:"" string:0

This will be improved in a later milestone. Closing.
Comment 3 alexxcons editbugs 2019-01-14 21:58:04 CET
Closing in favor of Bug #12273, which has slightly more information.

*** This bug has been marked as a duplicate of bug 12273 ***

Bug #8349

Reported by:
jose1711
Reported on: 2012-01-16
Last modified on: 2019-01-14
Duplicates (1):
  • 8371 FR: command-line option to open containing folder and show file

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information