Bug 1155265

Summary: [rfe] support xdg base dir
Product: [Fedora] Fedora Reporter: Rahul Sundaram <metherid>
Component: procps-ngAssignee: Jan Rybar <jrybar>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-23 15:03:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rahul Sundaram 2014-10-21 18:45:59 UTC
Description of problem:

top shows its configuration directly in home (~/.toprc).  I would suggest following the xdg base dir spec that is widely adopted (GNOME, KDE, git, transmission etc). 

References:

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

A non spec rationale

http://ploum.net/207-modify-your-application-to-use-xdg-folders/

A c library implementation

https://github.com/devnev/libxdg-basedir