This isn't a wine issue. It's a subdirectory thing. It seems that if you put a .desktop file > 1 subdirectory down, it won't work. I tested this with chromium.desktop.
Placing it in ~/.local/share/applications/test/ creates an entry in gsettings "test-chromium.desktop" and it persists when I log out/in.
Placing it in ~/.local/share/applications/test/test2/ creates an entry in gsettings "test-test2-chomrium.desktop" and it no longer persists.
If I make the entry with "/" instead of "-" it persists no matter what.
This isn't a wine issue. It's a subdirectory thing. It seems that if you put a .desktop file > 1 subdirectory down, it won't work. I tested this with chromium.desktop.
Placing it in ~/.local/ share/applicati ons/test/ creates an entry in gsettings "test-chromium. desktop" and it persists when I log out/in.
Placing it in ~/.local/ share/applicati ons/test/ test2/ creates an entry in gsettings "test-test2- chomrium. desktop" and it no longer persists.
If I make the entry with "/" instead of "-" it persists no matter what.