Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was wondering if it is possible to remember what directories are open in one session of Nautilus, so that next time starting Nautilus, I can reopen the directories. Bookmark opened directories one by one is not what I ask for. Thanks and regards!

share|improve this question
    
Am using tabs in nautilus; ideally, there'd be a way to dump the locations and have a script to re-open those locations in tabs when needed. I might try and think about how to do this eventually, but if anyone can "get the show on the road" sooner, I'd be v glad!! –  nutty about natty Mar 9 '13 at 22:07

2 Answers 2

I have yet to try this out myself, but this looks promising: "hot off the press" here's a relatively recent find:

So I did a little tweaking of the command and came up with this:

nautilus --sm-client-state-file ~/.config/session-state/nautilus-xxxxxxxxxx.desktop &

And it worked beautifully!

Last edited by tg3793; June 9th, 2012 at 08:37 AM.

Let's hope it works!

share|improve this answer

Nautilus does not support this functionality. What you might want to do is use session saving, or write a script to have nautilus open those directories by default.

You could replace nautilus with this script in your start up applications. (I will need more time for the script part).

share|improve this answer
    
Thanks! How exactly is that? –  Tim Jul 7 '11 at 2:57
    
@Tim is...? You mean how to write the script or to save your session? (BTW I will update my answer shortly). –  RolandiXor Jul 7 '11 at 2:58
    
Yes. Thank you! –  Tim Jul 7 '11 at 3:24
    
@RolandiXor How shortly is 'shortly' :-) –  Parto Jun 27 at 8:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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