Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
distros:fedora_workstation_gnome [2020/06/12 03:13] – [Secure Shell] Sean Rhone | distros:fedora_workstation_gnome [2020/08/16 14:02] – Sean Rhone |
---|
* Using ''Unified hosts + fakenews + gambling'' | * Using ''Unified hosts + fakenews + gambling'' |
| |
wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sudo cp '/etc/hosts' '/etc/hosts-bak' && sudo mv '/tmp/hosts-tmp' '/etc/hosts' && sync | wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts' && sudo cp '/etc/hosts' '/etc/hosts-bak' && sudo mv '/tmp/hosts-tmp' '/etc/hosts' && sync |
| |
cat '/etc/hosts' | grep 'Date:' | cat '/etc/hosts' | grep 'Date:' |
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 'dnf clean 'all' && dnf distro-sync -y && sync && flatpak update && rm -Rfv '/usr/lib64/firefox/browser/features' '/home/'*'/.mozilla/firefox/'*'/features' && wget -O '/etc/hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''" | gnome-terminal --command "sudo sh -c 'dnf clean 'all' && dnf distro-sync -y && sync && flatpak update && rm -Rfv '/usr/lib64/firefox/browser/features' '/home/'*'/.mozilla/firefox/'*'/features' && wget -O '/etc/hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts' && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''" |
| |
==== Keys ==== | ==== Keys ==== |
====== Xorg ====== | ====== Xorg ====== |
| |
* See [[notes:xorg.conf_snippets|xorg.conf Snippets]] for more configurations | * See [[notes:xorg.conf_snippets|xorg.conf Snippets]] |
| * :!: Ideally ''modesetting'' should be used |
===== Spinesnap ===== | |
| |
==== intel + nouveau ==== | |
| |
sudo dnf install xorg-x11-drv-intel xorg-x11-drv-nouveau -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' | |
| |
<code> | |
Section "OutputClass" | |
Identifier "Intel Graphics" | |
MatchDriver "i915" | |
Driver "intel" | |
Option "DRI" "3" | |
Option "TearFree" "0" | |
EndSection | |
| |
Section "OutputClass" | |
Identifier "NVIDIA Graphics" | |
MatchDriver "nouveau" | |
Driver "nouveau" | |
Option "DRI" "3" | |
EndSection</code> | |
| |
====== Mozilla Firefox ====== | ====== Mozilla Firefox ====== |
* :!: If Firefox doesn't open automatically, ''firefox -p default'' must be ran the first time Firefox is started after this command | * :!: If Firefox doesn't open automatically, ''firefox -p default'' must be ran the first time Firefox is started after this command |
| |
ls '/tmp/profiles.ini' '/tmp/user.js' && pkill 'firefox' && rm -Rfv ~/'.mozilla' && sync && mkdir -p ~/'.mozilla/firefox/'$USER && mv '/tmp/profiles.ini' ~/'.mozilla/firefox/profiles.ini' && mv '/tmp/user.js' ~/'.mozilla/firefox/'$USER'/user.js' && sync && cat ~/'.mozilla/firefox/profiles.ini' | grep $USER && cat ~/'.mozilla/firefox/'$USER'/user.js' | grep 'Custom Stuff' && sleep '1' && sync || firefox -p 'default' | ls '/tmp/profiles.ini' '/tmp/user.js' && pkill -f 'firefox' && rm -Rfv ~/'.mozilla' && sync && mkdir -p ~/'.mozilla/firefox/'$USER && mv '/tmp/profiles.ini' ~/'.mozilla/firefox/profiles.ini' && mv '/tmp/user.js' ~/'.mozilla/firefox/'$USER'/user.js' && sync && cat ~/'.mozilla/firefox/profiles.ini' | grep $USER && cat ~/'.mozilla/firefox/'$USER'/user.js' | grep 'Custom Stuff' && sleep '1' && sync || firefox -p 'default' |
| |
===== Extensions ===== | ===== Extensions ===== |