Rash-in / StarParseLinux

Instructions on installing StarParse on Linux machines using Wine
13 stars 1 forks source link

.desktop file does not detach from terminal #3

Closed Rash-in closed 2 years ago

Rash-in commented 2 years ago

When opening up the app, trying to get it to not show a terminal window while the GUI remains open.

Scratching head since the Terminal=false in the .desktop file.

Not sure if it is either the script that needs to be updated or the .desktop file.

Rash-in commented 2 years ago

Playing around with this: https://superuser.com/questions/250731/launch-application-from-bash-terminal-then-kill-terminal-while-leaving-applicati

Rash-in commented 2 years ago

Tested the below shell script. Works beautifully. Added to main.

#!/bin/bash

cd "/home/$USER/.StarParse/StarParse/app/client/app" &&
nohup /home/$USER/.StarParse/StarParse/jre1.8.0_321/bin/java -jar starparse-client.jar & 2> /dev/null;exit;