robotgo icon indicating copy to clipboard operation
robotgo copied to clipboard

ChromeOS Support

Open mikob opened this issue 3 years ago • 3 comments

  • Robotgo version (or commit ref): v1.0.0-beta5.2
  • Go version: 1.18.3
  • Gcc version:
  • Operating system and bit: ChromeOS 102.0.5005.75 (Official Build) (64-bit)
  • Resolution: 2560x1280
  • Can you reproduce the bug at Examples:
    • [ ] Yes (provide example code)
    • [ ] No
    • [X] Not relevant
  • Provide example code:
package main

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

func main() {
     robotgo.KeyTap("p", "ctrl");
}

  • Log gist:

Description

Tried using linux in ChromeOS (Crostini) and it does not work for simulating keyboard presses. Wonder if this is possible?

Error: load_input_helper [1883]: XkbGetKeyboard failed to locate a valid keyboard!

...

mikob avatar Jun 10 '22 01:06 mikob

Are you install linux X11 library?

vcaesar avatar Jun 13 '22 18:06 vcaesar

No, didn't install any. I was under the impression that Crostini makes X11 possible. What X11 libraries are needed. Linux-enabled Chromebooks have apt-get.

mikob avatar Jun 13 '22 20:06 mikob

https://github.com/go-vgo/robotgo#requirements.

vcaesar avatar Jun 13 '22 21:06 vcaesar