Freedesktop XDG standards implement

Bug #684906 reported by jarryson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Popper
Confirmed
Low
Ralf Hersel

Bug Description

popper didn't match fd.o, the basic xdg standard is put config files to $XDG_CONFIG_HOME( default is ~/.config), and cache files to $XDG_CACHE_HOME( default is ~/.cache ), and data files to $XDG_DATA_HOME( default is ~/.local/share )

the simplest way to do that is import glib, and use glib.get_user_{config,cache}_dir()

and autostart dir is not absolute path ~/.config/autostart, should be $XDG_CONFIG_HOME/autostart

and I think use os.path.join, os.makedirs, os.remove will be better.

Revision history for this message
jarryson (jarryson) wrote :
Changed in popper:
importance: Undecided → Low
milestone: none → zero
assignee: nobody → Ralf Hersel (ralf.hersel)
Revision history for this message
Ralf Hersel (ralf.hersel) wrote :

Thank you. We will fix this in a later version.

Changed in popper:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.