LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-22-2004, 11:06 AM   #1
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Rep: Reputation: 30
a faster way of starting amsn?


cause right now, i have to cd into the folder and have to type
wish amsn

to start the freaking program, is there a faster way of doing it? like shortcut or something?
 
Old 02-22-2004, 11:25 AM   #2
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
make a file called amsn.

#!/bin/bash
cd /path/to/your/program
wish amsn

That is your file. Saved it then give permission to your file so you can execute it.
$ chmod +x amsn

Put the file in $PATH so your system can find it. Mine is /home/myname/bin. Make the shortcut. The command is amsn.
 
Old 02-22-2004, 11:29 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Or even, right click the desktop. Select create new link to application. In the dialogue box, type in /the/path/to/.amsn. Save it and use it.
 
Old 02-22-2004, 12:29 PM   #4
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
thx, it works
 
Old 02-22-2004, 12:47 PM   #5
lozz1978
Member
 
Registered: Jan 2004
Location: Sunny UK
Distribution: Slackware 9.1
Posts: 53

Rep: Reputation: 15
or another idea,
create a sym link in your /usr/bin to your amsn directory, this way you ca start amsn just by typing amsn at the command line
 
  


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
amsn profile being used by another amsn session aeruzcar Linux - Software 2 01-28-2006 02:23 PM
DISCUSSION: Faster and Faster Compilation jeremy LinuxAnswers Discussion 5 12-06-2005 01:41 AM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
Faster starting times for a 366mHz laptop. caesius_01 Linux - Software 5 03-20-2004 07:28 PM
who is faster ? futurist General 1 04-07-2002 11:26 AM

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

All times are GMT -5. The time now is 11:29 AM.

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