Re: Colorized vtty text...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Dec 2024 at 00:04, Will McDonald <wmcdonald@xxxxxxxxx> wrote:
On Sun, 29 Dec 2024 at 18:50, Felix Miata <mrmazda@xxxxxxxxxxxxx> 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#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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux