#[SOLVED] App entering "setup wizard" when launched through Rofi

12 messages · Page 1 of 1 (latest)

onyx robin
#

Hello everyone.

I have two game emulators on my system. They're both an .appimage file.
They both have a setup process, the first time you launch them. Going through the setup generates additional files it reads from upon launch.
The emulator and files are located in: ~/linux-games/emulation/.

Launching those two emulators either through the terminal (./emulator.appimage) or Steam (by adding it as a non-Steam game) works perfectly fine. Because of this, it has to be an issue with Rofi, not the emulators themselves.

It seems that if I start either emulators through Rofi, it only looks for the required files inside of my home folder.

Rofi reads the .desktop files in ~/.local/share/applications, and this is how one of them looks like:

Name=The Legend of Zelda: Majora's Mask
Comment=Play this game on Steam
Exec=/home/kiki/linux-games/emulation/2-ship-2-harkinian/2ship.appimage
Icon=/home/kiki/personal-files/pictures/non-steam-game-pictures/majoras-mask/icon.png
Terminal=false
Type=Application
Categories=Game;```

Now to my question: How do I fix this? I unfortunately don't know how Rofi works under the hood, or if there's some configuration I can change.

Hopefully my issue is not too confusing. I tried to be as thorough as possible. Thank you!
rare mauve
onyx robin
rare mauve
#

Would be something like this

[Desktop Entry]
Name=The Legend of Zelda: Majora's Mask
Comment=Play this game on Steam
Exec=/home/kiki/linux-games/emulation/2-ship-2-harkinian/2ship.appimage
Path=/home/kiki/linux-games/emulation/2-ship-2-harkinian/
Icon=/home/kiki/personal-files/pictures/non-steam-game-pictures/majoras-mask/icon.png
Terminal=false
Type=Application
Categories=Game;
#

Also don't forget to update update-desktop-database ~/.local/share/applications!!

onyx robin
signal bisonBOT
#

alpha_b_9 received a thank you cookie!

onyx robin
#

What does Path=... do, though?

rare mauve
onyx robin
signal bisonBOT
#

alpha_b_9 received a thank you cookie!