LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2007, 08:59 PM   #1
ben44b
Member
 
Registered: Oct 2006
Location: Gatineau, QC, Canada
Distribution: Linux Mint
Posts: 83

Rep: Reputation: 22
Creating a desktop shortcut with a script file


In order to run my iPodder, I have to type in a terminal python iPodder.py

If I wanted to create a desktop shortcut to launch it instead, how would I go about it?

Thanx.
 
Old 01-02-2007, 09:14 PM   #2
Guitarist88
Member
 
Registered: Feb 2004
Location: Nz
Posts: 240

Rep: Reputation: 30
Right click your desktop
Create new --> Link to Application

Select the Application tab.
Put python iPodder.py in the Command field.

That should do it!
 
Old 01-02-2007, 09:28 PM   #3
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
if you're on gnome you can add a launcher to the menu by right-clicking the menu bar on the panel and do Edit Menus. Then select Sound & Video under Menus and then do New Item on the right. Then fill in the dialog with the name: iPodder description: *whatever you want* command: ipodder icon: *whatever you want* (my ipodder icon is in /usr/share/ipodder)

KDE must be similar
 
Old 01-05-2007, 09:52 PM   #4
ben44b
Member
 
Registered: Oct 2006
Location: Gatineau, QC, Canada
Distribution: Linux Mint
Posts: 83

Original Poster
Rep: Reputation: 22
Not goin'

I followed your instructions but for some reason the program won't launch.

The hour glass pops up and seems to get going but it stops.
 
Old 01-06-2007, 12:24 AM   #5
Guitarist88
Member
 
Registered: Feb 2004
Location: Nz
Posts: 240

Rep: Reputation: 30
Where is your file located? When you create the shortcut, change the workpath to the name of the directory that your file is in. Otherwise, you are pointing to nothing, and of course that won't open! Sorry I didn't mention that on the first one.
.
 
Old 01-07-2007, 07:24 PM   #6
ben44b
Member
 
Registered: Oct 2006
Location: Gatineau, QC, Canada
Distribution: Linux Mint
Posts: 83

Original Poster
Rep: Reputation: 22
Shortcut up and running

Got it working!

Thanks GuitarMan!
 
  


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
Need help with creating a script-file kinetik Linux - General 4 01-11-2006 10:24 AM
Is creating a shortcut possible? slick_willie Solaris / OpenSolaris 17 12-20-2004 04:18 PM
Creating a shortcut to the Desktop ptreves Linux - Newbie 3 08-19-2004 04:53 PM
Help creating desktop shortcut to Firebird coopns Linux - Newbie 4 02-04-2004 09:17 PM
Creating a shortcut to desktop yenonn Linux - General 11 08-12-2003 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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