#783·robotgo

wayland supp

Author: 1framepersomtimesCreated Aug 10, 2026Updated Sep 16, 2026

Hi got a issue on wayland unfortunately when i run this

package

import (
	"fmt"
	"time"

	"github.com/go-vgo/robotgo"
)

func main() {
	for i := 0; i < 100; i++ {
		x, y := robotgo.Location()
		fmt.Printf("Position: %d, %d\n", x, y)
		time.Sleep(1 * time.Second)
	}
}

im not able to get mouse pos updates nor move the mouse i only get one update or sometimes none
im building with go build -tags libei .

also the Click function works fine