works too and may better than xhost as it does not need xoeg-xhost to be installed.
What is the exact error when trying to use meld with root permissions?
What happens if using this:
DIFFPROG='dbus-launch meld' su -c pacdiff
?
The latter is working?
strange ? yes!! why i can simply run meld as root?
Looks like it!
But what happens if you do it in Welcomeās Pacdiff button?
I have the feeling that sudo
is the problem. su
seems to work.
without access to xhost it simply does not start from welcome, it opens the terminal ask for password but if i put V (view) it returns to question without open the guiā¦
Strange.
And one more question: does this work:
DIFFPROG='dbus-launch meld' su -c pacdiff
The meld and root problem is strange.
It all works on a traditional DE, so it could be because of some missing package that is related to xorg vs. wayland?
basicly wayland does not want do a gui in root
as Odiousimp mention is also kinda work around also like -sudo -HE i believe
can be a typo lol
but stil xhost is also just a workaround
)
and gnome fixed it internally it seems
I tested it here and with xhost it can be made to work almost OK.
This means (at least here) that
-
meld
is extremely slow and erratic but sometimes workā¦ -
diffuse
seems to work quite well with xhost.
So this really is a wayland āfeatureā that can be worked around with xhost temporarily.
Not the desired solution, but seems to work anyway.
So Iāll make some wayland changes to Welcome, and for pacdiff in wayland we need packages
- xorg-xhost
- diffuse
Fortunately neither is very large.
Just made new Welcome 3.11.9-1 available.
It hopefully works around Welcomeās pacdiff problem under wayland (by using xhost temporarily).
Please test it and report.
Note that it should complain if either xorg-xhost or diffuse is not installed.
Unfortunately meld is so slow (here in a VM) that it cannot really be used, thatās why diffuse was selected.
at first i was thinking yad was reverted
GNOME shows the warning in a very huge window.
Thanks! Have to make the warning smaller.
Edit: Done. Releasing to mirrors now.