- .ssh directory 700 (drwx------)
- public key (.pub file) 644 (-rw-r--r--)
- private key (id_rsa) 600 (-rw-------)
- lastly your home directory should not be writeable by the group or others (at most 755 (drwxr-xr-x)).
write to /etc/zsh/zprofile
emulate sh -c 'source /etc/profile'
logout/reboot
sudo dmidecode --type memory
git rebase -i HEAD~1
set edit
for commit, and than run
git commit --amend --author="username <[email protected]>" --no-edit
git rebase --continue
compaudit | xargs chmod g-w
sudo vim /etc/default/grub
GRUB_CMDLINE_LINUX="iommu=soft"
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
sudo vim /etc/default/grub
GRUB_CMDLINE_LINUX="rhgb quiet iommu=pt amd_iommu=on amdgpu.modeset=1 amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=1 pci=nommconf"
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
kernel-6.13.4 (fixed issue when proton game crashed pc)
sudo dnf versionlock add kernel-6.13.4*
and for unlock (if need)
sudo dnf versionlock delete kernel-6.13.4*
sudo vim /etc/pulse/default.pa
comment line with load-module module-role-cork
reboot
To make the partition auto-mount, first find out the UUID of /dev/sda3 by doing:
sudo blkid
I'll assume you're using ext4 on /dev/sda3. Open up gedit like so:
sudo -H vim /etc/fstab
Now you want to add a line to the bottom of that file. It should look something like this (UUID will be different):
UUID=03ec5dd3-45c0-4f95-a363-61ff321a09ff /works ext4 defaults 0 2
For more info on fstab, this is a good resource - https://wiki.archlinux.org/index.php/Fstab.
steam --reset
Deleting Windows hibernate metadata As an alternative to above clean shutdown method, there is a way to completely destroy NTFS metadata that was saved after hibernating. This method is only feasible if you are not able or unwilling to boot into Windows and shut it down completely. This is by placing remove_hiberfile option when you are mounting your NTFS file system using ntfs-3g.
mount -t ntfs-3g -o remove_hiberfile /dev/your_NTFS_partition /mount/point
https://github.com/Matoking/protontricks
I tried the WINEPREFIX solution mentioned above to no avail, ended up finding protontricks that stratus mentioned on github soon after.
Here is what worked for me:
Fetch protontricks from github and mark executable
wget https://raw.githubusercontent.com/Sirmentio/protontricks/master/protontricks && chmod +x protontricks
move protontricks to /usr/bin so it can be ran from terminal
sudo mv protontricks /usr/bin/protontricks
setup xact for banished on steam
protontricks 242920 xact
run winecfg for banished prefix using protontricks
protontricks 242920 winecfg
click on libraries and add xact and xaudio2_7, leave them with native, builtin https://i.imgur.com/lvguBoG.png
this is with Ubuntu 18.04, WINEPREFIX solutions did not work for me in this case, but this did.
env WINEPREFIX="/home/warfacez/Games/SteamLibrary/steamapps/common/Proton 4.11/dist/share/default_pfx" WINEPATH="/home/warfacez/Games/SteamLibrary/steamapps/common/Proton 4.11/dist/bin/wine64" winetricks videomemorysize=2048
https://www.gamingonlinux.com/wiki/Performance_impact_of_Mesa_glthread
https://github.com/FeralInteractive/gamemode
put this into console (tab)
r.bloomquality 0
r.lightshafts 0
sudo usermod -aG docker $USER
exec bash
source ~/.bashrc
exec zsh
source ~/.zshrc