Code: Select all
pman -Sddw <package>
therefore, if using pman :
pman -Sdd
for the pacman way of doing it check the script(uplxde.sh second half, manual instructions) here: Lxde DE Module Build (Post by ncmprhnsbl #61700)
Moderator: M. Eerie
Code: Select all
pman -Sddw <package>
How can I fix this?other notes:
file association for .xzm(activate/deactive) not showing in pcmanfm
no idea at this stage ... will look into it further
this is because /usr/local/bin/psu links to pkexec (which uses guest password by default)
Code: Select all
<action id="org.freedesktop.policykit.pkexec.pcmanfm">
<description>Run arc2xzm</description>
<message>Authentication is required to run pcmanfm</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/pcmanfm</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
don't know at this stage..
you need gvfs for trash support
All I need to do is save as a file here /usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.policy? And #2 make another one for it. Is that what you mean?ncmprhnsbl wrote: ↑28 Feb 2018, 01:09this is because /usr/local/bin/psu links to pkexec (which uses guest password by default)
it fails because lxterminal needs to be added to /usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.policy like so:2.same as above (except pkexec can't handle the "dbus-launch --exit-with-session" part...(look at the .desktop file)Code: Select all
<action id="org.freedesktop.policykit.pkexec.pcmanfm"> <description>Run arc2xzm</description> <message>Authentication is required to run pcmanfm</message> <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin</allow_active> </defaults> <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/pcmanfm</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> </action>
that said, i think it's probably easier/better to just include/use gksu(and link /usr/local/bin/psu to it) since pkexec seems to have some limitations..
#3 and 4 was fixed when I added gvfs. The other stuff I will work on next.don't know at this stage..you need gvfs for trash support
other stuff:
remove /usr/share/locales
probably don't need two icon sets
canterelle fonts is not needed since there is already Dejavu
/home/guest has wrong ownership(root:root) > chown -R guest:users /home/guest
don't forget this topic Lxde DE Module Build (there may be useful information there)
no. you need to add the entry to that file (it already exists) and put that in your module ... except it should be:
Code: Select all
<action id="org.freedesktop.policykit.pkexec.pcmanfm">
<description>Run su-pcmanfm</description>
<message>Authentication is required to run pcmanfm</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/pcmanfm</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="org.freedesktop.policykit.pkexec.activate">
<description>Activate as root</description>
<message>Authentication is required to activate</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/activate</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.deactivate">
<description>Dectivate as root</description>
<message>Authentication is required to deactivate</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/deactivate</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.dir2xzm">
<description>Run dir2xzm</description>
<message>Authentication is required to run dir2xzm</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/dir2xzm</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.xzm2dir">
<description>Run xzm2dir</description>
<message>Authentication is required to run xzm2dir</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/xzm2dir</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="org.freedesktop.policykit.pkexec.arc2xzm">
<description>Run arc2xzm</description>
<message>Authentication is required to run arc2xzm</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/arc2xzm</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>
Code: Select all
<action id="org.freedesktop.policykit.pkexec.pcmanfm">
<description>Run su-pcmanfm</description>
<message>Authentication is required to run pcmanfm</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/pcmanfm</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
yep, and the same for lxterminal (replacing 'pcmanfm' with 'lxterminal')
ncmprhnsbl wrote: ↑28 Feb 2018, 01:09that said, i think it's probably easier/better to just include/use gksu(and link /usr/local/bin/psu to it) since pkexec seems to have some limitations..