Lesson 3 / 8
Module 2Lesson 1⏱ 50 min study

Lesson 3: Navigating the Cinnamon Desktop, Filesystem Hierarchy (FHS) & Post-Install Setup

Deconstruct the Linux Filesystem Hierarchy Standard (FHS), optimize download mirrors, install proprietary hardware drivers and media codecs, and automate disaster recovery with Timeshift.

✦ Key Architectural Takeaways
  • •Linux organizes all physical disks, partitions, and virtual filesystems under a single unified hierarchical tree starting at the root directory (/).
  • •The FHS establishes strict standards: /bin and /usr/bin hold executable binaries, /etc holds system configurations, /var holds variable runtime data, and /home holds user workspaces.
  • •Selecting local geographic mirrors in Software Sources drastically accelerates package downloads and system update speeds.
  • •Timeshift creates incremental, rsync-based system snapshots of root system files without duplicating unchanged data, enabling instant rollbacks from configuration failures.
  • •Installing proprietary multimedia codecs ensures native hardware decoding for H.264/H.265 video, AAC audio, and encrypted web streaming media.

1. The Linux Filesystem Hierarchy Standard (FHS)

Unlike Windows, which assigns separate drive letters (C:, D:) to each storage volume, Linux unifies all storage drives, virtual filesystems, and peripherals into a single inverted directory tree originating at the root directory (`/`).

TEXTSYSTEM SCHEMATIC
                             / (Root Directory)
                             |
    +-------+-------+--------+-------+--------+-------+-------+
    |       |       |        |       |        |       |       |
  /bin    /boot   /dev     /etc    /home    /var    /usr    /tmp
    |       |       |        |       |        |       |       |
Execs   Kernel  Hardware  System   User     Logs/   Shared  Temp
         GRUB   Nodes     Configs  Homes    Spool   Apps    Files

Complete Directory Responsibility Matrix

DirectoryPath PurposeTypical Contents & Examples
/RootThe primary root of the entire system hierarchy. Every file stems from here.
/binEssential BinariesFundamental command binaries accessible to all users (bash, cat, cp, ls).
/sbinSystem BinariesEssential administrative commands reserved for root (fdisk, iptables, reboot).
/etcHost ConfigurationPlaintext system-wide configuration files (/etc/fstab, /etc/passwd, /etc/hosts).
/homeUser Home DirectoriesUser-specific storage (/home/anupam/Desktop, documents, dotfile settings).
/varVariable DataDynamic data written during operation: system logs (/var/log), mail, web roots (/var/www).
/usrUser System ResourcesSecondary hierarchy containing the bulk of user applications and libraries (/usr/bin, /usr/lib).
/devDevice FilesSpecial character and block device nodes representing hardware (/dev/sda, /dev/nvme0n1).
/proc & /sysPseudo FilesystemsIn-memory virtual filesystems exposing live kernel metrics, hardware state, and active processes.
/tmpTemporary FilesScratchpad directory for temporary files; typically cleared on reboot.
§

2. The 10 Essential Post-Installation Maintenance Steps

Once Linux Mint is installed, performing these critical configuration tasks ensures optimal performance, driver stability, and long-term security.

BASHSYSTEM SCHEMATIC
# 1. Select the fastest local download mirrors
# Launch Software Sources via GUI or review mirror response latency:
# Mint automatically pings global mirrors to find the lowest millisecond latency.

# 2. Synchronize repository metadata and execute an initial system upgrade
sudo apt update && sudo apt upgrade -y

# 3. Install proprietary multimedia codecs (MP4, MP3, AAC, non-free codecs)
sudo apt install -y mint-meta-codecs

# 4. Open Driver Manager (mintdrivers)
# Install proprietary microcode updates for Intel/AMD CPUs and proprietary NVIDIA graphics drivers.

Additional Recommended Customizations

  1. 1Configure Timeshift Snapshots: Set up daily incremental snapshots to a separate partition or external drive.
  2. 2Enable Firewall (`ufw`): Activate the default incoming block policy.
  3. 3Redshift / Night Light: Prevent eye strain by enabling automated circadian color temperature shifts.
  4. 4Battery Optimization (Laptops): Install tlp and tlp-rdw for automatic background power tuning.
  5. 5Display Scaling (HiDPI): Adjust font scaling or fractional scaling for high-resolution displays.
  6. 6Clean Unused Packages: Purge orphaned dependencies with sudo apt autoremove.
§

3. Automated Disaster Recovery with Timeshift

Timeshift acts like the Linux equivalent of macOS Time Machine or Windows System Restore, but with extreme efficiency.

TEXTSYSTEM SCHEMATIC
Snapshot 1 (Base System - Day 1):
[ /bin ] [ /etc ] [ /usr ] [ /lib ]  ---> Inode links saved to Disk

Snapshot 2 (Day 2 - 200MB package updated):
[ Link to Day 1 /bin ] [ New /etc ] [ New /usr ] [ Link to Day 1 /lib ]
--> Uses hardlinks: only the 200MB changed files consume new physical space!
  • RSYNC Mode: Compatible with any standard ext4 filesystem. Uses Linux hardlinks so that identical files across multiple snapshots occupy zero additional storage space.
  • BTRFS Mode: Uses native copy-on-write subvolume snapshots. Takes less than one second to create and requires zero file copying.
  • Excluded by Default: Timeshift explicitly excludes user personal files in /home by default. This ensures that restoring a system snapshot from last week does not overwrite or erase today's documents or code.