Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 774 Bytes

File metadata and controls

34 lines (29 loc) · 774 Bytes

Install Firefox

sudo su
pacman -S dbus-glib ffmpeg4.4 libxt firejail
cd /
chown alejo:alejo opt/
cd !$
touch /usr/bin/firefox
chmod 755 /usr/bin/firefox
exit
wget --quiet $(curl -s "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US"|awk -F'"' '{print $2}')
tar -xf firefox-*
rm firefox-*

Edit file /usr/bin/firefox with text editor and add the following lines

#!/bin/bash
exec firejail /opt/firefox/firefox

Or install with the following command

sudo pacman -S firefox firejail
sed -i 's/exec \//exec firejail \//' /usr/bin/firefox

Create and change the download directory in Firefox settings to ~/Downloads/Firefox

mkdir -p ~/Downloads/Firefox