I would like to open folder in default file manager an focus on specific file.
I can do it with Notilus or Nemo (for example)
notilus ~/folder/file.txt
nemo ~/folder/file.txt
but I want to use default file manager.
I can use xdg-open
but
xdg-open ./folder
will open folder with defaut file explorer bu doesn't focus on file, and
xdg-open ./folder/file.txt
will open file with defaut .txt editor
how can I do it ?
exo-open
? – pLumo Jan 16 '19 at 08:17exo-open --launch FileManager ./folder/file.txt
it open text editor if Thunar is default – Yukulélé Jan 16 '19 at 23:08