Yup, That’s it…
swapon
returned:
NAME TYPE SIZE USED PRIO
/dev/sda3 partition 8.8G 12.1M -2
sudo swapoff /dev/sda3
sudo fallocate -l 12G /swapfile
sudo mkswap /swapfile
returned:
mkswap: /swapfile: insecure permissions 0644, 0600 suggested.
Setting up swapspace version 1, size = 12 GiB (12884897792 bytes)
no label, UUID=769b3980-d6e5-476a-ad0b-e842b2a348ee
sudo chmod u=rw,go= /swapfile
sudo swapon /swapfile
sudo bash -c "echo /swapfile none swap defaults 0 0 >> /etc/fstab"
Now, swapon
returns:
NAME TYPE SIZE USED PRIO
/swapfile file 12G 780K -2
What’s next? I’ll try a reboot, then hybrid sleep and log in again and see if any changes.
Edit: Hmm still doing the same. Programs don’t respond so I close them and keyboard shortcuts not working upon logging back in after hybrid sleep. I can’t get into the audio controls from the bottom right when I come out of hybrid sleep too, as well as the keyboard audio controls not working.
Well, with the information I have I can’t think of anything else that could cause this, so I’m sorry to have been of no real help at all…
Could this have anything to do with it?
cat /proc/sys/vm/swappiness
10
I changed it from 60 when I first installed Manjaro.
I saw that here already:
and no: that has no influence (and you should read the documentation before applying changes like this so you now what the advantages and disadvantages of this kernel parameter are)
Like I said: