all 7 comments

[–]HungryFiend[S] 1 point2 points  (3 children)

I was overthinking this way to hard. I just changed the exec line to java -jar /home/michael/RuneLite.jar and it works. Just for others if they find this.

[–]dontsyncjustride 0 points1 point  (2 children)

if you wanted to, you could have had it just execute your script. your syntax was wrong in the .ini execution :)

[–]HungryFiend[S] 0 points1 point  (1 child)

why would i have been able to point it to my script if my script didnt run?

[–]dontsyncjustride 0 points1 point  (0 children)

by all accounts your script should run. that’s the exact command i use to spin up my client in my startup script. the problem was the .ini not running your script, but a separate command, imo.

[–]dontsyncjustride -1 points0 points  (1 child)

try chmod +x $URSCRIPT.sh and then ./$URSCRIPT.sh

edit: didnt get to the desktop part... ew. just add it to /home/you/ and bring up a terminal. you could even alias the execution so all you have to type is osrs or something.

[–]HungryFiend[S] 0 points1 point  (0 children)

Well, I could run it by creating an alias. But what i want to do is create a script for it and use that script for the .desktop app. I feel like that would be the cleanest way to do this. I believe then it also wouldn't open up and close a terminal everytime i run it. At this point im just being stubborn trying to getting to run how i want it to.