IgnorantGuru / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
486 stars 72 forks source link

"spacefm <directory>" and "File|Save Tabs" #110

Closed ghost closed 12 years ago

ghost commented 12 years ago

SpaceFM 0.7.8 : With File|Save Tabs set invoking spacefm with a directory will create a new tab for that directory in addition to the saved tabs. Is this on purpose or should only the directory tab be shown? Regards, Dick

IgnorantGuru commented 12 years ago

Yes, this is deliberate - the saved tabs are the minimum opened in every window, and any specified directories are also opened. You can use -r on the command line to reuse a tab rather than open a new one, but it if you have multiple saved tabs, this will only affect one.

I'll consider adding a command line option to override the saved tabs setting, so it would start with just specified directories - do you think that would be useful? Or, if you don't like the saved tabs opening, maybe just uncheck File|Save Tabs?

ghost commented 12 years ago

File|Save Tabs being checked is essential for me when opening an additional window - see https://github.com/IgnorantGuru/spacefm/issues/81. For opening the initial window an option to override the saved tabs setting might be useful. This issue was triggered by http://forums.partedmagic.com/viewtopic.php?f=3&t=3003#p9539. I think that the /root case there is better served by setting a default directory and not invoking spacefm with a directory. For the "Mount Devices" case the override would make sense. Regards, Dick

IgnorantGuru commented 12 years ago

--no-saved-tabs has been added, in addition to some other command line behavior changes. Please see the above commit for details and the Invocation section of the updated user's manual for examples.