freeciv21 icon indicating copy to clipboard operation
freeciv21 copied to clipboard

Merge client configuration files

Open jwrober opened this issue 3 years ago • 6 comments

Is your feature request related to a problem? Please describe. I think we should merge all of the client configuration files into one. Right now we have

~/.config/freeciv21-client.ini ~/.local/share/freeciv21/freeciv-client-rc-3.0

Describe the solution you'd like Rename ~/.local/share/freeciv21/freeciv-client-rc-3.0 to ~/.local/share/freeciv21/freeciv21-client-rc and then merge the contents of ~/.config/freeciv21-client.ini into ~/.local/share/freeciv21/freeciv21-client-rc

Describe alternatives you've considered None

Additional context N/A

jwrober avatar Aug 12 '21 14:08 jwrober

The use of .config is conforming to the XDG spec, .local should not be used for configuration files.

lmoureaux avatar Aug 12 '21 16:08 lmoureaux

Might think about using KConfig as a more robust way to manage client configuration

  • https://invent.kde.org/frameworks/kconfig
  • https://invent.kde.org/frameworks/kconfigwidgets

jwrober avatar Jan 22 '23 20:01 jwrober

KConfig docs:

  • https://develop.kde.org/docs/use/configuration/introduction/
  • https://api.kde.org/frameworks/kconfig/html/index.html

lmoureaux avatar Jan 22 '23 21:01 lmoureaux

Related: #568

jwrober avatar Apr 06 '23 20:04 jwrober

https://develop.kde.org/docs/features/configuration/introduction/

jwrober avatar Jan 21 '24 23:01 jwrober

As I continue to think about this issue... I want to take advantage of the big move to Qt6 to go to kconfig. I also want to move all "config" to common so other apps like the modpack-installer or even ruledit can use the same themes or other common themes.

jwrober avatar Apr 14 '24 23:04 jwrober