User Tools

Site Tools


distros:opensuse_tumbleweed_gnome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
distros:opensuse_tumbleweed_gnome [2023/08/28 07:20] – [Extensions] Sean Rhonedistros:opensuse_tumbleweed_gnome [2024/04/19 18:44] (current) Sean Rhone
Line 1: Line 1:
 +====== Information ======
 +
 +  * openSUSE ((https://www.opensuse.org))
 +  * Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed))
 +  * GNOME ((https://www.gnome.org/))
 +
 +====== Download ======
 +
 +  * http://download.opensuse.org/tumbleweed/iso/
 +
 +===== DVD + Xfce Live =====
 +
 +  * 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
 +
 +===== DVD =====
 +
 +  * ISO and SHA256 hash
 +
 +  http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso
 +
 +  https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256
 +
 +===== Xfce =====
 +
 +  * For LiveUSB
 +
 +  https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso
 +
 +====== Installation Notes ======
 +
 +  * ''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 =====
 +
 +  - XFS
 +  - No separate ''/home''
 +  - Separate ''swap'' without suspend resize
 +
 +====== PackageKit ======
 +
 +  * 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 was //still// necessary as of 2024/04/15
 +
 +  sudo systemctl stop 'packagekit' && sudo zypper remove 'PackageKit' && sync
 +
 +  sudo zypper addlock 'PackageKit'
 +
 +====== Repositories ======
 +
 +===== Keybase =====
 +
 +  * https://keybase.io
 +
 +  * Repository Priority: 98
 +  * Provides the Keybase GUI client
 +
 +  * :!: The repo itself isn't signed, but the packages are ((the imported key gets referenced once the ''keybase'' package downloads through ''zypper'', before its installation))
 +
 +  sudo rpm --import 'https://keybase.io/docs/server_security/code_signing_key.asc' && sudo zypper addrepo --check --refresh --priority '98' --no-gpgcheck 'http://prerelease.keybase.io/rpm/$basearch' 'Keybase'
 +
 +====== Software ======
 +
 +===== List =====
 +
 +  * http://download.opensuse.org/tumbleweed/repo/
 +
 +===== Disable USB Source =====
 +
 +****
 +
 +  sudo zypper modifyrepo --disable --medium-type 'hd'
 +
 +===== Update =====
 +
 +==== System ====
 +
 +****
 +
 +  sudo zypper clean --all && sudo zypper refresh --force --services && sudo zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync
 +
 +==== Firmware ====
 +
 +****
 +
 +  sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose
 +
 +==== Flatpaks ====
 +
 +****
 +
 +  flatpak update && sudo flatpak update
 +
 +===== GNU nano =====
 +
 +  * Installs ''nano''
 +  * Sets ''VISUAL'' and ''EDITOR'' to ''nano'' via environment variable
 +  * Sets ''nowrap'' for current user
 +
 +  sudo zypper install 'nano' && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc'
 +
 +===== General =====
 +
 +****
 +
 +  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 =====
 +
 +****
 +
 +  ucode-intel intel-media-driver
 +
 +===== Keybase =====
 +
 +  * https://keybase.io
 +  * :!: Make sure to run ''run_keybase'' in a Terminal after installation
 +
 +<code>keybase</code>
 +
 +===== Wine =====
 +
 +  * ''winetricks'' is included within the ''wine'' package and isn't a separate install
 +
 +  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
 +
 +===== Tor Browser =====
 +
 +****
 +
 +  torbrowser-launcher
 +
 +====== Settings ======
 +
 +===== Keyboard Shortcuts =====
 +
 +  kgx
 +
 +  bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'"
 +
 +  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''"
 +
 +==== Keys ====
 +
 +  * Listed respectively to above
 +
 +  * Ctrl + Alt + T
 +  * Ctrl + Alt + Z
 +  * Pause, Menu, F6, or Launch1
 +
 +===== Printer =====
 +
 +  * http://localhost:631/admin
 +
 +  * :!: Log-in as ''root''
 +  * Internet Printing Protocol (ipp) -> HP -> IPP Everywhere ™
 +  * Color Mode: Device Gray
 +  * Administration -> Set As Server Default
 +
 +  ipp://192.168.1.164/ipp/print
 +
 +===== Network =====
 +
 +==== DNS ====
 +
 +  * [[notes:dns_servers#quad9|Quad9]], see [[notes:dns_servers]] for other addresses
 +
 +<code>9.9.9.9,149.112.112.112</code>
 +
 +<code>2620:fe::fe,2620:fe::9</code>
 +
 +===== Nautilus =====
 +
 +  * Sort folders before files
 +
 +===== Rhythmbox =====
 +
 +  * See [[Information:Internet Radio|Internet Radio]]
 +
 +===== Dell Fan Profile =====
 +
 +  * https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager
 +
 +  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 =====
 +
 +==== Config ====
 +
 +  * :!: [[notes:kernel_parameters|More Kernel Parameters]]
 +
 +  sudo yast2 'bootloader'
 +
 +==== Spinesnap ====
 +
 +  * Last updated: 2024/04/19
 +
 +<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 =====
 +
 +==== Extensions ====
 +
 +  * https://extensions.gnome.org/extension/545/hide-top-bar/
 +  * https://extensions.gnome.org/extension/1873/disable-unredirect-fullscreen-windows/ ((for preventing Tearing on Xorg sessions in some situations))
 +
 +==== External Monitor Settings ====
 +
 +  * 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
 +
 +  sudo cp --remove-destination ~/'.config/monitors.xml' ~gdm/'.config/monitors.xml' && sudo chown 'gdm':'gdm' ~gdm/'.config/monitors.xml'
 +
 +=== Undo ===
 +
 +****
 +
 +  sudo rm ~gdm/'.config/monitors.xml' && sync
 +
 +==== Settings ====
 +
 +=== All-in-one ===
 +
 +  * Last updated: 2024/04/19
 +
 +  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 ===
 +
 +  * Last updated: 2024/04/19
 +
 +  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'
 +
 +==== 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 =====
 +
 +==== Settings ====
 +
 +  * General -> [ ] Load previous databases on startup
 +  * Security -> [x] Use DuckDuckGo service to download website icons
 +
 +==== Add Database Password to GNOME Keyring ====
 +
 +****
 +
 +  secret-tool store --label='KeePass' 'keepass' 'default'
 +
 +===== Keybase =====
 +
 +  * :!: Run after initial install
 +
 +  run_keybase
 +
 +===== lm_sensors =====
 +
 +  sudo sensors-detect --auto
 +
 +  sudo -e '/etc/sysconfig/lm_sensors'
 +
 +===== mpv =====
 +
 +  * [[https://wiki.archlinux.org/index.php/mpv#High_quality_configurations|ArchWiki mpv High quality configurations]]
 +
 +  mkdir -p ~/'.config/mpv' && nano ~/'.config/mpv/mpv.conf'
 +
 +<code>
 +save-position-on-quit
 +sub-auto=fuzzy
 +force-window=yes
 +profile=gpu-hq
 +scale=ewa_lanczossharp
 +cscale=ewa_lanczossharp
 +video-sync=display-resample
 +interpolation
 +tscale=oversample
 +hwdec=vaapi
 +hwdec-codecs=all
 +vo=dmabuf-wayland</code>
 +
 +===== Secure Shell =====
 +
 +  * See [[clients:secure_shell|Client]] notes to generate/restore public key
 +
 +===== Drive Maintenance =====
 +
 +==== Swap ====
 +
 +  * Add ''discard'' after ''defaults'' for the ''swap'' mountpoint ((defaults,discard))
 +  * According to the ''swapon'' man page, setting this in ''fstab'' is acceptable
 +
 +  sudo -e '/etc/fstab'
 +
 +  ,discard=once
 +
 +==== Trim ====
 +
 +****
 +
 +  sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l
 +
 +===== UTC =====
 +
 +  * [[https://wiki.archlinux.org/index.php/System_time#Time_standard|System time - ArchWiki]]
 +  * Set RTC to UTC
 +  * :!: Needed if Windows is installed first
 +  * :!: Windows should also be set to UTC
 +
 +  sudo timedatectl set-local-rtc '0'
 +
 +==== Verify ====
 +
 +****
 +
 +  timedatectl | grep local
 +
 +===== Wine =====
 +
 +  * See [[notes:wine|Wine]]
 +
 +===== Xorg/Wayland =====
 +
 +==== Full RGB HDMI ====
 +
 +  * See [[notes:proptest_full_rgb]] for more ports
 +  * 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))
 +
 +  sudo zypper install -y 'libdrm-tools' && sudo -e '/etc/gdm/PostLogin/Default' && sudo chmod +x '/etc/gdm/PostLogin/Default' && sync
 +
 +<code>
 +# 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' '107' '4'
 +# End</code>
 +
 +====== Firefox ======
 +
 +  * See [[notes:firefox|Firefox]] if old configuration is needed, otherwise use Firefox Sync
 +  * https://wiki.archlinux.org/title/Firefox/Privacy
 +
 +===== 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 =====
 +
 +  * [[https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/|uBlock Origin]]
 +  * [[https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/|Decentraleyes]]
 +  * [[https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/|Privacy Badger]]
 +
 +==== uBlock Origin ====
 +
 +==== Filters list ====
 +
 +****
 +
 +<code>
 +https://www.fanboy.co.nz/fanboy-problematic-sites.txt
 +https://www.fanboy.co.nz/r/fanboy-ultimate.txt
 +https://www.fanboy.co.nz/fanboy-cookiemonster_ubo.txt
 +https://www.fanboy.co.nz/enhancedstats.txt</code>
 +
 +==== My filters ====
 +
 +****
 +
 +<code>
 +! Hide RuneScape Wiki clocks
 +! 2023/12/13
 +oldschool.runescape.wiki###utcdate > [href="#"]
 +oldschool.runescape.wiki###footer-info-lastmod
 +runescape.wiki##[href="/w/Clock_(interface)"]
 +runescape.wiki###footer-info-lastmod
 +
 +! End</code>
 +
 +===== DNS over HTTPS =====
 +
 +  * [[notes:dns_servers#quad9|Quad9]], see [[notes:dns_servers]] for other addresses
 +
 +<code>https://dns.quad9.net/dns-query</code>
 +
 +====== Server ======
 +
 +  * For workstations that run servers as a secondary directive
 +  * For headless servers, use [[distros:opensuse_tumbleweed_server|openSUSE TW (Server)]]
 +
 +===== Automatic Updates =====
 +
 +==== Service ====
 +
 +  sudo -e '/etc/systemd/system/suse-up.service'
 +
 +<code>
 +[Service]
 +Type=oneshot
 +ExecStartPre='/usr/bin/zypper' clean --all
 +ExecStart='/usr/bin/zypper' --non-interactive refresh --force --services
 +ExecStart='/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change
 +ExecStartPost='/usr/bin/sync'
 +ExecStartPost='/usr/bin/systemctl' reboot</code>
 +
 +==== Timer ====
 +
 +  * 06:00 Oak
 +
 +  sudo -e '/etc/systemd/system/suse-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'suse-up.timer' --now
 +
 +<code>
 +[Unit]
 +Description=Software Package Maintenance and Updater
 +After=network-online.target
 +Wants=network-online.target
 +
 +[Timer]
 +OnCalendar=*-*-* 06:00:00
 +Persistent=true
 +
 +[Install]
 +WantedBy=timers.target</code>
 +
 +====== Notable Folders and Commands ======
 +
 +  * See [[notes:misc_linux#opensuse|misc_linux]]