Package Details: espanso-wayland 2.3.0-1

Git Clone URL: https://aur.archlinux.org/espanso.git (read-only, click to copy)
Package Base: espanso
Description: Cross-platform Text Expander written in Rust (built for Wayland)
Upstream URL: https://github.com/espanso/espanso
Keywords: expand expander rust shortcut text xorg
Licenses: GPL-3.0-only
Conflicts: espanso
Provides: espanso
Submitter: Scrumplex
Maintainer: carsme (asm0dey)
Last Packager: asm0dey
Votes: 42
Popularity: 0.44
First Submitted: 2019-10-03 16:10 (UTC)
Last Updated: 2025-11-04 00:33 (UTC)

Latest Comments

1 2 3 4 Next › Last »

danielvartan commented on 2025-11-11 01:36 (UTC) (edited on 2025-11-11 02:05 (UTC) by danielvartan)

[EDIT] The issue was caused by my keyboard configuration. Adding the following to ~/.config/espanso/config/default.yml fixed it.

keyboard_layout:
  layout: "us"
  variant: "intl"

I'm getting the following error. Any ideas?

  • Clean installation. No config.
  • Keyboard: English (US, intl., with dead keys)
> 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.

(no Espanso process was running)

> 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.
> espanso log
22:35:00 [daemon(72445)] [INFO] reading configs from: "/home/danielvartan/.config/espanso"
22:35:00 [daemon(72445)] [INFO] reading packages from: "/home/danielvartan/.config/espanso/match/packages"
22:35:00 [daemon(72445)] [INFO] using runtime dir: "/home/danielvartan/.cache/espanso"
22:35:00 [daemon(72445)] [INFO] system info: Arch Linux v - kernel: 6.17.7-arch1-1
22:35:00 [daemon(72445)] [INFO] kdotool missing or not available for the current wayland DE.
22:35:00 [daemon(72445)] [INFO] watching for changes in path: /home/danielvartan/.config/espanso
22:35:00 [daemon(72445)] [INFO] espanso version: 2.3.0
22:35:00 [daemon(72445)] [INFO] spawning the worker process...
22:35:00 [daemon(72445)] [INFO] binded to IPC unix socket: /home/danielvartan/.cache/espanso/espansodaemonv2.sock
22:35:00 [worker(72453)] [INFO] reading configs from: "/home/danielvartan/.config/espanso"
22:35:00 [worker(72453)] [INFO] reading packages from: "/home/danielvartan/.config/espanso/match/packages"
22:35:00 [worker(72453)] [INFO] using runtime dir: "/home/danielvartan/.cache/espanso"
22:35:00 [worker(72453)] [INFO] system info: Arch Linux v - kernel: 6.17.7-arch1-1
22:35:00 [worker(72453)] [INFO] kdotool missing or not available for the current wayland DE.
22:35:00 [worker(72453)] [INFO] binded to IPC unix socket: /home/danielvartan/.cache/espanso/espansoworkerv2.sock
22:35:00 [worker(72453)] [INFO] no appropriate WaylandAppInfoProvider found for current DE/WM
22:35:00 [worker(72453)] [INFO] monitoring the status of the daemon process
22:35:00 [worker(72453)] [INFO] detection module will use this keyboard layout: [R=, M=, L=us+intl, V=, O=]
22:35:00 [worker(72453)] [INFO] using EVDEVSource
22:35:00 [worker(72453)] [ERROR] thread 'detect thread' panicked at 'unable to create xkb keymap: could not create xkb keymap': espanso-detect/src/evdev/mod.rs:128
22:35:00 [worker(72453)] [ERROR] thread 'engine thread' panicked at 'unable to receive from the init_rx channel: RecvError': espanso/src/cli/worker/engine/funnel/mod.rs:124
22:35:00 [worker(72453)] [ERROR] Unable to block the LinuxEventLoop: receiving on an empty and disconnected channel
22:35:00 [worker(72453)] [ERROR] thread 'main' panicked at 'unable to run main eventloop: receiving on an empty and disconnected channel': espanso/src/cli/worker/mod.rs:153
22:35:00 [daemon(72445)] [ERROR] received unexpected exit code from worker 101, exiting
> rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.91.1 (ed61e7d7e 2025-11-07)

info: cleaning up downloads & tmp directories
info: self-update is disabled for this build of rustup
info: any updates to rustup will need to be fetched with your system package manager

Gorka commented on 2025-09-30 16:16 (UTC)

@carsme aura doesn't like something: :: espanso-x11-2.2.7-1 and espanso-wayland-2.2.7-1 are in conflict . doing sudo pacman -U <package> in aura's cache directory does work... I aura think it might be trying to install both?

ckagerer commented on 2025-06-09 12:10 (UTC)

Unfortunately, I cannot install “espanso-wayland” on my current CachyOS.

