Use lxqt-sudo instead of pkexec as switch user command.
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/D7
This commit is contained in:
parent
116ac9543a
commit
51d5e2fa96
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
lubuntu-default-settings (1.10) cosmic; urgency=medium
|
||||||
|
|
||||||
|
* Use lxqt-sudo instead of pkexec as switch user command.
|
||||||
|
|
||||||
|
-- Walter Lapchynski <wxl@ubuntu.com> Thu, 16 Aug 2018 23:14:55 -0700
|
||||||
|
|
||||||
lubuntu-default-settings (1.9) cosmic; urgency=medium
|
lubuntu-default-settings (1.9) cosmic; urgency=medium
|
||||||
|
|
||||||
[ Simon Quigley ]
|
[ Simon Quigley ]
|
||||||
|
12
debian/patches/lxqt-sudo-as-sucommand.patch
vendored
Normal file
12
debian/patches/lxqt-sudo-as-sucommand.patch
vendored
Normal file
@ -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
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1 +1,2 @@
|
|||||||
|
lxqt-sudo-as-sucommand.patch
|
||||||
qterminal-window-size.patch
|
qterminal-window-size.patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user