Summary: pcmanfm in Lubuntu used gksu. When we switched to lxqt, it had been deprecated, so we used pkexec. Unfortunately, pkexec just flat out fails. Looking upstream, they use lxqt-sudo, which we have in our install, so going with their default instead. Test Plan: 1. Open pcmanfm-qt 2. Click on "Tools" in the menu 3. Click on "Open as root" Should get an lxqt-sudo dialog asking for a password. Reviewers: tsimonq2 Reviewed By: tsimonq2 Differential Revision: https://phab.lubuntu.me/D7ubuntu/cosmic ubuntu/1.10
parent
116ac9543a
commit
51d5e2fa96
@ -0,0 +1,12 @@
|
|||||||
|
Description: Use lxqt-sudo instead of pkexec as switch user command.
|
||||||
|
Author: Walter Lapchynski <wxl@ubuntu.com>
|
||||||
|
--- a/src/etc/xdg/xdg-Lubuntu/pcmanfm-qt/lxqt/settings.conf
|
||||||
|
+++ b/src/etc/xdg/xdg-Lubuntu/pcmanfm-qt/lxqt/settings.conf
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
[System]
|
||||||
|
IconThemeName=Lubuntu
|
||||||
|
-SuCommand=pkexec %s
|
||||||
|
+SuCommand=lxqt-sudo %s
|
||||||
|
Terminal=qterminal
|
||||||
|
TerminalDirCommand=qterminal
|
||||||
|
TerminalExecCommand=qterminal -e %s
|
@ -1 +1,2 @@
|
|||||||
|
lxqt-sudo-as-sucommand.patch
|
||||||
qterminal-window-size.patch
|
qterminal-window-size.patch
|
||||||
|
Loading…
Reference in new issue