LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-20-2005, 12:13 PM   #16
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Original Poster
Rep: Reputation: 15
Talking How magical...


Hi,

Well after I switched back I added it again and out of interest refreshed the desktop and... sure enough... the icon had appeared

Hehe, well that's that sorted out - tyvm all those who helped. One more question while I'm at it... if I've written a shell script and have it in /home/james/scripts/script can I somehow alias it with a single word for example I could type mangotree in the root directory and it would execute that script?

Thanks,
James.
 
Old 02-20-2005, 12:33 PM   #17
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
There are many things you can do about it:
1. Include this directory in your path
2. Make a link of this script to /usr/local/bin (only root can do rhat)
3. Do an alias:
Code:
alias <pick a name>='/home/james/scripts/script'
for 1,3 to make it permanent you need to add it in some start up file like /home/james/.bashrc

Also in case you don't know it your home directory is ~.
SO if you loggin as james,
"cd ~" is the same as cd "/home/james/" and '/home/james/scripts/script' is '~/scripts/script'.
if you need anothers home directory, (lets say you are root and want to go to james' home directory) you type cd ~james.
Also the files that start with . are hidden files. .bashrc is present but you need "ls -la" or "ls -a" to see it.
I don't know how newbie you are...hope it helps

*EDIT*
You can create launchers in gnome. You don't need to switch to KDE to do that. If I switch to Fedora (I'm dual booting slack and fedora) I'll show you how. I don't have installed gnome in slackware.

Last edited by perfect_circle; 02-20-2005 at 01:43 PM.
 
Old 02-20-2005, 12:56 PM   #18
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Original Poster
Rep: Reputation: 15
...

Hi,

Thanks for that, worked a treat .

Thanks,
James.
 
  


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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Firefox shortcut on menu houmie SUSE / openSUSE 7 04-21-2005 08:30 PM
K shortcut for FireFox fipeso Linux - Newbie 2 04-15-2005 05:08 PM
firefox installed on suse92, now how to find, make icon, execute, deinstall? learnfast Linux - Newbie 6 04-07-2005 07:48 PM
OK I believe I have AS installed correctly... jarget Linux - Newbie 1 08-25-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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