Sometimes after some weeks of uptime when I entered my office in the morning, I discovered a freezed Plasma. To fix this, enter the system via SSH and then execute this command:
sudo systemctl restart sddm
And without re-login:
kquitapp5 plasmashell && kstart5 plasmashell
If a NTFS volume cannot be mounted due to a corrupted filesystem, it might be repairable by using nftsfix
:
sudo ntfsfix -d /path/to/blockdevice
Example: sudo ntfsfix -d /dev/sda1
After running this command the filesystem might be able to mounted again.
If you got any error of the following when running apt
or anything else:
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Falling back to the standard locale (āCā)
perl: warning: Setting locale failed.
Just run the following command and select the correct locale:
sudo dpkg-reconfigure locales
Or use:
sudo localectl set-locale en_US.UTF-8
To allow any user to read/write a directory adjust permissions with:
chmod -R 0777 /path/to/dir
-R
sets the permissions recursively.
Sourced from superuser.com - Chmod to allow read and write permissions