Hot answers tagged

48 votes

How to set window size and location of an application on screen via command line?

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 ...
40 votes

Why is Firefox so slow over SSH?

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 ...
user avatar
  • 980
38 votes
Accepted

How Can I Improve the Font Rendering In Firefox

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 ...
user avatar
  • 1,091
27 votes
Accepted

Flash plugin up to date but Firefox keeps telling me that I have the old version

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: exit firefox ...
user avatar
  • 38k
27 votes
Accepted

Why is Firefox so slow over SSH?

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 ...
user avatar
  • 217k
26 votes
Accepted

Why does this curl command from firefox not download anything?

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 ...
user avatar
25 votes

Debugging high (near total) CPU/memory usage of "Web Content" application on Linux Mint

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 ...
user avatar
25 votes
Accepted

How to decompress jsonlz4 files (Firefox bookmark backups) using the command line?

I was able to unpack the jsonlz4 by using lz4json: apt-get install liblz4-dev git clone https://github.com/andikleen/lz4json.git cd lz4json make ./lz4jsoncat ~/.mozilla/firefox/*/bookmarkbackups/*....
user avatar
  • 266
25 votes

How to decompress jsonlz4 files (Firefox bookmark backups) using the command line?

Save this script in a file, e.g., mozlz4: #!/usr/bin/env python from sys import stdin, stdout, argv, stderr import os try: import lz4.block as lz4 except ImportError: import lz4 stdin = os....
user avatar
24 votes

Why is Firefox so slow over SSH?

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 -...
user avatar
  • 8,297
24 votes
Accepted

Running Firefox in an Ubuntu VM over SSH opens host machine's Firefox

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 ...
user avatar
18 votes
Accepted

How can I get Japanese characters to show properly in Firefox on Arch?

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 ...
user avatar
  • 217k
18 votes
Accepted

apt package manager on Debian lists a package as upgradable but does not upgrade

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,...
user avatar
15 votes

Running Firefox in an Ubuntu VM over SSH opens host machine's Firefox

You want firefox --no-remote (or firefox --new-instance). Otherwise, it will "reuse" your existing firefox process.
user avatar
  • 38k
14 votes
Accepted

Where does firefox get the “default” applications for opening files from?

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 ...
user avatar
  • 632
13 votes

Vimperator status bar empty

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 ...
user avatar
  • 231
13 votes

Why is Firefox so slow over SSH?

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 ...
user avatar
12 votes

How to tell Firefox to use another ALSA device?

Apparently there is no option for firefox, but you can manipulate the ALSA output through environment variables. Try for example: ALSA_PCM_CARD=bluetooth firefox Alternatively, if this does not ...
user avatar
  • 12.7k
12 votes

Firefox - reading out urls of opened tabs from the command-line

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, ...
user avatar
  • 296
11 votes
Accepted

How to prevent Firefox from updating to version 57 on Ubuntu 16.04?

Simply do: 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 ...
user avatar
  • 1,102
10 votes
Accepted

How can I run Firefox on Linux headlessly (i.e. without requiring libgtk-x11-2.0.so.0)?

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 ...
user avatar
10 votes
Accepted

Firefox tabs in the title bar

You don't need to mess with about:config for that. Open up the hamburger menu (three horizontal lines) to the right of the URL bar and click on Customize. There's a checkbox at the bottom left labeled ...
user avatar
9 votes

Refresh/reload active browser tab from command line?

@lornix's answer didn't quite work for me (I'm not sure why, possibly my window manager doesn't let xdotool switch windows). I wrote a modified version which should be more robust, it: Doesn't do the ...
user avatar
  • 290
9 votes

Copy/paste does not always work from Firefox to terminal

In a sense, yes there are two different clipboards (though X11 calls them "selections", and only one of the selections is called “the clipboard”). In all likelihood, you are thinking of the Primary ...
user avatar
  • 4,616
9 votes

Where does firefox get the “default” applications for opening files from?

In Firefox 38.8.0 ESR, under Debian Lenny with GNOME 2, I discovered that the application associated via XDG (described in the answer by the OP) is used only when opening a downloaded file from ...
user avatar
  • 285
9 votes

How Can I Improve the Font Rendering In Firefox

These sites use Helvetica as their font. On most Debian systems it's not an outline font, but raster one. You can disable bitmapped fonts as the last stage of font configuration dialog: $ dpkg-...
user avatar
9 votes
Accepted

Package firefox is not available

In Debian, firefox is called iceweasel and has a different icon. I believe that they are functionally equivalent except for the icon. Similarly Thunderbird is called icedove in Debian. Debian has ...
user avatar
  • 6,276
9 votes
Accepted

How to increase Firefox scrollbar width?

In about:config, set widget.non-native-theme.scrollbar.size.override to the desired numeric value. This will only have an effect if widget.non-native-theme.enabled is true (the default as of this ...
user avatar
  • 106
9 votes
Accepted

Debian Jessie unable to install GNOME extension, the native host connector is not detected

Yes, you should install the GNOME Shell integration for Chrome. The Debian 9 package’s dependencies are satisfiable in Debian 8, so wget http://ftp.debian.org/debian/pool/main/c/chrome-gnome-shell/...
user avatar
8 votes

Set new default file manager for firefox in Archlinux

Currently (2018-09-25) there exists no user-configurable way to change this behaviour in Firefox. This is a known bug: Firefox does not use default file manager It was first reported on Bugzilla on ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible