Skip to content

quick question regarding root configs vs. per user configs

I'm right now building my own arch install scripts, and I was wondering: Which configuration files take priority, those in /etc or those kept as "dot" files in ~?

6 points5 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 100% up
Kind
Text
ID
rxlof

Author

6
posts
16
comments
6
media
View profile

6 comments

Almost always user configs in ~

11 points

Or better yet, ~/.config/

7 points

That depends on wether the application follows xdg (and ~/.config is XDG_CONFIG_HOME).

What i meant to say was that user config > systemwide config

4 points

usually it is:

  1. command line specified
  2. somewhere in $HOME
  3. somewhere global

first one found gets used

10 points
unknown author

Deleted before we saved it.

1 points

I prefer /etc/ for somethings. For example i can have same bashrc for both my user and root without creating vulnerbility by symlinking them.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.