cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset Firefox from the commandline (without a mouse) on Linux?

SOLVED
Highlighted
New Contributor

How to reset Firefox from the commandline (without a mouse) on Linux?

I use Firefox for automated screenshots in a xvfb-virtual desktop. There is no mouse. So I need to reset Firefox from the commandline. Uninstall an re-install leads to the "reset-Window" again. I use Ubuntu 13.04 Server-Edition.

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Grand Master Contributor

Re: How to reset Firefox from the commandline (without a mouse) on Linux?

Otherwise, without a keyboard and mouse, you can just reinstall and delete the ./mozilla folder.

6 REPLIES
Grand Master Contributor

Re: How to reset Firefox from the commandline (without a mouse) on Linux?

firefox -safemode or -safe-mode

then a new window should show to enter safe mode or Reset, hit the right keyboard key, and press enter on "Reset Firefox". No mouse needed.

Regular Contributor

Re: How to reset Firefox from the commandline (without a mouse) on Linux?

XP

   Open the Command Prompt:
       Windows Vista: Click on the Start Menu, click on All Programs, click on the Mozilla Firefox folder and click on Mozilla Firefox (Safe Mode).
       ff_vistastartmenu.png (+)
       Windows XP and Earlier: Click on the Start Menu, click on All Programs, click on the Mozilla Firefox folder and click on Mozilla Firefox (Safe Mode).
       ff_xpstartmenu.png (+)
   In the Firefox Safe Mode window, check the Reset all user preferences to Firefox defaults box and click on Make Changes and Restart.
   ff_safemode.png (+)
   Firefox will automatically restart and your settings will be reset to defaults.
New Contributor

Re: How to reset Firefox from the commandline (without a mouse) on Linux?

Thanks @Waka_Flock_Flame, but I have no keyboard either. It's an server and xvfb is just a virtual X-Server.

Thanks @Mohammed.samad, but I use Linux.

Grand Master Contributor

Re: How to reset Firefox from the commandline (without a mouse) on Linux?

Otherwise, without a keyboard and mouse, you can just reinstall and delete the ./mozilla folder.

New Contributor

Re: How to reset Firefox from the commandline (without a mouse) on Linux?

Thanks! Remove and install didn't help, but the trick is removing the ./mozilla folder. Thanks a lot!!!

Site Moderator

Re: How to reset Firefox from the commandline (without a mouse) on Linux?

You may have to check the ~/.cache/mozilla/firefox folder as well that current Firefox versions use for the disk cache.