Skip to content

Move ROOT settings files to config/root directory #10148

@ferdymercury

Description

@ferdymercury

Explain what you would like to see improved

ROOT is configured to look for a bunch of configuration files in your "Home" directory, e.g. hidden files .rootrc, rootlogon.C, root aliases, etc. This is the traditional way things were programmed, but now many programs (KiCad, Qt, ...) have been moving towards using the more consensus "configuration" folders, e.g. .config/root in order not to pollute your HOME directory with tenths of files, one for each program you use.

Optional: share how it could be improved

For ROOT7, move things gradually to use "configuration" folders. I understand that this is though quite low priority :)

Some solutions out there that take care of the multiple naming of config folders depending on your OS:

Setup

   ------------------------------------------------------------------
  | Welcome to ROOT 6.27/01                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Jan 12 2022, 10:17:19                 |
  | From heads/master@v6-25-01-2870-gdac9b6398d                      |
  | With c++ (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0                     |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions