Age | Commit message (Collapse) | Author |
|
|
|
more.
This has been infuriating me for the past few weeks. The result of this change is that when you use Cura as built from source or via thopiekar's PPA the Gnome shortcut will act only as a launcher for potentially infinite instances of Cura. That is, if you keep clicking it, it will open up more and more instances of Cura. This is because the class cura.real is not present or specified in the desktop file. See this askubuntu thread on the topic;
https://askubuntu.com/questions/367396/what-does-the-startupwmclass-field-of-a-desktop-file-represent/367851#367851
Simply adding "StartupWMClass=cura.real" allows Cura to behave like a normal application in all desktop environments that implement .desktop. Cura can now spawn children and in gnome in particular has options for spawning a New Window, rather than a runaway "Spawn more instances" as you click the launcher. This has been particularly annoying for me, as in a makerspace I attend where I have set up a dedicated Cura machine people have been opening several instances of Cura because of this flaw.
|
|
Contributes to issue CURA-6739.
|
|
CURA-5878
|
|
Since march, there is now an official MIME type for STL files. See https://www.iana.org/assignments/media-types/model/stl for the new MIME type specification.
Fixes #4141.
|
|
Doesn't matter much since the keywords is really only used in software managers/browsers where we don't publish Cura, but if someone is to make a package (like people did for Arch and Debian) this should get Cura a few more hits.
|
|
Can't hurt, can it?
|
|
|
|
CURA-4449
|
|
Add model/x3d+xml as a supported MIME type in the desktop file.
Fixes issue #2571.
|
|
```
cura.desktop: error: (will be fatal in the future): value "cura-icon.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
```
__Solution:__ Remove `.png`. __PLEASE NOTE__ that for this to work, cura-icon.png must be located in one of the directories in which desktops search for icons, such as `/usr/share/icons/hicolor/128x128/apps/`. Please make sure it ends up there (also in the AppImage, too.)
```
cura.desktop: error: value "application/sla;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;image/bmp;image/gif;image/jpeg;image/png" for string list key "MimeType" in group "Desktop Entry" does not have a semicolon (';') as trailing character
```
__Solution:__ Add `;`
Reference:
https://travis-ci.org/AppImage/AppImageHub/builds/266072586#L538-L539
|
|
Apparently, it is not required and we are specifying an invalid version.
Fixes #1784
|
|
|
|
Adding german translation primary as example for CURA-570.
|
|
Adds support to install Cura to an alternative path, while generating a correct .desktop file for it.
* Renaming cura.desktop to cura.desktop.in
* CMAKE: Generate .desktop from .desktop.in
* Replace hardcoded paths with FULL_PATHs
* Tell CMake to generate cura.desktop
* CMake: Set full paths for .desktop generation
* It tells CMake where to find the .desktop.in is and where to store the result.
|