mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui] title in KDE console
This commit is contained in:
@@ -235,7 +235,8 @@ public class ExecUtil {
|
||||
return Arrays.asList(getOpenCommandPath(), "-a", "Terminal", command);
|
||||
}
|
||||
else if (hasKdeTerminal.getValue()) {
|
||||
return Arrays.asList("konsole", "-e", command);
|
||||
return title != null ? Arrays.asList("konsole", "-p", "tabtitle=\"" + title.replace('"', '\'') + "\"", "-e", command)
|
||||
: Arrays.asList("konsole", "-e", command);
|
||||
}
|
||||
else if (hasGnomeTerminal.getValue()) {
|
||||
return title != null ? Arrays.asList("gnome-terminal", "-t", title, "-x", command)
|
||||
|
||||
Reference in New Issue
Block a user