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 launcher manually #3

Closed
zelikos opened this issue Sep 6, 2023 · 1 comment · Fixed by #9
Closed

Create desktop launcher manually #3

zelikos opened this issue Sep 6, 2023 · 1 comment · Fixed by #9

Comments

@zelikos
Copy link
Owner

zelikos commented Sep 6, 2023

If we do it with distrobox-export, the resulting file requires that /opt/resolve exists on the host. Right now this is worked around by running pkexec mkdir /opt/resolve, but that requires admin priveleges, which isn't ideal

@bluesabre
Copy link

If you remove the Path= line from the resulting launcher, that will allow it to operate. I also had to copy the launcher icon to the host and update the Icon= line. Here's my resulting ~/.local/share/applications/davincibox-com.blackmagicdesign.resolve.desktop:

[Desktop Entry]
Version=1.0
Type=Application
Name=DaVinci Resolve  (on davincibox)
GenericName=DaVinci Resolve  (on davincibox)
Comment=Revolutionary new tools for editing, visual effects, color correction and professional audio post production, all in a single application!
Exec=/usr/bin/distrobox-enter  -n davincibox --   /opt/resolve/bin/resolve  %u
Terminal=false
MimeType=application/x-resolveproj;
Icon=/var/home/bluesabre/.local/share/davincibox/DV_Resolve.png
StartupNotify=true
Name[en_US]=DaVinci Resolve  (on davincibox)
StartupWMClass=DaVinci Resolve

(Not sure if this helps at all)

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 a pull request may close this issue.

2 participants