Sorry if this seems a daft question but I'm still new to Linux. Is there an equivalent of a Windows Shortcut in Linux (as opposed to a link)
The problem I have is this:
I have an application that sits in /home/user/appDirectory/application.exe
(its a Windows App running under Wine)
I then have a monitoring script that looks for that application to see if it is running.
e.g.
application="/home/user/appDirectory/application.exe"
if pgrep -f "$application" > /dev/null
then
is_running=1
else
is_running=0
fi
So far so good. But I need to put a 'shortcut' on the desktop so that anyone can go in and easily stop/start the application.
If I create a link
(and put that on the desktop) and start it from that then the path becomes /home/user/desktop/link to appDirectory/application.exe
and the monitoring script can't see it.
Is it possible to create a shortcut, that when opened opens as the original location, so the application then starts from the original location?
/home/user/desktop/link to appDirectory/application.exe
I need it start as/home/user/appDirectory/application.exe