Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th January 2011, 06:06 PM
aircftech Offline
Registered User
 
Join Date: Dec 2010
Posts: 11
linuxfedorafirefox
Documentation for desktop launcher??

Does anyone know of docs about using desktop launcher like the format what you can and cant do?? Trying to launch script.sh | telnet on desktop
Reply With Quote
  #2  
Old 28th January 2011, 12:00 AM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
linuxubuntufirefox
Re: Documentation for desktop launcher??

http://standards.freedesktop.org/des...y-spec/latest/
Reply With Quote
  #3  
Old 28th January 2011, 12:46 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,102
linuxfedorafirefox
Re: Documentation for desktop launcher??

The simplest is to use the menu to create one, and in the launcher
define the command as:
Code:
sh -c 'script.sh | telnet <destination>'
If you must make the destination of the telnet variable, then you can't
do it this way - you have to make the script generate a dialog and then
plug it in. For fixed destinations though, this will work.
Reply With Quote
  #4  
Old 28th January 2011, 01:01 AM
jroa1 Offline
Registered User
 
Join Date: Oct 2010
Posts: 229
linuxfedorafirefox
Re: Documentation for desktop launcher??

If you use the GUI to create a launcher, which is as simple as right clicking on the desktop and selecting "Create Launcher", then the launcher will execute what ever command you have in the command line. If you can type it in the command line, then you can create a launcher to do the same thing.

jpollard is right, though. If you need variables, decisions, or several commands, then you may have to write a script and launch that instead. However, scripts are not that complicated (I just started writing them a week ago and it already seems to me that you can do almost anything from a script).

I am not sure exactly what you are trying to do here, but if you can tell me how you would do it from the command line, I can probably tell you how to either do it from a launcher or from a script. Or, just give a little bit more information about what you are trying to accomplish.
Reply With Quote
Reply

Tags
desktop, documentation, launcher

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome desktop launcher question aptdude Using Fedora 0 3rd July 2010 01:08 PM
How do I create a desktop launcher tringate Installation and Live Media 6 27th March 2010 01:37 PM
Desktop launcher as root mlopes Using Fedora 8 8th September 2007 12:23 AM
FC3 Desktop Launcher Problem eyao Using Fedora 4 15th November 2004 03:37 AM


Current GMT-time: 10:06 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat