On modern-ish X.org installations, there is an XF86Ungrab keysym, which causes the server to release all active pointer or keyboard grabs. You can make the server break all grabs by enabling break action XKB option, then generating the keysym either with a command or with the keyboard. With xdotool:
setxkbmap -option grab:break_actions
xdotool key ...
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:...
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 ...
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 ...
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 ....
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 ...
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 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 ...
The short answer is, you're better off writing a temporary file and opening that. Getting pipes to work properly is more complicated and probably won't give you any extra advantages. That said, here's what I've found.
If your firefox command is actually starting Firefox instead of talking with an already-running Firefox instance, you can do this:
You can do this by creating or editing a file called user-dirs.dirs in ~/.config. Mine has the following:
Firefox follows whatever you have for XDG_DESKTOP_DIR.
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 ...
As far as I know, this is not possible as Firefox does not accept commands to control the window. That's also (mostly) the responsibility of the window manager, so I doubt that there ever will be parameters to do that. However, you can control the window with wmctrl, but that's going to be a little bit difficult:
firefox -new-instance -new-window ...
I was able to unpack the jsonlz4 by using lz4json:
apt-get install liblz4-dev
git clone https://github.com/andikleen/lz4json.git
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 ...
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)
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 <...
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 ...
Something to play with
It uses xdotool, which lets you script windows/desktop actions. If you supply the name of the browser as an argument, it'll find and reload the current page. You can set a default browser, so you don't need to supply one each time, and you can change whether you send a CTRL-R to reload, or SHIFT-CTRL-R to reload without cache.
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 (...
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.
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 ...
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 ...
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
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 ...
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 ...