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

fix Linux desktop integration #891

Merged
merged 3 commits into from
Feb 22, 2021
Merged

fix Linux desktop integration #891

merged 3 commits into from
Feb 22, 2021

Conversation

LuckyTurtleDev
Copy link

  • change the Gcode viewer .desktop file to SuperSlicer (original file did open Prusa Slicer)
  • rename prusa-gcodeviewer to supergcodeviewer to avoid conflicts with Prusa Slicer
  • move install directory of .desktop files from ${SLIC3R_FHS_RESOURCES}/applications) to ${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications
    Linux desktops search in /usr/share/applications and not in /usr/share/SuperSlicer/applications for .desktop files
  • install .desktop icons to /usr/share/pixmaps
    otherwise the .desktop files shows no icons, because the icons can not be found
  • add description to the .desktop files

Furthermore I think this symlink is not a good idea. If you execute prusa-gcodeviewer SuperSlicer will starts normal and not in the gcode viewer mode. May using a script is a better Solution.
As example for Linux can this little script been used:

#!/bin/bash
superslicer --gcodeviewer "$@"

@supermerill supermerill merged commit eb2fa94 into supermerill:master Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants