I am attempting to recreate terminal commands with a Fedora desktop launcher shortcut to start x360mediaserve. The commands in the terminal work as below:
Code:
cd /opt/x360mediaserve-0.0.2
./start 192.168.2.126
But attempting to run from a desktop launcher, it doesn't work, with the command line:
Code:
sudo /opt/x360mediaserve-0.0.2/start 192.168.2.126
or
Code:
sudo cd /opt/x360mediaserve-0.0.2;./start 192.168.2.126
I have also attempted to create a shell script, from which to launch via desktop launcher:
Code:
#!/bin/bash
cd /opt/x360mediaserve-0.0.2
./start 192.168.2.126
which also doesn't work. Any advice to what I may be doing wrong?