-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add .desktop file for linux and a .png version of the icon. #40
Comments
Would you consider filing a PR for this? |
I’d recommend packaging it as a snap package or appimage to hit several linux distros at once. |
while what i wrote on the first comment will work as a desktop file i have no idea where those are placed and how they are installed. As for the icon we will probably need the original file. |
I think .desktop files are supposed to be either installed by 'make install' (if building from source) or handled by whoever packages it for release per platform. |
By looking at other linux projects that also support macos they seem to have a directory with sub directories for each OS. those include . desktop and whatever is needed. About the installation stuff i have no idea. |
Thanks for the updates and suggestions @mboerwinkle @ApostolosB, I think I have the information I need to implement this. Doesn't seem like it would be too hard. |
Hi! This is a simple installer for the desktop file on Ubuntu 20.10, but it should work on other Linux systems. Inside the .zip file there are:
The installer just copy the desktop and icon files to their corresponding directories. Admin credentials ( Enjoy! |
This sis quite important as there is no way as of now to associate the mimetype automatically on install for light systems using The desktop file must also specify the mimetype for handling xdg-open queries. [Desktop Entry] |
Closed in #101 |
The desktop can be something like:
Type=Application
Version= 0.9.3
Name=fstl
Comment=Fast viewer for .stl files.
Exec=fstl %F
Categories=Graphics;
Icon=fstl.png
The png is something someone must export from the ico file or convert the original file.
The text was updated successfully, but these errors were encountered: