|
|
Linux Technical issues under Linux platform |
![]() |
|
Thread Tools | Display Modes |
![]() |
#1 |
Master
![]() ![]() ![]() Join Date: May 2007
Location: Friesland, the Netherlands
Posts: 298
![]() |
![]()
On Linux the Regnum Online client stores two pieces of data in your home folder: the hidden folder '.ngdstudios' and the hidden file '.rolauncher'.
However, they're stored right in ~, your home root directory. This doesn't follow the FreeDesktop XDG Base Directory Specification, and therefore rolauncher is one of the (too) many applications cluttering your home directory. The XDG Base Directory Specification creates three different locations for configuration files, data and cache. The user can control this location and so relocate data if he'd wanted to. There are:
I assume that it would be the best solution to store both files of the Regnum Online client in $XDG_CONFIG_HOME. For getting the $XDG_CONFIG_HOME variable you can use the Glib function 'g_get_user_config_dir()' when using C. Also see this blogpost: Modify your application to use XDG folders.
__________________
|
![]() |
![]() |
![]() |
|
|