[GH-ISSUE #210] Desktop file not installed when using as home manager module #99

Closed
opened 2026-05-05 22:09:18 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @istudyatuni on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/210

Basically the title

dskw4hhk3fckpc6syh7k0lfkavd430kr-lan-mouse-0.9.1
└── bin
   └── lan-mouse

File exists (in cloned repo, I guess), but it's not linked anywhere

2zswckijabz0p5ym5anq69ai3iqs41k7-lan-mouse
├── build.rs
├── Cargo.lock
├── Cargo.toml
├── config.toml
├── de.feschber.LanMouse.desktop
├── de.feschber.LanMouse.yml
├── [...]
Originally created by @istudyatuni on GitHub (Oct 3, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/210 Basically the title ``` dskw4hhk3fckpc6syh7k0lfkavd430kr-lan-mouse-0.9.1 └── bin └── lan-mouse ``` File exists (in cloned repo, I guess), but it's not linked anywhere ``` 2zswckijabz0p5ym5anq69ai3iqs41k7-lan-mouse ├── build.rs ├── Cargo.lock ├── Cargo.toml ├── config.toml ├── de.feschber.LanMouse.desktop ├── de.feschber.LanMouse.yml ├── [...] ```
Author
Owner

@feschber commented on GitHub (Oct 5, 2024):

I'm not too familiar with NixOS but isn't homemanager responsible for config files rather than the package itself?
I think the desktop file should be installed via the package, however I'm not sure whether or not that is the case atm.
@PedroHLC @ICE-GB can you comment on this?

<!-- gh-comment-id:2395106904 --> @feschber commented on GitHub (Oct 5, 2024): I'm not too familiar with NixOS but isn't homemanager responsible for config files rather than the package itself? I think the desktop file should be installed via the package, however I'm not sure whether or not that is the case atm. @PedroHLC @ICE-GB can you comment on this?
Author
Owner

@PedroHLC commented on GitHub (Oct 5, 2024):

It needs a xdg.desktopEntries.lan-mouse around here: ab1b45ff45/nix/hm-module.nix (L78)

Or the package should install an $out/share/applications. And then be added to some place that affects XDG_DATA_DIRS, like home.packages or systemPackages

<!-- gh-comment-id:2395119781 --> @PedroHLC commented on GitHub (Oct 5, 2024): It needs a `xdg.desktopEntries.lan-mouse` around here: https://github.com/feschber/lan-mouse/blob/ab1b45ff45035ca566ccc12c4547994e03a13a1d/nix/hm-module.nix#L78 Or the package should install an `$out/share/applications`. And then be added to some place that affects XDG_DATA_DIRS, like home.packages or systemPackages
Author
Owner

@ICE-GB commented on GitHub (Oct 6, 2024):

Sorry, I have been using services. It should be fine now.

<!-- gh-comment-id:2395392874 --> @ICE-GB commented on GitHub (Oct 6, 2024): Sorry, I have been using services. It should be fine now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#99
No description provided.