You would probably look weird at an software that installs itself in C:\MYAWESOMEAPPLICATION instead of using the Windows program folder like literally every other piece of software (except for legacy stuff like LTSpice). Creating visible directories in the home folder without asking is the Linux equivalent of doing just that.
Check if the XDG environment variables are set and store your stuff in these places — as it is now can be used as a last resort fallback. For reading config/data you do the same.
I just glanced through that spec and find it agreeable..
Even with the "Portable" file, it creates a directory `/home/bisby/Grayjay`. I don't want that. No app should ever put a file or directory directly in `/home/bisby` without me asking it to. The Linux standard for "where should an app put it's files" is defined the XDG spec that I had previously linked (https://specifications.freedesktop.org/basedir-spec/latest/).
The summary is that user specific data should live in $XDG_DATA_HOME and config should live in $XDG_CONFIG_HOME (and various other things like $XDG_CACHE_HOME). If these values are unset, there are predefined places to put the files (eg, data in $HOME/.local/share or config in $HOME/.config, cache in $HOME/.cache).
This puts all the Grayjay data in places like /home/bisby/.config/Grayjay (instead of /home/bisby/Grayjay) which is nested away inside a hidden directory and structured in a consistent way.
This would be the equivalent of putting data in %AppData% in windows instead of cluttering someone's "My Documents" (or whatever the modern equivalent of that is).
Some of the Linux decisions feel a bit like linux is a complete afterthought, but included because Linux users tend to agree with the FUTO philosophies. That is a reasonable thing given the Linux market share, and for "Build Version: 2" that I'm seeing the app info, I'm grateful that linux is included this early. This looks like it can probably replace freetube for me. However, it would go a long way if things are done to make sure they are done the "right way" on Linux (ie, on packaging and on directory specs).
Thanks for the work you've done on freeing up the web.
So no, "portable" is not what you want. If you launch it as non-portable and it drops a folder in ~, then that is a problem.
But either way, Portable mode isn't behaving portably because it's touching directories outside of the current directory, and non-portable mode is putting data in ~/Grayjay instead of ~/.config/Grayjay so it doesn't do what I want it to do in any mode.
I'm quite happy actually that while this is a HUGE annoyance... It's also only an annoyance, and VERY simple to fix (as long as they do). Which means that this app is likely going to wind up as a daily driver for me once a few things get ironed out. I see the concept and structure of the app, and I like it.
[0]: https://docs.flatpak.org/en/latest/basic-concepts.html
[1]: https://docs.flatpak.org/en/latest/sandbox-permissions.html
As a linux user I wanted to make sure to say thank you for supporting and thinking about linux!
edit: it's not actually open source by the OSI definition it seems [1], but it is reasonably close.
Is the word "hate" really so odious?
I stand by the points I made, but I could have been friendlier. I normally make an effort to be friendly as I can about things, but I absolutely did not here. I hope that nothing I said came across as vitriol, but rather, valid criticism. I'm a strong believer in criticizing the things you love, but I need to remember that random comments on HN aren't the place where people know I love the thing, and my criticism needs context.
So no, it wasn't really that odious, but it was other things. Do I feel stricken with guilt or remorse about what I said? No. Could I have been friendlier? yes. Should I have been friendlier? Probably.
I don't understand the weird tone policing that people are trying to do, there is literally nothing wrong with the parent's comment and pretending otherwise is weird.
> I absolutely hate <stuff that does X> like this
> I absolutely hate having stuff automatically create anything in my home directory like this.
Which is
> I absolutely hate <action> like this
Which is not
> I absolutely hate <thing that does action> like this
I quite like grayjay. I just dislike this one thing it does.
Comments like the one above do not belong here at all, it's childish, it brings absolutely 0 value to readers, and it's against the guidelines because it degrades the quality of HN for everyone.
And FUTO is a commercial for-profit operation, not voluntary driven. Their devs are paid.
What is considered impolite in the US or the UK is considered just being straightforward in e.g. Scandinavia.
I am German, we're kind of in the middle between someone from e.g. Finland and someone from e.g. or the UK or US with what we consider "ok" or rather crossing into rude territory.
A common exchange I witnessed in a meeting at work (Nokia):
Finnish developer: And if we follow this suggestion we will all look like idiots.
UK developer: I hear you.
Deciding which one is more impolite or impolite at all is left as an exercise to the reader. ;)
You get my point.
Also I still find it funny that OpenSSH client shipped via feature uses %HOMEDIR%\.ssh
Could you look at supporting a Flatpak for Linux? If unsure, I'll happily throw a manifest together and post it on a MR.
[1] https://github.com/nix-community/nix-ld [2] https://github.com/Mic92/envfs
The blog post linked by [1] is quite good.