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

Create .desktop file #66

Closed
jack-ullery opened this issue Sep 26, 2023 · 2 comments
Closed

Create .desktop file #66

jack-ullery opened this issue Sep 26, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jack-ullery
Copy link
Owner

Is your feature request related to a problem? Please describe.
This was recently mentioned to me by @54m43lJ, but it would probably be a good time to create a .desktop file for our application. A desktop entry would allow users to start AppAnvil from their application menu, instead of just the command-line.

A while ago, I experimented with creating a .desktop file for AppAnvil, but didn't spend enough time to refine it for the repository. I can't seem to find this work, and starting from scratch wouldn't be very difficult.

Describe the solution you'd like
We would need to create a .desktop file (put it in ./resources) and have it automatically configured/installed by CMake.

We could also use the configure_file() function of CMake to automatically configure this file to point to AppAnvil's install location, which could be different depending on CMAKE_INSTALL_PREFIX.

We could also use the install() function of CMake to copy the file over to the correct directory. However, different distributions might handle installing desktop files differently. We could also look into using something like the desktop-file-install command.

@jack-ullery jack-ullery added enhancement New feature or request good first issue Good for newcomers labels Sep 26, 2023
@Skeevert
Copy link
Contributor

Greetings, I would like to deal with this issue. I'll send a pull request in a day.

@jack-ullery
Copy link
Owner Author

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants