Skip to content

Instantly share code, notes, and snippets.

How to Speed Up Firefox on Linux: The Ultimate Guide 🚀

If you’re a Linux user like PewDiePie (yes, he uses Linux and loves a fast Firefox!), you probably want your browser to launch quickly and run smoothly. Firefox is powerful and privacy-respecting, but sometimes it can feel sluggish out of the box.

Don’t worry - I’ve gathered the best tips and tricks to supercharge your Firefox on Linux. Whether you want faster startup times, smoother browsing, or just a snappier experience, this guide has you covered.


1. Keep Firefox Updated 🔄

Configuration Tree


. 📂 xdg_config/waybar
├── 📄 config.jsonc
├── 📄 includes.json
└── 📂 layouts/
│  ├── 📄 layout-1.jsonc
│  ├── 📄 khing.jsonc
│  ├── 📄 macos.jsonc

For this example, I am using swaync wallbash template. Note that this template is dynamic so by default it follows the wallpapers even in theme mode

With "theme.dcol" file.

image

Even if a theme, do not have "swaync.theme". We can tweak the colors by using "theme.dcol" This will give consistent elements, In this illustration swaync matches with waybar.

@kRHYME7
kRHYME7 / wallbash.sh
Last active September 16, 2024 16:13
#!/usr/bin/env bash
#|---/ /+---------------------------------------------+---/ /|#
#|--/ /-| Script to generate color palette from image |--/ /-|#
#|-/ /--| Prasanth Rangan |-/ /--|#
#|/ /---+---------------------------------------------+/ /---|#
#// accent color profile
colorProfile="default"
configuration {
/* modes: "window,drun,run,ssh";*/
/* font: "mono 12";*/
/* location: 0;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
/* show-icons: false;*/
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/
@kRHYME7
kRHYME7 / themeselect.sh
Created April 17, 2024 03:30
Test only
#!/usr/bin/env sh
#// set variables
scrDir="$(dirname "$(realpath "$0")")"
source "${scrDir}/globalcontrol.sh"
rofiConf="${confDir}/rofi/selector.rasi"
@kRHYME7
kRHYME7 / List of my qt5 apps
Last active March 12, 2024 04:31
This happens a week ago after KDE update
ocal/avahi 1:0.8+r194+g3f79789-1
Service Discovery for Linux using mDNS/DNS-SD (compatible with Bonjour)
local/kvantum-qt5 1.0.10-3
SVG-based theme engine for Qt5
local/phonon-qt5 4.12.0-4
The multimedia framework by KDE
local/phonon-qt5-gstreamer 4.10.0-4
Phonon GStreamer backend for Qt5
local/plasma5support 6.0.1-1 (plasma)
Support components for porting from KF5/Qt5 to KF6/Qt6
@kRHYME7
kRHYME7 / volumecontrol.sh
Last active March 8, 2024 06:29
~/.config/hyprdots/scripts/volumecontrol.sh
#!/usr/bin/env sh
ScrDir=`dirname "$(realpath "$0")"`
source $ScrDir/globalcontrol.sh
# define functions
print_error ()
{
@kRHYME7
kRHYME7 / ACFwNS.py
Last active March 7, 2024 07:13
Team OA
give me a code that will make the three servo motors turn on at 7am, 12pm, and 3pm
import time
from machine import Pin, PWM
import esp32
# ESP32 PWM pins
servo1_pin = 18
servo2_pin = 19
servo3_pin = 21
@kRHYME7
kRHYME7 / gamelauncher.sh
Last active March 10, 2024 08:12
This displays icons plus name for lutris games or any games on lutris library. cc https://github.com/Enigma1309 https://github.com/prasanthrangan/hyprdots/issues/866#issuecomment-1973045668
#!/usr/bin/env sh
# set variables
MODE=${1:-5}
ScrDir=`dirname "$(realpath "$0")"`
source $ScrDir/globalcontrol.sh
ThemeSet="${XDG_CONFIG_HOME:-$HOME/.config}/hypr/themes/theme.conf"
RofiConf="${XDG_CONFIG_HOME:-$HOME/.config}/rofi/steam/gamelauncher_${MODE}.rasi"
# set rofi override