weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #41397] Follow XDG specifications for config/data fil


From: anonymous
Subject: [Weechat-dev] [bug #41397] Follow XDG specifications for config/data files
Date: Thu, 30 Jan 2014 00:42:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.6+ (KHTML, like Gecko) Chromium/23.0.1271.95 Chrome/23.0.1271.95 Safari/537.6+ dwb/commit 2014-01-20 33ea116

URL:
  <http://savannah.nongnu.org/bugs/?41397>

                 Summary: Follow XDG specifications for config/data files
                 Project: WeeChat
            Submitted by: None
            Submitted on: Thu Jan 30 00:42:11 2014
                Category: config file
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Ram-Z
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.4.2
                IRC nick: 

    _______________________________________________________

Details:

I think weechat should follow the xdg specifications for config files [0],
i.e. look for config files in the following locations, in that order:
1. $XDG_CONFIG_HOME/weechat  (if XDG_CONFIG_HOME is set)
2. $HOME/.config/weechat
3. $HOME/.weechat  (for backward compatibility)

If none of the above exist, the new config folder should be created in:
1. $XDG_CONFIG_HOME/weechat  (if XDG_CONFIG_HOME is set)
2. $HOME/.config/weechat
and not in $HOME/.weechat

To go one step further, plugins (lua, perl, etc folders) should probably be
installed to:
1. $XDG_DATA_HOME/weechat  (if XDG_DATA_HOME is set)
2. $HOME/.local/share/weechat

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




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?41397>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]