<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - xdg-open should support selecting/highlighting a file/folder"
href="https://bugs.freedesktop.org/show_bug.cgi?id=49552#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - xdg-open should support selecting/highlighting a file/folder"
href="https://bugs.freedesktop.org/show_bug.cgi?id=49552">bug 49552</a>
from <span class="vcard"><a class="email" href="mailto:thestig@google.com" title="Lei Zhang <thestig@google.com>"> <span class="fn">Lei Zhang</span></a>
</span></b>
<pre>So now it's 4 years later and both Dolphin and Nautilus definitely support the
ability to select a file in a folder:
nautilus -s /path/to/selected_file
dolphin --select /path/to/selected_file
Can we implement the feature in xdg-open? xdg-open can either:
a) Check the underlying tool's version number to make sure it supports
selection, and fail with a particular error code if the underlying tool does
not. Then the caller can decide on falling back or not.
b) Just attempt to run the underlying tool and see what happens. If the
underlying tool reports an error, pass that back up to the caller.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>