Zandronum Chat @
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003233Doomseeker[All Projects] Bugpublic2017-09-01 10:582017-09-09 18:58
Assigned ToBlzut3 
Platformx86_64 (really cross-platform)OSDebian GNU/LinuxOS Versionbuster/sid
Product Version1.1 
Target Version1.2Fixed in Version 
Summary0003233: Add support for the XDG Base Directory Specification and default to it
DescriptionDoomseeker creates a config directory to /home/<username>/.doomseeker (Note: Not $HOME, username hard-written in config) and sets default Wadseeker and IWAD/PWAD paths to it.

To avoid polluting $HOME, the XDG Base Directory Specification should be implemented.

User-specific config files should be written to $XDG_CONFIG_HOME (default: $HOME/.config), e.g. $HOME/.config/doomseeker.

User-specific Wadseeker and IWAD/PWAD paths should default to $XDG_DATA_HOME (default: $HOME/.local/share), e.g. $HOME/.local/share/doomseeker.
Steps To Reproduce

  1. Ensure no existing user-specific configuration is present (e.g. remove $HOME/.doomseeker).

  2. Run Doomseeker. A message should popup about first-time configuration check.

  3. $HOME/.doomseeker is automatically created.

Additional Information [^]

/home/<username>/ may be hardcoded to many config files, including server browser and server configuration may fail to load if the username is changed.
Attached Files

- Relationships
child of 0003246new Debian packaging. 

-  Notes
User avatar (0018250)
Zalewa (developer)
2017-09-09 18:53
edited on: 2017-09-09 18:58

If we're about to recognize $HOME as an expression expanding to the user, well, $HOME, should we also allow any env variable to be used? Someone might have $MY_SECRET_DOOM_FOLDER, after all.

On Windows env variables are used by wrapping them in percent signs, like this: %HOMEDRIVE%%HOMEPATH%:


Do we consider $HOME a special variable that will expand to $HOME on Linux and %USERPROFILE% on Windows or do we disable this feature for Windows builds? (by this I mean that we should probably be using QStandardPaths)

QDir::homePath() documentation presents how the path should be seeked on Windows: [^]

I haven't checked if Qt will expand '~' automatically - maybe that's the correct venue here?

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2017-09-01 10:58 WubTheCaptain New Issue
2017-09-01 16:29 Zalewa Relationship added child of 0003246
2017-09-06 02:34 Blzut3 Assigned To => Blzut3
2017-09-06 02:34 Blzut3 Status new => assigned
2017-09-06 02:34 Blzut3 Target Version => 1.2
2017-09-09 18:53 Zalewa Note Added: 0018250
2017-09-09 18:58 Zalewa Note Edited: 0018250 View Revisions
2017-09-09 18:58 Zalewa Note Edited: 0018250 View Revisions

Questions or other issues? Contact Us.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker