Both sides previous revisionPrevious revisionNext revision | Previous revision |
distros:opensuse_tumbleweed_gnome [2023/09/10 13:18] – [Notable Folders and Commands] Sean Rhone | distros:opensuse_tumbleweed_gnome [2024/04/19 18:44] (current) – Sean Rhone |
---|
* openSUSE ((https://www.opensuse.org)) | * openSUSE ((https://www.opensuse.org)) |
* Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed)) | * Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed)) |
* GNOME ((https://www.gnome.org/)) ((these notes mostly work with Xfce also)) | * GNOME ((https://www.gnome.org/)) |
| |
====== Download ====== | ====== Download ====== |
===== DVD + Xfce Live ===== | ===== DVD + Xfce Live ===== |
| |
* Downloads the latest DVD and Xfce Live images | * Downloads the latest DVD and Xfce Live images with ''aria2c'' |
| |
cd ~/'Downloads' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso' && aria2c 'http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256' && sha256sum ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso' && cat ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso.sha256' && sync | cd ~/'Downloads' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso' && aria2c 'http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256' && sha256sum ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso' && cat ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso.sha256' && sync |
====== Installation Notes ====== | ====== Installation Notes ====== |
| |
* ''EFI/opensuse/grubx64.efi'' ((EFI file to boot and in the case of Acer laptops, add to SecureBoot trust; doesn't matter if SecureBoot is enabled or not)) | * ''EFI/opensuse/grubx64.efi'' ((EFI file to boot and in the case of some Acer laptops, add to SecureBoot trust; doesn't matter if SecureBoot is enabled or not)) |
| |
===== Partitioning ===== | ===== Partitioning ===== |
| |
- ext4 | - XFS |
- No separate ''/home'' | - No separate ''/home'' |
- Separate ''swap'' | - Separate ''swap'' without suspend resize |
| |
====== PackageKit ====== | ====== PackageKit ====== |
* PackageKit is an long-standing, consistent annoyance when using ''zypper'' at random times | * PackageKit is an long-standing, consistent annoyance when using ''zypper'' at random times |
* This uninstalls it, and prevents it from being automatically re-installed | * This uninstalls it, and prevents it from being automatically re-installed |
* :!: This was //still// necessary as of 2022/05/13 | * :!: This was //still// necessary as of 2024/04/15 |
| |
sudo systemctl stop 'packagekit' && sudo zypper remove 'PackageKit' && sync | sudo systemctl stop 'packagekit' && sudo zypper remove 'PackageKit' && sync |
**** | **** |
| |
sudo zypper install evolution filezilla foliate gimp google-noto-*-fonts gnome-extensions gstreamer-plugin-openh264 keepassxc mpv noto-*-fonts transmission-gtk rhythmbox android-tools aria2 binutils flashrom hdparm htop icoutils irqbalance nano openssl-1_1 p7zip-full secret-tool sensors python3-smbios-utils unar wget xfsprogs-scrub xrandr yt-dlp | sudo zypper install evolution filezilla foliate gbrainy gimp google-noto-*-fonts gnome-extensions gstreamer-plugin-openh264 keepassxc libreoffice mpv transmission-gtk rhythmbox android-tools aria2 binutils chrony flashrom hdparm htop icoutils nano openssl-1_1 p7zip-full secret-tool sensors unar wget xrandr yt-dlp |
| |
===== Intel ===== | ===== Intel ===== |
| |
<code>keybase</code> | <code>keybase</code> |
| |
===== Games ===== | |
| |
**** | |
| |
<code>minetest vkquake xonotic</code> | |
| |
===== Wine ===== | ===== Wine ===== |
* ''winetricks'' is included within the ''wine'' package and isn't a separate install | * ''winetricks'' is included within the ''wine'' package and isn't a separate install |
| |
wine-staging libpulse0-32bit libvulkan_intel libvulkan_intel-32bit | wine-staging libpulse0-32bit gstreamer-plugins-bad-32bit gstreamer-plugins-bad-fluidsynth-32bit gstreamer-plugins-base-32bit gstreamer-plugins-good-32bit gstreamer-plugins-libav-32bit gstreamer-plugins-ugly-32bit libvulkan_intel libvulkan_intel-32bit |
| |
==== Nine ==== | |
| |
**** | |
| |
wine-nine-standalone Mesa-libd3d Mesa-libd3d-32bit libpulse0-32bit | |
| |
===== Tor Browser ===== | ===== Tor Browser ===== |
| |
torbrowser-launcher | torbrowser-launcher |
| |
===== Google Chrome ===== | |
| |
**** | |
| |
sudo rpm --import 'https://dl-ssl.google.com/linux/linux_signing_key.pub' && sudo zypper install 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm' | |
| |
====== Settings ====== | ====== Settings ====== |
===== Keyboard Shortcuts ===== | ===== Keyboard Shortcuts ===== |
| |
gnome-terminal | kgx |
| |
bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'" | bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'" |
| |
gnome-terminal --command "sudo sh -c 'zypper clean --all && zypper refresh --force --services && zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync && flatpak update && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''" | kgx --command="sudo sh -c 'zypper clean --all && zypper refresh --force --services && zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync && flatpak update && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done''" |
| |
==== Xfce ==== | |
| |
* Uses ''xfce4-terminal'' instead and doesn't include ''flatpak'' | |
| |
xfce4-terminal --command "sudo sh -c 'zypper clean --all && zypper refresh --force --services && zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''" | |
| |
==== Keys ==== | ==== Keys ==== |
* Ctrl + Alt + T | * Ctrl + Alt + T |
* Ctrl + Alt + Z | * Ctrl + Alt + Z |
* Pause, Menu, or Launch1 | * Pause, Menu, F6, or Launch1 |
| |
===== Printer ===== | ===== Printer ===== |
| |
* :!: Log-in as ''root'' | * :!: Log-in as ''root'' |
* Internet Printing Protocol (ipps) -> HP -> IPP Everywhere ™ | * Internet Printing Protocol (ipp) -> HP -> IPP Everywhere ™ |
* Color Mode: Device Gray | * Color Mode: Device Gray |
* Administration -> Set As Server Default | * Administration -> Set As Server Default |
| |
ipps://192.168.1.164/ipp/print | ipp://192.168.1.164/ipp/print |
| |
===== Network ===== | ===== Network ===== |
| |
==== Quad9 DNS ==== | ==== DNS ==== |
| |
* https://quad9.net | * [[notes:dns_servers#quad9|Quad9]], see [[notes:dns_servers]] for other addresses |
* See [[notes:dns_servers|DNS servers]] for other DNS servers | |
| |
<code>2620:fe::fe,2620:fe::9</code> | |
| |
<code>9.9.9.9,149.112.112.112</code> | <code>9.9.9.9,149.112.112.112</code> |
| |
| <code>2620:fe::fe,2620:fe::9</code> |
| |
===== Nautilus ===== | ===== Nautilus ===== |
* https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager | * https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager |
| |
sudo smbios-thermal-ctl --set-thermal-mode='performance' | sudo zypper install -y 'python3-smbios-utils' && sudo smbios-thermal-ctl --set-thermal-mode='performance' && sudo zypper remove --clean-deps -y 'python3-smbios-utils' |
| |
===== GRUB ===== | ===== GRUB ===== |
==== Spinesnap ==== | ==== Spinesnap ==== |
| |
* Last updated: 2023/09/10 | * Last updated: 2024/04/19 |
| |
<code>acpi_osi=Linux iommu=pt pci=pcie_bus_perf,realloc,pcie_scan_all,big_root_window reboot=pci i915.enable_guc=3 i915.panel_use_ssc=0 i915.enable_fbc=0 i915.enable_psr=0 video=HDMI-A-1:1920x1080@74</code> | <code>video='HDMI-A-1:1920x1080@74' iommu='pt' intremap='off' preempt='full' acpi_osi='!' acpi_osi='Windows 2017' threadirqs nohz='off' i915.enable_fbc='0' i915.enable_psr='0' i915.panel_use_ssc='0' i915.nuclear_pageflip='1' i915.enable_guc='3' reboot='pci'</code> |
| |
===== GNOME ===== | ===== GNOME ===== |
* This copies the configured monitor settings from the current user to ''gdm'' and also applies it to the log-in screen | * This copies the configured monitor settings from the current user to ''gdm'' and also applies it to the log-in screen |
* Notably useful for setting a laptop's built-in screen as disabled for the log-in screen while used in a dock configuration | * Notably useful for setting a laptop's built-in screen as disabled for the log-in screen while used in a dock configuration |
* :!: 2023/08/27: TODO: Test on openSUSE TW | |
| |
sudo cp ~/'.config/monitors.xml' ~gdm/'.config/monitors.xml' && sudo chown 'gdm':'gdm' ~gdm/'.config/monitors.xml' | sudo cp --remove-destination ~/'.config/monitors.xml' ~gdm/'.config/monitors.xml' && sudo chown 'gdm':'gdm' ~gdm/'.config/monitors.xml' |
| |
=== Undo === | === Undo === |
| |
sudo rm ~gdm/'.config/monitors.xml' && sync | sudo rm ~gdm/'.config/monitors.xml' && sync |
| |
==== Disable Wayland ==== | |
| |
* :!: ckb-next auto light shutoff requires Xorg | |
* :!: GPU scaling for resolution requires Xorg | |
* :!: Setting ''i915'' to use Full RGB with HDMI requires Xorg | |
| |
cat '/etc/gdm/custom.conf' | grep '#WaylandEnable' > '/dev/null' && sudo sed -i 's/'#WaylandEnable'/'WaylandEnable'/g' '/etc/gdm/custom.conf' && cat '/etc/gdm/custom.conf' | grep 'WaylandEnable' | |
| |
sudo -e '/etc/gdm/custom.conf' | |
| |
==== Settings ==== | ==== Settings ==== |
=== All-in-one === | === All-in-one === |
| |
* Last updated: 2023/08/27 | * Last updated: 2024/04/19 |
| |
gsettings reset 'org.gnome.shell' 'app-picker-layout' && gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'natural-scroll' 'false' && gsettings set 'org.gnome.desktop.peripherals.mouse' 'accel-profile' 'flat' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-to-click' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-and-drag' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'disable-while-typing' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'click-method' 'areas' && gsettings set 'org.gnome.desktop.interface' 'clock-show-date' 'true' && gsettings set 'org.gnome.desktop.wm.preferences' 'focus-mode' 'click' && gsettings set 'org.gnome.desktop.wm.preferences' 'disable-workarounds' 'true' && gsettings set 'org.gnome.software' 'download-updates' 'false' && gsettings set 'org.gnome.desktop.interface' 'clock-show-weekday' 'true' | gsettings reset 'org.gnome.shell' 'app-picker-layout' && gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'true' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'natural-scroll' 'false' && gsettings set 'org.gnome.desktop.peripherals.mouse' 'accel-profile' 'flat' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-to-click' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-and-drag' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'disable-while-typing' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'click-method' 'areas' && gsettings set 'org.gnome.desktop.interface' 'clock-show-date' 'true' && gsettings set 'org.gnome.desktop.wm.preferences' 'focus-mode' 'click' && gsettings set 'org.gnome.software' 'download-updates' 'false' && gsettings set 'org.gnome.desktop.interface' 'clock-show-weekday' 'true' |
| |
=== Individual === | === Individual === |
| |
* Last updated: 2023/08/27 | * Last updated: 2024/04/19 |
| |
gsettings reset 'org.gnome.shell' 'app-picker-layout' | gsettings reset 'org.gnome.shell' 'app-picker-layout' |
| |
gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'false' | gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'true' |
| |
gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse' | gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse' |
| |
gsettings set 'org.gnome.desktop.wm.preferences' 'focus-mode' 'click' | gsettings set 'org.gnome.desktop.wm.preferences' 'focus-mode' 'click' |
| |
gsettings set 'org.gnome.desktop.wm.preferences' 'disable-workarounds' 'true' | |
| |
gsettings set 'org.gnome.software' 'download-updates' 'false' | gsettings set 'org.gnome.software' 'download-updates' 'false' |
| |
gsettings set 'org.gnome.desktop.interface' 'clock-show-weekday' 'true' | gsettings set 'org.gnome.desktop.interface' 'clock-show-weekday' 'true' |
| |
| ==== Weather ==== |
| |
| === Location Fork === |
| |
| * https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1819885 |
| |
| * Last tested: 2024/04/19 |
| |
| sudo zypper install 'bc' |
| |
| wget -O ~/'Downloads/add-location-to-gnome-weather.sh' 'https://gitlab.com/Espionage724/scripts/-/raw/main/add-location-to-gnome-weather.sh?ref_type=heads' && chmod +x ~/'Downloads/add-location-to-gnome-weather.sh' && sh ~/'Downloads/add-location-to-gnome-weather.sh' |
| |
===== KeePassXC ===== | ===== KeePassXC ===== |
| |
<code> | <code> |
| save-position-on-quit |
| sub-auto=fuzzy |
| force-window=yes |
profile=gpu-hq | profile=gpu-hq |
scale=ewa_lanczossharp | scale=ewa_lanczossharp |
hwdec=vaapi | hwdec=vaapi |
hwdec-codecs=all | hwdec-codecs=all |
save-position-on-quit | vo=dmabuf-wayland</code> |
sub-auto=fuzzy | |
force-window=yes</code> | |
| |
===== Secure Shell ===== | ===== Secure Shell ===== |
| |
sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l | sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l |
| |
==== XFS Scrub ==== | |
| |
* [[https://wiki.archlinux.org/title/XFS#Online_Metadata_Checking_(scrub)|XFS - ArchWiki]] | |
| |
sudo systemctl enable 'xfs_scrub_all.timer' --now && sudo systemctl start 'xfs_scrub_all' && sync && sudo systemctl status 'xfs_scrub_all' -l | |
| |
===== UTC ===== | ===== UTC ===== |
* See [[notes:wine|Wine]] | * See [[notes:wine|Wine]] |
| |
===== Wayland ===== | ===== Xorg/Wayland ===== |
| |
==== i915 HDMI ==== | ==== Full RGB HDMI ==== |
| |
* https://www.onetransistor.eu/2021/08/hdmi-picture-quantization-range-linux.html | * See [[notes:proptest_full_rgb]] for more ports |
* https://old.reddit.com/r/linuxquestions/comments/qrpnkw/need_help_with_intel_graphics_broadcast_rgb_with/hk83j18/ | * This works on Wayland as well as GNOME on Xorg even with Wayland globally-disabled from ''custom.conf'' |
| * :!: The numbers ''103'' and after the ''connector'' change depending on the hardware and need checked from ''proptest'' on a Wayland session ((the current values are specific to a Dell Latitude 5591 and its onboard HDMI port)) |
| |
* This sets RGB Full on HDMI, and the content type to ''Game'' on HDMI for low-latency | sudo zypper install -y 'libdrm-tools' && sudo -e '/etc/gdm/PostLogin/Default' && sudo chmod +x '/etc/gdm/PostLogin/Default' && sync |
| |
* Run ''proptest'' from a Wayland session to see more ''connector'' and prop names | |
* :!: This will prevent GDM from displaying if ''proptest'' is not installed | |
| |
sudo zypper install 'libdrm-tools' && sudo -e '/etc/gdm/PostLogin/Default' && sudo chmod +x '/etc/gdm/PostLogin/Default' && sync | |
| |
<code> | <code> |
#!/bin/bash | # 20240419, Dell Latitude 5591, Intel UHD 630, HDMI, modesetting, full color + Game mode |
proptest -M 'i915' -D '/dev/dri/card'* '103' 'connector' '99' '1' | proptest -M 'i915' -D '/dev/dri/card'* '103' 'connector' '99' '1' |
proptest -M 'i915' -D '/dev/dri/card'* '103' 'connector' '107' '4'</code> | proptest -M 'i915' -D '/dev/dri/card'* '103' 'connector' '107' '4' |
| # End</code> |
| |
====== Firefox ====== | ====== Firefox ====== |
===== about:config ===== | ===== about:config ===== |
| |
* See [[notes:firefox#aboutconfig|about:config]] | * See [[notes:firefox#aboutconfig|about:config]] for more info |
| * :!: ''layout.frame_rate'' ideally needs set if using Wayland and above 60Hz |
| |
| layout.frame_rate |
| |
| extensions.screenshots.disabled |
| |
| extensions.pocket.enabled |
| |
===== Extensions ===== | ===== Extensions ===== |
| |
* [[https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/|Decentraleyes]] | |
* [[https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/|uBlock Origin]] | * [[https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/|uBlock Origin]] |
| * [[https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/|Decentraleyes]] |
<code> | * [[https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/|Privacy Badger]] |
gio open 'https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/' 'https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/'</code> | |
| |
==== uBlock Origin ==== | ==== uBlock Origin ==== |
| |
<code> | <code> |
runescape.wiki##[href="/w/Clock_(interface)"] | ! Hide RuneScape Wiki clocks |
| ! 2023/12/13 |
oldschool.runescape.wiki###utcdate > [href="#"] | oldschool.runescape.wiki###utcdate > [href="#"] |
| oldschool.runescape.wiki###footer-info-lastmod |
| runescape.wiki##[href="/w/Clock_(interface)"] |
| runescape.wiki###footer-info-lastmod |
| |
www.phoronix.com##.details > .comments | ! End</code> |
www.phoronix.com##.author | |
www.phoronix.com##.comments-label | |
www.phoronix.com###sharebar | |
www.phoronix.com###social | |
www.phoronix.com###searchbox | |
www.phoronix.com##div.popular-list > .comments</code> | |
| |
===== Tweaks ===== | |
| |
* Enables smooth-scrolling | |
| |
echo 'MOZ_USE_XINPUT2=1' | sudo tee '/etc/profile.d/99-firefox-tweaks.sh' > '/dev/null' && cat '/etc/profile.d/99-firefox-tweaks.sh' | |
| |
sudo -e '/etc/profile.d/99-firefox-tweaks.sh' | |
| |
===== DNS over HTTPS ===== | ===== DNS over HTTPS ===== |
| |
**** | * [[notes:dns_servers#quad9|Quad9]], see [[notes:dns_servers]] for other addresses |
| |
<code> | <code>https://dns.quad9.net/dns-query</code> |
https://security.cloudflare-dns.com/dns-query</code> | |
| |
====== Server ====== | ====== Server ====== |