WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wayland  (Read 28398 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15145
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: 500
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: 500
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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15145
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: 500
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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15145
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: 500
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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15145
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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15145
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: 12096
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.