LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-14-2009, 07:25 PM   #1
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Rep: Reputation: 15
How does one convert terminal commands to desktop shortcut


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?
 
Old 12-14-2009, 09:58 PM   #2
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
OK, I got it to work. Had to change ownership from "root" to myself, and created a shell script, with the same commands, to point to from the desktop launcher.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Desktop shortcut to Terminal, insert and execute a string. nads1978 Ubuntu 9 09-02-2008 10:44 AM
Problem running console app in X with no terminal (as a desktop shortcut) kornerr Linux - General 1 02-04-2005 12:08 AM
Execute terminal commands from .desktop files tuculover Linux - Newbie 6 10-22-2004 05:49 PM
desktop shortcut for a terminal prompt mannoulla Linux - Software 9 06-07-2004 01:05 PM
desktop shortcut for a terminal prompt mannoulla Fedora 1 06-04-2004 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration