johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.33k stars 290 forks source link

Nonsensical folder names #1098

Closed ben2talk closed 12 months ago

ben2talk commented 1 year ago

Question: I would like to know why, when I can find ~/config/strawberry, and ~/.config/blender, and ~/.config/calibre I cannot find ~/.config/foliate.

It seems the 'standard' for locating and naming files is ignored and some 'com.github.jonfactotum' must be appended.

Version:

This causes problems when the program bugs out, for example the library view containing books no longer present, which don't get removed - I want to simply clear the preferences by renaming ~/.config/foliate but find that there are many other folders and it is not so trivial or simple to do the job (as it is with most other software).

johnfactotum commented 1 year ago

It seems the 'standard' for locating and naming files is ignored and some 'com.github.jonfactotum' must be appended.

The reverse domain name thing is pretty common. It's used by many GNOME apps, e.g. GNOME Text Editor.

I would like to know why

I don't think there's any spec that says you should use the reverse domain name for the data/config/cache directories, but many apps (and some libraries, such as WebKitGTK) simply use the application ID, which must be in reverse domain name notation, which is designed to avoid naming conflicts.

This causes problems when the program bugs out, for example the library view containing books no longer present, which don't get removed - I want to simply clear the preferences by renaming ~/.config/foliate