WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wayland  (Read 48682 times)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15683
Re: Wayland
« Reply #45 on: January 23, 2025, 07:46:51 AM »
You need to start a wayland compositor, xwayland just enables x inside wayland.

Offline neonix

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 594
Re: Wayland
« Reply #46 on: January 28, 2025, 12:06:54 PM »
You need to start a wayland compositor, xwayland just enables x inside wayland.
Does this info could be put inside xwayland.tcz.info?

Offline neonix

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 594
Re: Wayland
« Reply #47 on: February 02, 2025, 03:56:27 AM »
Why xwayland is not named Xwayland.tcz?

How many composer are in repo? I tried weston and xwayland and it didn't work. How to run wayland? Do I need configured Xorg?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15683
Re: Wayland
« Reply #48 on: February 02, 2025, 04:38:27 AM »
Why xwayland is not named Xwayland.tcz?
Because I don't like capital letters

Quote
How many composer are in repo?
Use the apps gui tags function to search on "compositor"

Quote
I tried weston and xwayland and it didn't work.
If you google on "weston configuration" you will find details on weston.ini

..basically you need to include this in your weston.ini
Code: [Select]
[core]
xwayland=true

[xwayland]
path=/usr/local/bin/Xwayland

Quote
How to run wayland? Do I need configured Xorg?
As mentioned previously, you need a wayland compositor, if you look in the info file of the compositor, it will explain how to run it. Wayland compositors do not need to use Xorg.

Offline neonix

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 594
Re: Wayland
« Reply #49 on: May 07, 2025, 02:02:04 AM »
I still don't know how to run fullscreen wayland server, but I understand it's in experimental phase right now.

In TC15x86-64, I install Xorg weston and xwayland.
I was able tu run weston compositor in Xorg's window. And now what can I do inside? Is there any working web browser that support Wayland? Dillo-plus is one that I am aware of.

 https://github.com/crossbowerbt/dillo-plus/blob/main/Makefile.options.Linux.Wayland

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15683
Re: Wayland
« Reply #50 on: May 07, 2025, 02:39:14 AM »
You don’t need Xorg loaded to run a Wayland compositor - see the info file for weston or labwc.

Firefox and any gtk3 browser will run under a wayland compositor. Once dillo works with fltk-1.4 it can also be used.

Starting from version 16.x of CorePure64, piCore and piCore64 the tinycore gui applets like apps and mnttool will work with a wayland compositor.

Offline neonix

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 594
Re: Wayland
« Reply #51 on: May 07, 2025, 05:03:34 AM »
Can you give me step by step instructions how to run Wayland + weston on fresh installation?

This code doesn't tell me anything. Why not put this script inside runwayland or runweston. Do I have to rewrite it to paper, and then type it in text mode?

Code: [Select]
howto: (from the console prompt)
                $ sudo -- seatd -g staff -n /run/seatd.sock & XDG_RUNTIME_DIR=/run/user/$(id -u) weston
                or for dconf with gtk3:
                $ sudo -- seatd -g staff -n /run/seatd.sock & XDG_SESSION_TYPE=wayland XDG_RUNTIME_DIR=/run/user/$(id -u) dbus-run-session weston

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15683
Re: Wayland
« Reply #52 on: May 07, 2025, 06:24:38 AM »
Why not make a simple script containing either:
Code: [Select]
#!/bin/sh
sudo -- seatd -g staff -n /run/seatd.sock & XDG_RUNTIME_DIR=/run/user/$(id -u) weston
..then reboot with nothing set "onboot", load the weston extension and run the script.

or
Code: [Select]
#!/bin/sh
sudo -- seatd -g staff -n /run/seatd.sock & XDG_RUNTIME_DIR=/run/user/$(id -u) labwc
..then reboot with nothing set "onboot", load the labwc and havoc extensions and run the script.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15683
Re: Wayland
« Reply #53 on: May 07, 2025, 09:05:30 AM »
Using labwc-config rather than labwc in the second example would give better results

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12861
Re: Wayland
« Reply #54 on: May 07, 2025, 09:33:42 AM »
Hi neonix
... Do I have to rewrite it to paper, and then type it in text mode? ...
Those are difficult choices. ::)

When I'm faced with a dilemma like that, I use my mouse to
highlight the desired text in Apps. Then:
1. Press Ctrl-C
2. Open editor
3. Paste text (Ctrl-V) into editor
4. Save contents of editor to file

You're in text mode? Save the file to a thumb drive if necessary
then mount and copy the file when in text mode.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1873
Re: Wayland
« Reply #55 on: June 19, 2026, 02:24:38 PM »
Hi Juanito. I've been using labwc and brave-browser daily on TCL17 and have been generally happy.

The one thing I haven't figured out how to do (which I fortunately need only very rarely) is how to share my screen when having a virtual meeting with someone using a service such as Galene or Microsoft Teams (which I access through brave-browser).

Sharing a browser tab during such meetings works out of the box.

Sharing the whole screen is proving to be difficult. Supposedly wayland compositors rely on pipewire + xdg-desktop-portal for this. I already tried loading pipewire.tcz, xdg-desktop-portal.tcz, and xdg-desktop-portal-gtk.tcz then following the howto in pipewire.tcz.info. After doing this, the option to share the screen shows up during meetings but is grayed-out.

Have you had any luck with screenshare over WebRTC when using wayland? If not, can you think of what the missing piece might be for my setup?

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1873
Re: Wayland
« Reply #56 on: June 19, 2026, 02:32:29 PM »
I think  xdg-desktop-portal-wlr  might be the missing ingredient. It's not in our repo, so I'm going to build it and see if it helps.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1873
Re: Wayland
« Reply #57 on: June 19, 2026, 03:43:38 PM »
Hi Juanito. Loading  xdg-desktop-portal-wlr  before following the howto in  pipewire.tcz.info  solved the problem: Now it is possible to share my whole screen during a meeting.

I'll submit xdg-desktop-portal-wlr for the x86_64 repo.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15683
Re: Wayland
« Reply #58 on: June 21, 2026, 04:07:26 AM »
Well done  :)

posted