7bd9663314f4a0d4f49c612a7e6f527f4be36ea7
Linux/Wayland-and-X11.md
... | ... | @@ -6,6 +6,6 @@ Use this command to confirm if you are using X11 or Wayland: |
6 | 6 | echo $XDG_SESSION_TYPE |
7 | 7 | ``` |
8 | 8 | # Xorg (X11) |
9 | -| Commands | What it does | |
|
10 | -| :--------: | :-------------------------------------------------------------------------------------------------: | |
|
9 | +| Commands | What it does | |
|
10 | +|:----------:|:-------------------------------------------------------------------------------------------------:| |
|
11 | 11 | | xset -dpms | [Disable Monitor power saving](https://wiki.archlinux.org/title/Display_Power_Management_Signaling) | |
Linux/ubuntu-notes.md
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | |
7 | 7 | Replace &option with the kernel param like quiet or similar. |
8 | 8 | |
9 | -> *NOTE:* you will need to run this command when making changes to GRUB's file before rebooting: |
|
9 | +<<Note("You will need to run this command when making changes to GRUB's file before rebooting")>> |
|
10 | 10 | |
11 | 11 | ```bash |
12 | 12 | sudo update-grub |
... | ... | @@ -30,20 +30,20 @@ https://wiki.archlinux.org/title/fwupd |
30 | 30 | |
31 | 31 | ### apt/dpkg |
32 | 32 | |
33 | -| Commands | What it does | |
|
34 | -| :------------------------------------------------------: | :--------------------------------------------------: | |
|
35 | -| apt policy packagename | Package information | |
|
36 | -| apt-cache madison packagename | List available versions for a package | |
|
37 | -| sudo apt install packagename –dry-run | See what packages will be installed with the package | |
|
38 | -| apt policy packagename | Find version installed and available | |
|
39 | -| sudo dpkg --remove --force-remove-reinstreq package_name | Remove broken package | |
|
40 | -| sudo apt-mark hold packagename | Hold a package to the current version | |
|
41 | -| dpkg --list | grep linux-image | |
|
42 | -| apt list --installed | grep packagename | |
|
33 | +| Commands | What it does | |
|
34 | +|:------------------------------------------------------:|:--------------------------------------------------:| |
|
35 | +| apt policy packagename | Package information | |
|
36 | +| apt-cache madison packagename | List available versions for a package | |
|
37 | +| sudo apt install packagename –dry-run | See what packages will be installed with the package| |
|
38 | +| apt policy packagename | Find version installed and available | |
|
39 | +| sudo dpkg --remove --force-remove-reinstreq package_name | Remove broken package | |
|
40 | +| sudo apt-mark hold packagename | Hold a package to the current version | |
|
41 | +| dpkg --list | grep linux-image | |
|
42 | +| apt list --installed | grep packagename | |
|
43 | 43 | ## kernel commands |
44 | 44 | |
45 | 45 | | Commands | What it does | |
46 | -| ------------------------------------------- | ------------------------------------------- | |
|
46 | +|:-------------------------------------------:|:-------------------------------------------:| |
|
47 | 47 | | sudo update-initramfs -c -k *kernelversion* | Generate a new initramfs image with version | |
48 | 48 | |
49 | 49 | # [flatpak](https://docs.flatpak.org/en/latest/using-flatpak.html) |
... | ... | @@ -66,7 +66,7 @@ https://wiki.archlinux.org/title/fwupd |
66 | 66 | ## GSettings |
67 | 67 | |
68 | 68 | | Commands | What it does | |
69 | -| :------: | :----------: | |
|
69 | +|:--------:|:------------:| |
|
70 | 70 | | gsettings set org.gnome.desktop.interface scaling-factor 2 | Change scaling for the UI | |
71 | 71 | | gsettings set com.ubuntu.user-interface.desktop cursor-size 48 | Enlarge cursor | |
72 | 72 | | gsettings set org.gnome.desktop.background picture-uri 'file://PathToImage' | Change wallpaper | |