Customize Linux Mint
Tags: linux
Apply personal settings. Install useful applications. Make Linux Mint run faster.
System Settings
Open the Settings app and change below options:
-
Effects
- Animation:
OFF
- Animation:
-
Accessibility
- Large text:
ON
- Large text:
-
Date and Time
- Region:
Asia
, City:Ho Chi Minh
- First day of week:
Monday
- Region:
-
Desktop
- Desktop Icons: All icons are
ON
- Desktop Icons: All icons are
-
General
Disable compositing for full-screen windows:ON
-
Notifications
- Remove notification after their timeout:
ON
- Remove notification after their timeout:
-
Preferred applications
- Removable media
- Prompt of start program on media insertion:
OFF
- Prompt of start program on media insertion:
- Removable media
-
Privacy
Remember recently accessed files:OFF
-
Screen saver
- Customize
- General: All items are
OFF
- General: All items are
- Customize
-
Startup Apps
- Mint Welcome:
OFF
- Print Queue:
OFF
- System Reports:
OFF
- Update Manager:
OFF
- Mint Welcome:
-
Window Titling
- Maximize, instead of tile, when dragging a window to the top edge:
ON
- Maximize, instead of tile, when dragging a window to the top edge:
-
Bluetooth:
- Device:
OFF
- Device:
-
Display
- Refresh rate:
60 Hz
for the main monitor - Refresh rate:
30 Hz
for the plugged-in monitor
- Refresh rate:
-
Power Manager
- Turn off screen when inactive for:
5 mins
- Suspend when inactive for:
30 mins
(on Battery) - Brightness when inactive:
5%
- Dim screen after inactive for:
30 secs
- Turn off screen when inactive for:
-
Sound
- Output:
Muted
(when no Headset) - Input:
Muted
(when no Headset)
- Output:
-
Users and Groups
- Groups: add to
dailout
,plugdev
,tty
- Groups: add to
System Tweaks
For better performance and daily convenient.
Filesystem Table
Apply options: No Access Timestamp, Delayed Disk Commit, Temporary File System:
System Control
Keep cache in memory, and delay disk write:
Start-up
Do not wait for network connection:
APT
No need to download translation:
SSD TRIM
Run TRIM daily:
Performance mode
Get current mode:
Set Performance mode:
Permanent set:
NTFS3
Linux Mint 22 comes with Kernel 6.8 which is known with NTFS issue. To fix it, disable NTFS3 module:
Restart, then open Disk → Repair Filesystem.
NTFS Disks will be mounted using fuseblk
type.
Scripts
In $HOME, add below scripts:
Software Sources
- Mirrors:
Fastest
- Main (wilma): https://mirrors.cicku.me/linuxmint/packages
- Base (noble): http://mirror.bizflycloud.vn/ubuntu
System Packages
- Multimedia Codecs:
mint-meta-codecs
- Nvidia GPU:
nvidia-driver-550
(550.120-0ubuntu0.24.04.1)
Applications
Add feature, tools, and applications.
Packages
Build tools:
Python:
Utilities:
Some packages or applications depend on old libncurses5
, but it is not available on new linux releases, so download below packages and install them manually:
Terminal
Change General options:
- Show menu bar:
No
- Enable mnemonics:
No
- Enable F10:
No
- Background color:
#121212
Starship
Informative shell prompt:
To temporary disable Starship:
Ble.sh
Bash line autocompletion:
Configuration:
XDoTool
Manipulate Mouse and Keys:
Tree
Show the tree of a directory:
IBus Input Method Engine
IME for Vietnamese:
IBus Preference:
- Keyboard shortcut:
Ctrl
+Shift
+Space
- Options:
- Embed pre-edit text in application window:
Unchecked
(Zalo Web is incompatible with embedded text input)
- Embed pre-edit text in application window:
Nemo
File Explorer.
-
Bookmarks:
/tmp
/home/trongvq/workspace
-
Actions in
.local/share/nemo/actions
:
Themes
Remove some heavy themes:
Firefox
-
Goto about:config, then:
- Disable Session Store:
- change
browser.sessionstore.interval
to1800000
- change
browser.sessionstore.interval.idle
to1800000
- change
- Move Network cache to RAM:
- change
browser.cache.memory.enable
totrue
- change
browser.cache.memory.capacity
to1048576
(for 1 GB) - change
browser.cache.memory.max_entry_size
to1048576
( for 1 KB)
- change
- Others:
- change
browser.urlbar.suggest.trending
tofalse
- change
browser.search.region
toUS
- change
- Disable Session Store:
-
Goto about:preferences, then:
- Privacy:
- DNS over HTTPS:
Max Protection
- DNS over HTTPS:
- Google search language:
English
- Privacy:
-
Extensions:
- uBlock Origin
- Allow in Private mode
- uBlock Origin
Visual Studio Code
Download and install .deb
file:
Sync with GitHub account.
-
Settings:
-
Key bindings:
-
Snippets:
-
Tips:
-
Quickly remove all extensions:
or
-
ImHex
A HEX editor with structural parser:
ImHex Options:
- constantly 60 fps refresh rate → change to
15
fps - Change Font to
DejaVu Sans Mono
, Size to20
Serial Terminal
To work with Serial ports:
Minicom
Small but having enough features:
Tio
More cool features:
Download source code:
Compile and install:
Meld
Directory and File Comparison
Image Tools
Install imagemagick
package:
Trim blank border with -fuzz
option:
Resize image, prefer width and keep ratio:
Install webp
package which contain dwebp
and cwebp
tool:
Convert all png to webp:
Convert all webp to png:
System Backup
Backup system to image for later restore.
Prepare
Clean up unused packages and cache:
Clean VS Code’s cache:
Timeshift
Options:
- RSYNC
- Weekly
- Include/Exclude:
Advanced Tweaks
Add User to Sudoers
Add current user to sudoers
group, and do not ask for password:
Use Compressed Swap
The kernel feature called zswap provides a compressed RAM cache for swap pages. By default, zswap is switched off, and if enabled, it uses up to 20 percent of the RAM memory.
Turning on zswap causes CPU to take effort to compress/ decompress the data blocks, and a chunk of RAM is sacrificed for compressed data.
To turn on zswap, follow the below steps:
-
Include
z3fold
toinitramfs
: -
Add
zswap
params toGRUB_CMDLINE_LINUX_DEFAULT
in/etc/default/grub
: -
Update GRUB:
-
Update InitRamFs:
Disable WiFi Power Management
A way to speed up wireless internet connection by disabling power management for the WiFi chipset.
Run iwconfig
to see if Power Management is on
.
Then change the wifi.powersave
value to 2
(off).
Speed up Intel Wireless chipset
Modern Intel wireless chipset runs on the iwlwifi driver.
By turning on Tx AMPDU
, transmission speed is increased.
Run lsmod | grep iwlwifi
to see if iwlwifi is actually in use.
Then change the setting for 11n_disable
value to 8
(it is bitmap options, not totally disabling 11n):
Disable Journal feature of Disk
A journaling file system is a file system that keeps track of changes not yet committed to the file system. In the event of a system crash or power failure, such file systems can be brought back online more quickly with a lower likelihood of becoming corrupted.
Only disable journal feature on a separated disk which contains only build source code and data.
The commit
option of mount points in /etc/fstab
will not work when journal feature is disabled.
To disable journal feature:
-
Boot into Recovery Mode from GRUB menu
-
Access to
root
command line session. -
Trigger the emergency event, make system partition is re-mounted as Ready-Only:
-
Turn off the journal feature on the target disk:
-
Verify the change:
If working on a data storage, do not need to go to Recovery mode.
Just unmount the disk and use above tools with sudo
.
Turn Off CPU Mitigation
Patching CPU vulnerabilities had the side effect of a huge performance impact.
These CPU mitigations are enabled by default on all Linux distributions.
Run lscpu
to see details.
This Linux parameter allows booting the system with software-controlled CPU security mitigations by adding mitigations=off
to the option GRUB_CMDLINE_LINUX
in /etc/default/grub
.