All Projects → neurlang → wayland

neurlang / wayland

Licence: MIT license
Golang Wayland

Programming Languages

go
31211 projects - #10 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to wayland

hello-wayland
A hello world Wayland client, 2018 edition
Stars: ✭ 95 (+86.27%)
Mutual labels:  wayland, wayland-client
go-wayland
Wayland Client in Pure Go
Stars: ✭ 38 (-25.49%)
Mutual labels:  wayland, wayland-client
wayland-javafx
wayland backend for javafx
Stars: ✭ 20 (-60.78%)
Mutual labels:  wayland, wayland-client
Swayidle
Idle management daemon for Wayland
Stars: ✭ 186 (+264.71%)
Mutual labels:  wayland
Glmark2
glmark2 is an OpenGL 2.0 and ES 2.0 benchmark
Stars: ✭ 199 (+290.2%)
Mutual labels:  wayland
ego
Alter Ego: run Linux desktop applications under a different local user
Stars: ✭ 90 (+76.47%)
Mutual labels:  wayland
asc
A simple (Wayland) compositor
Stars: ✭ 26 (-49.02%)
Mutual labels:  wayland
Clipman
A simple clipboard manager for Wayland
Stars: ✭ 182 (+256.86%)
Mutual labels:  wayland
wdisplays
Mirror of cyclopsian/wdisplays
Stars: ✭ 95 (+86.27%)
Mutual labels:  wayland
X11docker
Run GUI applications and desktops in docker and podman containers. Focus on security.
Stars: ✭ 3,797 (+7345.1%)
Mutual labels:  wayland
Swaylock
Screen locker for Wayland
Stars: ✭ 243 (+376.47%)
Mutual labels:  wayland
Kime
Korean IME
Stars: ✭ 208 (+307.84%)
Mutual labels:  wayland
havoc
minimal terminal emulator for wayland
Stars: ✭ 81 (+58.82%)
Mutual labels:  wayland
Hawck
Key-rebinding daemon for Linux (Wayland/X11/Console)
Stars: ✭ 198 (+288.24%)
Mutual labels:  wayland
ivi-homescreen
Embedded Flutter runtime targeting Embedded Linux with Wayland
Stars: ✭ 172 (+237.25%)
Mutual labels:  wayland
Way Cooler
Wayland compositor for AwesomeWM
Stars: ✭ 2,132 (+4080.39%)
Mutual labels:  wayland
waylandpp
Wayland C++ bindings
Stars: ✭ 64 (+25.49%)
Mutual labels:  wayland
Waybox
An openbox clone on Wayland (WIP)
Stars: ✭ 233 (+356.86%)
Mutual labels:  wayland
mywayland
🍨 Wlroots and friends for KISS
Stars: ✭ 25 (-50.98%)
Mutual labels:  wayland
cl-wlroots
Common lisp bindings for wlroots, a library for writing Wayland compositors
Stars: ✭ 32 (-37.25%)
Mutual labels:  wayland

wayland

GoReportCard

GoDoc reference

Golang Wayland

Screenshot of Golang Wayland Cube app

Go vulkan cube demo

Screenshot of Golang Wayland App

This includes two sample apps that render into a shared memory. Tested on pc (x64) and raspberry pi (arm64). The smoke app reacts on mouse input.

Screenshot of Golang Wayland Text Editor

This text editor is one of the sample apps. It is a Linux-only programming text editor.

Dependencies

None, this is a pure go implementation. But for a meaningful keyboard support, you need the C libxkbcommon library for apps that require keyboard.

Golang install:

sudo apt-get install golang

or

sudo dnf install golang

Docker Installation

Run the docker build command in the provided build.sh script.

Next, start your Wayland compositor, and run demos using the docker run commands that can be found in the run-shm.sh or run-smoke.sh scripts.

Important: If your docker requires root privileges, use sudo -E to start the programs. This is because $XDG_RUNTIME_DIR env variable is required.

Installation

First, you need a wayland-enabled Linux, if you don't have one, install the Wayland compositor weston that is useful for testing:

sudo apt-get install weston

Install libxkbcommon:

sudo apt-get install libxkbcommon-dev

or in Fedora:

sudo dnf install libxkbcommon-devel

Next, get the demos:

go get github.com/neurlang/wayland/...

Then, install them:

go get github.com/neurlang/wayland/go-wayland-simple-shm@latest
go get github.com/neurlang/wayland/go-wayland-smoke@latest
go get github.com/neurlang/wayland/go-wayland-imageviewer@latest
go get github.com/neurlang/wayland/go-wayland-texteditor@latest

Using golang version < 1.16 (there is support for golang >= 1.09):

go install -tags wayland github.com/neurlang/wayland/go-wayland-cube
go install github.com/neurlang/wayland/go-wayland-simple-shm
go install github.com/neurlang/wayland/go-wayland-smoke
go install github.com/neurlang/wayland/go-wayland-imageviewer
go install github.com/neurlang/wayland/go-wayland-texteditor

Finally, run weston and the executables.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].