Announcement

Collapse
No announcement yet.

What happened to /etc/sysctl.conf in Kubuntu 25.04?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    What happened to /etc/sysctl.conf in Kubuntu 25.04?

    New install on my laptop of Kubuntu 25.04 and went to edit /etc/sysctl.conf to configure swappiness and file no longer exist/empty. Where do I need to go to add my setting vm.swappiness=10? Thank you for your help.

    #2
    The file "/etc/sysctl.conf" no longer exists.

    Set the swappiness to '10' with:
    Code:
    sudo sysctl vm.swappiness=10
    Source​
    Kubuntu 25.04 'Plucky Puffin'

    Comment


      #3
      /etc/sysctl.conf might still be read if you create it, but a "better" option would be to create a *.conf file in /etc/sysctl.d/ (for example "/etc/sysctl.d/90-myswappiness.conf" and put it there.

      Comment

      Working...
      X