Post Reply 
Print42 - thermal printer software for Free42
01-12-2020, 12:34 PM
Post: #29
RE: Print42 - thermal printer software for Free42
(01-11-2020 04:36 PM)Thomas Okken Wrote:  
(01-11-2020 06:08 AM)Thomas Okken Wrote:  The location of the directory containing the state file is hard-coded in gtk/, line 408, and the state, print-out, and keymap file names, which include the Free42 directory name, are hard coded starting at line 421, six lines in total. Search for /.free42/ to make sure you find all occurrences.

I guess it's a bit ugly but I didn't anticipate people wanting to store those files somewhere other than $HOME/.free42 Smile

Fixed. The location of the .free42 directory can now be customized by changing only line 408.

Another way would be to use the XDG Base Directory Specification (reading some environment variables to determine the correct location; only if ~/.free42 does not exist for backwards compatibility).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Print42 - thermal printer software for Free42 - SammysHP - 01-12-2020 12:34 PM

User(s) browsing this thread: 1 Guest(s)