Skip to content

Instantly share code, notes, and snippets.

@T31337
Created June 6, 2024 14:59
Show Gist options
  • Save T31337/c146161cd108835b838658d5bd2af4f0 to your computer and use it in GitHub Desktop.
Save T31337/c146161cd108835b838658d5bd2af4f0 to your computer and use it in GitHub Desktop.
Modifications For SteamOs
SteamOS MODS:
#Increase To 2GB Memory Limit:
cat << EOF | sudo tee /etc/security/limits.d/memlock.conf
* hard memlock 2147484
* soft memlock 2147484
EOF
#Revert To Default Memory Limit:
sudo rm /etc/security/limits.d/memlock.conf
#Disable Write File Access Time
sudo sed -i -e '/home/s/\bdefaults\b/&,noatime/' /etc/fstab
#Re-enable Wrtie File Access Time
sudo sed -i -e 's/,noatime//' /etc/fstab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment