af3d9089e0a30407cd2a1949c85ad164b8618137
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 | -| :--------: | :-------------------------------------------------------------------------------------------------: | |
|
| 11 | -| xset -dpms | [Disable Monitor power saving](https://wiki.archlinux.org/title/Display_Power_Management_Signaling) | |
|
| 9 | +| Commands | What it does | |
|
| 10 | +|:----------:|:----------------------------:| |
|
| 11 | +| xset -dpms | Disable Monitor power saving | |
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 |
| ... | ... | @@ -24,26 +24,26 @@ Run the update-grub command to save that change. |
| 24 | 24 | |:--------:|:------------:| |
| 25 | 25 | | fwupdmgr get-devices | List devices supported by fwupd | |
| 26 | 26 | | fwupdmgr get-updates | Perform updates to devices supported by fwupd | |
| 27 | -https://wiki.archlinux.org/title/fwupd |
|
| 28 | 27 | |
| 29 | 28 | ## Ubuntu/Pop |
| 30 | 29 | |
| 31 | 30 | ### apt/dpkg |
| 32 | 31 | |
| 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 | |
|
| 32 | +| Commands | What it does | |
|
| 33 | +|:------------------------------------------------------:|:--------------------------------------------------:| |
|
| 34 | +| apt policy packagename | Package information | |
|
| 35 | +| apt-cache madison packagename | List available versions for a package | |
|
| 36 | +| sudo apt install packagename –dry-run | See what packages will be installed with the package| |
|
| 37 | +| apt policy packagename | Find version installed and available | |
|
| 38 | +| sudo dpkg --remove --force-remove-reinstreq package_name | Remove broken package | |
|
| 39 | +| sudo apt-mark hold packagename | Hold a package to the current version | |
|
| 40 | +| dpkg --list | grep linux-image | |
|
| 41 | +| apt list --installed | grep packagename | |
|
| 42 | + |
|
| 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 | |