Follow XDG base directory specifications

Bug #635959 reported by louiz’
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Nautilus Terminal
Fix Released
Low
Fabien LOISON

Bug Description

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Config file should be in ~/.config/nautilus-terminal/

Fabien LOISON (flozz)
Changed in nautilus-terminal:
assignee: nobody → Fabien LOISON (FLOZz) (flozz)
importance: Undecided → Low
status: New → Confirmed
Fabien LOISON (flozz)
Changed in nautilus-terminal:
milestone: none → 0.4
Revision history for this message
Harald Wartig (serapophis) wrote :

Here is a solution using BaseDirectory.py from python-xdg.

Revision history for this message
Harald Wartig (serapophis) wrote :
Revision history for this message
Fabien LOISON (flozz) wrote :

@Harry Wartig:
I didn't know the xdg module, thank you :)

I have just changed one thing in your patch:
if the file ~/.nautilus-terminal.conf exists, Nautilus Terminal use it instead of the xdg path (for keep the conf from older version)

Changed in nautilus-terminal:
status: Confirmed → Fix Committed
Fabien LOISON (flozz)
Changed in nautilus-terminal:
status: Fix Committed → Fix Released
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.