eclipseo
(Robert André Mauchin)
September 3, 2023, 5:09pm
1
Following this post , I’m announcing that packages for #Espanso are available on copr for #Fedora:
https://copr.fedorainfracloud.org/coprs/eclipseo/espanso/
How to install:
sudo dnf copr enable eclipseo/espanso
sudo dnf copr install espanso espanso-wayland
For wayland , you have to run first after install:
sudo setcap "cap_dac_override+p" $(which espanso-wayland)
to allow espanso-wayland to grab the keys.
1 Like
salimma
(Michel Lind (né Salim))
September 3, 2023, 6:07pm
2
Exciting! I looked at it a long time ago and IIRC Wayland support was lacking at the time.
Will give this a try after the Labor Day weekend. Do you need help getting the pieces into Fedora?
1 Like
salimma
(Michel Lind (né Salim))
September 3, 2023, 6:08pm
3
Robert André Mauchin:
For wayland , you have to run first after install:
sudo setcap "cap_dac_override+p" $(which espanso-wayland)
to allow espanso-wayland to grab the keys.
Can this be done in %postinstall
?
eclipseo
(Robert André Mauchin)
September 6, 2023, 6:12am
4
maybe, I need to brush up on how postinstall macros work.
salimma
(Michel Lind (né Salim))
September 6, 2023, 3:09pm
5
You can basically run anything there after the RPM is installed (preferably not too much). There is also %posttrans
that comes after the RPM transaction is done.
Hmm actually, any reason this can’t be done at the end of %install
?
1 Like
salimma
(Michel Lind (né Salim))
September 6, 2023, 3:11pm
6
An old post here has examples, might be worth trying to see if they still work
1 Like