Application settings not saved upon (unclean) exit

Questions about Wine on Linux
Locked
ericcs
Newbie
Newbie
Posts: 1
Joined: Mon Sep 30, 2024 3:40 pm

Application settings not saved upon (unclean) exit

Post by ericcs »

Hi all,

I have a problem running Wine 9.0 and Windows app settings. Whenever an app exits "unclean" (e.g. I just reboot my PC) without closing the Windows app before, all settings will just be lost. I observe this behavior ever since using Wine - it's not specific to version 9.0.

As an example, when running Notepad++ under Wine, I enable auto word wrap in its settings. This works and is also restored properly when I close Notepad++ explicitly before a reboot. When I just reboot my PC without closing Notepad++ before, all settings I made will just be lost. And the settings of the previous "clean" exit will be restored when I open Notepad++ next time. Can this be prevented somehow, e.g. by saving the state of a running Windows app periodically somehow? Or is there a trick that I can tell Linux (Ubuntu 20.04 in my case) to close any running Wine app "cleanly" rather than killing it forcibly, e.g. before a reboot?

Notepad++ is just one example. It happens for other Windows apps, too.

Any help is greatly appreciated. Many thanks in advance.
Locked