Oh well … in any case I just need the contents of those files … was just trying to be fancy to send it directly to a pastebin share.
If you can show me whats in there I might be able to help.
ex:
cat /usr/bin/gufw
cat /usr/bin/gufw-pkexec
Oh well … in any case I just need the contents of those files … was just trying to be fancy to send it directly to a pastebin share.
If you can show me whats in there I might be able to help.
ex:
cat /usr/bin/gufw
cat /usr/bin/gufw-pkexec
@shmu26 … what are the contents of your files?
Hi, I didn’t notice the edit to your previous post until you pointed it out.
gufw
#!/bin/bash
if [ $(loginctl show-session $(loginctl|grep $(whoami)|sort -n|tail -n 1 |awk '{print $1}') -p Type) = "Type=wayland" ]; then
xhost +si:localuser:root
fi
c_user=$(whoami)
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gufw-pkexec $c_user
gufw-pkexec
#!/bin/bash
LOCATIONS=`echo /usr/lib/python*/site-packages/gufw/gufw.py`
LOCATIONS=( "${LOCATIONS[@]}" "/usr/share/gufw/gufw/gufw.py" ) # deb package
for ((i = 0; i < ${#LOCATIONS[@]}; i++))
do
if [[ -e "${LOCATIONS[${i}]}" ]]; then
python3 ${LOCATIONS[${i}]} $1
fi
done
mk that looks fine. just making sure.
There were python updates recently…
Maybe make sure to sort your mirrors and check you are fully up to date.