I get the following message.

warning: espanso-info@0.1.0: src/x11/native.cpp:21:10: fatal error: X11/Xlibint.h: No such file or directory
warning: espanso-info@0.1.0:    21 | #include <X11/Xlibint.h>
warning: espanso-info@0.1.0:       |          ^~~~~~~~~~~~~~~
warning: espanso-info@0.1.0: compilation terminated.
error: failed to run custom build command for `espanso-info v0.1.0 (/home/ckagerer/.cache/paru/clone/espanso/src/espanso-2.2.3/espanso-info)`

Does anyone have an idea how I can get it installed? libx11 is in the dependencies and also installed.

dasarne commented on 2025-05-19 07:15 (UTC)

If you see the following error when trying to build espanso from the AUR:

error: failed to parse lock file at: .../Cargo.lock
Caused by: lock file version 4 was found, but this version of Cargo does not understand this lock file, perhaps Cargo needs to be updated?

It means your version of Rust and Cargo is too old to understand the lock file format used by espanso. To fix this, update Rust and Cargo to the latest stable version using rustup:

sudo pacman -S rustup
rustup update stable

After updating, try building espanso again. This should resolve the issue.

Alternatively, if you are building from source, you can delete the existing Cargo.lock file in the espanso source directory and let Cargo regenerate it:

rm path/to/espanso/Cargo.lock

Then rebuild the project.

DevGuyRash commented on 2025-04-02 03:08 (UTC) (edited on 2025-04-10 00:48 (UTC) by DevGuyRash)

Newer version was released. v2.2.3 is latest version.

shawny commented on 2025-02-07 14:58 (UTC)

@carsme Thanks for your continued work. I just switched back to this package from espanso-wayland-git, which is currently broken.

However, I ran into a different problem with this package. As I had previously, I'm seeing persistent artifacts on screen. I assume it's to do with what would otherwise be the rainbow-colored square that displays briefly when espanso starts up. This is what it looks like for me.

https://imgur.com/a/zA97u9f

shawny commented on 2024-12-11 14:13 (UTC) (edited on 2024-12-11 14:15 (UTC) by shawny)

I'm running into a problem on both my Intel (ThinkPad X1 Carbon) and AMD (Framework 13) machines. Both produce the below warnings during compilation, which would seem to be the cause of the behaviors I'm experiencing. espanso service register && espanso service start produces a generic gear logo icon in the dock (see screenshot), as well as a square (failed dialog rendering?) and pixel artifacts on screen (see screenshot)

https://paste.pics/e36f3f390735788f3f1fdc2657f202c7

https://paste.pics/5ca6f0e346329d533cd2b592bf2f35bc

Partial output of yay -S espanso-wayland:

   Compiling espanso v2.2.1 (/home/shawn/.cache/yay/espanso/src/espanso-2.2.1/espanso)
warning: field `show_in_dock` is never read
  --> espanso/src/cli/mod.rs:49:7
   |
42 | pub struct CliModule {
   |            --------- field in this struct
...
49 |   pub show_in_dock: bool,
   |       ^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: method `get_default_config` is never used
  --> espanso/src/cli/worker/context/mod.rs:31:6
   |
30 | pub trait ConfigContext {
   |           ------------- method in this trait
31 |   fn get_default_config(&self) -> Arc<dyn Config>;
   |      ^^^^^^^^^^^^^^^^^^

warning: field `search_icon` is never read
  --> espanso/src/icon.rs:52:7
   |
50 | pub struct IconPaths {
   |            --------- field in this struct
51 |   pub form_icon: Option<PathBuf>,
52 |   pub search_icon: Option<PathBuf>,
   |       ^^^^^^^^^^^
   |
   = note: `IconPaths` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

warning: `espanso` (bin "espanso") generated 3 warnings
    Finished `release` profile [optimized] target(s) in 2m 11s
warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, html5ever v0.25.1, xml5ever v0.16.1
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`

astehlik commented on 2024-03-28 21:36 (UTC) (edited on 2024-03-30 11:18 (UTC) by astehlik)

Can you replace the dependencies wxwidgets-common and wxwidgets-gtk3 with wxwidgets only?

This would allow to either select wxwidgets-gtk3 or wxwidgets-qt5 depending on which desktop environment is used.

I tested it locally with makepkg and it seems to work.

Edit: I just realized that I manually had to create a symlink from /usr/bin/wx-config to /usr/bin/wx-config-qt to make the build work. Not sure how to solve this :(

Edit2: I created a pull request to fix this: https://github.com/espanso/espanso/pull/1918

MorganDGK commented on 2024-03-14 16:22 (UTC)

@psto the linked issue should now be resolved on dev.

carsme commented on 2024-03-09 16:39 (UTC)

@NathanU unfortunately I cannot reproduce this build failure, can you try building in a clean chroot?