mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[GH-ISSUE #144] Include psst.desktop file in Linux installer #105
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flotwig on GitHub (Aug 25, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/144
Include a
.desktopfile so that Linux users can search for the application, see the icon (once there's an icon), etc.Install a file like the following:
In
/usr/share/applicationsor~/.local/share/applicationsif a local install..desktopentry spec: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html@flotwig commented on GitHub (Aug 25, 2021):
Hmm, I see there is a desktop file, but it is not being installed: https://github.com/jpochyla/psst/blob/master/.pkg/psst.desktop
@pablodz commented on GitHub (Aug 26, 2021):
#110
@jpochyla commented on GitHub (Aug 29, 2021):
We have a .desktop included in the .deb, is something wrong with it?
@danyspin97 commented on GitHub (Aug 31, 2021):
.debrepresents only a small fraction of all the Linux distributions and UNIX systems. On all other systems there should be a build system/installation script.cargo installdoesn't install files outside the build process, likepsst.desktop. The most used program for installation ismake. However,Makefilesare really hard to get right and they never support user-wide installation, as proposed by @flotwig.There are two additional systems developed exactly for projects like psst: rinstall and cargo-native-install.
rinstall is my project so I am biased towards it, as it also supports user-wide installation that might be preferred for psst until is packaged by most distro. If you'd like to, I can add rinstall support for psst. But feel free to choose whatever you prefer.
@jpochyla commented on GitHub (Sep 1, 2021):
@DanySpin97 thanks for the suggestion, but isn't the Linux packaging mostly a responsibility of the distributions? We build the .deb in the CI, and i'd be glad to include i.e. RPM, but I'm not sure we need something more complicated. Especially now, in the alpha stage. Anyway, we we have #16 open for this.
@danyspin97 commented on GitHub (Sep 1, 2021):
No, installation is the responsibility of the developer.
There are tons of distributions out there that don't use deb. You can ship a
psst.specfile for building the RPM but just few distributions support RPM. In thepsst.specyou should install psst by runninginstallfor each file and directory, which is the same thing that usuallymake installdoes. Cast aside that, bothrinstallandcargo-native-installare really simple to setup.@danyspin97 commented on GitHub (Sep 1, 2021):
Btw, #16 is for a different thing. Bundle != packaging and installation.
@pablodz commented on GitHub (Sep 1, 2021):
Do you mean this image?
@flotwig commented on GitHub (Sep 1, 2021):
@jpochyla It's not being installed on Ubuntu, the app has no global desktop entry. Hence this issue, which probably doesn't need to be closed yet.
@DanySpin97 Ubuntu is the most widely used desktop Linux distro and it is Debian-based, so it's probably good for the .deb to work correctly.
@jpochyla commented on GitHub (Sep 1, 2021):
@flotwig Look, I'm developing and using Psst on Mac, and Linux support is strictly community-driven. If there's something wrong with the .deb, or just doesn't suite you, please open a PR.
@flotwig commented on GitHub (Sep 1, 2021):
Until a PR closes this issue, it would be best to keep this issue open to track it so new reporters don't duplicate this issue.