Linux

From Traxel Wiki
Jump to navigation Jump to search

Control-D

set -o ignoreeof

Cinnamon

Workspaces

Keybindings

C-M-<backspace> Kill X Server

Preferences > Keyboard > Layouts > Options > Key Sequence to kill the X Server

Checking

xev: Launches a window that logs key events.

Firefox

https://old.reddit.com/r/programming/comments/18v16ee/in_2024_please_switch_to_firefox/

Updates

Kill Updates With Fire: https://support.mozilla.org/en-US/questions/1327455

$ cat /usr/local/share/firefox/distribution/policies.json 
{
  "policies": {
    "DisableAppUpdate": true
  }
}

Containers

Storage

lsblk

to list the storage devices

ext4 on Windows

# Mount Disk:
wsl --mount <DiskPath>
# To list the available disks in Windows, run:
wmic diskdrive list brief
# To unmount and detach the disk from WSL 2, run
wsl --unmount <Diskpath>

Renaming

EXT[234]

sudo e2label /dev/sdXN new-label

FAT32

sudo dosfslabel /dev/sdXN new-label

NTFS

sudo ntfslabel /dev/sdXN new-label