bugWeeChat - Bugs: bug #41397, Follow XDG specifications for...

 
 

bug #41397: Follow XDG specifications for config/data files

Submitter:  None
Submitted:  Thu 30 Jan 2014 12:42:11 AM UTC
   
 
Category:  config file Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  None
Originator Name:  Ram-Z Originator Email:  * -email is unavailable-
Open/Closed:  Closed Release:  * 0.4.2
IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 13 Jun 2021 09:23:21 AM UTC, comment #2: 

Implemented in WeeChat 3.2.

Sebastien Helleu <flashcode>
Group administrator
Thu 30 Jan 2014 06:48:41 AM UTC, comment #1: 

Hi,

This is not a bug, but a task, and it's duplicate of task #10934
Please complete this task if you have extra things to add, I'm closing this bug, thanks!

Sebastien Helleu <flashcode>
Group administrator
Thu 30 Jan 2014 12:42:11 AM UTC, original submission:  

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-30 flashcode StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code