I'm new to ubuntu and Linux and just installed Ubuntu 18.04 LTS.
I know there are tons of tutorials out there how someone could create a shortcut. Unfortunately none of them really worked for me.
I have a ~/shellscript.sh
which I'd need to call periodically.
How can I create a shellscript launcher as simply as
e.g. ln -s ~/shellscript.sh ~/Desktop/run-shellscript
where I simply can click on it to run it? (Remark: ln
command above doesn't work)
Thanks for your contributions!
I tried the following:
start-xmr-stak.desktop
[Desktop Entry] Version=1.0 Type=Application Name=Test Comment=Test Exec=~/Desktop/xmr-stak-bin/xmr-stak Icon=utilities-terminal Terminal=true StartupNotify=false GenericName=Test
note: shortcut and script are executable
Dialogue appears: "There was an error launching the application" - OK button
– ssssstut Jun 13 '18 at 07:27~
inExec=~/Desktop...
won't be interpreted as user's home, because that's a feature of a shell..desktop
files do not run in shell. So useExec=/home/your_username/Desktop/
, full path – Sergiy Kolodyazhnyy Jun 13 '18 at 07:32[Desktop Entry]
Type=Application
Name=XMR-STAK
Comment=run xmr stak
Exec=/home/user/xmr-stak/build/bin/xmr-stak Terminal=true Hidden=false
Name=xmr-stak
Path=/home/user/xmr-stak/build/bin/
Icon=utilities-terminal
– ssssstut Jun 15 '18 at 13:26