You are not logged in.

#1 2022-10-10 15:16:56

yd4al
Member
Registered: 2022-10-10
Posts: 1

[SOLVED]gnuplot installed from extra repo doesn't support XDG base dir

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. smile

Last edited by yd4al (2022-10-11 04:02:03)

Offline

#2 2022-10-10 15:31:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: [SOLVED]gnuplot installed from extra repo doesn't support XDG base dir

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

#3 2022-10-10 18:11:56

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED]gnuplot installed from extra repo doesn't support XDG base dir

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

Board footer

Powered by FluxBB