From http://kb.mozillazine.org/Profile_in_use - Check for:
1) A file called .parentlock
2) A symlink called lock
...in ~/.mozilla/firefox/random string of alphanumeric characters.default/
The former is present while Firefox is running to prevent more than one different instance from trying to simultaneously write to the same set of profile files, and ...
You can use data URIs, like this:
echo '<h1>hello, world</h1>' |firefox "data:text/html;base64,$(base64 -w 0 <&0)"
&0 is the file descriptor for stdin, so it encodes stdin to base64, then interpolates that into the data URI.
The same trick works for other browsers, too:
echo '<h1>hello, world</h1>' |chromium "data:...
Here is a community version of the answer by Yokai that incorporates examples offered by Rudolf Olah.
You can use the tool called xdotool to control window size and location. Not only that, any script you write in bash, using xdotool, can be setup to work with a fully maximized window and it can be scripted to set the window size and x:y coordinates by ...
One of the biggest issues when launching some X-client remotely is the X-protocol, not so much the ssh overhead!
The X-protocol requires a lot of ping-pong'ing between the client and the server which absolutely kills performance in the case of remote applications.
Try something like "x2go" (which also goes over ssh with default setups) in you will notice ...
I've had this issue for ages, maybe it's time to do something about it!
It comes done to ClearType, Microsoft and patents from what I read. Most *nix distro's disable any patent protected font rendering by default.
Read about Debian and fonts here, you want Subpixel-hinting and Font-smoothing section.
There's a config file on that page but I will add here ...
I ran into this too, and found the answer in mozilla's bugzilla. In short, it happened because the plugin was updated while Firefox was running, and the pluginreg.dat got corrupted. So:
start firefox again
and you'll be all set. (The file will be regenerated.)
Of course, you'll need to make sure that the ....
The default ssh settings make for a pretty slow connection. Try the following instead:
ssh -YC4c arcfour,blowfish-cbc user@hostname firefox -no-remote
The options used are:
-Y Enables trusted X11 forwarding. Trusted X11 forwardings are not
subjected to the X11 SECURITY extension controls.
-C Requests compression of all data (including ...
When debugging curl issues, the -v option is often helpful. In this particular instance, you’re running afoul of the If-None-Match header, which tells the server that you already have the file matching “6931c3b4d0e94743bb93a36ed8e8c3f5add12f9a” and that you’re not interested in retrieving it again if it hasn’t changed. -v shows you this by indicating that ...
When Firefox starts, it looks for a Firefox window running on the same display, and if it finds one, it focuses this window (and if you pass a URL on the command line, it opens a new tab to load the URL in the existing window).
You must have run SSH with X11 display forwarding. Since X11 forwarding is active, all GUI programs that you start in the SSH ...
First find the process id of firefox using the following command in any directory:
Kill firefox process using the following command in any directory:
kill [firefox pid]
Then start firefox again.
Or you can do the same thing in just one command.As don_crissti said:
kill $(pidof firefox)
this is a common problem causing nothing but the battery wasted energy decreasing unplugged operation time significantly.
the cause of the problem appears to be very simple: you may have too many tabs opened each having bulky and useless endless loops running java-scripts.
those java-scripts are usually not origin of the web site you are working with but ...
I was able to unpack the jsonlz4 by using lz4json:
apt-get install liblz4-dev
git clone https://github.com/andikleen/lz4json.git
I have much better experience in using an ssh tunnel to route traffic through another machine. It's very easy to set up since you have ssh access anyway. In a terminal on your computer, type
ssh -vv -ND 8080 user@yourserver
Keep this window open and watch it delivering some verbose messages about the data flowing through the tunnel.
In firefox, go to ...
Firefox stores cookies in sqlite database ~/.mozilla/firefox/<profile path>/cookies.sqlite. You can have full access to it.
For example, to watch all cookies from stackoverflow.com you can do:
cd ~/.mozilla/firefox/<profile path>/
select * from moz_cookies where baseDomain glob '*stackoverflow*'
(replace here <...
You have firefox-esr pinned to the currently-installed version with a very high priority:
*** 52.9.0esr-1~deb9u1 30000
That prevents any other version with a lower pin priority from being installed, including the security update which only has priority 500:
The pin comes from apt-listbugs: it decided (or was told — I think it ...
It should be enough to install the great noto fonts bundles:
sudo pacman -S noto-fonts-cjk noto-fonts-emoji noto-fonts
The restart firefox and you should be abe to see them. Personally, I also installed the following from AUR:
yaourt -S ttf-freefont ttf-ms-fonts ttf-linux-libertine ttf-dejavu ttf-inconsolata ttf-ubuntu-font-family
I doubt those will help ...
How to Use Mozilla Firefox, Portable with flash plugin
Make your firefox portable for Linux (all versions):
Download the latest release of Firefox and unpack it on your usb device: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/
Go to unpack_directory/firefox/browser/plugins (firefox 22+).
Add a short link to your installed flash-plugin binary (...
A link to a “similar question” (xdg-open default applications behavior – not obviously related, but some experimentation showed that the behaviour is indeed equivalent to the one of xdg-open) led me deeper down the rabbit hole. While Firefox does not rely on, or inherit rules from, xdg-open, it uses the MIME specification files just as xdg-open does.
On a ...
There's a possibility of forgeting enabling Liberator Statusline Toolbar. Right-click on places like Menu bar, Address bar, Toolbar, etc. A menu shows up in which you will find a line named "Liberator Statusline Toolbar". Click on it to enable. The Vimperator status bar magically appears again.
The terminal locks when you are running an application from it as long as the application is running. With the ampersand (&) you can start the application in the background and still use the terminal. Type:
user@host:~# firefox &
To start firefox in the background. Output of the application will still be in the terminal.
Or, if firefox is already ...
There are two options I can recommend here:
First, if you want to literally launch a full graphical browser and have it load a page with on a machine with no graphical capabilities, there is a tool called xvfb that will let you run a complete X server with no physical display associated with it. You then just need to run firefox with that X server set as ...
Apparently there is no option for firefox, but you can manipulate the ALSA output through environment variables.
Try for example:
Alternatively, if this does not work, try scripting a little your .asoundrc
vars [ ALSAPCM ]
sudo apt-mark hold firefox
This will add firefox package to the list of packages who should not recieve updates.
To reverse it:
sudo apt-mark unhold firefox
You can list the packages on hold via:
sudo apt-mark showhold
For further information see man apt-mark.8
I know this is a rather old question, but I wanted to add a more recent answer as I got directed here by Google and had to search for a while to find the answer.
As of Firefox 57, you can run in headless mode simply by installing Firefox and running:
firefox -headless http://test.com/
See the Firefox dev docs here.
The binary would be inside the application bundle. For example,
$ file /Applications/Firefox.app/Contents/MacOS/firefox-bin
/Applications/Firefox.app/Contents/MacOS/firefox-bin: Mach-O universal binary with 2 architectures
/Applications/Firefox.app/Contents/MacOS/firefox-bin (for architecture x86_64):Mach-O 64-bit executable x86_64
Playing around with this I find that when you choose to open a document with an external program in Firefox, what happens is that Firefox downloads the program to /tmp and then runs the chosen program with the downloaded file as an argument (read 'opens the file with the chosen program').
If you then save the file (without choosing Save As or the equivalent) ...
I know this post is super old, but this has helped me overcome Firefox over SSH slowness by setting the following in about:config
gfx.xrender.enabled = true
Note: Starting in Firefox 47, the default became False.
this works for Firefox 57+. You'll need lz4 (via pip). The file header is gathered from the length of b'mozLz40\0'. Use an environment variable for the filepath if you want to use it in a oneliner, replace with \n and \t accordingly and merge lines.
export opentabs=$(find ~/.mozilla/firefox*/*.default/sessionstore-backups/recovery.jsonlz4);