You are not logged in.

#1 2017-04-29 19:32:15

FlowIt
Member
Registered: 2014-10-25
Posts: 239

Wayland app development

I am looking for a tutorial or any other ressource on how to write graphical applications for a wayland desktop only using low level libraries (so no gtk or qt - for learning purposes.). In X, you just read any xlib tutorial and start coding, but since wayland has a different architecture I have issues finding a starting point. I guess libwayland-client.h is where I should start looking, but for me personally, the in-code documentation is always a bit hard to follow.

Offline

#2 2017-06-21 14:25:40

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

Re: Wayland app development

hey ! I am interested in the same thing. Maybe we should take the journey together


Kind Regards,
jIrenge

Offline

#3 2017-09-13 15:56:53

lnxsurf
Member
Registered: 2014-05-28
Posts: 68

Re: Wayland app development

Hello,
I am also interested to learn how to write a simple Wayland window. Did you found something, a tutorial that you would recommend? I would like to test together with Vulkan...
Greetings...

Offline

#4 2017-09-13 16:52:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: Wayland app development

You may be interested in this example:

https://github.com/hdante/hello_wayland

Note the enormous understatement:

README wrote:

Wayland configuration is verbose


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-09-13 16:55:29

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Wayland app development

For vulkan, this example may help you. It supports wayland and x windows.
https://github.com/krh/vkcube

Last edited by progandy (2017-09-13 16:55:44)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2017-09-13 19:27:46

lnxsurf
Member
Registered: 2014-05-28
Posts: 68

Re: Wayland app development

Thank you!

Offline

#7 2020-12-04 01:44:51

zwa
Member
Registered: 2005-12-05
Posts: 105

Re: Wayland app development

Trilby wrote:

You may be interested in this example:

https://github.com/hdante/hello_wayland

Note the enormous understatement:

README wrote:

Wayland configuration is verbose

[hello_wayland]$ ./hello_wayland
Segmentation fault (core dumped)

Offline

#8 2020-12-04 02:21:57

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: Wayland app development

@zwa I'm not sure exactly what you're trying to communicate in that post, but this thread is over 3 years old. Please leave the dead to rest in peace: https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.

Offline

Board footer

Powered by FluxBB