distros:opensuse_tumbleweed_plasma_test
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
distros:opensuse_tumbleweed_plasma_test [2018/09/29 15:09] – [PCI-E ASPM] Sean Rhone | distros:opensuse_tumbleweed_plasma_test [2021/06/18 02:31] (current) – removed Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Information ====== | ||
- | * openSUSE ((https:// | ||
- | * Tumbleweed ((https:// | ||
- | * KDE ((https:// | ||
- | |||
- | ====== Download ====== | ||
- | |||
- | ===== DVD-x86_64-Current.iso ===== | ||
- | |||
- | * http:// | ||
- | |||
- | cd ~/' | ||
- | |||
- | ===== Hashes ===== | ||
- | |||
- | * http:// | ||
- | |||
- | ====== Installation Notes ====== | ||
- | |||
- | * '' | ||
- | * XFS, no separate ''/ | ||
- | |||
- | ====== Software Settings ====== | ||
- | |||
- | ===== Disable PackageKit ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo systemctl mask ' | ||
- | |||
- | ===== Zypper Settings ===== | ||
- | |||
- | * Allows packages to change vendor if needed | ||
- | * Disable delta RPMs | ||
- | * Cleanup unused dependencies on package remove | ||
- | |||
- | sudo sed -i ' | ||
- | |||
- | ====== Repositories ====== | ||
- | |||
- | ===== VideoLAN ===== | ||
- | |||
- | * https:// | ||
- | |||
- | * Repository Priority: 98 | ||
- | * Provides extended multimedia support | ||
- | |||
- | sudo rpm --import ' | ||
- | |||
- | ===== PackMan ===== | ||
- | |||
- | * http:// | ||
- | |||
- | * Repository Priority: 98 | ||
- | * Provides extended multimedia support | ||
- | |||
- | sudo rpm --import ' | ||
- | |||
- | ====== Software ====== | ||
- | |||
- | ===== Disable USB Source ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo zypper modifyrepo -d -m ' | ||
- | |||
- | ===== Update ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo zypper clean --all && sudo zypper refresh -f && sudo zypper dup && sync | ||
- | |||
- | ===== GNU nano ===== | ||
- | |||
- | * Installs '' | ||
- | * Sets as system-wide default editor | ||
- | * Sets '' | ||
- | |||
- | sudo zypper --non-interactive install ' | ||
- | |||
- | ===== General ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo zypper install filezilla keepassxc p7zip p7zip-full unar aria2 gimp transmission-qt hdparm nano htop wget irqbalance | ||
- | |||
- | ===== Packman ===== | ||
- | |||
- | * '' | ||
- | * '' | ||
- | |||
- | mpv ffmpeg gstreamer-plugins-libav gstreamer-plugins-ugly youtube-dl | ||
- | |||
- | ==== VA-API ==== | ||
- | |||
- | * For GPUs using the '' | ||
- | |||
- | gstreamer-plugins-vaapi libva-utils | ||
- | |||
- | intel-vaapi-driver | ||
- | |||
- | ===== Wine ===== | ||
- | |||
- | * Pick one; SuSE is awesome enough to have many flavors :) | ||
- | * '' | ||
- | |||
- | wine | ||
- | |||
- | wine-nine Mesa-libd3d Mesa-libd3d-32bit | ||
- | |||
- | wine-staging | ||
- | |||
- | wine-staging-nine Mesa-libd3d Mesa-libd3d-32bit | ||
- | |||
- | ===== Tor Browser ===== | ||
- | |||
- | **** | ||
- | |||
- | torbrowser-launcher | ||
- | |||
- | ===== Google Chrome ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo rpm --import ' | ||
- | |||
- | ====== Settings ====== | ||
- | |||
- | ===== Keyboard Shortcuts ===== | ||
- | |||
- | * KeePassXC ((requires [[# | ||
- | * System Update | ||
- | |||
- | bash -c " | ||
- | |||
- | konsole -e "bash -c 'sudo zypper clean --all && sudo zypper refresh -f && sudo zypper dup && sudo zypper ps -s && sudo rm -Rfv '/ | ||
- | |||
- | ==== Keys ==== | ||
- | |||
- | * Listed respectively to above | ||
- | |||
- | * Ctrl + Alt + Z | ||
- | * Pause or F7 | ||
- | |||
- | ===== gedit ===== | ||
- | |||
- | * 4 Tab width | ||
- | * Insert Spaces for Tab mode | ||
- | |||
- | ===== Network ===== | ||
- | |||
- | ==== Cloudflare DNS ==== | ||
- | |||
- | * https:// | ||
- | |||
- | 1.1.1.1, | ||
- | |||
- | 2606: | ||
- | |||
- | ==== OpenNIC DNS ==== | ||
- | |||
- | * https:// | ||
- | * Last Updated: 2018/09/16 | ||
- | |||
- | 172.98.193.42, | ||
- | |||
- | 2001: | ||
- | |||
- | ===== Nautilus ===== | ||
- | |||
- | * Sort folders before files | ||
- | * 2GB File Previews | ||
- | |||
- | ===== Rhythmbox ===== | ||
- | |||
- | * See [[Information: | ||
- | |||
- | ===== Terminal ===== | ||
- | |||
- | * 10-notch Transparency | ||
- | |||
- | ===== GRUB ===== | ||
- | |||
- | ==== Modern Standby ==== | ||
- | |||
- | * Fixes suspend on a Dell XPS 13 (9360) ((still necessary as of 2018/09/22 on F28)) | ||
- | |||
- | mem_sleep_default=' | ||
- | |||
- | ==== Corsair USB Quirks ==== | ||
- | |||
- | * https:// | ||
- | |||
- | usbhid.quirks=' | ||
- | |||
- | ==== iwlwifi ==== | ||
- | |||
- | **** | ||
- | |||
- | iwlwifi.11n_disable=' | ||
- | |||
- | ==== intel_iommu ==== | ||
- | |||
- | **** | ||
- | |||
- | intel_iommu=' | ||
- | |||
- | ==== blk_mq ==== | ||
- | |||
- | **** | ||
- | |||
- | scsi_mod.use_blk_mq=' | ||
- | |||
- | ==== PCI-E ASPM ==== | ||
- | |||
- | * '' | ||
- | |||
- | pcie_aspm=' | ||
- | |||
- | ==== Intel HDA ==== | ||
- | |||
- | **** | ||
- | |||
- | snd_hda_intel.power_save=' | ||
- | |||
- | ==== Reboot ==== | ||
- | |||
- | * Can be '' | ||
- | * '' | ||
- | * '' | ||
- | * On Spinesnap, '' | ||
- | |||
- | reboot=' | ||
- | |||
- | reboot=' | ||
- | |||
- | ==== acpi_osi ==== | ||
- | |||
- | * [[# | ||
- | * '' | ||
- | * '' | ||
- | |||
- | acpi_osi=' | ||
- | |||
- | acpi_osi=' | ||
- | |||
- | acpi_osi=' | ||
- | |||
- | ==== i915 ==== | ||
- | |||
- | * GuC firmware loading/ | ||
- | |||
- | i915.enable_fbc=' | ||
- | |||
- | === Spinesnap === | ||
- | |||
- | * '' | ||
- | |||
- | i915.enable_psr=' | ||
- | |||
- | ==== amdgpu ==== | ||
- | |||
- | * If audio over HDMI or DisplayPort is wanted, set '' | ||
- | |||
- | amdgpu.audio=' | ||
- | |||
- | ==== radeon ==== | ||
- | |||
- | * If audio over HDMI or DisplayPort is wanted, set '' | ||
- | |||
- | radeon.audio=' | ||
- | |||
- | ==== Blacklist Watchdogs ==== | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * I don't use watchdog features and apparently this reduces power usage slightly | ||
- | |||
- | modprobe.blacklist=' | ||
- | |||
- | ==== Backlight ==== | ||
- | |||
- | * This prevents systemd from restoring previous backlight value on reboot | ||
- | * This is necessary for [[# | ||
- | |||
- | systemd.restore_state=' | ||
- | |||
- | ==== DRM Debug ==== | ||
- | |||
- | * This may make lower-end machines become very unresponsive; | ||
- | |||
- | drm.debug=' | ||
- | |||
- | ===== Input ===== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | MatchIsPointer | ||
- | Option | ||
- | EndSection | ||
- | |||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | MatchIsTouchpad | ||
- | Option | ||
- | Option | ||
- | Option | ||
- | Option | ||
- | Option | ||
- | Option | ||
- | Option | ||
- | EndSection | ||
- | |||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | MatchIsTouchscreen | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ===== KeePassXC ===== | ||
- | |||
- | ==== Add Password to KDE Wallet ==== | ||
- | |||
- | * The space at the beginning of this command is intentional ((this prevents the command and the password supplied from being written to bash history)) | ||
- | * Change '' | ||
- | |||
- | < | ||
- | echo ' | ||
- | |||
- | ===== Hostname ===== | ||
- | |||
- | * Change '' | ||
- | |||
- | sudo hostnamectl set-hostname ' | ||
- | |||
- | ===== Kernel Options ===== | ||
- | |||
- | * Enables '' | ||
- | |||
- | echo -e " | ||
- | |||
- | ===== NetworkManager ===== | ||
- | |||
- | * '' | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | < | ||
- | [device-mac-randomization] | ||
- | wifi.scan-rand-mac-address=yes | ||
- | |||
- | [connection-mac-randomization] | ||
- | ethernet.cloned-mac-address=random | ||
- | wifi.cloned-mac-address=random | ||
- | |||
- | [connection] | ||
- | wifi.powersave=2</ | ||
- | |||
- | ===== PulseAudio ===== | ||
- | |||
- | ==== SoX Resampling ==== | ||
- | |||
- | * Sets '' | ||
- | |||
- | echo ' | ||
- | |||
- | ===== Secure Shell ===== | ||
- | |||
- | * See [[Clients: | ||
- | |||
- | ===== systemd ===== | ||
- | |||
- | ==== Journal ==== | ||
- | |||
- | * Max file sizes of '' | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | ===== TRIM ===== | ||
- | |||
- | ==== Swap ==== | ||
- | |||
- | * Add '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ,discard | ||
- | |||
- | ==== Service ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo systemctl enable ' | ||
- | |||
- | ===== Environment Variables ===== | ||
- | |||
- | ==== Plasma Scaling ==== | ||
- | |||
- | **** | ||
- | |||
- | echo ' | ||
- | |||
- | ==== Timezone ==== | ||
- | |||
- | * https:// | ||
- | |||
- | echo ' | ||
- | |||
- | ====== Computer-specific ====== | ||
- | |||
- | ===== Graphics xorg.conf ===== | ||
- | |||
- | ==== intel ==== | ||
- | |||
- | sudo zypper install ' | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | Option | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ==== amdgpu ==== | ||
- | |||
- | sudo zypper install ' | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | EndSection</ | ||
- | |||
- | ==== radeon ==== | ||
- | |||
- | * Expects pre-SI GPUs ((HD6000 series and lower, and non-SI HD7000 series)) | ||
- | * For SI, CIK, and newer GPUs, use '' | ||
- | |||
- | sudo zypper install ' | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | Option | ||
- | Option | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ==== Other ==== | ||
- | |||
- | * If using Optimus or some other multi-GPU set-up, add the '' | ||
- | |||
- | < | ||
- | |||
- | ====== Mozilla Firefox ====== | ||
- | |||
- | * Use Disconnect.me strict protection Block List | ||
- | |||
- | ===== YouTube HTML5 ===== | ||
- | |||
- | * https:// | ||
- | * Everything (including H.264) should have support | ||
- | |||
- | ===== Settings ===== | ||
- | |||
- | ==== Default Profile ==== | ||
- | |||
- | rm -fv '/ | ||
- | |||
- | < | ||
- | [General] | ||
- | StartWithLastProfile=1 | ||
- | |||
- | [Profile0] | ||
- | Name=default | ||
- | IsRelative=1 | ||
- | Path=CHANGEME | ||
- | Default=1</ | ||
- | |||
- | ==== user.js ==== | ||
- | |||
- | * Last updated: 2018/05/07 | ||
- | |||
- | rm -fv '/ | ||
- | |||
- | < | ||
- | / | ||
- | * SECTION: Custom Stuff * | ||
- | | ||
- | |||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | |||
- | / | ||
- | * SECTION: GPU Acceleration | ||
- | | ||
- | |||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | |||
- | / | ||
- | * SECTION: Privacy Settings Overrides | ||
- | | ||
- | |||
- | user_pref(" | ||
- | |||
- | / | ||
- | * END * | ||
- | | ||
- | |||
- | ==== Apply Settings ==== | ||
- | |||
- | * '' | ||
- | |||
- | pkill ' | ||
- | |||
- | ===== Extensions ===== | ||
- | |||
- | ==== Download ==== | ||
- | |||
- | * 7 extensions | ||
- | |||
- | gio open ' | ||
- | |||
- | ==== uBlock Origin ==== | ||
- | |||
- | * Enable Advanced Mode | ||
- | |||
- | * Uncheck EasyPrivacy | ||
- | * Uncheck EasyList | ||
- | * Check MVPS HOSTS | ||
- | * Check hpHost' | ||
- | * Check Dan Pollock' | ||
- | |||
- | === Custom 3rd-party filters === | ||
- | |||
- | * Last updated: 2018/02/07 ((not really, but need some kind of date reference)) | ||
- | |||
- | < | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | |||
- | ====== Notable Folders and Commands ====== | ||
- | |||
- | ===== Extract ISO ===== | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * No space after the '' | ||
- | * This is primarily useful for copying Windows ISO images to a FAT32 flash drive | ||
- | |||
- | 7z x -o' | ||
- | |||
- | 7z x -o'/ | ||
- | |||
- | ===== youtube-dl ===== | ||
- | |||
- | ==== Show Formats ==== | ||
- | |||
- | * Change '' | ||
- | |||
- | youtube-dl -F x | ||
- | |||
- | ==== Download Audio-only ==== | ||
- | |||
- | * Download the '' | ||
- | * The format code is likely '' | ||
- | * Change '' | ||
- | |||
- | youtube-dl -f 140 x | ||
- | |||
- | ===== Shortcuts ===== | ||
- | |||
- | / | ||
- | |||
- | ~/ | ||
- | |||
- | ===== Icons ===== | ||
- | |||
- | / | ||
- | |||
- | ~/ | ||
- | |||
- | ===== Zypper Repos ===== | ||
- | |||
- | ==== Folder ==== | ||
- | |||
- | **** | ||
- | |||
- | ls '/ | ||
- | |||
- | ==== List ==== | ||
- | |||
- | **** | ||
- | |||
- | zypper lr -p | ||
- | |||
- | ===== GPG Keys ===== | ||
- | |||
- | ==== Check Keys ==== | ||
- | |||
- | **** | ||
- | |||
- | rpm -q gpg-pubkey --qf ' | ||
- | |||
- | ==== Remove Keys ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo rpm -e x | ||
- | |||
- | ===== Re-generate Thumbnails ===== | ||
- | |||
- | **** | ||
- | |||
- | rm -Rf ~/' | ||
- | |||
- | ===== fstrim ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo fstrim -v --all | ||
- | |||
- | ===== Xorg Debug ===== | ||
- | |||
- | **** | ||
- | |||
- | gio open '/ | ||
- | |||
- | ===== Verify DRI3 ===== | ||
- | |||
- | **** | ||
- | |||
- | LIBGL_DEBUG=' | ||
- | |||
- | ===== GpuTest ===== | ||
- | |||
- | ==== Execute ==== | ||
- | |||
- | **** | ||
- | |||
- | wget -O '/ | ||
- | |||
- | ==== Cleanup ==== | ||
- | |||
- | **** | ||
- | |||
- | rm -Rf '/ | ||
- | |||
- | ===== Show CPU Frequency ===== | ||
- | |||
- | grep ' | ||
- | |||
- | watch -n 0.1 grep \'cpu MHz\' '/ | ||
- | |||
- | ===== Partition Information ===== | ||
- | |||
- | **** | ||
- | |||
- | df -hT | ||
- | |||
- | ===== Encryption Information ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo cryptsetup -v status '/ | ||
- | |||
- | ===== hdparm Secure Erase ===== | ||
- | |||
- | sudo hdparm -I '/ | ||
- | |||
- | systemctl suspend | ||
- | |||
- | sudo hdparm --user-master u --security-set-pass ' | ||
- | |||
- | sudo hdparm --user-master u --security-erase ' | ||
- | |||
- | sudo hdparm --user-master u --security-erase-enhanced ' | ||
- | |||
- | ==== Quick-command ==== | ||
- | |||
- | * Performs both '' | ||
- | |||
- | sudo hdparm -I '/ | ||
- | |||
- | sudo hdparm --user-master u --security-set-pass ' | ||
- | |||
- | ==== Dell Quick-command ==== | ||
- | |||
- | * Performs both '' | ||
- | * Removes the first '' | ||
- | |||
- | sudo hdparm -I '/ | ||
- | |||
- | sudo hdparm --user-master u --security-erase ' | ||
- | |||
- | ===== NVMe Erase ===== | ||
- | |||
- | sudo zypper --non-interactive install ' | ||
- | |||
- | sudo nvme format '/ | ||
- | |||
- | ===== Clean EFI Variables ===== | ||
- | |||
- | * This works fine on a few Acer and Dell laptops, but could potentially cause a brick with bad platform implementations, | ||
- | * Safer way is to use '' | ||
- | |||
- | sudo rm -f '/ | ||
- | |||
- | ===== RAID Controller Details ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo mdadm --detail-platform | ||
- | |||
- | ==== Create Software RAID ==== | ||
- | |||
- | * Came from old notes; I **assume** this worked at some point, but in any case, the syntax looks nice :p | ||
- | |||
- | sudo mdadm --create '/ | ||
- | |||
- | ===== VGA Switcheroo Power States ===== | ||
- | |||
- | * https:// | ||
- | |||
- | sudo cat '/ | ||
- | |||
- | ===== ACPI Tables ===== | ||
- | |||
- | * In '' | ||
- | |||
- | sudo zypper install ' | ||
- | |||
- | sudo cp --force '/ | ||
- | |||
- | cd ~ && iasl -d ~/' | ||
- | |||
- | gio open ~/' | ||
- | |||
- | sudo zypper remove ' | ||
- | |||
- | ===== Backlight ===== | ||
- | |||
- | ==== Notes ==== | ||
- | |||
- | * The following commands with an asterisk expect only one backlight controller at ''/ | ||
- | * This was only tested on one laptop with '' | ||
- | * See [[# | ||
- | * See [[https:// | ||
- | |||
- | ==== Controller Name ==== | ||
- | |||
- | **** | ||
- | |||
- | ls '/ | ||
- | |||
- | ==== Query Current Brightness ==== | ||
- | |||
- | **** | ||
- | |||
- | cat '/ | ||
- | |||
- | ==== Query Max Brightness ==== | ||
- | |||
- | **** | ||
- | |||
- | cat '/ | ||
- | |||
- | ==== Set Custom Brightness ==== | ||
- | |||
- | * Change '' | ||
- | * Desired brightness **must** be under '' | ||
- | |||
- | echo " | ||
- | |||
- | ==== Set Max Brightness ==== | ||
- | |||
- | **** | ||
- | |||
- | echo "$(cat '/ | ||
- | |||
- | ===== Intel GuC Firmware ===== | ||
- | |||
- | sudo cat '/ | ||
- | |||
- | sudo cat '/ | ||
- | |||
- | ===== Hyper-threading Information ===== | ||
- | |||
- | **** | ||
- | |||
- | grep -e " | ||
- | |||
- | ===== Optimal GCC compiler flags ===== | ||
- | |||
- | **** | ||
- | |||
- | gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 | perl -pe 's/ -mno-\S+// | ||
- | |||
- | ===== FirewallD ===== | ||
- | |||
- | ==== List Active Rules ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo firewall-cmd --list-all | ||
- | |||
- | ==== List Available Services ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo firewall-cmd --get-service | ||
- | |||
- | ==== Reload ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo firewall-cmd --reload | ||
- | |||
- | ==== Add/Remove Service ==== | ||
- | |||
- | * Add '' | ||
- | |||
- | sudo firewall-cmd --add-service=x | ||
- | |||
- | sudo firewall-cmd --remove-service=x | ||
- | |||
- | ==== Add/Remove Port ==== | ||
- | |||
- | * Add '' | ||
- | * Change '' | ||
- | |||
- | sudo firewall-cmd --add-port=x/ | ||
- | |||
- | sudo firewall-cmd --remove-port=x/ | ||
- | |||
- | ====== Privacy ====== | ||
- | |||
- | ===== Clear Terminal History ===== | ||
- | |||
- | **** | ||
- | |||
- | history -cw | ||
- | |||
- | ===== Create 7z Password Archive ===== | ||
- | |||
- | * Change '' | ||
- | * Change '' | ||
- | |||
- | sudo zypper install ' | ||
- | |||
- | 7za a ' | ||
- | |||
- | ===== oathtool ===== | ||
- | |||
- | * '' | ||
- | |||
- | sudo zypper install ' | ||
- | |||
- | oathtool --totp -b ' | ||
- | |||
- | ===== Remove EXIF data ===== | ||
- | |||
- | sudo zypper install ' | ||
- | |||
- | exiftool -all= *.* -overwrite_original |
/var/www/wiki/data/attic/distros/opensuse_tumbleweed_plasma_test.1538248148.txt.gz · Last modified: 2018/09/29 15:09 by Sean Rhone