LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-31-2007, 12:57 PM   #1
firstone
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Rep: Reputation: 0
Unhappy newbie questions


I am new at linux but succefully installet Ubuntu anyway. A couple of questions;

Is it possible to do everything or nearly everything from the Desktop without going to Terminal and typing it?

I am trying to install Dynamips.

In terminal and assuming I can't do this in Desktop, how do I create Symlinks to executables? I created a couple but I get a message saying that "file is not found". Do I need to do something with the Path command?

Thanks for your help.
 
Old 08-31-2007, 01:05 PM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
for a symlink (shortcut) for xterm on your desktop type this in a terminal:

ln -s /usr/bin/xterm ~/Desktop

the same command will symlink any other app for you:

ln -s /usr/bin/gimp ~/Desktop

not sure about Dynamips
 
Old 08-31-2007, 01:27 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Is it possible to do everything or nearly everything from the Desktop without going to Terminal and typing it?
In principle, yes. However, I have found that many things are easier in a terminal.

Linking:
I have found that the most reliable way of making links is what I call "linking in": In the directory where you wan the link, type:
ln -s /full/pathname/filename
This creates a link named "filename" in the current directory
OR:
ln -s /full/pathname/filename linkname
Same link, but now with a different name than the target file.

In KDE/Konquerer, you can drag a file or folder to another and select the "link here" option. Don't know if Gnome has that...

Last edited by pixellany; 08-31-2007 at 04:24 PM. Reason: Boo-Boo: left "filename" out of the second example.
 
Old 08-31-2007, 02:02 PM   #4
firstone
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your help.

One more question. How do I create an executable file from a bin file? I understand I have to use chmode or something like it.

Thanks again
 
Old 08-31-2007, 03:18 PM   #5
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
You do.
Type in terminal chmod +x <your_file>.
 
Old 08-31-2007, 04:25 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I just edited my earlier post to fix a mistake.
 
Old 08-31-2007, 05:58 PM   #7
firstone
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
When I tried the Windows like drag and drop that you mention it keeps telling me that I am not authorized to do the operation even if I am logged in as root. How can get full permissions for everything?

Thanks
 
Old 08-31-2007, 07:34 PM   #8
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
you are probably trying to move the file, you dont want to move a file to create a link to it, you need to link it (like a shortcut in windows)...
 
Old 08-31-2007, 11:49 PM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Logged into the Ubuntu graphical interface as root? Are you sure? (In Ubuntu, it takes two configuration changes to do that)

Quote:
you are probably trying to move the file, you dont want to move a file to create a link to it, you need to link it (like a shortcut in windows)...
He's responding to my comment that you can drag a file in KDE and use the "link here" option. I don't know how this works in Gnome.
 
Old 09-01-2007, 08:50 AM   #11
Fusi
Member
 
Registered: May 2003
Location: Saarland, Germany
Distribution: Arch
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by firstone View Post
I am new at linux but succefully installet Ubuntu anyway. A couple of questions;

Is it possible to do everything or nearly everything from the Desktop without going to Terminal and typing it?

I am trying to install Dynamips.

In terminal and assuming I can't do this in Desktop, how do I create Symlinks to executables? I created a couple but I get a message saying that "file is not found". Do I need to do something with the Path command?

Thanks for your help.

If you expect all things could be done without ever using the terminal, linux is not the right OS for you!
please read this:

http://linux.oneandoneis2.org/LNW.htm
 
Old 09-05-2007, 06:08 PM   #12
firstone
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
The problem I am having is that I get a "No such file or directory" when I try and run Dynamips even after following all instructions.

What are the biggest reasons for this message?

Thanks
 
Old 09-05-2007, 06:23 PM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by firstone View Post
The problem I am having is that I get a "No such file or directory" when I try and run Dynamips even after following all instructions.

What are the biggest reasons for this message?

Thanks
assuming that the file is **somewhere**, then this message means that it is not in your PATH system variable. In these cases, you have to cd to the directory where the executable file is, and do ./filename. This command translates to: Run the command "filename" in this directory--don't look for it in PATH."

To add the directory to the PATH variable---suppose your file is in /opt/bin:
export PATH=$PATH:/opt/bin

Now you can run that file from anywhere.
 
Old 09-05-2007, 07:19 PM   #14
firstone
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
the file Dynamips-0.2.7-RC3-x86.bin is in the directory of usr/local/bin but weather I run it from there or somewhere else with the ./ it still syas "bash: ./usr/local/bin/dynamips: no such file or directory".

Do you have any more ideas about the possible reason?

Thanks
 
Old 09-05-2007, 08:43 PM   #15
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
OK--now you are talking about 2 different files. Start with the error message---Go to /usr/local/bin and see if there is a file named dynamips. Assuming that there is, then I would assume that it is being called by the other one. If so, then you have no choice but to put /usr/local/bin in your PATH variable. (The ./ trick only works to the first file you execute.)

If it is NOT there, then we need to backtrack thru your installation process and find where it is.
 
  


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
Some newbie questions BBB Linux - Newbie 11 12-27-2004 07:21 PM
newbie questions act1vematr1x Fedora 1 03-07-2004 01:08 AM
Newbie - Few Questions! muzicman82 Linux - General 6 11-24-2003 06:21 AM
newbie questions norbs Linux - General 3 07-27-2002 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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