Bug 460400 - KF6: migrate all ordinary ~/.config/ files into suitable ~/.config/ subdirectories
Summary: KF6: migrate all ordinary ~/.config/ files into suitable ~/.config/ subdirect...
Status: RESOLVED DUPLICATE of bug 422529
Alias: None
Product: frameworks-kconfig
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-13 23:30 UTC by Felix Miata
Modified: 2022-10-14 21:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Miata 2022-10-13 23:30:30 UTC
Original summary:
migrate all ordinary ~/.config/ files into suitable ~/.config/ subdirectories

Problem: User experiences errant Plasma behavior. User creates and logs in as new user and errant Plasma behavior is absent. User wants to reset his personal settings by deleting settings files in ~/.config/, but cannot clearly distinguish between KDE/Plasma settings files and settings for other apps or DEs with settings files in ~/.config/.

Solution: move all files ever extant in root of ~/.config/ into suitably named subdirectories of ~/.config/ so that users won't have to guess which to delete to extinguish errant behavior.

example user problem report:
https://forums.opensuse.org/showthread.php/576325-Dark-monitor-ans-HDMI-off

I would have selected product kdelibs had there been any way apparent from links on https://bugs.kde.org/enter_bug.cgi to get there, or its presence in any product select list in any of the categories via the "First, you must pick a classification on which to enter a bug:"  see bug 460396

cf. bug 94611 product/component assignments and subject matter
Comment 1 Nate Graham 2022-10-14 20:19:43 UTC
This is something that a lot of people have been asking for, and I think it makes sense. There are two ways I could see this working:
1. Automatically, by having kconfig write apps. rc files to ~/.config/[app name]/ automatically, instead of ~/.config. When reading, if that location doesn't exist; fall back to looking for the file in ~/.config
2. Introduce a new API to do this and deprecate the old one for KF6, so all KDE apps have to ope into it
3. Introduce a new API for this and don't deprecate the old one, so it remains opt in

My preference would be #1 or #2.
Comment 2 Nate Graham 2022-10-14 20:23:17 UTC
Oh I forgot we already have Bug 422529.

*** This bug has been marked as a duplicate of bug 422529 ***