All KDE settings got reset to defaults after running out of battery during sleep

My laptop ran out of battery while being in sleep mode with one active session. Upon reconnecting power and booting, the session was still intact, but I noticed that my desktop theme had changed from dark to light. Everything else was still as usual. “Just a harmless bug” I thought, and rebooted. Suddenly all of my KDE settings seemed to have been reset to their defaults, not just the theme. Taskbar looked like a fresh install, all my custom keyboard shortcuts had been deleted. Also, for some reason Thunderbird didn’t find any of my profiles anymore, even though the data in my local folder was still there. Luckily I had a very recent timeshift backup from which I was able to restore the configuration, but at the same time I was shocked/amused at how easily technology can collapse in on itself, for no apparent reason.

Just posting this to ask if anyone has experienced the same issue, and if possible causes are known? I’m aware that similar bugs have been reported in the past, but afaik they’re supposed to be fixed at this point and were not specifically associated with resuming from sleep/hibernation. My hard drive is encrypted, so I’m wondering whether the system somehow wasn’t able to properly save and retrieve my custom settings when attempting to resume the session, instead simply overwriting everything with the defaults. Any input is greatly appreciated, thanks in advance!

Welcome to Manjaro! :smiling_face_with_three_hearts:

  1. Please read the information behind this link. It will help you to post necessary information.
  1. Please press the three dots below your post and then press the :pencil2:
  • If you give us information about your system, we can see what we’re talking about and make better suggestions.
  • You can do this by using inxi in a terminal or in console.
sudo inxi --admin --verbosity=8 --filter --no-host --width --repos
  • Personally identifiable information such as serial numbers and MAC addresses are filtered out by this command
  • Presenting the information in this way allows everyone to be familiar with the format and quickly find the items they need without missing anything.
  1. Copy the output from inxi (including the command) and paste it into your post.
  • To make it more readable, add 3 backticks ``` on an extra line before and after the pasted text.

Have you already :mag: for your problem in the forum ? (Wisdom lies in asking → listening → reading :wink: )

I’m glad you had a backup and managed to rescue your system.

Consider hibernating when device is asleep for a long time to prevent data loss in future. Or you can hibernate straight away when you know that you won’t need to the use machine anytime soon. Some info here:

You can toggle it in “System Settings” here in “Energy Saving”:


And further tune it in:


(Make sure your hibernation works first)

I’m pretty new to both Linux and Manjaro so take it with a grain of salt.