Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-29-2009, 03:16 AM
|
#1
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
Firefox: changing Work Offline default
Hi all,
I'm running FFx 3.0.5 on Debian Lenny and like many people before me, I am annoyed with the Work Offline setting being the default setting.
I have perused the previous threads on this topic and found two solutions:
1. shut off the Network Manager daemon
2. change the settings in prefs.js
I have shut down the Network manager but to no effect
The relevant setting in prefs.js is:
user_pref("browser.offline", false);
Any ideas on how I can change this setting to default to Work Online?
Cheers,
jdk
|
|
|
01-29-2009, 08:37 AM
|
#2
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
Try with deleting the .default folder in .mozilla.Log out/log in.
|
|
|
01-29-2009, 09:43 AM
|
#3
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
Quote:
Originally Posted by alan_ri
Try with deleting the .default folder in .mozilla.Log out/log in.
|
Hi alan,
I don't have any .mozilla.Log. I do have ~/.mozilla which has a folder called "Default" but nothing like what you wrote. My FFx installation is in /opt but it doesn't have anything like .mozilla.Log either.
Am I understanding you correctly?
Cheers,
jdk
|
|
|
01-29-2009, 09:58 AM
|
#4
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
No,delete .default folder and then log out from the system and then log back in.
|
|
|
01-29-2009, 02:57 PM
|
#5
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
Quote:
Originally Posted by alan_ri
No,delete .default folder and then log out from the system and then log back in.
|
Thanks for the reply, Alan. I must be very thick but I'm not understanding you. I don't have a .default folder. I have this:
~/.mozilla/firefox/zqzrspcp.default
Is that what you mean? Can you give me the complete path of where you think this .default folder would be?
Thanks again,
jdk
|
|
|
01-29-2009, 04:12 PM
|
#6
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152
|
I think alan_ri is referring to a file in /home/you/.mozilla/.default
Maybe post #2 should read:
Quote:
Try with deleting the .default folder in .mozilla
Log out/log in.
|
Most file-managers have an option to "Show hidden files". Enable it. Then go exploring (and deleting, carefully). Most .config files are automaticaly re-created with (sensible) defaults if you delete them and then restart the application, or logout then login again. Caution: YMMV. If in doubt, and you really care, backup before experimenting.
"Hidden files" in linux are any file that begins with a "dot" or "period" or "."
Edit: Make sure firefox isn't running when you do this, or your "deletion" may well be undone.
Last edited by tredegar; 01-29-2009 at 04:14 PM.
|
|
|
01-30-2009, 01:29 AM
|
#7
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
Thanks Trededgar,
As I've said before, I don't have a file or folder in ~/.mozilla called .default and yes I am aware that file names beginning with a dot are hidden files. That's why whenever I do a kde installation on a new system, the first thing I do is configure konqueror so that it shows hidden files. The closest thing I have to what alan_ri described is this:
Code:
~/.mozilla/firefox/zqzrspcp.default
or this
Thanks anyway, though.
Cheers,
jdk
Last edited by jdkaye; 01-30-2009 at 01:33 AM.
|
|
|
01-30-2009, 05:43 AM
|
#8
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
Quote:
Originally Posted by jdkaye
Code:
~/.mozilla/firefox/zqzrspcp.default
|
Try by deleting that folder.
|
|
|
01-30-2009, 01:51 PM
|
#9
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152
|
It occurs to me that would be safer to move it somewhere else (like to your home) rather than delete it as you'll find that directory contains your bookmarks and other useful stuff that you may not wish to lose.
|
|
|
01-31-2009, 12:20 AM
|
#10
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
Quote:
Originally Posted by tredegar
It occurs to me that would be safer to move it somewhere else (like to your home) rather than delete it as you'll find that directory contains your bookmarks and other useful stuff that you may not wish to lose.
|
That's my thinking exactly, Tredegar. I really doubt that will solve anything since I did try editing the prefs.js, the one configuration file that actually mentions the online/offline parameter. Anyway, I'll rename (rather than delete) the file and see what happens and report back.
Thanks again,
jdk
|
|
|
01-31-2009, 12:41 AM
|
#11
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Original Poster
Rep:
|
Quote:
Originally Posted by jdkaye
That's my thinking exactly, Tredegar. I really doubt that will solve anything since I did try editing the prefs.js, the one configuration file that actually mentions the online/offline parameter. Anyway, I'll rename (rather than delete) the file and see what happens and report back.
Thanks again,
jdk
|
Total failure ... but interesting. Closing FFx and then changing the name of the ~/.mozilla/firefox/zqzrspcp.default folder and then restarting FFx causes FFx to believe there is another instance of FFx running and it won't restart.
Code:
ps -A | grep firefox
indicates that there is NO other Firefox process running. Restoring the ~/.mozilla/firefox/zqzrspcp.default folder allows Firefox to restart normally.
Back to square one.
Thanks again for your help.
jdk
|
|
|
All times are GMT -5. The time now is 09:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|