User Tools

Site Tools


distros:fedora_workstation_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
Next revisionBoth sides next revision
distros:fedora_workstation_gnome [2021/12/29 09:17] – [Partitioning] Sean Rhonedistros:fedora_workstation_gnome [2024/03/25 18:37] Sean Rhone
Line 2: Line 2:
  
   * Fedora Workstation ((https://getfedora.org/en/workstation))   * Fedora Workstation ((https://getfedora.org/en/workstation))
-  * 35+  * 39
  
 ====== Download ====== ====== Download ======
 +
 +===== Fedora Media Writer =====
 +
 +  * https://github.com/FedoraQt/MediaWriter/releases
  
 ===== Workstation ===== ===== Workstation =====
Line 11: Line 15:
  
 ===== Updated Live Images ===== ===== Updated Live Images =====
 +
 +  * [[https://fedoraproject.org/wiki/Respins-SIG|Respins-SIG]]
  
   * https://dl.fedoraproject.org/pub/alt/live-respins   * https://dl.fedoraproject.org/pub/alt/live-respins
  
 ====== Installation Notes ====== ====== Installation Notes ======
- 
-  * ''EFI/fedora/shimx64.efi'' ((EFI file to boot and in the case of (quirky) InsydeH2O UEFI implementations, add to SecureBoot trust; doesn't matter if SecureBoot is enabled or not)) 
  
 ===== Partitioning ===== ===== Partitioning =====
  
-  - Delete ''/home'' +  - :!: Delete ''/home'' 
-  - Delete ''/'' +  - :!: Delete ''/'' 
-  - Set ''/boot'' to use XFS +  - Set ''/boot'' to XFS ((Fedora Server and RHEL do it)) 
-  - Re-create ''/'' without specifying a size ((in order to have it use all remaining free space)) +  - Re-create ''/'' without specifying a size ((this uses all available remaining space)) 
-  - Set ''/'' to use XFS+  - Set ''/'' to XFS ((can also use F2FS with F39+ or by installing ''f2fs-tools'' on F38 and older before starting Anaconda)) 
 +  - :!: See [[notes:misc_linux#create_software_raid|Software RAID]] notes if software RAID across multiple drives is wanted
  
 ====== HOSTS ====== ====== HOSTS ======
  
   * https://github.com/StevenBlack/hosts/   * https://github.com/StevenBlack/hosts/
-  * Unified hosts + fakenews + gambling + porn+  * Unified hosts + fakenews + gambling
  
-  wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts' && sudo cp '/etc/hosts' '/etc/hosts-bak' && sudo mv '/tmp/hosts-tmp' '/etc/hosts' && sudo restorecon -F -I -R '/etc/hosts' && sync+===== Initial =====
  
-  cat '/etc/hosts' | grep 'Date:'+  * Only run once
  
-  sudo -'/etc/hosts'+  ls '/etc/hosts~' || wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sudo cp --backup '/tmp/hosts-tmp' '/etc/hosts' && sudo restorecon -F -I -'/etc/hosts' && sync
  
-====== DNF ======+===== Update =====
  
-  Disables Delta RPMs with ''deltarpm=false'' +****
-  Downloads packages from the fastest mirror with ''fastestmirror=true''+
  
-  cat '/etc/dnf/dnf.conf| grep 'deltarpm=false|| echo 'deltarpm=falsesudo tee --append '/etc/dnf/dnf.conf'/dev/null' && cat '/etc/dnf/dnf.conf'+  ls '/etc/hosts~&& wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts&& sudo mv --force '/tmp/hosts-tmp' '/etc/hosts' && sudo restorecon -F -I -R '/etc/hosts&& sync
  
-  cat '/etc/dnf/dnf.conf' | grep 'fastestmirror=true' || echo 'fastestmirror=true' | sudo tee --append '/etc/dnf/dnf.conf' > '/dev/null' && cat '/etc/dnf/dnf.conf'+===== Restore Backup =====
  
-====== Repositories ======+****
  
-===== su =====+  ls '/etc/hosts~' && sudo restorecon -F -I -R '/etc/hosts~' && sudo mv --force '/etc/hosts~' '/etc/hosts' && sync
  
-  * Useful for fresh installations where repo(s) can be added, and then package updates can be ran afterwards unattended without having ''sudo'' timeout and re-prompt for the password+====== DNF ======
  
-  sudo su+  * Disables Delta RPMs with ''deltarpm=false'' 
 + 
 +  echo 'deltarpm=false'sudo tee --append '/etc/dnf/dnf.conf' > '/dev/null' && cat '/etc/dnf/dnf.conf' | grep 'deltarpm=false' 
 + 
 +  sudo -e '/etc/dnf/dnf.conf' 
 + 
 +====== Repositories ======
  
 ===== RPM Fusion ===== ===== RPM Fusion =====
  
   * https://rpmfusion.org   * https://rpmfusion.org
 +  * See [[notes:fedora_rpm_fusion|RPM Fusion]] notes
  
 ==== free ==== ==== free ====
Line 70: Line 81:
   sudo rpm --import 'https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020' && sync && sudo dnf install 'https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-'$(rpm -E %fedora)'.noarch.rpm' -y && sync   sudo rpm --import 'https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020' && sync && sudo dnf install 'https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-'$(rpm -E %fedora)'.noarch.rpm' -y && sync
  
-===== ALVR =====+==== tainted ====
  
-  * https://github.com/alvr-org/ALVR +  * Provides interesting firmware files
-  * https://github.com/alvr-org/ALVR/wiki/Installation#linux+
  
-  sudo rpm --import 'https://repo.trae32566.org/repository/alvr_static/RPM-GPG-KEY-alvr&& sudo dnf config-manager --add-repo 'https://repo.trae32566.org/repository/alvr_static/alvr.repo' +  sudo dnf install 'rpmfusion-free-release-tainted' 'rpmfusion-nonfree-release-tainted'
- +
-===== RawhideKernelNodebug ===== +
- +
-  * https://fedoraproject.org/wiki/RawhideKernelNodebug +
-  * https://dl.fedoraproject.org/pub/alt/rawhide-kernel-nodebug +
- +
-  sudo dnf config-manager --add-repo='http://dl.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/fedora-rawhide-kernel-nodebug.repo'+
  
 ====== Software ====== ====== Software ======
Line 90: Line 93:
 ==== System ==== ==== System ====
  
-  * :!: See [[distros:fedora_workstation_gnome#dnf_autoremove_fix]] if ''dnf autoremove'' fails+  * See [[notes:misc_linux#dnf_autoremove_fix]] if ''dnf autoremove'' fails
  
-  sudo dnf distro-sync -y && sync +  sudo dnf autoremove -y && sudo dnf distro-sync -y && sync
- +
-  sudo dnf autoremove+
  
 ==== Firmware ==== ==== Firmware ====
Line 116: Line 117:
   sudo dnf install 'nano' -y && 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'   sudo dnf install 'nano' -y && 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'
  
-===== RPM Fusion Initial =====+==== Multimedia ====
  
-  * https://rpmfusion.org/Configuration +  * https://rpmfusion.org/Howto/Multimedia
-  * Covers AppStream data and missing Multimedia packages+
  
-  sudo dnf groupupdate 'core&& sudo dnf groupupdate 'multimedia' --setop='install_weak_deps=False' --exclude='PackageKit-gstreamer-plugin' && sudo dnf groupupdate 'sound-and-video' && sync+<code>sudo dnf swap 'ffmpeg-free'ffmpeg' --allowerasing</code> 
 + 
 +<code>sudo dnf groupupdate 'core' 'multimedia' 'sound-and-video' --setop='install_weak_deps=False' --exclude='PackageKit-gstreamer-plugin' --allowerasing && sync</code>
  
 ===== General ===== ===== General =====
Line 127: Line 129:
 **** ****
  
-  sudo dnf install evolution filezilla gimp keepassxc transmission-gtk aria2 hdparm htop lm_sensors p7zip p7zip-plugins unar wget irqbalance xfsprogs-xfs_scrub kernel-tools xrandr +  sudo dnf install evolution file-roller filezilla foliate gbrainy gimp gnome-extensions-app keepassxc mpv transmission-gtk android-tools aria2 binutils hdparm htop icoutils kernel-tools lm_sensors openssl1.1 gstreamer1-plugin-openh264 openh264 mozilla-openh264 p7zip p7zip-plugins unar wget xrandr yt-dlp 
  
-===== RPM Fusion =====+===== Google Chrome =====
  
-==== free ====+****
  
-  * ''ffmpeg'' was needed for ''youtube-dl'' to correct DASH containers+  google-chrome-stable
  
-  mpv youtube-dl+===== OBS Studio =====
  
-==== nonfree ====+  * ''obs-studio'' is in Fedora repos and works fine by itself, but pulls in interesting dependencies from [[notes:fedora_rpm_fusion#free|RPM Fusion's free repo]]
  
-  steam+  obs-studio
  
-  akmod-nvidia+===== RPM Fusion =====
  
-===== new-lg4ff ===== +==== free ====
- +
-  * See [[devices:logitech_g29|Logitech G29]] notes +
- +
-  dkms kernel-devel +
- +
-===== ALVR =====+
  
 **** ****
  
-  alvr+  ffmpeg-libs
  
-===== Keybase =====+==== nonfree ====
  
-  * https://keybase.io +  steam
-  * :!: Run ''run_keybase'' in a Terminal after installation+
  
-  'https://prerelease.keybase.io/keybase_amd64.rpm'+  intel-media-driver
  
-===== Game Controllers =====+==== Tainted ====
  
-  Necessary for Xbox 360 controllers +****
-  Not necessary for a Steam Controller+
  
-  kernel-modules-extra +  libdvdcss *'-firmware'
- +
-===== ckb-next ===== +
- +
-  https://github.com/ckb-next/ckb-next +
- +
-  ckb-next+
  
 ===== Wine ===== ===== Wine =====
  
-**** +<code>wine winetricks openssl1.1.i686</code>
- +
-  wine winetricks +
- +
-===== Tor Browser ===== +
- +
-**** +
- +
-  torbrowser-launcher +
- +
-===== Google Chrome ===== +
- +
-****+
  
-  sudo rpm --import 'https://dl-ssl.google.com/linux/linux_signing_key.pub' && sudo dnf install 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm'+<code>mesa-libd3d mesa-libd3d.i686</code>
  
 ====== Settings ====== ====== Settings ======
Line 197: Line 173:
 ===== Keyboard Shortcuts ===== ===== Keyboard Shortcuts =====
  
-  * See [[scripts:max_performance]] for ''max-perf.sh''+<code>gnome-terminal</code>
  
-  gnome-terminal+<code>bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'"</code>
  
-  bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'" +<code>gnome-terminal --command "sudo sh -c 'dnf clean 'all' && dnf distro-sync -y && sync && flatpak update && wget -O '/tmp/sb-hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && mv --force '/tmp/sb-hosts' '/etc/hosts' && restorecon -F -I -R '/etc/hosts' && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''"</code>
- +
-  gnome-terminal --command "sudo sh -c 'dnf clean 'all' && dnf distro-sync -y && sync && flatpak update && wget -O '/etc/hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && restorecon -F -I -R '/etc/hosts' && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''" +
- +
-  gnome-terminal -- sh -c '/usr/local/bin/max-perf.sh'+
  
 ==== Keys ==== ==== Keys ====
Line 213: Line 185:
   * Ctrl + Alt + T   * Ctrl + Alt + T
   * Ctrl + Alt + Z   * Ctrl + Alt + Z
-  * Pause or F7 +  * Menu or F6
-  * F7+
  
 ===== Printer ===== ===== Printer =====
Line 220: Line 191:
   * http://localhost:631/admin   * http://localhost:631/admin
  
-  * :!: ''driverlesscups-filters''+  * Printer name can be ''Ctrl + F'''
 +  * :!: AppSocket/HP JetDirect -> HP -> HP Officejet Pro 8710, hpcups (en) ((single ''en'' **not** ''enen'')) 
 +  * Color Mode: Device Gray
   * Administration -> Set As Server Default   * Administration -> Set As Server Default
  
   socket://192.168.1.164:9100   socket://192.168.1.164:9100
  
-===== gedit =====+  Kole 
 + 
 +  HP Officejet Pro 8710 
 + 
 +==== Info ====
  
-  * 4 Tab width +  * ''HP Officejet Pro 8710, hpcups 3.23.5'' has two options, ''(en)'' and ''(en), (en)'' 
-  * Insert Spaces for Tab mode+  * With Firefox, do ''Inspect'' 
 +  * ''(en)'' is ''drv'' 
 +  * ''(en), (en)'' is ''lsb'' 
 +  * https://access.redhat.com/solutions/6971890 implies the ''drv'' path is the modern choice 
 +  * :!: The IPP option //sometimes//(?) prints blurry documents; CUPS says old non-IPP drivers will be deprecated eventually
  
 ===== Network ===== ===== Network =====
  
-==== 1.1.1.1 ====+==== systemd-resolved ====
  
-  * https://1.1.1.1/dns/ +  * systemd-resolved caches DNS 
-  * See [[notes:dns_servers|DNS servers]] for other DNS servers+  * [[notes:dns_servers#quad9|Quad9]], see [[notes:dns_servers]] for other addresses
  
-<code>1.1.1.1,1.0.0.1</code>+  sudo mkdir -p '/etc/systemd/resolved.conf.d' && sudo -e '/etc/systemd/resolved.conf.d/99-dns-over-tls.conf'
  
-<code>2606:4700:4700::1111,2606:4700:4700::1001</code>+<code> 
 +[Resolve] 
 +DNS=9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net 2620:fe::fe#dns.quad9.net 2620:fe::9#dns.quad9.net 
 +DNSOverTLS=yes</code> 
 + 
 +=== NetworkManager ===
  
-==== VPN.AC ====+<code>127.0.0.1</code>
  
-  * See [[information:vpn.ac|VPN.AC]]+<code>::1</code>
  
 ===== Nautilus ===== ===== Nautilus =====
Line 256: Line 242:
  
   * 10-notch Transparency   * 10-notch Transparency
 +
 +===== Fan Profile =====
 +
 +  * https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager
 +
 +  sudo dnf install 'smbios-utils-python' -y && sudo smbios-thermal-ctl --set-thermal-mode='performance' && sudo dnf remove 'smbios-utils-python' -y
  
 ===== Kernel Options ===== ===== Kernel Options =====
Line 262: Line 254:
  
   * https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html   * https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
-  * :!: TODO: This doesn't work+  * ''kernel.sysrq = 1''
  
   echo 'kernel.sysrq = 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf' > '/dev/null' && cat '/etc/sysctl.d/99-sysrq.conf'   echo 'kernel.sysrq = 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf' > '/dev/null' && cat '/etc/sysctl.d/99-sysrq.conf'
 +
 +  sysctl 'kernel.sysrq'
  
 ===== GRUB ===== ===== GRUB =====
Line 270: Line 264:
 ==== Config ==== ==== Config ====
  
 +  * :!: [[notes:kernel_parameters|More Kernel Parameters]]
   * Add commands within ''args''   * Add commands within ''args''
  
   sudo grubby --update-kernel='ALL' --args=''   sudo grubby --update-kernel='ALL' --args=''
  
-==== amdgpu ====+  sudo grubby --update-kernel='ALL' --remove-args=''
  
-  * Allows use of Overdrive options for overclocking and notably increasing the Power Limit+  sudo -e '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/grub2/grub.cfg'
  
-  sudo grubby --args='amdgpu.ppfeaturemask=0xffffffff' --update-kernel='ALL'+==== Spinesnap ====
  
-  cat '/sys/module/amdgpu/parameters/ppfeaturemask| grep '4294967295'+  * Last updated: 2024/03/25 
 +  * ''GRUB_CMDLINE_LINUX='' 
 + 
 +  sudo -e '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/grub2/grub.cfg' 
 + 
 +<code>pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_windowvideo='HDMI-A-1:1920x1080@74' reboot='pci' acpi_osi='Linux'</code>
  
 ===== GNOME ===== ===== GNOME =====
  
-==== Disable Wayland ====+==== Dynamic Wallpaper ====
  
-  :!: ckb-next auto light shutoff requires Xorg +****
-  :!: GPU scaling for resolution 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'+  gsettings set 'org.gnome.desktop.background' 'picture-uri' '/usr/share/backgrounds/f'*'/default/f'*'.xml'
  
-  sudo -'/etc/gdm/custom.conf'+==== Extensions ==== 
 + 
 +=== Hide Top Bar === 
 + 
 +  * https://extensions.gnome.org/extension/545/hide-top-bar/ 
 + 
 +== GNOME 45 == 
 + 
 +  * https://gitlab.gnome.org/tuxor1337/hidetopbar/-/tree/main 
 + 
 +  sudo dnf install gettext make 
 + 
 +  rm -Rf ~/'.local/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca' && git clone --branch 'main' --depth '1' --recurse-submodules 'https://gitlab.gnome.org/tuxor1337/hidetopbar.git' ~/'.local/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca' && cd ~/'.local/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca' && make && cd ~ && sync 
 + 
 +==== 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' && sudo restorecon -F -I -R ~gdm/'.config/monitors.xml' 
 + 
 +=== Undo === 
 + 
 +**** 
 + 
 +  sudo rm ~gdm/'.config/monitors.xml&& sync
  
 ==== Settings ==== ==== Settings ====
Line 297: Line 321:
 === All-in-one === === All-in-one ===
  
-  * Last updated: 2021/10/10+  * Last updated: 2024/03/06
  
-  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.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' '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'
  
 === Individual === === Individual ===
  
-  * Last updated: 2021/10/10+  * Last updated: 2024/03/06
  
   gsettings reset 'org.gnome.shell' 'app-picker-layout'   gsettings reset 'org.gnome.shell' 'app-picker-layout'
  
-  gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'true'+  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' 'send-events' 'disabled-on-external-mouse'
Line 324: Line 348:
  
   gsettings set 'org.gnome.desktop.interface' 'clock-show-date' 'true'   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.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/03/06
 +
 +  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'
  
 ===== Hostname ===== ===== Hostname =====
Line 334: Line 372:
  
   hostnamectl set-hostname 'x'   hostnamectl set-hostname 'x'
- 
-===== Keybase ===== 
- 
-  * :!: Run after initial install 
- 
-  run_keybase 
  
 ===== KeePassXC ===== ===== KeePassXC =====
Line 355: Line 387:
  
 ===== lm_sensors ===== ===== lm_sensors =====
- 
-**** 
  
   sudo sensors-detect --auto   sudo sensors-detect --auto
  
-===== mpv =====+  sudo -e '/etc/sysconfig/lm_sensors'
  
-  * [[https://wiki.archlinux.org/index.php/mpv#High_quality_configurations|ArchWiki mpv High quality configurations]]+===== mpv =====
  
   mkdir -p ~/'.config/mpv' && nano ~/'.config/mpv/mpv.conf'   mkdir -p ~/'.config/mpv' && nano ~/'.config/mpv/mpv.conf'
  
 <code> <code>
 +save-position-on-quit
 +sub-auto=fuzzy
 +force-window=yes
 profile=gpu-hq profile=gpu-hq
 scale=ewa_lanczossharp scale=ewa_lanczossharp
Line 373: Line 406:
 interpolation interpolation
 tscale=oversample</code> tscale=oversample</code>
- 
-===== NetworkManager ===== 
- 
-  * ''wifi.powersave'' can be ''2'' for disabled, or ''3'' for enabled 
-  * :!: ''ethernet.cloned-mac-address=random'' breaks USB Tethering with iOS/iPhones 
- 
-  sudo -e '/etc/NetworkManager/conf.d/99-custom.conf' 
  
 <code> <code>
-[device-mac-randomization] +hwdec=vaapi 
-wifi.scan-rand-mac-address=yes+hwdec-codecs=all 
 +vo=dmabuf-wayland</code>
  
-[connection-mac-randomization] +===== Secure Shell =====
-wifi.cloned-mac-address=random+
  
-[connection] +  * See [[clients:secure_shell|Client]notes to generate/restore public key
-wifi.powersave=2</code>+
  
-<code> +===== Drive Maintenance =====
-[connection-mac-randomization] +
-ethernet.cloned-mac-address=random</code>+
  
-===== Laptop Power Management =====+==== XFS Scrub ====
  
-  * See [[notes:laptop_power_management|Laptop Power Management]]+  * [[https://wiki.archlinux.org/title/XFS#Online_Metadata_Checking_(scrub)|XFS - ArchWiki]]
  
-===== Secure Shell =====+  sudo dnf install 'xfsprogs-xfs_scrub' -y && sync
  
-  * See [[clients:secure_shell|Client]] notes to generate/restore public key +  sudo systemctl enable 'xfs_scrub_all.timer' --now && sudo systemctl start 'xfs_scrub_all' && sync && sudo systemctl status 'xfs_scrub_all' -l
- +
-===== Drive Maintenance =====+
  
 ==== Trim ==== ==== Trim ====
Line 410: Line 431:
  
   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]] 
-  * :!: Enable in all cases since it's likely both ''/'' and ''/boot'' are XFS 
- 
-  sudo systemctl enable 'xfs_scrub_all.timer' --now && sudo systemctl start 'xfs_scrub_all' && sync && sudo systemctl status 'xfs_scrub_all' -l 
  
 ===== UTC ===== ===== UTC =====
Line 422: Line 436:
   * [[https://wiki.archlinux.org/index.php/System_time#Time_standard|System time - ArchWiki]]   * [[https://wiki.archlinux.org/index.php/System_time#Time_standard|System time - ArchWiki]]
   * Set RTC to UTC   * Set RTC to UTC
-  * :!: Needed if Windows is installed first+  * :!: Likely needed if Windows was installed first for dual-boot
   * :!: Windows should also be set to UTC   * :!: Windows should also be set to UTC
  
Line 437: Line 451:
   * See [[notes:wine|Wine]]   * See [[notes:wine|Wine]]
  
-====== Xorg ======+===== Xorg/Wayland =====
  
-  * See [[notes:xorg.conf_snippets|xorg.conf Snippets]]+==== Full RGB HDMI ====
  
-====== Mozilla Firefox ======+  * 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 dnf install 'drm-utils' -y && sudo -e '/etc/gdm/PostLogin/Default' && sudo restorecon -F -I -R '/etc/gdm/PostLogin/Default' && sudo chmod +x '/etc/gdm/PostLogin/Default' && sync 
 + 
 +<code> 
 +#!/bin/bash 
 +proptest -M 'i915' -D '/dev/dri/card'* '103' 'connector' '99' '1' 
 +proptest -M 'i915' -D '/dev/dri/card'* '103' 'connector' '107' '4'</code> 
 + 
 +====== Firefox ======
  
   * See [[notes:firefox|Firefox]] if old configuration is needed, otherwise use Firefox Sync   * See [[notes:firefox|Firefox]] if old configuration is needed, otherwise use Firefox Sync
 +  * https://wiki.archlinux.org/title/Firefox/Privacy
  
-  https://dns11.quad9.net/dns-query+===== 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 ====== ====== Server ======
  
   * For workstations that run servers as a secondary directive   * For workstations that run servers as a secondary directive
-  * For headless servers, use [[distros:fedora_server|Fedora Server]]+  * For headless servers, see [[distros:fedora_server|Fedora Server]]
  
 ===== Enable SSH ===== ===== Enable SSH =====
Line 494: Line 567:
 ====== Notable Folders and Commands ====== ====== Notable Folders and Commands ======
  
-===== Extract ISO ===== +  * See [[notes:misc_linux]]
- +
-  * ''D'' is the destination you want the extracted files to go +
-  * ''x'' is the ISO you want to extract files from +
-  * No space after the ''-o'' flag is intentional +
-  * This is primarily useful for copying Windows ISO images to a FAT32 flash drive +
- +
-  7z x -o'D' -y x +
- +
-  7z x -o'/run/media/espionage724/LTSC 2019' -y '/home/espionage724/Downloads/en_windows_10_enterprise_ltsc_2019_x64_dvd_be3c8ffb.iso' && sync && sync +
- +
-===== youtube-dl ===== +
- +
-  * https://ytdl-org.github.io/youtube-dl/index.html +
- +
-==== Download ==== +
- +
-**** +
- +
-  rm -f '/tmp/youtube-dl' && wget -O '/tmp/youtube-dl' 'https://yt-dl.org/downloads/latest/youtube-dl' && chmod +x '/tmp/youtube-dl' +
- +
-==== Show Formats ==== +
- +
-  * Change ''x'' to a URL +
- +
-  '/tmp/youtube-dl' --list-formats x +
- +
-==== Download Media ==== +
- +
-  * Change ''x'' to a URL +
-  * ''bestaudio'' can be changed to ''bestvideo'' for just video, or ''best'' for best video with audio +
- +
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio'+
- +
-=== M4A Audio === +
- +
-  * Ideally for if iOS devices will be involved +
- +
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio' --audio-format 'm4a'+
- +
-=== MP3 Audio === +
- +
-**** +
- +
-  '/tmp/youtube-dl' --extract-audio --format 'bestaudio' --audio-format 'mp3'+
- +
-===== Shortcuts ===== +
- +
-  /usr/share/applications +
- +
-  ~/.local/share/applications +
- +
-===== Icons ===== +
- +
-  /usr/share/icons/hicolor +
- +
-  ~/.local/share/icons/hicolor +
- +
-===== Anaconda Module Blacklists ===== +
- +
-**** +
- +
-  sudo -e '/etc/modprobe.d/anaconda-blacklist.conf' +
- +
-===== YUM/DNF Repos ===== +
- +
-**** +
- +
-  gio open '/etc/yum.repos.d' +
- +
-===== DNF History ===== +
- +
-==== Transaction IDs ==== +
- +
-**** +
- +
-  sudo dnf history +
- +
-==== Undo ==== +
- +
-  * Change ''x'' to a transaction ID found above +
- +
-  sudo dnf history undo x +
- +
-===== GPG Keys ===== +
- +
-==== Check Keys ==== +
- +
-**** +
- +
-  rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n' +
- +
-==== Remove Keys ==== +
- +
-**** +
- +
-  sudo rpm -e x +
- +
-===== DNF Autoremove Fix ===== +
- +
-  * Removes the initially-installed kernel in order to fix ''dnf autoremove'' if it's broken +
-  * :!: This will vary depending on the Fedora image version used +
- +
-  sudo dnf list --installed 'kernel'+
- +
-  sudo dnf remove *5.3.7* && sync +
- +
-===== Re-generate Thumbnails ===== +
- +
-**** +
- +
-  rm -Rf ~/'.cache/thumbnails' +
- +
-===== List GNOME gsettings ===== +
- +
-  * Change ''x'' to schema or omit it to show all settings +
- +
-  gsettings list-recursively 'x' +
- +
-===== GNOME App Grid Reset ===== +
- +
-  * [[https://www.omgubuntu.co.uk/2020/11/reset-gnome-shell-applications-grid|OMG! Ubuntu!]] +
- +
-  gsettings reset 'org.gnome.shell' 'app-picker-layout' +
- +
-===== GNOME Software Maintenance ===== +
- +
-**** +
- +
-  pkcon -c '1' refresh && pkcon update +
- +
-===== fstrim ===== +
- +
-**** +
- +
-  sudo fstrim --verbose --all +
- +
-===== SELinux Re-label ===== +
- +
-**** +
- +
-  sudo touch '/.autorelabel' +
- +
-===== GNOME Monitors Reset ===== +
- +
-**** +
- +
-  rm -f ~/'.config/monitors.xml' ~/'.config/monitors.xml~' +
- +
-===== PulseAudio Reset ===== +
- +
-**** +
- +
-  rm -f ~/'.config/pulse/'+
- +
-===== Xorg Debug ===== +
- +
-  journalctl -e _COMM='gdm-x-session' +
- +
-  gio open ~/'.local/share/xorg/Xorg.1.log' +
- +
-===== Verify DRI3 ===== +
- +
-**** +
- +
-  LIBGL_DEBUG='verbose' glxinfo | grep 'libgl' +
- +
-===== GpuTest ===== +
- +
-  * https://www.geeks3d.com/gputest/ +
- +
-==== Execute ==== +
- +
-=== HDTV === +
- +
-  * 1280x720 +
- +
-  wget -O '/tmp/GpuTest_Linux_x64.zip' 'http://www.ozone3d.net/gputest/dl/GpuTest_Linux_x64_0.7.0.zip' && unzip '/tmp/GpuTest_Linux_x64.zip' -d '/tmp' && cd '/tmp/GpuTest_Linux_x64_'* && ./GpuTest /test='fur' /width='1280' /height='720' +
- +
-  cd '/tmp/GpuTest_Linux_x64_'* && ./GpuTest /test='fur' /width='1280' /height='720' +
- +
-  /fullscreen /benchmark /benchmark_duration_ms='15000' +
- +
-== NVIDIA Optimus == +
- +
-**** +
- +
-  wget -O '/tmp/GpuTest_Linux_x64.zip' 'http://www.ozone3d.net/gputest/dl/GpuTest_Linux_x64_0.7.0.zip' && unzip '/tmp/GpuTest_Linux_x64.zip' -d '/tmp' && cd '/tmp/GpuTest_Linux_x64_'* && __NV_PRIME_RENDER_OFFLOAD='1' __GLX_VENDOR_LIBRARY_NAME='nvidia' ./GpuTest /test='fur' /width='1280' /height='720' +
- +
-=== FHD === +
- +
-  * 1920x1080 +
- +
-  wget -O '/tmp/GpuTest_Linux_x64.zip' 'http://www.ozone3d.net/gputest/dl/GpuTest_Linux_x64_0.7.0.zip' && unzip '/tmp/GpuTest_Linux_x64.zip' -d '/tmp' && cd '/tmp/GpuTest_Linux_x64_'* && ./GpuTest /test='fur' /width='1920' /height='1080' +
- +
-  cd '/tmp/GpuTest_Linux_x64_'* && ./GpuTest /test='fur' /width='1920' /height='1080' +
- +
-  /fullscreen /benchmark /benchmark_duration_ms='15000' +
- +
-=== UHDTV1 === +
- +
-  * 3840x2160 +
- +
-  wget -O '/tmp/GpuTest_Linux_x64.zip' 'http://www.ozone3d.net/gputest/dl/GpuTest_Linux_x64_0.7.0.zip' && unzip '/tmp/GpuTest_Linux_x64.zip' -d '/tmp' && cd '/tmp/GpuTest_Linux_x64_'* && ./GpuTest /test='fur' /width='3840' /height='2160' +
- +
-  cd '/tmp/GpuTest_Linux_x64_'* && ./GpuTest /test='fur' /width='3840' /height='2160' +
- +
-  /fullscreen /benchmark /benchmark_duration_ms='15000' +
- +
-==== Cleanup ==== +
- +
-**** +
- +
-  rm -Rf '/tmp/GpuTest_Linux_'* && cd ~ && sync +
- +
-===== Show Sensors ===== +
- +
-**** +
- +
-  sudo dnf install 'lm_sensors' -y && sudo sensors-detect --auto && sudo watch -n0.1 sensors +
- +
-===== Show CPU Frequency ===== +
- +
-  grep 'MHz' '/proc/cpuinfo' +
- +
-  watch --interval '0.5' grep \'cpu MHz\' '/proc/cpuinfo' +
- +
-===== OpenSSL Supported Ciphers ===== +
- +
-**** +
- +
-  openssl ciphers -v | awk '{print $2}' | sort | uniq +
- +
-===== Partition Information ===== +
- +
-  * Both commands present the same information +
- +
-  df -hT +
- +
-  df --human-readable --print-type +
- +
-===== Encryption Information ===== +
- +
-**** +
- +
-  sudo cryptsetup -v status '/dev/dm-0' +
- +
-===== ATA Secure Erase ===== +
- +
-  * :!: All ''hdparm'' commands below assume actions to be performed on ''/dev/sda'' +
- +
-==== Preparation ==== +
- +
-  sudo dnf install 'hdparm' && sync +
- +
-  sudo hdparm -I '/dev/sda' +
- +
-  sync && systemctl suspend +
- +
-==== ATA Secure Erase ==== +
- +
-<code>sudo blkdiscard --verbose '/dev/sda'</code> +
- +
-<code>sudo hdparm --user-master u --security-set-pass 'x' '/dev/sda' && sudo hdparm --user-master u --security-erase-enhanced 'x' '/dev/sda' && sync</code> +
- +
-<code>sudo hdparm --user-master u --security-set-pass 'x' '/dev/sda' && sudo hdparm --user-master u --security-erase 'x' '/dev/sda' && sync</code> +
- +
-===== NVMe Erase ===== +
- +
-  * NVMe Erase from the start page lands here and I usually use a Ubuntu LiveUSB to do this, hence the ''apt'' command +
- +
-  sudo apt install 'nvme-cli' -y && sync +
- +
-  sudo dnf install 'nvme-cli' -y && sync +
- +
-  sudo nvme format '/dev/nvme0' --reset --ses='1' --pil='0' --pi='0' --ms='0' && sync +
- +
-===== Clean EFI Variables ===== +
- +
-  * :!: Could potentially cause a firmware brick or other issues with improper EFI implementations, use at own risk ((personally tested fine on several Acer and Dell computers)) +
-  * Safer way is to use ''efibootmgr'' to remove boot entries individually +
- +
-  sudo rm -f '/sys/firmware/efi/efivars/'* || sync && sudo efibootmgr -v +
- +
-===== RAID ===== +
- +
-==== Controller Details ==== +
- +
-  * This can be used to get the Oprom version for Intel RST +
- +
-  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 '/dev/md0' --name='RAID' --level='0' --raid-devices='3' '/dev/sda' '/dev/sdb' '/dev/sdc' --verbose +
- +
-===== VGA Switcheroo Power States ===== +
- +
-  * https://nouveau.freedesktop.org/wiki/Optimus +
- +
-  sudo cat '/sys/kernel/debug/vgaswitcheroo/switch' +
- +
-===== ACPI Tables ===== +
- +
-  * In ''dsdt.dsl'', look for ''_OSI'' values, along with ''Windows'' and ''Linux'' +
- +
-  sudo dnf install 'acpica-tools' +
- +
-  sudo cp --force '/sys/firmware/acpi/tables/DSDT' ~/'dsdt.dat' +
- +
-  cd ~ && iasl -d ~/'dsdt.dat' +
- +
-  gio open ~/'dsdt.dsl' +
- +
-  sudo dnf remove 'acpica-tools' && sync +
- +
-===== Display EDID Info ===== +
- +
-  * https://unix.stackexchange.com/a/114398 +
- +
-  sudo dnf install 'monitor-edid' +
- +
-  monitor-edid +
- +
-===== Custom Resolutions ===== +
- +
-==== Generate Modeline ==== +
- +
-  * Use ''--reduced'' only for LCD/Non-CRT displays, and only as-needed ((useful for reducing amount of bandwidth over cables, particularly in-case of unstable 4k@60Hz set-ups)) +
-  * Syntax is ''horizontal'' (width), ''vertical'' (height) and ''refresh rate'' +
- +
-  cvt '3840' '2160' '60' +
- +
-  cvt --reduced '3840' '2160' '60' +
- +
-<code>--reduced</code> +
- +
-==== Temporarily Apply ==== +
- +
-  * Changes are lost after reboot +
-  * Values after ''--newmode'' are from the above generate command, and is everything after ''Modeline'' +
- +
-  xrandr --newmode "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync +
- +
-  xrandr --addmode 'HDMI-A-0' '3840x2160R' +
- +
-  xrandr --output 'HDMI-A-0' --mode '3840x2160R' +
- +
-=== Verify === +
- +
-**** +
- +
-  xrandr --verbose | grep *current +
- +
-==== Permanently Apply ==== +
- +
-  * ''Identifier'' is the name of the port on the GPU the display is connected to +
-  * ''Modeline'' is from the above generate command, including the text ''Modeline'' +
-  * ''PreferredMode'' is the custom resolution name generated +
- +
-<code> +
-Section "Monitor" +
-    Identifier  "HDMI-A-0" +
-    Modeline x +
-    Option      "PreferredMode" "3840x2160R" +
-EndSection</code> +
- +
-===== Backlight ===== +
- +
-==== Notes ==== +
- +
-  * The following commands with an asterisk expect only one backlight controller at ''/sys/class/backlight'' +
-  * This was only tested on one laptop with ''intel_backlight'' +
-  * See [[#power_management|Power Management notes]] on how to add backlight changes to a udev script +
-  * See [[https://wiki.archlinux.org/index.php/backlight|backlight]] for more details +
- +
-==== Controller Name ==== +
- +
-**** +
- +
-  ls '/sys/class/backlight' +
- +
-==== Query Current Brightness ==== +
- +
-**** +
- +
-  cat '/sys/class/backlight/'*'/brightness' +
- +
-==== Query Max Brightness ==== +
- +
-**** +
- +
-  cat '/sys/class/backlight/'*'/max_brightness' +
- +
-==== Set Custom Brightness ==== +
- +
-  * Change ''376'' to desired brightness +
-  * Desired brightness **must** be under ''max_brightness'' value +
- +
-  echo "376" | sudo tee '/sys/class/backlight/'*'/brightness' > '/dev/null' +
- +
-==== Set Max Brightness ==== +
- +
-**** +
- +
-  echo "$(cat '/sys/class/backlight/'*'/max_brightness')" | sudo tee '/sys/class/backlight/'*'/brightness' > '/dev/null' +
- +
-===== Intel GuC Firmware ===== +
- +
-  sudo cat '/sys/kernel/debug/dri/0/i915_guc_info' +
- +
-  sudo cat '/sys/kernel/debug/dri/0/i915_guc_load_status' +
- +
-===== HT/SMT Information ===== +
- +
-**** +
- +
-  grep -e "processor" -e "core id" -e "^$" /proc/cpuinfo +
- +
-===== Optimal GCC compiler flags ===== +
- +
-**** +
- +
-  gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 | perl -pe 's/ -mno-\S+//g; s/^.* - //g;' +
- +
-====== Privacy ====== +
- +
-===== Clear Terminal History ===== +
- +
-**** +
- +
-  history -cw +
- +
-===== Create 7z Password Archive ===== +
- +
-  * Change ''7ZIPNAME'' in ''7ZIPNAME.7z'' to the desired archive name +
-  * Change ''PASS'' in ''-pPASS'' to the desired password +
-  * Change ''x'' to the file or folder to add to the archive +
- +
-  7za a '7ZIPNAME.7z' -p'PASS' 'x' +
- +
-  7za a 'x.7z' -p'x' 'x' +
- +
-===== oathtool ===== +
- +
-  * ''x'' is a secret without ''&digits=6'' +
- +
-  sudo dnf install 'oathtool' +
- +
-  oathtool --totp -b 'x' +
- +
-===== Remove EXIF data ===== +
- +
-  sudo dnf install 'perl-Image-ExifTool'+
  
-  exiftool -all= *.* -overwrite_original 
/var/www/wiki/data/pages/distros/fedora_workstation_gnome.txt · Last modified: 2024/04/07 15:21 by Sean Rhone