You are not logged in.
As title speaks it self, I installed gnuplot 5.4 from arch extra repo. And it continuously leaves a .gnuplot-history file in my home directory.
According to archwiki, gnuplot added support to XDG base directory after a PR merge in 2020, and seems that that hist file can be placed in $XDG_STATE_DIR. So I create the dir and move the file. But nothing change. gnuplot still leaves hist file in my home directory and I do wonder why.
Any help will be appreciated. ![]()
Last edited by yd4al (2022-10-11 04:02:03)
Offline
FWIW, I can confirm that even with XDG_STATE_DIR set, gnuplot creates the history file in the home directory.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
gnuplot in [extra] is at version 5.4.5, and the mentioned commit has been merged into master, but not in into the release. If you want this feature, use gnuplot-git from AUR or file a feature request (but normally Arch Linux will not single commits into stable packages).
Last edited by Stefan Husmann (2022-10-10 18:12:21)
Offline