From b8779ef9a57d82a9e10ccac79a3f170ac8b13c67 Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Sun, 21 Jul 2024 21:20:23 +0700 Subject: system/lxqt-admin: Added (LXQt system administration tool). Signed-off-by: Willy Sudiarto Raharjo --- system/lxqt-admin/bash-shell-default.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 system/lxqt-admin/bash-shell-default.patch (limited to 'system/lxqt-admin/bash-shell-default.patch') diff --git a/system/lxqt-admin/bash-shell-default.patch b/system/lxqt-admin/bash-shell-default.patch new file mode 100644 index 0000000000..618b3d7153 --- /dev/null +++ b/system/lxqt-admin/bash-shell-default.patch @@ -0,0 +1,16 @@ +--- a/lxqt-admin-user/usermanager.cpp ++++ b/lxqt-admin-user/usermanager.cpp +@@ -436,7 +436,12 @@ + QByteArray line = file.readLine().trimmed(); + if(line.isEmpty() || line.startsWith('#')) + continue; +- mAvailableShells.append(QString::fromLocal8Bit(line)); ++ QString shell = QString::fromLocal8Bit(line); ++ if (shell.endsWith(QLatin1String("/bash")) ) { ++ mAvailableShells.prepend(shell); ++ } else { ++ mAvailableShells.append(shell); ++ } + } + file.close(); + } -- cgit v1.2.3