In various applications when I do "show file in folder" it simply open the file-manager (nemo) but does not select the actual file. How can I make show in folder also select the file?


You would have to change each of the applications not to 'just' open with nemo with the directory as an argument but with the file.

Nemo already supports this, and you can easily test from a terminal with:

touch /var/tmp/xxx.txt
nemo /var/tmp/xxx.txt

this opens a view on /var/tmp with xxx.txt selected (tested with nemo version 2.0.8)

  • Do you have any idea how to change that for Google chrome? or some other app so I can see how its done.
    – Vader
    Jan 16 '14 at 12:06
  • @JebediahKerman Sorry, I have not, maybe there is an App for Chrome that does that.
    – Timo
    Jan 16 '14 at 12:12
  • are you sure there is not a system wide way of doing this?
    – Vader
    Jan 16 '14 at 12:14
  • No but I never heard of it. Nemo supports it, that is what I showed. If Chrome handles Nemo a directory (like it indicates it does, and in practice does) that is what you get. The system (or Nemo) cannot guess which file out of a directory is meant if it is not explicitly indicated. But you could change Nemo (by recompiling) to select e.g. the latest file created in a directory if it opens a directory, or select the biggest file, or the smallest, but that is coding and requires a selection criterium.
    – Timo
    Jan 16 '14 at 12:21
  • 1
    I find this really odd, because Chrome behaves correctly in Windows. Plus, it's not just in Chrome that I see this behavior happening -- it's a system-wide thing in Linux. Jul 3 '16 at 20:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.