FLTK logo

Re: [fltk/fltk] Matt: accumulated Fl_Preferences issues, are there more? (Issue #303)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Matt: accumulated Fl_Preferences issues, are there more? (Issue #303) Albrecht Schlosser Jan 19, 2022  
 

I decided against adding support for the XDG based standard simply because I don't have a Linux machine available ATM.

I could probably assist at least in testing.

Also, if would break existing apps. I am open for a discussion, of course.

I've personally "seen" such a transition in Git config files. If you like to see what happens, sctrace can be used to trace the Git invocation. It does basically check "both" locations and uses the one that can be accessed:

$ strace git config -l 2>&1 | grep /home/albrecht | grep config
access("/home/albrecht/.config/git/config", R_OK) = 0
...
access("/home/albrecht/.gitconfig", R_OK) = -1 ENOENT (No such file or directory)

In my case I moved the "classic" config file /home/albrecht/.gitconfig to the new XDG config file /home/albrecht/.config/git/config and Git happily opens the latter.

IMHO something like this could be done in FLTK 1.4 as well. Please keep in mind that you did already change the preferences file location in partially incompatible ways WRT FLTK 1.3.x.

I'd appreciate if we could do a further change to respect the XDG* standard on Linux and I'd be willing to assist.

FTR: Issue #79 is still open ...


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/303/1016892422@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.