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

Broken launcher from .desktop file #206

Open
damccull opened this issue Oct 2, 2024 · 3 comments · May be fixed by #217
Open

Broken launcher from .desktop file #206

damccull opened this issue Oct 2, 2024 · 3 comments · May be fixed by #217

Comments

@damccull
Copy link

damccull commented Oct 2, 2024

After the update to RSI launcher 2.0, I'm getting this error when clicking on the 'Applications' icon for star citizen.

image

The desktop file is

# /home/damccull/.local/share/applications/wine/Programs/Roberts Space Industries/RSI\ Launcher.desktop

[Desktop Entry]
Name=RSI Launcher
Exec=env WINEPREFIX="/home/damccull/Games/star-citizen" wine C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start\\ Menu\\\\Programs\\\\Roberts\\ Space\\ Industries\\\\RSI\\ Launcher.lnk
Type=Application
StartupNotify=true
Comment=RSI Launcher
Path=/home/damccull/Games/star-citizen/dosdevices/c:/Program Files/Roberts Space Industries/RSI Launcher
Icon=341A_RSI Launcher.0
StartupWMClass=rsi launcher.exe

However, when I run it from the terminal with the command 'star-citizen', it launches just fine. How do I solve this?

@fufexan
Copy link
Owner

fufexan commented Oct 3, 2024

@LovingMelody

@LovingMelody
Copy link
Contributor

Use the included icon from the package. It should be listed as "Star Citizen" I'll have to disable the auto icon generation.

@damccull
Copy link
Author

damccull commented Nov 4, 2024

OK! New info. That previously listed .desktop file was likely generated by bottles when I was doing some experiments. I have found this one:

[Desktop Entry]
Categories=Game
Comment=Star Citizen - Alpha
Exec=/nix/store/jim42dmqndxw7g7c38bngwzini3nmj45-star-citizen/bin/star-citizen %U
Icon=/nix/store/sdxh3gdwx50z279xrmbiy9w76s6yd5dd-255031314-2fac3a8d-a927-4aa9-a9ad-1c3e14466c20.png
MimeType=application/x-star-citizen-launcher
Name=Star Citizen
Type=Application
Version=1.4

located at /etc/profiles/per-user/damccull/share/applications.

This file is still causing that same error screen I pasted above, but typing star-citizen into the cli still works fine. What is the difference here?

@LovingMelody LovingMelody linked a pull request Nov 4, 2024 that will close this issue
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.

3 participants