Add installed package to startmenu #68

Closed
opened 2026-01-29 16:28:31 +00:00 by claunia · 2 comments
Owner

Originally created by @hendrikmennen on GitHub (Sep 3, 2019).

Is it possible to create a shortcut in the startmenu after installing?
Trying with dotnet deb and I want to make it easy to execute the application after installing.
Right now I have to go to the installation directory and execute it manually.

Originally created by @hendrikmennen on GitHub (Sep 3, 2019). Is it possible to create a shortcut in the startmenu after installing? Trying with dotnet deb and I want to make it easy to execute the application after installing. Right now I have to go to the installation directory and execute it manually.
Author
Owner

@qmfrederik commented on GitHub (Sep 3, 2019):

You'll probably need to place a file in either /usr/share/menu (see http://manpages.ubuntu.com/manpages/bionic/man5/menufile.5.html) or /usr/share/applications (see https://developer.gnome.org/integration-guide/stable/desktop-files.html.en).

If that's the case, you can use the LinuxFile construct to include this file in the deb created with dotnet rpm.

A good way to start would be to first try & manually create such a menu entry file, and see if it works for your application. If it does, let's try to integrate that with dotnet deb.

@qmfrederik commented on GitHub (Sep 3, 2019): You'll probably need to place a file in either `/usr/share/menu` (see http://manpages.ubuntu.com/manpages/bionic/man5/menufile.5.html) or `/usr/share/applications` (see https://developer.gnome.org/integration-guide/stable/desktop-files.html.en). If that's the case, you can use the `LinuxFile` construct to include this file in the `deb` created with `dotnet rpm`. A good way to start would be to first try & manually create such a menu entry file, and see if it works for your application. If it does, let's try to integrate that with `dotnet deb`.
Author
Owner

@hendrikmennen commented on GitHub (Sep 9, 2019):

I am now using dpkg-deb on a linux subsystem to create my packages.
Closing this

@hendrikmennen commented on GitHub (Sep 9, 2019): I am now using dpkg-deb on a linux subsystem to create my packages. Closing this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#68