- .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/grubGRUB_CMDLINE_LINUX="iommu=soft"
sudo grub2-mkconfig -o /boot/grub2/grub.cfgreboot
sudo vim /etc/default/grubGRUB_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.cfghttps://rpmfusion.org/Howto/Multimedia
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
rebootThis will resolve Steam unaible to retlive clip information (2) also ;)
sudo dnf install kojiinstall
cd $(mktemp -d) \
&& koji download-build --arch=x86_64 --arch=noarch kernel-n.nn.nn-nnn.fcnn \
&& rm *debug*.rpm \
&& rm *uki*.rpm \
&& sudo dnf install *for example:
cd $(mktemp -d) \
&& koji download-build --arch=x86_64 --arch=noarch kernel-6.13.4-200.fc41 \
&& rm *debug*.rpm \
&& rm *uki*.rpm \
&& rm *perf*.rpm \
&& rm rtla*.rpm \
&& rm rv*.rpm \
&& sudo dnf install * --skip-unavailableneed install again when you upgrade kernel
can find https://koji.fedoraproject.org/koji/search?match=glob&type=build&terms=kernel-* fc is fedora version
For set default kernel https://docs.fedoraproject.org/en-US/quick-docs/kernel-booting/
kernel-6.13.4 (fixed issue when proton game crashed pc)
sudo dnf install 'dnf-command(versionlock)'sudo dnf versionlock add kernel-6.13.4*and for unlock (if need)
sudo dnf versionlock delete kernel-6.13.4*Knowned working kernel versions: Actual list
| Version | Work |
|---|---|
| 6.13.3 | No |
| 6.13.4 | Yes |
| 6.13.5 | - |
| 6.13.6 | - |
| 6.13.7 | No |
| 6.13.8 | No |
| 6.13.9 | No |
| 6.13.10 | No |
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 blkidI'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 --resetDeleting 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 $USERexec bash
source ~/.bashrc
exec zsh
source ~/.zshrc