Re: [PATCH] XDG base directory support (history and wxt)

Petr Mikulik <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <[email protected]>
> I'm not a fan of XDG basedir, but moving only ~/.gnuplot to XDG
> directory may be a kind of "half done".
>
> Attached is a possible patch for moving ~/{.gnuplot_history,.gnuplot-wxt}
> to XDG directories (it seems qtterminal.conf is already taken care of).
> Since only one file (the history file) is saved in the directory, I think
...
> we can save it directly under XDG ( ~/.local/state/gnuplot_history)
> instead of saving it as ~/.local/state/gnuplot/history.

I noticed many programs store they files in $HOME/.config, and some in 
$HOME/.local/share, and some in all of them.

I don't have $HOME/.local/state.

For example Midnight Commander: there is a command line option
 	mc -F
which shows these locations.


I see that QT terminal has its config in $HOME/.config/gnuplot, while WX 
terminal in $HOME. I think WX config should go to $HOME/.config/gnuplot/ as 
well.

---
Petr Mikulik


_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.