# First development test ISO for Sway Community Edition installs

**URL:** <https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196>\
**Category:** All WMs\
**Created:** [February 22, 2021, 7:23pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196 "2021-02-22T19:23:20Z")\
**Posts on this page:** 19\
**Page:** 7

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [April 12, 2021, 3:05pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/124 "2021-04-12T15:05:04Z")

</div>

> [@OdiousImp](#):
>
> sudo --preserve-env=XDG\_RUNTIME\_DIR,WAYLAND\_DISPLAY meld

works too and may better than xhost as it does not need xoeg-xhost to be installed.

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 3:05pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/125 "2021-04-12T15:05:09Z")

</div>

What is the exact error when trying to use meld with root permissions?

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 3:09pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/126 "2021-04-12T15:09:23Z")

</div>

What happens if using this:

```auto
DIFFPROG='dbus-launch meld' su -c pacdiff

```

?

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [April 12, 2021, 3:10pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/127 "2021-04-12T15:10:05Z")

</div>

> [@manuel](#):
>
> What is the exact error when trying to use meld with root permissions?

 ![2021-04-12_17-09](https://forum.endeavouros.com/uploads/default/original/3X/2/1/21f6552642ae65ee3725f5c942fc3f3ed18bd345.png)

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 3:11pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/128 "2021-04-12T15:11:36Z")

</div>

The latter is working?

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [April 12, 2021, 3:12pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/129 "2021-04-12T15:12:48Z")

</div>

strange ? **yes!!** why i can simply run meld as root?

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 3:13pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/130 "2021-04-12T15:13:53Z")

</div>

Looks like it!

But what happens if you do it in Welcome’s Pacdiff button?

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 3:15pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/131 "2021-04-12T15:15:02Z")

</div>

I have the feeling that `sudo` is the problem. `su` seems to work.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [April 12, 2021, 3:22pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/132 "2021-04-12T15:22:12Z")

</div>

> [@manuel](#):
>
> But what happens if you do it in Welcome’s Pacdiff button?

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…

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 3:40pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/133 "2021-04-12T15:40:07Z")

</div>

Strange.  
And one more question: does this work:

```auto
DIFFPROG='dbus-launch meld' su -c pacdiff

```

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [April 12, 2021, 3:49pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/134 "2021-04-12T15:49:15Z")

</div>

> [@manuel](#):
>
> `DIFFPROG='dbus-launch meld' su -c pacdiff`

 ![2021-04-12_17-48](https://forum.endeavouros.com/uploads/default/original/3X/a/3/a34d9cd41fc68b6795c8f15a3bca000690c77f9b.png)

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [April 12, 2021, 3:58pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/135 "2021-04-12T15:58:16Z")

</div>

> [@OdiousImp](#):
>
> If your experiencing issus with your cursor - edit file ~/.profile and comment out export WLR\_NO\_HARDWARE\_CURSORS=1

[![](https://forum.endeavouros.com/uploads/default/original/3X/a/f/af2d23d14f7152d5120b00fde85e56a33bbad205.jpeg "sway vm doublecursor 2021 04 12 17 54 44") ](https://www.youtube.com/watch?v=jhUpk94nM1I)

same same ☹

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 4:40pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/136 "2021-04-12T16:40:07Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [April 12, 2021, 5:06pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/137 "2021-04-12T17:06:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 6:31pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/138 "2021-04-12T18:31:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [April 12, 2021, 7:06pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/139 "2021-04-12T19:06:26Z")

</div>

> <https://github.com/EndeavourOS-Community-Editions/sway/commit/c648b9a35fee666f3f2179e315c12a793f22f22f>
>
> replacing meld with:
> - xorg-xhost
> - diffuse
> to solve pacdiff for welc…ome

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 7:24pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/140 "2021-04-12T19:24:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [April 12, 2021, 8:27pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/141 "2021-04-12T20:27:52Z")

</div>

at first i was thinking yad was reverted 😉  
 ![Bildschirmfoto_2021-04-12_22-14-54](https://forum.endeavouros.com/uploads/default/original/3X/e/5/e54c08a92a2f59114e210d6ccbf1394d9c666936.jpeg)  
GNOME shows the warning in a very huge window.

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [April 12, 2021, 8:36pm UTC](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196/142 "2021-04-12T20:36:38Z")

</div>

Thanks! Have to make the warning smaller.

Edit: Done. Releasing to mirrors now.

[Previous page](https://forum.endeavouros.com/t/first-development-test-iso-for-sway-community-edition-installs/12196.md?page=6)
