On Mon, 30 Dec 2024 at 00:04, Will McDonald <wmcdon...@gmail.com> wrote:
> On Sun, 29 Dec 2024 at 18:50, Felix Miata <mrma...@earthlink.net> wrote: > >> ...annoys me greatly. There's simply not enough contrast for the comfort >> I expect >> from vtty use. e.g., dnf5 command output. In general, I'd like to limit >> vttys to 4 >> colors: FG & BG as specified in .bashrc by setterm, plus red for errors >> (e.g. dead >> symlinks), and suitable contrast color for red, like it used to be. Is >> this >> possible? If so, how? If not possible globally, how about specifically >> for dnf5? >> > > https://dnf5.readthedocs.io/en/latest/dnf5.conf.5.html#main-options-colors > details the configurable colour elements. > https://dnf5.readthedocs.io/en/latest/dnf5.conf.5.html#color-label > defines the values for colours that you can set. > I would assume if you set them all to "white,normal" or "black,normal", > depending on your terminal color scheme, you won't get any more colourised > output? > And, final comment: # dnf --setopt=color=never check-update ... is not honoured, as is already indicated by https://github.com/orgs/rpm-software-management/projects/4/views/1?filterQuery=color&pane=issue&itemId=36881183&issue=rpm-software-management%7Cdnf5%7C839 # dnf --setopt=color_list_available_upgrade=black check-update ... is honoured which implies you can disable color per sub-command. So the following in /etc/dnf/dnf.conf should do the trick: color_list_installed_older=black color_list_installed_newer=black color_list_installed_reinstall=black color_list_installed_running_kernel=black color_list_installed_extra=black color_list_available_upgrade=black color_list_available_downgrade=black color_list_available_install=black color_list_available_reinstall=black color_list_available_running_kernel=black
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue