LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating a desktop shortcut with a script file (https://www.linuxquestions.org/questions/linux-newbie-8/creating-a-desktop-shortcut-with-a-script-file-515758/)

ben44b 01-02-2007 08:59 PM

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.

Guitarist88 01-02-2007 09:14 PM

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!

Benanzo 01-02-2007 09:28 PM

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

ben44b 01-05-2007 09:52 PM

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.

Guitarist88 01-06-2007 12:24 AM

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.
.

ben44b 01-07-2007 07:24 PM

Shortcut up and running
 
Got it working!

:cool: Thanks GuitarMan!


All times are GMT -5. The time now is 01:53 AM.