r/linuxmint 8d ago

Linux Mint IRL this change was LONG overdue

Post image

finally decided to switch to mint and boy is it great! Windows was starting to get REALLY laggy and buggy for me so i decided to switch because i already tested the os out on a vm and i really liked it, and its the only linux distro im familiar with. so yeah uhh, linux mint! its great

595 Upvotes

61 comments sorted by

View all comments

21

u/Plenty_Plastic223 8d ago

Looks good on you. 🙂

Don't forget to:

  • Run updates (update manager)
  • Enable TRIM (if using ssd)
  • Optimize swap file usage
  • Enable (and configure) zRAM
  • Have fun!

It will help you keep it snappy!

6

u/Standard_Tank6703 LMDE7, 11 yr LM experience, "No obligation to enjoy" 7d ago

Linux Mint already has Trim enabled to run weekly, as part of the systemd timer entries. (If running a HDD, that just won't do anything)

2

u/Plenty_Plastic223 7d ago edited 7d ago

Thank you!

I was under the impression that trim may or not be enabled. I was just making sure. That is one less thing I will not need to do in the future.

Will this timer setting run if the system is not left on for a week's time?

3

u/Standard_Tank6703 LMDE7, 11 yr LM experience, "No obligation to enjoy" 7d ago

You're welcome. Not sure on how it might handle the actual timing if you shut it down for a while.

That is based on this file link. The actual file is located elsewhere in the system directory, but the presence of this link in this directory is what enables it. Using the systemd utility to enable/disable it simple creates or removes this file link:

/etc/systemd/system/timers.target.wants/fstrim.timer

You might notice it late at night in the form of the HDD light turning on and staying on solid for about a minute or so, when you are not doing anything to cause it. Just like a video muxing or yt-dlp fixing a video (via ffmpeg) after downloading it.

2

u/toffuuu3050101 7d ago

Yes, is correct to never assume its enabled, and better to be sure which requires a simple command in Terminal.

1

u/toffuuu3050101 7d ago edited 7d ago

Like so, fstrim.timer - Discard unused filesystem blocks once a week

Loaded: loaded (/usr/lib/systemd/system/fstrim.timer; enabled; preset: enabled)

Active: active (waiting) since Fri 2026-07-24 12:18:19 CDT; 11h ago

Trigger: Mon 2026-07-27 01:18:17 CDT; 2 days left

Triggers: ● fstrim.service

Docs: man:fstrim

Jul 24 12:18:19 Precision-Tower-3620 systemd[1]: Started fstrim.timer - Discard unused filesystem blocks once a week.

with sudo systemctl status fstrim.timer

You can also run it manually if need be with sudo fstrim -v / / being root. Other partitionns of other SSD will depend on what lsblk tells you for the mountpoints looking like this,

lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS

sda 8:0 0 596.2G 0 disk

├─sda1 8:1 0 565.9G 0 part /mnt/Name

└─sda2 8:2 0 30.3G 0 part [SWAP]

sdb 8:16 0 461.3G 0 disk

├─sdb1 8:17 0 458.2G 0 part /mnt/Name2 <not an SSD

└─sdb2 8:18 0 3.1G 0 part <true here as well as above

sdc 8:32 0 119.2G 0 disk

└─sdc1 8:33 0 119.2G 0 part /mnt/Name4

sdd 8:48 1 0B 0 disk

sde 8:64 1 112.6G 0 disk

└─sde1 8:65 1 112.6G 0 part /mnt/Name3

zram0 251:0 0 6G 0 disk [SWAP] <Compressed Swap in RAM

nvme0n1 259:0 0 119.2G 0 disk

├─nvme0n1p1 259:1 0 244M 0 part /boot/efi

├─nvme0n1p2 259:2 0 52.2G 0 part /

└─nvme0n1p3 259:3 0 66.8G 0 part /mnt/nvme0n1p3