* Add detection in fly, better detection of KDE DE. Fixes issue #40805

This commit is contained in:
Michaël Van Canneyt 2024-05-28 09:28:33 +02:00
parent 605b21af8c
commit 36112193dc

View File

@ -168,7 +168,7 @@ begin
if (XTermProgram='') then
begin
D:=LowerCase(GetEnvironmentVariable('DESKTOP_SESSION'));
If (Pos('kde',D)<>0) then
If (D='plasma') or (Pos('kde',D)<>0) then
begin
TestTerminal(konsole);
end
@ -176,6 +176,12 @@ begin
begin
TestTerminal(gnometerm);
end
else if (D='fly') then
begin
// default `fly-term` has a bug!
If not TestTerminal(konsole) then
TestTerminal(xterm);
end
else if (D='windowmaker') then
begin
If not TestTerminal(aterm) then