Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop file for Linux #378

Closed
tonghuix opened this issue Feb 17, 2019 · 2 comments
Assignees
Milestone

Comments

@tonghuix
Copy link

@tonghuix tonghuix commented Feb 17, 2019

Hi,

I am using Littlenavmap under Linux, and after installation, I have to create a desktop file manually.

So could you please make a desktop file include icon in the repo, and user could copy desktop manually or using a script.

Thanks!

P.S. For whom who want to create desktop file manually: https://linuxconfig.org/how-to-create-custom-desktop-files-for-launchers-on-linux

@albar965

This comment has been minimized.

Copy link
Owner

@albar965 albar965 commented Feb 17, 2019

I can include the icon and a template desktop file.
But the user has to adapt the path since an absolute path is needed.

@albar965

This comment has been minimized.

Copy link
Owner

@albar965 albar965 commented Apr 1, 2019

------------------------------------------------------------------------------
-- Linux ---------------------------------------------------------------------

Linux users can use the included desktop file to add Little Navmap to their application menus.
You have to adapt the paths (YOUR_PATH_TO_LITTLENAVMAP) in "Little Navmap.desktop" to
point to the application, path and icon.

Once done move the desktop file to "$HOME/.local/share/applications/" and it will show up
in the application menu.

[Desktop Entry]
Type=Application
Exec=YOUR_PATH_TO_LITTLENAVMAP/littlenavmap
Path=YOUR_PATH_TO_LITTLENAVMAP/
Name=Little Navmap
GenericName=Little Navmap
Icon=YOUR_PATH_TO_LITTLENAVMAP/littlenavmap.svg
Terminal=false
Categories=Qt;Utility;Geography;Map;
@albar965 albar965 closed this Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.