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: [email protected]
             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/


_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to