distros:solus
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
distros:solus [2017/09/16 23:00] – Sean Rhone | distros:solus [2021/06/18 02:37] (current) – removed Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Information ====== | ||
- | * Solus ((https:// | ||
- | * Budgie ((https:// | ||
- | |||
- | ====== Download ====== | ||
- | |||
- | * https:// | ||
- | |||
- | ====== Installation Notes ====== | ||
- | |||
- | * '' | ||
- | |||
- | ====== Repositories ====== | ||
- | |||
- | ===== Stable ===== | ||
- | |||
- | * https:// | ||
- | * Used by-default ((only referenced to point to above URL for package checking; URL may change with future Solus releases)) | ||
- | |||
- | ===== Unstable ===== | ||
- | |||
- | * https:// | ||
- | * This removes the stable repository and adds the unstable one | ||
- | |||
- | sudo eopkg rr ' | ||
- | |||
- | ====== Software ====== | ||
- | |||
- | ===== Update ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo eopkg upgrade -y && sync | ||
- | |||
- | ===== GNU nano ===== | ||
- | |||
- | * Sets as system-wide default editor | ||
- | * Sets '' | ||
- | |||
- | export ' | ||
- | |||
- | ===== General ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo eopkg install aria2 brasero filezilla gimp hplip htop keepassx p7zip perl-image-exiftool xfsprogs hdparm ffmpegthumbnailer evolution gnome-contacts mtpfs | ||
- | |||
- | ===== Intel Graphics ===== | ||
- | |||
- | **** | ||
- | |||
- | libva-intel-driver xorg-driver-video-intel | ||
- | |||
- | ===== AMD Graphics ===== | ||
- | |||
- | **** | ||
- | |||
- | libvdpau xorg-driver-video-radeon | ||
- | |||
- | ===== Wine ===== | ||
- | |||
- | **** | ||
- | |||
- | wine-32bit winetricks libgnutls-32bit libjpeg-turbo-32bit libpng-32bit libtxc_dxtn-32bit cabextract | ||
- | |||
- | ===== Steam ===== | ||
- | |||
- | **** | ||
- | |||
- | steam | ||
- | |||
- | ===== Steam Controller ===== | ||
- | |||
- | * https:// | ||
- | |||
- | sc-controller | ||
- | |||
- | ====== Settings ====== | ||
- | |||
- | ===== Keyboard Shortcuts ===== | ||
- | |||
- | gnome-terminal | ||
- | |||
- | keepassxc | ||
- | |||
- | ===== gedit ===== | ||
- | |||
- | * 4 Tab width | ||
- | * Insert Spaces for Tab mode | ||
- | |||
- | ===== Network ===== | ||
- | |||
- | ==== VPN.AC ==== | ||
- | |||
- | * See [[information: | ||
- | |||
- | ==== DNS.WATCH DNS === | ||
- | |||
- | === IPv4 === | ||
- | |||
- | 84.200.69.80 | ||
- | |||
- | 84.200.70.40 | ||
- | |||
- | === IPv6 == | ||
- | |||
- | 2001: | ||
- | |||
- | 2001: | ||
- | |||
- | ===== Nautilus ===== | ||
- | |||
- | * Sort folders before files | ||
- | * 2GB File Previews | ||
- | |||
- | ===== Rhythmbox ===== | ||
- | |||
- | * See [[Information: | ||
- | |||
- | ===== clr-boot-manager ===== | ||
- | |||
- | * Add settings separated by a space | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ==== blk_mq ==== | ||
- | |||
- | * See [[distros: | ||
- | |||
- | scsi_mod.use_blk_mq=y | ||
- | |||
- | ==== Linux ==== | ||
- | |||
- | **** | ||
- | |||
- | acpi_osi=Linux | ||
- | |||
- | ==== i915 ==== | ||
- | |||
- | **** | ||
- | |||
- | i915.enable_guc_loading=2 i915.enable_guc_submission=2 | ||
- | |||
- | ==== Disable HT ==== | ||
- | |||
- | * Set to half of total cores if Intel HT is enabled | ||
- | |||
- | maxcpus=4 | ||
- | |||
- | ==== Blacklist ==== | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | modprobe.blacklist=btusb, | ||
- | |||
- | ==== Disable AppArmor ==== | ||
- | |||
- | * This can speed up boot a tiny bit but apparently will prevent Snaps from working | ||
- | |||
- | apparmor=0 security="" | ||
- | |||
- | ==== DRM Debug ==== | ||
- | |||
- | **** | ||
- | |||
- | drm.debug=0xe | ||
- | |||
- | ==== Corsair Gaming HARPOON RGB Mouse Quirk ==== | ||
- | |||
- | **** | ||
- | |||
- | usbhid.quirks=0x1B1C: | ||
- | |||
- | ==== Settings Update ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo clr-boot-manager update | ||
- | |||
- | ===== Swap Partition FDE Fix ===== | ||
- | |||
- | * https:// | ||
- | |||
- | * Only required when Full Disk Encryption is being used ((TODO: Re-verify)) | ||
- | * Change '' | ||
- | |||
- | sudo blkid | grep ' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | UUID=x none swap defaults, | ||
- | |||
- | ===== I/O Schedulers ===== | ||
- | |||
- | ==== Check ==== | ||
- | |||
- | * Replace '' | ||
- | * If using '' | ||
- | |||
- | cat '/ | ||
- | |||
- | ==== BFQ ==== | ||
- | |||
- | * Good for average workloads and responsiveness | ||
- | * May require [[distros: | ||
- | |||
- | echo ' | ||
- | |||
- | ==== Kyber ==== | ||
- | |||
- | * Simple scheduler, good for fast drives and high throughput like Servers | ||
- | * May require [[distros: | ||
- | |||
- | echo ' | ||
- | |||
- | ==== mq-deadline ==== | ||
- | |||
- | * Requires [[distros: | ||
- | |||
- | echo ' | ||
- | |||
- | ==== none ==== | ||
- | |||
- | * Probably shouldn' | ||
- | |||
- | echo ' | ||
- | |||
- | ===== Input ===== | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | ===== Kernel Options ===== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | kernel.dmesg_restrict = 1 | ||
- | kernel.kptr_restrict = 1 | ||
- | kernel.sysrq = 1 | ||
- | |||
- | ===== mpv ===== | ||
- | |||
- | * With GNOME mpv, this config file needs to be manually selected from Preferences | ||
- | * '' | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | hwdec=' | ||
- | profile=' | ||
- | ao=' | ||
- | |||
- | ~/ | ||
- | |||
- | ===== 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 ===== | ||
- | |||
- | nano ~/' | ||
- | |||
- | resample-method = soxr-vhq | ||
- | flat-volumes = no | ||
- | |||
- | ===== Secure Shell ===== | ||
- | |||
- | * See [[Clients: | ||
- | |||
- | ===== systemd Journal ===== | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | [Journal] | ||
- | SystemMaxUse=50M | ||
- | RuntimeMaxUse=50M | ||
- | |||
- | ===== TRIM ===== | ||
- | |||
- | ==== Service ==== | ||
- | |||
- | * The weekly timer should already be enabled | ||
- | |||
- | sudo systemctl start ' | ||
- | |||
- | ===== Environment Variables ===== | ||
- | |||
- | ==== Wine Staging ==== | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | # Tweaks | ||
- | export STAGING_SHARED_MEMORY=1 | ||
- | export STAGING_WRITECOPY=1 | ||
- | |||
- | ==== Timezone ==== | ||
- | |||
- | * https:// | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | ====== Computer-specific ====== | ||
- | |||
- | ===== Spinesnap ===== | ||
- | |||
- | ==== Internal Speakers ==== | ||
- | |||
- | * https:// | ||
- | |||
- | sudo eopkg install ' | ||
- | |||
- | [Unit] | ||
- | Description=Acer Predator G9-791 Internal Speaker Fix | ||
- | After=sound.target | ||
- | Wants=sound.target | ||
- | | ||
- | [Service] | ||
- | Type=oneshot | ||
- | ExecStart=/ | ||
- | ExecStart=/ | ||
- | ExecStart=/ | ||
- | | ||
- | [Install] | ||
- | WantedBy=sound.target | ||
- | |||
- | === Sleep Script === | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | #!/bin/sh | ||
- | '/ | ||
- | '/ | ||
- | '/ | ||
- | |||
- | ==== Open-Source Graphics ==== | ||
- | |||
- | === modesetting === | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | EndSection</ | ||
- | |||
- | === intel + nouveau === | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | BusID " | ||
- | Option | ||
- | EndSection | ||
- | |||
- | Section " | ||
- | Identifier | ||
- | Driver | ||
- | BusID " | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ==== Proprietary Graphics ==== | ||
- | |||
- | * TODO: Figure this out again | ||
- | |||
- | ==== MSR ==== | ||
- | |||
- | * Not necessary to be ran, only here for reference | ||
- | * Requires '' | ||
- | |||
- | === Enable Intel Speed Shift Technology === | ||
- | |||
- | * '' | ||
- | |||
- | sudo rdmsr --all --decimal ' | ||
- | |||
- | sudo wrmsr --all ' | ||
- | |||
- | === Disable BD-PROCHOT === | ||
- | |||
- | * '' | ||
- | |||
- | sudo rdmsr --all --decimal ' | ||
- | |||
- | sudo wrmsr --all ' | ||
- | |||
- | ====== Steven Black' | ||
- | |||
- | ===== Service ===== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | [Service] | ||
- | Type=oneshot | ||
- | WorkingDirectory=/ | ||
- | ExecStartPre=/ | ||
- | ExecStartPre=/ | ||
- | ExecStartPre=/ | ||
- | ExecStart=/ | ||
- | ExecStartPost=/ | ||
- | ExecStartPost=/ | ||
- | |||
- | ===== Timer ===== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | [Unit] | ||
- | Description=Steven Black' | ||
- | After=network-online.target | ||
- | Wants=network-online.target | ||
- | | ||
- | [Timer] | ||
- | OnCalendar=weekly | ||
- | Persistent=true | ||
- | | ||
- | [Install] | ||
- | WantedBy=timers.target | ||
- | |||
- | ====== Mozilla Firefox ====== | ||
- | |||
- | * Use Disconnect.me strict protection Block List | ||
- | |||
- | ===== user.js ===== | ||
- | |||
- | cd ~/' | ||
- | |||
- | < | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | |||
- | user_pref(" | ||
- | |||
- | ===== Extensions ===== | ||
- | |||
- | * 8 Extensions | ||
- | |||
- | gio open ' | ||
- | |||
- | ==== Cookie AutoDelete ==== | ||
- | |||
- | * Enable Active Mode | ||
- | * Don't Log Total Number Of Cookies Deleted | ||
- | * Don't Show Notification After Cookie CleanUp | ||
- | * Clean Cookies from Open Tabs on StartUp | ||
- | |||
- | ==== HTTPS Everywhere ==== | ||
- | |||
- | * Use the Observatory | ||
- | |||
- | ==== No Resource URI Leak ==== | ||
- | |||
- | * Block Web-exposed subset of chrome URIs | ||
- | |||
- | ==== Privacy Settings ==== | ||
- | |||
- | * Full Privacy | ||
- | |||
- | ==== uBlock Origin ==== | ||
- | |||
- | === Disabled Filters === | ||
- | |||
- | * EasyList | ||
- | * EasyPrivacy | ||
- | * Malware Domain List | ||
- | * Malware domains | ||
- | * Peter Lowe’s Ad and tracking server list | ||
- | |||
- | === Custom Filters === | ||
- | |||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | https:// | ||
- | |||
- | ==== uMatrix ==== | ||
- | |||
- | * Auto-update hosts files | ||
- | |||
- | ====== Notable Folders and Commands ====== | ||
- | |||
- | ===== Shortcuts ===== | ||
- | |||
- | / | ||
- | |||
- | ~/ | ||
- | |||
- | ===== Icons ===== | ||
- | |||
- | / | ||
- | |||
- | ~/ | ||
- | |||
- | ===== fstrim ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo fstrim -v --all | ||
- | |||
- | ===== Xorg Debug ===== | ||
- | |||
- | **** | ||
- | |||
- | gio open '/ | ||
- | |||
- | ===== Verify DRI3 ===== | ||
- | |||
- | **** | ||
- | |||
- | LIBGL_DEBUG=' | ||
- | |||
- | ===== Show Graphics Info ===== | ||
- | |||
- | **** | ||
- | |||
- | inxi -xG | ||
- | |||
- | ===== Show CPU Frequency ===== | ||
- | |||
- | grep ' | ||
- | |||
- | watch -n 0.1 grep \'cpu MHz\' '/ | ||
- | |||
- | ===== Partition Information ===== | ||
- | |||
- | **** | ||
- | |||
- | df -hT | ||
- | |||
- | ===== Encryption Information ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo cryptsetup -v status '/ | ||
- | |||
- | ===== hdparm Secure Erase ===== | ||
- | |||
- | * The suspend is needed to release frozen drive state ((Spinesnap)) | ||
- | |||
- | sudo eopkg install ' | ||
- | |||
- | systemctl suspend | ||
- | |||
- | lsblk | ||
- | |||
- | sudo hdparm -I '/ | ||
- | |||
- | sudo hdparm --user-master u --security-set-pass ' | ||
- | |||
- | sudo hdparm --user-master u --security-erase ' | ||
- | |||
- | sudo hdparm --user-master u --security-erase-enhanced ' | ||
- | |||
- | ==== Quick Commands ==== | ||
- | |||
- | * Performs '' | ||
- | |||
- | === sda === | ||
- | |||
- | **** | ||
- | |||
- | sudo hdparm --user-master u --security-set-pass ' | ||
- | |||
- | === sdb === | ||
- | |||
- | **** | ||
- | |||
- | sudo hdparm --user-master u --security-set-pass ' | ||
- | |||
- | ===== Clean EFI Variables ===== | ||
- | |||
- | * This is only verified on Spinesnap, other computers beware as this can cause a brick apparently | ||
- | * This is an easier way of clearing boot entries outside of '' | ||
- | |||
- | sudo rm -f '/ | ||
- | |||
- | ==== EFI Variables R/W ==== | ||
- | |||
- | * This wasn't necessary on Solus 3, but should '' | ||
- | |||
- | sudo mount -o ' | ||
- | |||
- | ===== RAID Controller Details ===== | ||
- | |||
- | * Only applicable when using FakeRAID/ | ||
- | |||
- | sudo mdadm --detail-platform | ||
- | |||
- | ===== VGA Switcheroo Power States ===== | ||
- | |||
- | * https:// | ||
- | * DIS: Discrete GPU | ||
- | * IGD: Integrated Graphics | ||
- | * DIS-Audio: The audio device exported by your discrete GPU for HDMI sound playback | ||
- | * +: This device is connected to graphics connectors | ||
- | * OFF: The device is powered off | ||
- | * ON: The device is powered on | ||
- | * DynOff: The device is currently powered off but will be powered on when needed | ||
- | * DynPwr: The device is currently powered on but will be powered off when not needed | ||
- | |||
- | sudo cat '/ | ||
- | |||
- | ===== i915 GuC Firmware ===== | ||
- | |||
- | sudo cat '/ | ||
- | |||
- | sudo cat '/ | ||
- | |||
- | ===== Optimal GCC compiler flags ===== | ||
- | |||
- | **** | ||
- | |||
- | gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 | perl -pe 's/ -mno-\S+// | ||
- | |||
- | ====== Privacy ====== | ||
- | |||
- | ===== Remove EXIF data ===== | ||
- | |||
- | **** | ||
- | |||
- | exiftool -all= *.* -overwrite_original |
/srv/www/wiki/data/attic/distros/solus.1505617237.txt.gz · Last modified: (external edit)