Skip to content

Customize Linux Mint

Apply personal settings. Install useful applications. Make Linux Mint run faster.

System Settings


Open the Settings app and change below options:

  • Effects

    • Animation: OFF
  • Accessibility

    • Large text: ON
  • Date and Time

    • Region: Asia, City: Ho Chi Minh
    • First day of week: Monday
  • Desktop

    • Icons: ALL
  • General

    • Disable compositing for full-screen windows: ON
  • Notifications

    • Remove notification after their timeout: ON
  • Preferred applications

    • Removable media
      • Prompt of start program on media insertion: OFF
  • Privacy

    • Remember recently accessed files: OFF
  • Screen saver

    • Customize
      • General: OFF
  • Startup Apps

    • mintwelcome: OFF
    • Print Queue: OFF
    • System Reports: OFF
    • Update Manager: OFF
  • Window Titling

    • Maximize, instead of tile, when dragging a window to the top edge: ON
  • Bluetooth:

    • Device: OFF
  • Display

    • Refresh rate: 60 Hz for the main monitor
    • Refresh rate: 30 Hz for the plugged-in monitor
  • 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
  • Sound

    • Output: Muted (when no Headset)
    • Input: Muted (when no Headset)
  • Users and Groups

    • Groups: add to tty, dailout

System Tweaks


Sudoers

sudo bash -c "echo '$USER ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/$USER"

Filesystem Table

sudo nano /etc/fstab
UUID=xxxx / ext4 errors=remount-ro,noatime,nodiratime,commit=600 0 1
UUID=xxxx /workspace auto nosuid,nodev,nofail,noatime,nodiratime,commit=600 0 1
UUID=xxxx /boot/efi vfat umask=0077 0 1
tmpfs /tmp tmpfs noatime,nodiratime 0 0
/swapfile none swap sw 0 0

System Control

sudo nano /etc/sysctl.conf
vm.swappiness = 1
vm.vfs_cache_pressure = 10
vm.dirty_writeback_centisecs = 60000

Start-up

sudo systemctl disable NetworkManager-wait-online.service

APT

sudo nano /etc/apt/apt.conf.d/00aptitude
Acquire::Languages "none";

SSD TRIM

sudo mkdir -pv /etc/systemd/system/fstrim.timer.d
sudo nano /etc/systemd/system/fstrim.timer.d/override.conf
[Timer]
OnCalendar=
OnCalendar=daily

System Maintenance


Software Sources

  • Mirrors: Fastest

System Reports

  • Multimedia Codecs: Installed

Update Manager

  • Kernel: Updated
  • Packages: Updated

Hardware Drivers

  • Nvidia GPU: Installed (Latest)

Applications


Packages

sudo apt install python3-pip python3-venv
sudo apt install build-essential make cmake gawk curl git
git config --global user.name "vuquangtrong"
git config --global user.email "vuquangtrong@gmail.com"
sudo apt install nvtop htop tmux
sudo apt install fonts-firacode

Terminal

Change General options:

  • Show menu bar: No
  • Enable mnemonics: No
  • Enable F10: No
  • Background color: #121212

Starship (Terminal prompt)

sudo apt install curl
curl -sS https://starship.rs/install.sh | sh
echo 'eval "$(starship init bash)"' >> .bashrc
starship preset plain-text-symbols -o ~/.config/starship.toml

Ble.sh (Bash line autocomplete)

sudo apt install git make gawk
git clone --recursive --depth 1 --shallow-submodules \
https://github.com/akinomyoga/ble.sh.git
make -C ble.sh install PREFIX=~/.local
echo 'source ~/.local/share/blesh/ble.sh' >> ~/.bashrc

Configuration:

~/.blerc
ble-face -s command_builtin_dot bold,fg=red
ble-face -s command_builtin bold,fg=red
ble-face -s command_alias bold,fg=teal
ble-face -s command_function bold,fg=99 # bold,fg=133
ble-face -s command_file bold,fg=green
ble-face -s command_keyword bold,fg=blue
ble-face -s command_jobs bold,fg=red
ble-face -s command_directory bold,fg=63
ble-face -s command_suffix bold,fg=231,bg=28
ble-face -s command_suffix_new bold,fg=231,bg=124

IBus IME (Language Input Method)

sudo apt install ibus ibus-unikey

IBus Preference:

  • Keyboard shortcut: Ctrl+Shift+Space
  • Options:
    • Embed preedit text in application window: Unchecked

Nemo (File Explorer)

  • Bookmarks:

    • /tmp
    • /home/trongvq/workspace
  • Actions in .local/share/nemo/actions:

    mdx.nemo_action
    [Nemo Action]
    Name=Open in Text Editor
    Comment=Open in Text Editor
    Exec=xed %F
    Icon-Name=text-editor
    Selection=mdx
    Extensions=mdx;
    vscode.nemo_action
    [Nemo Action]
    Name=Open in VS Code
    Comment=Open in VS Code
    Exec=code %F
    Icon-Name=visual-studio-code
    Selection=Any
    Extensions=dir;

Themes

sudo apt remove papirus-icon-theme
sudo apt remove yaru-theme-icon

Firefox

  • Goto about:config, then:

    • Disable Session Store:
      • change browser.sessionstore.interval to 1800000
      • change browser.sessionstore.interval.idle to 1800000
    • Move Network cache to RAM:
      • change browser.cache.disk.enable to false
      • change browser.cache.memory.enable to true
      • change browser.cache.memory.capacity to 1048576 (for 1 GB)
      • change browser.cache.memory.max_entry_size to 1048576 ( for 1 KB)
    • Others:
      • change browser.urlbar.suggest.trending to false
      • change browser.search.region to US
  • Goto about:preferences, then:

    • Privacy:
      • DNS over HTTPS: Max Protection
    • Google search language: English

Visual Studio Code

Download and install .deb file:

sudo dpkg -i code_*_amd64.deb

Sync with GitHub account.

Settings:

{
"security.workspace.trust.enabled": false,
"window.restoreWindows": "none",
"workbench.startupEditor": "none",
"editor.fontLigatures": true,
"editor.mouseWheelZoom": true,
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace",
"editor.rulers": [
100,
],
"files.associations": {
"*.mdx": "markdown"
},
"files.trimTrailingWhitespace": true,
}

ImHex

sudo apt install libglfw3 libmbedtls14t64 libmbedx509-1t64
sudo dpkg -i imhex-*-x86_64.deb

ImHex Options:

  • Change Font to DejaVu Sans Mono, Size to 20

BootTerm

git clone https://github.com/wtarreau/bootterm
cd bootterm
sudo make install

Meld (Directory and File Comparasion)

sudo apt install meld

System Backup


Timeshift

Options:

  • RSYNC
  • Weekly
  • Include/Exclude:
    "/etc/timeshift/timeshift.json
    "exclude" : [
    "/var/lib/apt/lists",
    "/var/log/journal",
    "/home/*/.platformio/.cache",
    "/home/*/.nvm/.cache",
    "/home/*/.npm",
    "/home/*/.mozilla/firefox/Crash Reports",
    "/home/*/.config/Code/Cache",
    "/home/*/.config/Code/CachedData",
    "/home/*/.config/Code/CachedExtensionVSIXs",
    "/home/*/.config/Code/Crashpad",
    "/home/*/.config/Code/logs",
    "/home/*/.bash_history",
    "/home/*/.xsession-errors",
    "/home/*/.xsession-errors.old",
    "+ /home/trongvq/.**",
    "/root/.bash_history",
    "/root/**"
    ],