I tried to change colors for
dnf according to docs
The contents of
dnf output remains as it was.
Can you please tell what I have missed?
I tried a few of these and didn’t have any issues running gnome-console or gnome-terminal with bash as the default shell on F36.
I did have some issues on light themes seeing the dim colors but that may have been old eyes.
I did not see this in the docs and they do not appear to work
Are you running any different shell or terminal emulator?
(Mostly echo’ing and expanding upon what @grumpey already said here.)
It looks like some of your entries are identical or near identical to the default. That said, you also have some entries here that aren’t in the man page (color_list_available_running_kernel, color_list_installed_running_kernel) .
Depending on your terminal emulator and color profile, dim/bold may or may not have much impact. The terminal emulator and color profile are what is ultimately going to interpret how those values are displayed.
Man Page section
Controls if DNF uses colored output on the command line. Possible values: "auto", "never", "always". Default is "auto".
Color of available packages that are older than installed packages. The option is used during list operations. Default is magenta.
Color of packages that are available for installation and none of their versions in installed. The option is used during list operations. Default is bold,cyan.
Color of available packages that are identical to installed versions and are available for reinstalls. Default is bold,underline,green. The option is used during list operations.
Color of available packages that are newer than installed packages. Default is bold,blue. The option is used during list operations.
Color of installed packages that do not have any version among available packages. The option is used during list operations. Default is bold,red.
Color of installed packages that are newer than any version among available packages. The option is used during list operations. Default is bold,yellow.
Color of installed packages that are older than any version among available packages. The option is used during list operations. Default is yellow.
Color of installed packages that are among available packages and can be reinstalled. The option is used during list operations. Default is cyan.
Color of patterns matched in search output. Default is bold,magenta.
Color of removed packages. Default is red. This option is used during displaying transactions.
Color of local packages that are installed from the @commandline repository. This option is used during displaying transactions. Default is green.
Color of packages that are installed/upgraded/downgraded from remote repositories. This option is used during displaying transactions. Default is bold,green.
Thanks @grumpey, @vwbusguy. It was late, I messed with the wrong docs and copied extra stuff
BTW, is it possible to configure colors for the version numbers like here in
Off the top of my head I don’t know of one.