Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with Wayland? #6

Open
maricn opened this issue Jul 13, 2020 · 4 comments
Open

How to use with Wayland? #6

maricn opened this issue Jul 13, 2020 · 4 comments

Comments

@maricn
Copy link

maricn commented Jul 13, 2020

I'm pretty new to Wayland, but so far I haven't found a way to set up xdotool to work on it. With installed both rofi and xdotool your charpicker pops up and i select emoji, but it doesn't get pasted in the open app, nor to clipboard.

I've changed the last line instead of using xdotool to echo -n "$selected_symbol" | wl-copy. Maybe you can include that in the README.md or you suggest a different approach?

@ebrensi
Copy link

ebrensi commented Aug 4, 2020

@maricn usually any program with x in the name like xdtool doesn't work with Wayland unless it's running under XWayland, which is Wayland's X emulator. As far as I know, rofi doesn't support natve Wayland. That's why I was surprised to see this repo claim that it supports Wayland. Since you posted that message, have you found anything? I am still looking.

@maricn
Copy link
Author

maricn commented Aug 4, 2020

@ebrensi Check out https://github.com/maricn/charpicker I use wl-copy and then i just paste it from clipboard. If wl-copy doesn't exist on your system I make a conclusion you're running X11, so I fallback to the default xdotool.

@ebrensi
Copy link

ebrensi commented Aug 4, 2020

@maricn I actually got rofimoji working with a fork of rofi that runs natively in Wayland. Check out fdw/rofimoji#47.

@maricn
Copy link
Author

maricn commented Aug 7, 2020

@ebrensi nice, thanks for sharing..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants