I usually use both xfce and kde plasma for my daily use, but everytime i switch all my logins in brave restars and i have to login with all my accounts again
Ok now I understand, so is it the saved passwords that are lost? Or is it just the cookies that are lost (in other words, you visit the site, but Brave does remember the password) or “D all of the above”? where it not only forgets you were logged in, but also forgot the saved passwords?
This one I’m not too sure, I’ll let someone else step in, because in genera on Linux, Brave stores these configurations in the same folder under your user directory no matter the DE, so it might be something else in the DE’s doing it (Keyring maybe?).
EDIT: It might be the keyring, I saw this post which had a solution to edit the shortcut to tell where Brave to pull from and it might be what is actually needed for you. Keep in mind this is not tested by me as I don’t have a single Linux install with more than one DE to really test it with, but worth a lookover in this persons response: Brave wants keychain password on Linux - #4 by Hikane
I think that might be the connection and why it “resets”, it’s like dual identities on different DE’s as each one has its own method of securing. (You likely need to edit the “gnome” portion to “xfce” but being xfce uses GTK, not actually sure there.)
Changing between desktop environments that don’t default to the same password store backend (e.g. switching from GNOME to KDE) without letting Chromium know about it (via --password-store=gnome-libsecret in this example).
And prior to that they explained:
Linux:
The encryption key will be added to a password store backend, which by default is inferred from the desktop environment you use (e.g. GNOME Libsecret for GNOME, KWallet 5 for KDE 5, etc.).