LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-11-2011, 08:12 AM   #1
magn
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Command-line creation of Gnome launcher, like ln -s?


Is there a command to create gnome-launchers from the command line? I know about ln -s, but symbolic links are not suitable for the Desktop or the Panel. I'd like to know the command for creating launchers because I want to have a script which automatically creates all launchers I want in the Panel on every fresh install of Ubuntu.

Thanks in advance!
 
Old 05-11-2011, 03:09 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
The launchers are plain-text .desktop files you can just create with a text editor. Just take a look at some existing ones, e.g. /usr/share/applications/gedit.desktop and theres a spec too if you're interested in details: http://standards.freedesktop.org/des...y-spec/latest/
 
Old 05-12-2011, 09:55 AM   #3
xzcallaway
Member
 
Registered: Oct 2008
Posts: 33

Rep: Reputation: 4
The best way I have found to view .desktop files is to
1. Open the Text Editor.
2. Drag and drop a link from the menu or desktop onto the text editor.
 
  


Reply



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
Starting Games from Command Line - Launcher Option? Zirbert Linux - Newbie 2 10-11-2010 04:15 PM
problem in launcher creation for ooo3.2.1 ashu_9575 Linux - Newbie 1 06-16-2010 11:01 PM
gnome launcher won't run a sudo command directly or via a script gnreeke Linux - Desktop 1 06-23-2009 10:44 AM
Opening "Application Launcher" from command line -- KDE 4.1 andrems Linux - Desktop 3 09-09-2008 05:56 AM
Running a command from a launcher (on gnome desktop) Virtuality Linux - Newbie 1 12-17-2007 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04: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