Skip to main content
54 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 ...
29 votes

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 cd lz4json make ./lz4jsoncat ~/.mozilla/firefox/*/bookmarkbackups/*....
Rolf's user avatar
  • 306
28 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....
Håkon A. Hjortland's user avatar
27 votes

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 ...
terdon's user avatar
  • 244k
26 votes

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 ...
Stephen Kitt's 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 ...
Oleg Kokorin's user avatar
24 votes

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 ...
Gilles 'SO- stop being evil''s user avatar
20 votes

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 ...
Pierce Griffiths's user avatar
18 votes

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 ...
Jarek's user avatar
  • 308
18 votes

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,...
Stephen Kitt's user avatar
18 votes

How to switch to system wide dark theme in i3 or sway?

Firefox uses the GTK theme settings. On sway I could set the setting gtk-application-prefer-dark-theme to 1 to get Firefox and GTK apps to use a dark theme by default. You'll need to edit (or create ...
Lukas Bühler's user avatar
16 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 ...
Eric McAlvin's user avatar
16 votes

How to setup Firefox and KeePassXC in a flatpak and get the KeePassXC-Browser add-on to work?

Background If you just want the solution, you can skip this part. But for the curious, I'll explain the problems we face: KeePassXC creates an UNIX socket in $XDG_RUNTIME_DIR/kpxc_server for ...
rugk's user avatar
  • 3,136
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.
mattdm's user avatar
  • 40.4k
12 votes

How can I run Firefox on Linux headlessly (i.e. without requiring

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 ...
AlaskaJoslin's 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 ...
lgeorget's user avatar
  • 14k
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, ...
wbob's user avatar
  • 313
12 votes

How to permanently add self-signed certificate in Firefox?

Easy URL to test: There are two ways: toggle Firefox to set server certificates added as Lifetime Permanent by default in about:config toggle security.certerrors....
A.B's user avatar
  • 37.1k
12 votes

On Linux Firefox is listening on several UDP ports on

UDP is not connection-based, so both ends have to be listening for two-way communication. Thus if Firefox wants to receive any responses from UDP services it is talking to, it needs to have open ports ...
OrangeDog's user avatar
  • 1,155
11 votes

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

There are now simpler solutions for both Linux and Windows, with command-line programs to decompress these annoying .jsonlz4 or .mozlz4 files. For Debian/Ubuntu, there is now the lz4json package: sudo ...
mivk's user avatar
  • 3,706
11 votes

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 ...
Videonauth's user avatar
  • 1,112
10 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 ...
Vassilis Papanikolaou's user avatar
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 ...
Palec's user avatar
  • 325
9 votes

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
Stephen Kitt's user avatar
9 votes

Install Firefox Quantum in debian 9 Stretch

Add deb sid main contrib non-free to /etc/apt/sources.list and install it with this command: apt install -t sid firefox This will install only Firefox from unstable. ...
Stanislav Vlasic's user avatar
9 votes

Monitoring CPU% of Tabs in Firefox

You can type about:performance in the address bar of firefox. Then you will get a table where there will be pid of each tab of firefox with Resident Set size and Unique Set Size. And below this there ...
Prvt_Yadav's user avatar
  • 5,872
9 votes

How to fix choppy YouTube video playback? Enable WebRender [Debian Bullseye]

I'm writing this as I've just gone through hours of trial and error to find the answer; the problem presented itself after re-installing Debian 11, for whatever reason. Problem: YouTube video playback ...
nohatsatthetable's user avatar
8 votes

What is the difference between Iceweasel and Firefox?

Update 2016, and onward. What is the difference between Iceweasel and Firefox? The short of it In 2016, Iceweasel went away, and now for all of Debian's purposes the product is called Firefox, and ...
Evan Carroll's user avatar
  • 31.5k
8 votes

is there a way to get the url from current tab in google-chrome?

I had the same issue and got through there while trying to resolve it, so I'll post my solution (which is pretty bad) here. I use wmctrl (you could use xprop instead) and xdotool to do this. ...
reyan's user avatar
  • 81
8 votes

How to get the package containing a file?

Yes, pacman has a separate file database for that purpose. run: pacman -Fyy to update the file database and use: pacman -F to search for the package your are looking for From the ...
ebal's user avatar
  • 465

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