Re: Colorized vtty text...

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

 



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#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. 

(This is F36 but https://discussion.fedoraproject.org/t/dnf-colors/67301 gives you some indication of what to configure.)

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? 

You could also just pipe the output through cat or wrap dnf in a function (https://stackoverflow.com/questions/7131670/make-a-bash-alias-that-takes-a-parameter) that pipes its output to cat.

-- 
_______________________________________________
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