[linux] Zdoom doesn't save screenshots in ~/.zdoom +Request

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

[linux] Zdoom doesn't save screenshots in ~/.zdoom +Request

Post by Macil »

In the linux version of zdoom, if you take a screenshot, it will save it in zdoom's program directory, instead of the ~/.zdoom folder where the gamesaves and ini are kept. This is a problem if the game directory is write protected, or the current user doesn't have privileges to write to it, and just isn't consistent.


Edit: This is more of a request, but is relevant with the user's home folder-vs-program directory issue: The linux version of zdoom doesn't have support for a default ini file. (In windows, if zdoom doesn't find an .ini file for the current user, it makes a copy based off of 'zdoom.ini'.) I propose that if zdoom doesn't find a ~/.zdoom/zdoom.ini file, it reads in the $PROGDIR/zdoom.ini file first and uses defaults based off of that.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [linux] Zdoom doesn't save screenshots in ~/.zdoom +Request

Post by randi »

Agent ME wrote:I propose that if zdoom doesn't find a ~/.zdoom/zdoom.ini file, it reads in the $PROGDIR/zdoom.ini file first and uses defaults based off of that.
You do realize this goes totally against established Unix policy that says the only thing that belongs in the program directory is the program itself and none of its data files, right? Trying to put screenshots in there is definitely not appropriate, but neither is reading a config file appropriate. $PREFIX/share/zdoom/zdoom.ini or something like that would probably be more correct.

What's more, that the Windows version can read zdoom.ini was never intended as a feature but is just backwards-compatibility from a time when every user shared the same configuration file. This was never the case with the Linux version, which always used a separate config for separate users.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: [linux] Zdoom doesn't save screenshots in ~/.zdoom +Request

Post by Macil »

Ok, that sounds better, I haven't been using linux too long.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [linux] Zdoom doesn't save screenshots in ~/.zdoom +Request

Post by randi »

Screenshots are now saved by default in ~/.zdoom/screenshots.
Post Reply

Return to “Closed Bugs [GZDoom]”