Skip to content

linux: install desktop file and icon + improvements - #2757

Merged
AucaCoyan merged 3 commits into
espanso:devfrom
xuars:improve-linux-packaging
Aug 13, 2026
Merged

AucaCoyan merged 3 commits into
espanso:devfrom
xuars:improve-linux-packaging

Conversation

@xuars

@xuars xuars commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Now .deb, .rpm, and nix packages include the Espanso desktop entry and install an icon for that entry. The icon file for linux was renamed to work with appimage and deb/rpm/nix builds.

@xuars

xuars commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor Author

If someone knows how to make the same changes to nix packaging any help would be appreciated. I will skip this for now because I don't know nix and I don't have a NixOS/MacOS environment to test.

Now .deb and .rpm packages include the Espanso desktop entry and install an icon for that entry.
The icon file for linux was renamed to work with appimage and deb/rpm builds.
@xuars
xuars force-pushed the improve-linux-packaging branch from 8951ff2 to 1a888bd Compare August 3, 2026 09:56
@xuars
xuars marked this pull request as ready for review August 3, 2026 09:57
@xuars
xuars requested a review from AucaCoyan as a code owner August 3, 2026 09:57
@xuars

xuars commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

If someone knows how to make the same changes to nix packaging any help would be appreciated. I will skip this for now because I don't know nix and I don't have a NixOS/MacOS environment to test.

@n8henrie you are an espanso team member and nix maintainer. Could you guide me into how to make the mentioned changes?

@n8henrie

n8henrie commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

I actually only use tiling window managers on Linux, so I don't know much about desktop files. Happy to try to help though.

Looks relevant: https://github.com/NixOS/nixpkgs/blob/6fad899fb18211fb91c12db2d80e7306ec2e3ee0/doc/build-helpers/trivial-build-helpers.chapter.md#usage-1-of-makedesktopitem

@xuars

xuars commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @n8henrie!
It was easier than I expected, and the espanso#nixpkgs file helped me with the syntax. (why does the build differ with the flake?). If the nix changes are OK, how do I proceed to update the build at nixpkgs in case this gets merged?

@AucaCoyan

Copy link
Copy Markdown
Collaborator

Thank you @xuars ! Looks great 💯

@AucaCoyan
AucaCoyan merged commit f07bd04 into espanso:dev Aug 13, 2026
4 checks passed
@xuars
xuars deleted the improve-linux-packaging branch August 14, 2026 12:24
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

Successfully merging this pull request may close these issues.

3 participants