1

Is it possible to change the default location that 'Files' opens into? Currently, it opens the 'Home' directory, but I would like it to open the 'Starred' directory.

Thank you!

3
  • This is how I did it: askubuntu.com/a/1302438/1157519
    – Levente
    Mar 27, 2021 at 20:34
  • Is there a 'path' to the Starred folder? I couldn't find one. Currently, I have put everything I want starred into a single folder and used the method you referred to point to that folder, and it works! Thanks!
    – Arun
    Mar 27, 2021 at 23:59
  • PS, I edited the title of your question. Else, it is just a duplicate of askubuntu.com/questions/706672/…
    – vanadium
    Mar 28, 2021 at 10:37

1 Answer 1

0

You can change the default startup folder of nautilus by editing the .desktop launcher for Files, as detailed in this anwser. It boils down to copying the system wide launcher to your private .local/share/applications folder, and then editing the copy in that local folder. Edit it such that the Exec= lines read like

Exec=nautilus starred:///

In contrast to what is indicated in the related answer, you need to remove both --new-window and %U for this to work.

Users that wish to autostart in the "Recent" folder can supply recent:///.

3
  • Thank you! This worked. I did have to comment out DBusActivatable=true though. It did not work otherwise.
    – Arun
    Mar 28, 2021 at 11:38
  • Thank you for the feedback. I will remove that then from my answer, although for me it worked leaving it on (also on Ubu 20.10).
    – vanadium
    Mar 28, 2021 at 11:41
  • While this worked for me on Ubuntu 22.04, whenever I start Nautilus by clicking on a folder on the Desktop (provided by the default gnome extension Desktop Icons NG), I get two windows: one with the starred, and one with the actual folder. Any clue how to work around that?
    – MakisH
    May 24, 2022 at 7:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .