You are not logged in.
After the update to KDE 6, paru has most of its text entirely blue: https://imgur.com/a/GEgGI8V
I'm pretty confident that this is a Konsole issue, as xterm does not seem to exhibit this behavior: https://imgur.com/a/Tr7Fyyf
Does anyone have the same issue? Is it an issue with my setup?
Last edited by kyngs (2024-03-09 14:44:22)
Offline
Either paru discrimitnates $TEM or konsole represents bold text as blue.
What does the output of
#!/bin/sh
    for x in 0 1 4 5 7 8; do
        for i in {30..37}; do
            for a in {40..47}; do
                printf "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0m "
            done
            echo
        done
    done
    echolook like?
Last edited by seth (2024-03-09 09:05:33)
Offline
Either paru discrimitnates $TEM or konsole represents bold text as blue.
What does the output of#!/bin/sh for x in 0 1 4 5 7 8; do for i in {30..37}; do for a in {40..47}; do printf "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0m " done echo done done echolook like?
Hi, it looks like this: https://imgur.com/a/AW0w19d (the circled part is blinking)
What is interesting is, that it started happening only after the update to KDE 6. I've checked the paru repo git log and no commit seems to indicate it's an issue on their side.
Last edited by kyngs (2024-03-09 09:28:25)
Offline
The blinking is expectable, that's what the mode does.
In general it's what you expect, check the $TERM in xterm and use it in konsole, eg.
TERM=xterm paru -…nb. that it's generally a HORRIBLE IDEA to force the $TERM environment, we're just doing so to figure whether paru discriminates by it.
Offline
The blinking is expectable, that's what the mode does.
In general it's what you expect, check the $TERM in xterm and use it in konsole, eg.TERM=xterm paru -…nb. that it's generally a HORRIBLE IDEA to force the $TERM environment, we're just doing so to figure whether paru discriminates by it.
TERM in xterm is, "xterm", in Konsole "xterm-256color". When I try to run paru with the
TERM=xtermenvvar, it seems to have no effect. See: https://imgur.com/a/jqyTrpi
Last edited by kyngs (2024-03-09 11:42:50)
Offline
The thing says "sudo", sudo will drop most/all of the environment.
type paru
sudo printenv
sudo TERM=xterm /usr/bin/paruOffline
The thing says "sudo", sudo will drop most/all of the environment.
type paru sudo printenv sudo TERM=xterm /usr/bin/paru
Oh, I've not realized that as paru invokes sudo automatically. Unfortunately setting the envvar the correct way did not help. https://imgur.com/a/Frv6aXo
Offline
According to https://github.com/Morganamilo/paru/blo … aru.8#L801 paru uses colors depending on the pacman.conf - you should be able to simply disable them there.
Idk why it discriminates the TEs here, but according to all screenshots I've seen, the konsole one is actually the normal one.
Offline
According to https://github.com/Morganamilo/paru/blo … aru.8#L801 paru uses colors depending on the pacman.conf - you should be able to simply disable them there.
Idk why it discriminates the TEs here, but according to all screenshots I've seen, the konsole one is actually the normal one.
I'm aware that you can disable the colors completely, but I just want them to work normally (as they did in KDE 5). When you compare the video in their README you can easily see that the white bold color has been replaced by a blue bold one. Thanks for your thoughts tho, maybe I'll go and report a bug there.
Offline
Please share the bug report here, I have the same issue and it's annoying.
Offline
I guess some elements (eg. the ::) are supposed to be blue and konsole then stumbles over the reset sequence.
This here should™ print a blue fat "foo" and a default fat "bar":
printf '\e[1;34mfoo\e[0;1mbar\n'Offline
I guess some elements (eg. the ::) are supposed to be blue and konsole then stumbles over the reset sequence.
This here should™ print a blue fat "foo" and a default fat "bar":
printf '\e[1;34mfoo\e[0;1mbar\n'
Yeah it really does seem that konsole ignores the reset sequence: https://imgur.com/a/2p7MwfW
So, should I go ahead and submit it to KDE's bug tracker?
Last edited by kyngs (2024-03-09 14:12:46)
Offline
So, should I go ahead and submit it to KDE's bug tracker?
Yup.
(Sorry, I mistook the original complaint as "why does konsole have colors and xterm doesn't", I missed that it was toomuch™ color only)
Offline
So, should I go ahead and submit it to KDE's bug tracker?
Yup.
(Sorry, I mistook the original complaint as "why does konsole have colors and xterm doesn't", I missed that it was toomuch™ color only)
Just before I'm going to submit the bug, do you have any idea why the
\e[0;1mcode does not work, but
\e[0m Does?
What's the difference between them?
Last edited by kyngs (2024-03-09 14:22:57)
Offline
"oversight bug" - "\e[0;1m" is "default,bold", "\e[0m" is the simple "back to default" sequence.
Offline
Here's the KDE bug for anyone interested: https://bugs.kde.org/show_bug.cgi?id=482985
@icar
Gonna mark this as solved.
Offline
This is not a bug, but a part of the breeze color profile. See "intense color" in my screenshot.
https://ibb.co/R2RzJDt
Offline
https://i.imgur.com/tVSJIek.png seems to use normal colors, though?
What does
printf '\e[1;34mfoo\e[0;1mbar\n'
printf '\e[1;34mfoo\e[0m\e[1mbar\n'
printf '\e[0;1mfoo\e[8mbar\n'look like for you?
Offline
https://i.imgur.com/tVSJIek.png seems to use normal colors, though?
What doesprintf '\e[1;34mfoo\e[0;1mbar\n' printf '\e[1;34mfoo\e[0m\e[1mbar\n' printf '\e[0;1mfoo\e[8mbar\n'look like for you?
It looks like this to me: https://imgur.com/a/R5KgkM7
Offline
'key, bold and intense are both blue and even "\[e0m" doesn't change that.
It's probably indeed just a rather questionable color theme.
Offline
I think Funny0facer is onto something here, as setting my fg intense color from: https://imgur.com/a/6KUTaCM to https://imgur.com/a/2ifDJB0 does solve the issue: https://imgur.com/a/hkH3TwQ https://imgur.com/a/KY7yWHS
However, I do believe that this is not intentional as it didn't work like this in KDE 5 and it does produce some rather questionable results. I'm gonna add it to the KDE bug.
Last edited by kyngs (2024-03-10 18:21:00)
Offline
You can configure konsole's color profile in the profile settings FWIW. This change for the "breeze color theme" is definitely intentional.
Offline
And profoundly stupid.
If you've some "default on blue" setup and there's a bold character, it turns invisible. Great.
The reason in https://invent.kde.org/utilities/konsol … quests/920 was to get colored manpages.
Tell them to
export LESS_TERMCAP_mb=$'\e[1;34m'     # begin bold
export LESS_TERMCAP_md=$'\e[1;34m'     # begin blink
export LESS_TERMCAP_so=$'\e[01;44;37m' # begin reverse video
export LESS_TERMCAP_us=$'\e[01;32m'    # begin underline
export LESS_TERMCAP_me=$'\e[0m'        # reset bold/blink
export LESS_TERMCAP_se=$'\e[0m'        # reset reverse video
export LESS_TERMCAP_ue=$'\e[0m'        # reset underlineand undo this nonsense.
Offline