Skip to content

Fix TDE Konsole version#2319

Closed
Mystia-Izakaya wants to merge 1 commit into
fastfetch-cli:devfrom
Mystia-Izakaya:patch-1
Closed

Fix TDE Konsole version#2319
Mystia-Izakaya wants to merge 1 commit into
fastfetch-cli:devfrom
Mystia-Izakaya:patch-1

Conversation

@Mystia-Izakaya

Copy link
Copy Markdown

Fix for TDE Konsole version

Summary

When using fastfetch in TDE (Trinity Desktop Environment) version of Konsole, the terminal version messes up the output of fastfetch and prints something like this:

                               Terminal: konsole 3.5.0
TDE:

This is because the output of /opt/trinity/bin/konsole --version is

Qt: 3.5.0
TDE: R14.1.6
Konsole: 1.6.6

Changes

To fix this, I changed the fallback behavior of getTerminalVersionKonsole to set the version to the string between "Konsole: " and " ", instead of the old behavior where the first string between whitespaces is returned (in that case "3.5.0\nTDE:" is wrongly set which explains the unexpected newline in the output of FF)

Checklist

  • I have tested my changes locally.

Fix for TDE Konsole version
Comment thread src/detection/terminalshell/terminalshell.c
@CarterLi CarterLi closed this in 26b3a84 May 11, 2026
Copilot AI mentioned this pull request May 11, 2026
1 task
@Mystia-Izakaya Mystia-Izakaya deleted the patch-1 branch May 11, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants