Tiny Core Extensions > TCE Talk
Wayland
gadget42:
poked around and stumbled into this FAQ which mentions weston/libweston a few times.
https://wayland.freedesktop.org/faq.html
Juanito:
To use xwayland you need the following in ~/.config/weston.ini:
--- Code: ---[core]
xwayland=true
[xwayland]
path=/usr/local/bin/Xwayland
--- End code ---
Of course the idea is not to use xwayland, which is a little painfull as it means the tinycore helper gui applets don't work.
Note that all gtk3 apps will work without xwayland as it has a wayland backend - qt-5.x apps will probably work too.
Here's an example weston.ini without xwayland (the location of the adwaita icons may have changed):
--- Code: ---[launcher]
icon=/usr/local/share/weston/icon_terminal.png
path=/usr/local/bin/weston-terminal
[launcher]
icon=/usr/local/share/icons/Adwaita/22x22/legacy/accessories-text-editor.png
path=/usr/local/bin/gedit
[launcher]
icon=/usr/local/share/icons/Adwaita/22x22/legacy/system-file-manager.png
path=/usr/local/bin/nautilus
[launcher]
icon=/usr/local/share/icons/Adwaita/22x22/legacy/web-browser.png
path=/usr/local/bin/firefox
[shell]
num-workspaces=4
[keyboard]
keymap_layout=gb
[output]
name=HDMI-A-1
mode=1920x1080
--- End code ---
Juanito:
Also useful: https://man.archlinux.org/man/weston-bindings.7.en
GNUser:
--- Quote from: Juanito on October 20, 2023, 04:14:10 AM ---Note that all gtk3 apps will work without xwayland as it has a wayland backend - qt-5.x apps will probably work too.
--- End quote ---
Hi Juanito. Thank you for sharing this very useful information. It will provide some pain relief.
brave-browser is a gtk3 app, so I guess it should work in wayland. This is what I see in weston, without xwayland, using the default terminal emulator:
--- Code: ---$ sudo /usr/local/etc/init.d/dbus start
$ brave-browser
[9170:9170:1020/092545.448733:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
[9170:9170:1020/092545.448763:ERROR:env.cc(255)] The platform failed to initialize. Exiting.
--- End code ---
Any idea how to fix?
GNUser:
--- Quote from: Juanito on October 20, 2023, 04:15:57 AM ---Also useful: https://man.archlinux.org/man/weston-bindings.7.en
--- End quote ---
Thank you for that. I found this for custom keybindings: https://github.com/tarvi-verro/weston-binder
Do you think it would be useful to include this module in the weston extension?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version