Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use Firefox 0.9.3 and the SessionSaver extension. When I click on "Tools--SessionSaver" I get a cascaded menu that offers the names of saved sessions to restore, if desired. But I cannot figure out how to delete a saved session I don't want anymore. Eventually the list will be way too long!
I've searched all the directories that seemed they might offer the file with the saved-session data in it, with no luck. Did "grep" on some of the session titles with no luck. The website for the SessionSaver developer seems to be out of business or at least temporarily down.
Anybody know how to delete no-longer-wanted saved sessions?
Session Saver saves the session data in ~/.mozilla/firefox/your_profile/prefs.js. Open this with a text editor when Firefox is not running, and delete the information for the sessions you no longer want.
Originally posted by motub Session Saver saves the session data in ~/.mozilla/firefox/your_profile/prefs.js. Open this with a text editor when Firefox is not running, and delete the information for the sessions you no longer want.
Thanks so much, motub! That did it.
By the way, the reason I didn't find the information I needed using "grep" was that in the prefs.js file, the name of the session uses an underscore character to indicate a space character. I even tried searching using the backslash-before-the-space routine, but of course that didn't work, 'cause there was no space to find. I need to improve my regular-expression skills, which are almost nonexistent. But there's so much I need to improve...
That solution worked, and now it doesn't. Sessions that are saved just continue to pile up; if I edit the prefs.js file manually it gets
overwritten with the same old information I deleted, next time I run Firefox...
Cannot get rid of the old sessions via about:config in the browser, either (as a user reported he was able to, in a post elsewhere).
I even removed firefox and the settings for it in ~/.mozilla/firefox, and reinstalled from a fresh download, and it STILL has all the session saver stuff.
I installed an "extensions uninstaller" extension (yes, there is such a thing) and it was unable to UNINSTALL session saver.
At this point I'm sorry I ever installed the session saver! If it worked right, I would like it. But it doesn't, and apparently there's no way to get rid of it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.