this post was submitted on 31 Dec 2024
12 points (100.0% liked)

techsupport

2563 readers
18 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 2 years ago
MODERATORS
 

So I was trying to add this application to my app grid called Grayjay using the menu editor menulibre. While the application was added to the app grid every time I try to launch it does absolultly nothing. I have tried making a .sh file to launch the app and then adding that but that did not work either. I am able to run both the executable and the .sh file via the command line. Is there a way I can fix this so that I can launch the Grayjay via the app grid instead of the terminal.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (1 children)

No idea what you did there, just add a desktop entry manually

cat > ~/.local/share/applications/grayjay.desktop <<EOF
[Desktop Entry]
Name=Grayjay
Comment=Media Player
Icon=$HOME/path/to/icon
Exec=$HOME/path/to/exec-script.sh
EOF

Maybe you didnt chmod +x that script?

Worked for me without issues. Trying to run the program with mullvad-exclude though didnt work at all, they have some weird issues. Hopefully they make a Flatpak.

[–] [email protected] 1 points 1 month ago (1 children)

I tried adding the desktop entry manually and it still doesn't work. I even did a chmod +x on the .sh and the executable.

[–] [email protected] 2 points 1 month ago (1 children)

What files are in that grayjay directory that could work? Did you try manually? All of them?

[–] [email protected] 1 points 4 weeks ago (1 children)

I was able to launch the Grayjay executable and Grayjay.sh manually but I can't get them to launch with the grayjay.desktop. I made a grayjay.desktop on my desktop but I keep getting a broken desktop error. I even did a chmod 777 on both files.

Broken Desktop Error

Grayjay Working Manually

[–] [email protected] 2 points 4 weeks ago (1 children)

So you didnt open the script but the "Grayjay" executable. Remove the .sh from the exec line then

[–] [email protected] 1 points 4 weeks ago (1 children)

I tried that already and that did not work either.

[–] [email protected] 1 points 4 weeks ago

Hm my desktop entry also doesnt work anymore, strange.

Open an issue for their app. It should be flatpakked and get normal desktop integration.