espanso / espanso

Cross-platform Text Expander written in Rust

Home Page:https://espanso.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Espanso not working, window not rendering + "Unknown" app in dock (Ubuntu/Wayland)

Arche151 opened this issue · comments

Description

I installed espanso 2.2.1 on my Ubuntu 22.04 PC, following the documentation, and it seemed to start successfully.

I got a notification saying "Espanso is running" and espanso status says, that it's running as well.

But typing :espanso did nothing. There is a generic active app icon in my dock now (nothing in the tray) and when I click on it, a horribly deformed and broken window (more like a strip) appears.

It seems to be espanso, since it disappears and reappears when I restart espanso.

image

My logs are not indicating, what is wrong:

snake@Framework-Laptop:~$ espanso log
18:48:15 [daemon(202718)] [INFO] reading configs from: "/home/snake/.config/espanso"
18:48:15 [daemon(202718)] [INFO] reading packages from: "/home/snake/.config/espanso/match/packages"
18:48:15 [daemon(202718)] [INFO] using runtime dir: "/home/snake/.cache/espanso"
18:48:15 [daemon(202718)] [INFO] system info: Ubuntu v22.04 - kernel: 6.5.0-1019-oem
18:48:15 [daemon(202718)] [INFO] espanso version: 2.2.1
18:48:15 [daemon(202718)] [INFO] watching for changes in path: "/home/snake/.config/espanso"
18:48:15 [daemon(202718)] [INFO] spawning the worker process...
18:48:15 [daemon(202718)] [INFO] binded to IPC unix socket: /home/snake/.cache/espanso/espansodaemonv2.sock
18:48:15 [daemon(202718)] [WARN] keyboard layout watcher couldn't determine active layout.
18:48:15 [worker(202725)] [INFO] reading configs from: "/home/snake/.config/espanso"
18:48:15 [worker(202725)] [INFO] reading packages from: "/home/snake/.config/espanso/match/packages"
18:48:15 [worker(202725)] [INFO] using runtime dir: "/home/snake/.cache/espanso"
18:48:15 [worker(202725)] [INFO] system info: Ubuntu v22.04 - kernel: 6.5.0-1019-oem
18:48:15 [worker(202725)] [INFO] using WaylandAppInfoProvider
18:48:15 [worker(202725)] [INFO] binded to IPC unix socket: /home/snake/.cache/espanso/espansoworkerv2.sock
18:48:15 [worker(202725)] [INFO] monitoring the status of the daemon process
18:48:15 [worker(202725)] [WARN] unable to determine keyboard layout automatically, please explicitly specify it in the configuration.
18:48:15 [worker(202725)] [INFO] using EVDEVSource
18:48:15 [worker(202725)] [INFO] Querying modifier status...
18:48:15 [worker(202725)] [WARN] unable to determine keyboard layout automatically, please explicitly specify it in the configuration.
18:48:15 [worker(202725)] [INFO] using EVDEVInjector
18:48:15 [worker(202725)] [INFO] using WaylandFallbackClipboard
18:48:27 [service(202793)] [INFO] reading configs from: "/home/snake/.config/espanso"
18:48:27 [service(202793)] [INFO] reading packages from: "/home/snake/.config/espanso/match/packages"
18:48:27 [service(202793)] [INFO] using runtime dir: "/home/snake/.cache/espanso"
18:48:27 [service(202793)] [INFO] system info: Ubuntu v22.04 - kernel: 6.5.0-1019-oem
18:48:27 [service(202793)] [INFO] espanso is running
snake@Framework-Laptop:~$

Reinstalling espanso didn't help, unfortunately.

Can confirm the bug, I have the same behaviour building from the source on Arch via the AUR repository (https://aur.archlinux.org/packages/espanso-wayland). Running Plasma 6.0.4 on Wayland. Tried starting/stopping/restarting the service but the bug remains. Probably Wayland related.

image

Logs:
22:33:04 [daemon(73533)] [INFO] reading configs from: "/home/romeo/.config/espanso"
22:33:04 [daemon(73533)] [INFO] reading packages from: "/home/romeo/.config/espanso/match/packages"
22:33:04 [daemon(73533)] [INFO] using runtime dir: "/home/romeo/.cache/espanso"
22:33:04 [daemon(73533)] [INFO] system info: EndeavourOS vrolling - kernel: 6.8.5-arch1-1
22:33:04 [daemon(73533)] [WARN] keyboard layout watcher couldn't determine active layout.
22:33:04 [daemon(73533)] [INFO] watching for changes in path: "/home/romeo/.config/espanso"
22:33:04 [daemon(73533)] [INFO] espanso version: 2.2.1
22:33:04 [daemon(73533)] [INFO] spawning the worker process...
22:33:04 [daemon(73533)] [INFO] binded to IPC unix socket: /home/romeo/.cache/espanso/espansodaemonv2.sock
22:33:04 [worker(73539)] [INFO] reading configs from: "/home/romeo/.config/espanso"
22:33:04 [worker(73539)] [INFO] reading packages from: "/home/romeo/.config/espanso/match/packages"
22:33:04 [worker(73539)] [INFO] using runtime dir: "/home/romeo/.cache/espanso"
22:33:04 [worker(73539)] [INFO] system info: EndeavourOS vrolling - kernel: 6.8.5-arch1-1
22:33:04 [worker(73539)] [INFO] binded to IPC unix socket: /home/romeo/.cache/espanso/espansoworkerv2.sock
22:33:04 [worker(73539)] [INFO] using WaylandAppInfoProvider
22:33:04 [worker(73539)] [WARN] unable to determine keyboard layout automatically, please explicitly specify it in the configuration.
22:33:04 [worker(73539)] [INFO] monitoring the status of the daemon process
22:33:04 [worker(73539)] [INFO] using EVDEVSource
22:33:05 [worker(73539)] [INFO] Querying modifier status...
22:33:05 [worker(73539)] [WARN] unable to determine keyboard layout automatically, please explicitly specify it in the configuration.
22:33:05 [worker(73539)] [INFO] using EVDEVInjector
22:33:05 [worker(73539)] [INFO] using WaylandFallbackClipboard

@asdrubale88 compiling from source should fix this, fix in #1901 which is not yet in release.

same here. Just not working. status is running. log without errors. :espanso does nothing. ubuntu 22.04 wayland

Same ... just not working, the same unknown app in the dock and the line on the screen.