this post was submitted on 10 Nov 2025
30 points (100.0% liked)

Linux Gaming

22703 readers
128 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

Sup gamers.
Super new to Linux gaming after a brief stint in 2011-2012 with Ubuntu before I shorted my laptops battery by ripping the screen off (woops)

Anywho, I'm trying to run runelite through steam as old school runescape with the launch options: echo "%command%"; /home/zidane/Downloads/RuneLite.AppImage

First off, no idea what any of the options are doing and searching online is no help so I can't fix it myself...

But this is my problem... The game (runelite not osrs) opens briefly once, closes, and then opens a new runelite which I'm assuming is making steam no longer think that it's running old school RuneScape? I'm able to play but I want steam to know I'm playing so number go up on steam while number go up in game.

Edit:
opening both the RuneLite.AppImage & RuneLite.jar does the ol opens and closes and reopens itself again... And I have read/write + execute as program enabled... surely I messed something up?

opens closes and opens runelite
echo "%command%"; /mnt/Games_Linux/RuneScape/RuneLite.AppImage
"%command%"; /mnt/Games_Linux/RuneScape/RuneLite.AppImage
/mnt/Games_Linux/RuneScape/RuneLite.AppImage
/mnt/Games_Linux/RuneScape/RuneLite.AppImage # %command%
/mnt/Games_Linux/RuneScape/RuneLite.AppImage "%command%"

opens runelite and then doesn't reopen?????
/mnt/Games_Linux/RuneScape/RuneLite.AppImage %command%

opens original launcher
echo java -jar /mnt/Games_Linux/RuneScape/RuneLite.jar
java -jar /mnt/Games_Linux/RuneScape/RuneLite.jar
java -jar "/mnt/Games_Linux/RuneScape/RuneLite.jar"
-jar /mnt/Games_Linux/RuneScape/RuneLite.jar
%command% java -jar /mnt/Games_Linux/RuneScape/RuneLite.jar
top 16 comments
sorted by: hot top controversial new old
[–] MasterOKhan@lemmy.ca 5 points 1 month ago* (last edited 1 month ago) (1 children)

I have experience with Runelite in a third party Jagex launcher project I worked on recently. I have learned that Runelite has a small launcher program that forks and launches another Java process that is running an embedded jar file. The problem is, steam only sees the first “launcher” and not the forked Java process. So once the you launch Runelite steam thinks you closed the game.

I would recommend finding the Runelite.jar file and launching that directly with Java ie. “java -jar Runelite.jar”.

Edit: I just checked, you can download the jar from the Runelite website (it’s at the bottom of the list)

[–] Zidane@lemmy.ca 1 points 1 month ago

Tried this with launch options (never seemed to open) and tried opening by itself and still got the open and close and open again issue. Added an edit of different launch options I've tried

[–] just_another_person@lemmy.world 3 points 1 month ago (1 children)

Don't use "echo". That's akin to saying "Print everything after this echo command to the terminal", so it's just outputting the stuff after echo as if it were text.

[–] Zidane@lemmy.ca 2 points 1 month ago

That's what I thought but when I don't have the echo in the launch options it just opens the normal osrs client instead of RuneLite... ¯\_(ツ)_/¯

[–] dgdft@lemmy.world 2 points 1 month ago (1 children)

Try removing the echo call, and if that fails, try running Runelite as a JAR.

You might also want to move your JAR or AppImage to somewhere like /home/zidane/.local/bin for good measure, so it doesn’t get wiped as easily.

[–] Zidane@lemmy.ca 2 points 1 month ago (1 children)

I tried to rename to .jar and put that into the steam launch options to no avail.

Would I be able to have an always mounted drive and use /games/ as a root (?) directory? Or would that be a bad idea? Probably a dumb question but I'm so clueless lol

[–] dgdft@lemmy.world 2 points 1 month ago (1 children)

You’ll have to install Java and download Runelite as a JAR (IIRC it’s labeled as the “All Platforms” download option on Runelite.net.

You can definitely set up /games/ as a directory but you’ll want to set it up with the right permissions for your Steam Deck user to access it using the chmod and chown commands.

Details will depend on how you mount your drive though. Unfortunately the power and flexibility of Linux means there’s no single “right” way to do these things.

[–] Zidane@lemmy.ca 2 points 1 month ago* (last edited 1 month ago)

installed java and downloaded runelite.jar and it starts the same way :^(. Added a bunch of launch options that I've tried as an edit.

[–] bjoern_tantau@swg-empire.de 2 points 1 month ago (2 children)

I would try /home/zidane/Downloads/RuneLite.AppImage # %command% as the launch option.

To break down your original launch options:

  • echo is a program to output any text that follows it
  • %command% is whatever Steam would have used originally to start the game. If this is not used in the launch options it would be in front of the options.
  • the semicolon ; means "end of command".
  • /home/zidane/Downloads/RuneLite.AppImage is of course the command to launch RuneLite

In my commandline arguments # indicates the start of a comment. Everything after it should be ignored.

I hope this fixes it for you.

[–] Zidane@lemmy.ca 1 points 1 month ago (2 children)

Tried a few different ways and got nowhere ;( without the echo it still does the open and close and reopen thing. Did I fuck up my steam install or something?? I did have issues with marvel rivals yesterday with it not wanting to open... Hmmm

[–] bjoern_tantau@swg-empire.de 1 points 1 month ago

This shouldn't touch Steam at all. Apart from that one line you changed.

[–] backwardsbae@lemmy.blahaj.zone 1 points 1 month ago* (last edited 1 month ago) (1 children)

I tried using the above command and had the same issue until I went to runelite.appimage > right click > properties > permissions > check "allow executing file as program"

Though I still can't sign in since I have a jagex account. 🤷‍♀️ Got it to launch though!

[–] Zidane@lemmy.ca 1 points 1 month ago

I got it to launch but it's doing the open and closing and opening which is confusing steam :^( added an edit with a bunch of launch commands I've tried

[–] Zidane@lemmy.ca 1 points 1 month ago (1 children)

added an edit to my original post, still haven't gotten it to work :^/

[–] bjoern_tantau@swg-empire.de 2 points 1 month ago (1 children)

Put the original command after a # to disable it.

java -jar /mnt/Games_Linux/RuneScape/RuneLite.jar # %command%

[–] Zidane@lemmy.ca 1 points 1 month ago

Ay that opened it but now I just have to figure out why it's double opening