Linux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 36: | Line 36: | ||
# To unmount and detach the disk from WSL 2, run | # To unmount and detach the disk from WSL 2, run | ||
wsl --unmount <Diskpath> | wsl --unmount <Diskpath> | ||
</pre> | |||
== Renaming == | |||
EXT[234] | |||
<pre> | |||
sudo e2label /dev/sdXN new-label | |||
</pre> | |||
FAT32 | |||
<pre> | |||
sudo dosfslabel /dev/sdXN new-label | |||
</pre> | |||
NTFS | |||
<pre> | |||
sudo ntfslabel /dev/sdXN new-label | |||
</pre> | </pre> |
Revision as of 21:40, 4 April 2024
Control-D
set -o ignoreeof
Cinnamon
Workspaces
- Control-Alt-UpArrow: show workspaces
- add workspaces: https://unix.stackexchange.com/questions/57311/how-do-i-change-the-number-of-available-workspaces-in-cinnamon
Keybindings
C-M-<backspace> Kill X Server
Preferences > Keyboard > Layouts > Options > Key Sequence to kill the X Server
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