LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-29-2003, 04:13 PM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
Shortcut to Desktop?


Hi, I would like to know how can I add a shortcut of Python to my desktop? now Im running Slackware 9.0, I tried with the command "Python" in the New Luncher menu but doesnt works.

Thanks.
 
Old 09-29-2003, 04:23 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Which desktop are you in?. If it's KDE, simply right click at the desktop >> create new >> Link to application.

There you place a name to your program, let's say python, then at the tab execute, type python and mark the box "Run in Terminal".

The idea is to create a link to a terminal where it will start running the command python. Python is command line, so you've to start python in a terminal, always.
Although, may I ask what you are going to do with python shortcut? . Running Python from the terminal is not useful and very limited. It's simply for testing basic commands as print and stuff. To code in Python, you have to create a simple text file, save as .py (eg: your_program.py) and then run from the terminal with python as:

python your_program.py

Well, good luck

Last edited by Mega Man X; 09-29-2003 at 04:25 PM.
 
Old 09-29-2003, 04:27 PM   #3
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
The problem was that I dont marked the box "Run in Terminal".l, now is working fine.

Thanks A lot.
 
Old 09-29-2003, 04:29 PM   #4
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Cool, no problems
 
  


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 Magic02 Linux - Newbie 1 07-03-2005 03:48 PM
Creating a shortcut to the Desktop ptreves Linux - Newbie 3 08-19-2004 04:53 PM
Desktop shortcut & look dav7500 Linux - General 1 07-28-2004 03:13 PM
desktop shortcut? Sean2 Mandriva 3 12-11-2003 08:13 PM
Desktop Shortcut MasterC Linux - Software 13 09-27-2002 10:36 AM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration