dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
22.01k stars 1.77k forks source link

system-wide editable config ? #1763

Open qwrty-ftw opened 3 years ago

qwrty-ftw commented 3 years ago

Hello,

after installation from official Bullseye repo on my Debian installation, I can't find the system-wide config file as the man mention it ?

Neofetch also installs a system-wide editable config file at /etc/neofetch/config.conf (This is where it copies the user config from).

Only two neofetch/config.conf are find on my system, and /etc/neofetch does not exist

root@linology:~# locate neofetch/config.conf
/home/qwrty/.config/neofetch/config.conf
/root/.config/neofetch/config.conf

Any idea ?

Thank you !

dylanaraps commented 3 years ago

The manpage is incorrect as that is (iirc) old behavior. (manpage is fine) Neofetch's config file is embedded in neofetch's source. You would be correct that there's no system-wide configuration file.

oldmansutton commented 3 years ago

... then how do we set up a default for ALL users? Why was the default config removed?

stribnet commented 3 years ago

I noticed the system creates /home/user/.config/neofetch/config.conf file after running neofetch command. So it copies from somewhere. I tried editing /bin/neofetch and /usr/bin/neofetch, but it didn't make any difference. BTW - I need this to edit the information showing up on tty1 login screen

Screen Shot 2021-08-25 at 12 24 19 PM

bckelley commented 3 years ago

So is this being fixed seems like quite a few people want it??

ghost commented 3 years ago

Depending on what your intended use case is, you could put a "global" config in /etc/skel/.config/neofetch/config. This will create a copy of the "global" config file for every new user you create. This allows you to configure the default settings, while allowing the user(s) to extend or modify the file later.

DitherDude commented 10 months ago

RPi Terminal

whereis neofetch