created 2024-09-01 updated 2025-07-21 read 2 min

espanso installation on wayland

◆ 目次

#espanso
AppImage https://espanso.org/docs/install/linux/#appimage-x11 でのインストールは wayland では動かない。

error.log
❮ espanso start                                                                                                                                                                                                                                                                                                                                                         unable to start service: timed out
 Hint: sometimes this happens because another Espanso process is left running for some reason.
       Please try running 'espanso restart' or manually killing all Espanso processes, then try again.
 

❯ espanso restart                                                                                                                                                                                                                                                                                                                                                       espanso is not running!
unable to start service: timed out
Hint: sometimes this happens because another Espanso process is left running for some reason.
      Please try running 'espanso restart' or manually killing all Espanso processes, then try again.


❮ systemctl --user status espanso                                                                                                                                                                                                                                                                                                                                       ● espanso.service - espanso
     Loaded: loaded (/home/kbwo/.config/systemd/user/espanso.service; enabled; preset: enabled)
     Active: activating (auto-restart) (Result: core-dump) since Sun 2024-09-01 17:57:07 JST; 232ms ago
 Invocation: 43ec552bdb014cb38ff6e69bee78db82
    Process: 28619 ExecStart=/home/kbwo/opt/Espanso.AppImage launcher (code=dumped, signal=TRAP)
   Main PID: 28619 (code=dumped, signal=TRAP)
   Mem peak: 32.1M
        CPU: 221ms

Sep 01 17:57:07 kbwo-21cbcto1ww systemd[1386]: espanso.service: Main process exited, code=dumped, status=5/TRAP
Sep 01 17:57:07 kbwo-21cbcto1ww systemd[1386]: espanso.service: Failed with result 'core-dump'.

ref:
Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing' · Issue https://github.com/espanso/espanso/issues/1122
unable to start service: timed out https://github.com/espanso/espanso/issues/1484

ソースからコンパイルする

Install on Linux | EspansoFind the right versionespanso.org

cargo install --force cargo-make --version 0.34.0
sudo pacman -S base-devel git libx11 libxtst libxkbcommon dbus wxgtk3 openssl
ghq get https://github.com/espanso/espanso
cd /home/kbwo/go/projects/github.com/espanso/espanso
cargo make --profile release --env NO_X11=true build-binary 
sudo mv target/release/espanso /usr/local/bin/espanso
# Register espanso as a systemd service (required only once)
espanso service register
# Start espanso
espanso start