I feel totally lost and useless in Linux...

MournSanity

Diamond Member
Feb 24, 2002
3,126
0
0
So I'm using Linux now and I'm trying to figure out how things work. So far I am completely lost. I know how to use the command line, but I don't know any commands that might help me out. A lot of the questions I have may seem very noobish, but thats the thing: I'm a noob. So I would appreciate any help you guys give me.

Things that should be easy seem very complex to me at the moment. For example, I am trying to install Mozilla Firefox. I downloaded the tarbell file and I can't seem to figure out how to install it right. I managed to run the installation file and it seemed to have installed correctly, but I don't know how or where to find the Firefox browser to run it. I am so confused.

Another thing, how would I go about installing one of the themes at www.gnome-look.org ? I see the themes listed under things called GTK and metacity. What are they?

Also for reference, how do you usually install a program, and where do you find it to run it after it is installed?

More questions...How would I go about installing the latest versions of Gnome and KDE? What about other window managers?

I can't save my setting for my wireless adapter for some reason and everytime I want to connect to the internet I have to open up the terminal, log in as root, and then type iwconfig wlan0 mode Auto followed by iwlist wlan0 scan. Can someone tell me how to make a script or something that can automatically do both of these when I run it?

If you could also tell me some other useful info that might help me get on my feet in Linux, I would appreciate it.


EDIT:

***** I'm using SUSE LINUX PRO 9.1 *****
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
#!/bin/bash
iwconfig wlan0 mode Auto
iwlist wlan0 scan


There's probably a file somewhere to save that information to, but I don't know what it is.

Programs usually install to /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin depending on the distro and the program.

The preferred method for installing a program depends on the distro.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Things that should be easy seem very complex to me at the moment. For example, I am trying to install Mozilla Firefox. I downloaded the tarbell file and I can't seem to figure out how to install it right. I managed to run the installation file and it seemed to have installed correctly, but I don't know how or where to find the Firefox browser to run it. I am so confused.

Generally you don't want to do that, packages are made for just about every distribution. You don't say what distribution you're using, so I'll use Debian as the example, to install firefox in Debian I would type 'apt-get install mozilla-firefox' and then it would be downloaded and installed automatically. Binaries (or scripts to start them) are usually installed to /usr/bin so they'll be in your path, just type mozilla-firefox to start it. Some things will be in put in /bin, /sbin or /usr/sbin but only system management tools and it's easy to find out where things are in Debian, just type 'dpkg -L <packagename>' and it prints all the files contained in that package.

Another thing, how would I go about installing one of the themes at www.gnome-look.org ? I see the themes listed under things called GTK and metacity. What are they?

GTK is the Gimp Tool Kit, it's the widget set that gnome uses, basically the buttons and things. Metacity is the default window manager, the thing that draws the borders around the windows, multiple desktops, etc. I think Gnome has a themes control panel with an install button somewhere.

More questions...How would I go about installing the latest versions of Gnome and KDE? What about other window managers?

Just like above it depends on your distribution, with Debian I just type 'apt-get update' followed by 'apt-get upgrade' periodically and it keeps me current with whatever's available in Debian. If you really want you can compile them all by hand, but that's a management nightmare.

I can't save my setting for my wireless adapter for some reason and everytime I want to connect to the internet I have to open up the terminal, log in as root, and then type iwconfig wlan0 mode Auto followed by iwlist wlan0 scan. Can someone tell me how to make a script or something that can automatically do both of these when I run it?

Depends on your distribution again, in Debian the file /etc/network/interfaces controls how all the network interfaces are handled and you can put whatever you want to be run in there. Type 'man interfaces' to get the format.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: hypersonic5
So I'm using Linux now and I'm trying to figure out how things work. So far I am completely lost. I know how to use the command line, but I don't know any commands that might help me out. A lot of the questions I have may seem very noobish, but thats the thing: I'm a noob. So I would appreciate any help you guys give me.

Things that should be easy seem very complex to me at the moment. For example, I am trying to install Mozilla Firefox. I downloaded the tarbell file and I can't seem to figure out how to install it right. I managed to run the installation file and it seemed to have installed correctly, but I don't know how or where to find the Firefox browser to run it. I am so confused.

it can take a while to complete... but see if this command can find your file:

find / 2>/dev/null | grep irefox

(left the f off incase it was capitolized...) It should find your files. Generally programs that you install from generic install things generally go into /usr/local areas. That's your own little land for installing stuff half-hazardly and the OS shouldn't mess with that stuff even when updating or upgrading installs.

Another thing, how would I go about installing one of the themes at www.gnome-look.org ? I see the themes listed under things called GTK and metacity. What are they?

GTK is a graphical programming library. The actual files are one of those various .so files in your /lib, /usr/lib, usr/local/lib. etc etc directories. About the same things as .dll files in windows. Programmers use these to make their jobs simplier.

GTK is generally used in Gnome projects. gtk.org

QT is another one you'd see that does similar stuff to GTK, but is used mostly in KDE apps.

Metacity is the default Window manager used in Gnome. Gnome is what is called a "desktop manager" or desktop enviroment. That is it's a overall project designed to fuffill all the basic needs of a average basic needs of a Desktop user.. (simple games, browser, editor, window manager, panels, icons etc etc). Metacity can be replaced by something like Openbox or other compatable window manager (window manager controls the behavior of windows, like minimize, maximize, the look, feel, and other behaviors of the windows)

Everything is done in layers.. each program controls a specific need for a user or developer... It can get complicated. But once you get used to it, it's easy to figure out and makes sense.

Generally to install a theme in Gnome you go to the start menu, open up preferences, and find the themes selector. Open that up.
Take the gz file you downloaded and drag and drop it into the theme window, it should give you a prompt and you select yes you want to install.

What you'd probably want is GTK+ 2 theme, because Gtk+ 1 is obsolete for most programs. To use that you create a custom theme by going to "theme details" and gtk-only theme would be in the "controls" tab. You can mix and match different themes. You can install one theme for metacity window manager theme, a icon theme, a controls theme, and then create your own from mixing and matching it all. You can also get one overall big theme like "smokey" or "industrial" theme.

THere are a few different theming websites. There are ones at art.gnome.otg and different tutorials on constructing and installing your own custom themes.

Also for reference, how do you usually install a program, and where do you find it to run it after it is installed?

Depends. Most of the time it's installed in /bin /usr/bin /usr/local/bin, /sbin /usr/sbin. sbin are used for administration tools only. Stuff to keep away from normal users.

If it's a GUI program like a game it'll usually pop up in your start menu somewere, depending on what type of program it is. In the command line your enviroment locates executables by the PATH variable. To see that you go "echo $PATH". To see other variables you go "set". To append a new searching path. you'd go like:
export PATH=$PATH:/usr/local/bin/

or something like that. To make it perminate you'd add the command to one of your .profile or .bash_profile or .bashrc files in your home directory. The . before the name makes it "hidden". To see these files you go "ls -l ~/".

~/ is short hand for your /home/usrname/ directory.

More questions...How would I go about installing the latest versions of Gnome and KDE? What about other window managers?

Generally you install them either thru packages, like RPM's and DEB files. Or you simply download the sources and compile and configure everything manually. Of course this can get pretty complicated.

Depending on your distro you can do is differently. Fedora and Debian I just use Apt and Yum. These programs keep track of packages in online repositories setup by Debian/Fedora or third parties. They are convienient because they do most of the work for you... Personally I prefer apt.

You'd go:
apt-get update
apt-get upgrade

and that would make your OS up to date. To install programs you'd go:
apt-get install openbox

Otherwise if your using something like Suse or Mandrake, best way is to use something like a rpmfind mirror to find the rpm files you need. Of course without a advanced package manager you have to find and install all the programs and their dependancies.

The actually easiest way to keep up to date is just install patches and such for your distro, and then when a new version comes out you download the cdroms and do a upgrade. Using apt-get it's easy to keep up to mirrored third party distros.

I can't save my setting for my wireless adapter for some reason and everytime I want to connect to the internet I have to open up the terminal, log in as root, and then type iwconfig wlan0 mode Auto followed by iwlist wlan0 scan. Can someone tell me how to make a script or something that can automatically do both of these when I run it?

Depending on your distro you simply make a script like what nocmonkey said, and if you want it to run automaticly every time you start up you put a reference to it (or the script itself) into a file like /etc/rc.local.

It depends on your distro, each one has a slightly different setup, but it's easy once you get the basics figured out. There are also various gui-based tools for setting up networking and stuff, that tends to be more distro-specific.

If you could also tell me some other useful info that might help me get on my feet in Linux, I would appreciate it.


google is your friend. Anything you want to know is located in various websites and you use google to find them. It even has a linux specific search engine you use by going to www.google.com/linux/

the guides at the documentation project is usefull.

It's a good place for distro-agnostic information, rather then a simple step by step howto, it explains everything and what is happening. Check out the linux introduction guide, bash introduction guide.

Also usefull are the linux administrator guide, and the advanced bash scripting guide. And also the network administrator guide if you want to setup network services. For specific tasks (like setting up a ppp server) there are the howtos section.

Also there are security websites like linux security.com that will teach you some basics about hacking around and how to protect yourself. Also check out the advisories section to keep up to date.

Also check out the websites for your distro for specific things like the various startup scripts and distro-specific configuration tools and distro-isms. Also most have forums and mailing lists specific to that distro were you can ask questions that a non-mandrake linux use may not know much about (for instance).

Also most major bookstores (like barnes and noble) have huge linux and programming sections for all sorts of subjects and different subjects. Some books are better then others, some books just suck. Check them out and read them at the store for a while and see if they have what your realy look for. They have documentation from everything from "linux for dummies" to "Linux administrator bibles" to advanced programming subjects.

But the best to find anwers quickest is google. Do searchs like "gnome install themes", and you should find something quickly.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
<- chuckles at the idea that "linux is ready for the desktop"

Have you seen someone who doesn't know Windows try to install software on Windows? The situation is just about as bad.
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Originally posted by: Nothinman
<- chuckles at the idea that "linux is ready for the desktop"

Have you seen someone who doesn't know Windows try to install software on Windows? The situation is just about as bad.

Download exe from random website, run, click "next next next finish", enjoy program (and new spyware included at no extra cost!). There's no issue of tarballs vs suse yum packages vs redhat rpm vs debian deb vs gentoo whatevertheycall it. Worst case, you download some file and lose it, or run it and keep running the installer instead of the program (usually the user figures it out quickly enough).
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: CTho9305
Originally posted by: Nothinman
<- chuckles at the idea that "linux is ready for the desktop"

Have you seen someone who doesn't know Windows try to install software on Windows? The situation is just about as bad.

Download exe from random website, run, click "next next next finish", enjoy program (and new spyware included at no extra cost!). There's no issue of tarballs vs suse yum packages vs redhat rpm vs debian deb vs gentoo whatevertheycall it. Worst case, you download some file and lose it, or run it and keep running the installer instead of the program (usually the user figures it out quickly enough).

WTF is this "exe" thing you speak of?

I downloaded something called w345ad.zip, I double clicked on it and it came up with a bunch of picture thingies in a window... then I clicked on one of them and my computer crashed!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Download exe from random website, run, click "next next next finish", enjoy program (and new spyware included at no extra cost!). There's no issue of tarballs vs suse yum packages vs redhat rpm vs debian deb vs gentoo whatevertheycall it. Worst case, you download some file and lose it, or run it and keep running the installer instead of the program (usually the user figures it out quickly enough).

You're assuming the person knows how to find the thing on the website and remembers where they put it, there's a lot of people that can't even do that.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: AnonymouseUser
Originally posted by: CTho9305
<- chuckles at the idea that "linux is ready for the desktop"

*browses Anandtech's Forums > Operating Systems*

<- chuckles at the idea that "Windows is ready for the desktop" ;)

Could it be because Windows has 95% percent of the market and Linux has 2.5%?


Also look at the percentage of Mac users (~2.5%) and the number of mac help me vs linux help me. :p
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: drag
Originally posted by: AnonymouseUser
Originally posted by: CTho9305
<- chuckles at the idea that "linux is ready for the desktop"

*browses Anandtech's Forums > Operating Systems*

<- chuckles at the idea that "Windows is ready for the desktop" ;)

Could it be because Windows has 95% percent of the market and Linux has 2.5%?


Also look at the percentage of Mac users (~2.5%) and the number of mac help me vs linux help me. :p

Maybe Mac users are just smarter than Linux users. ;)
 

AnonymouseUser

Diamond Member
May 14, 2003
9,943
107
106
Originally posted by: drag
Originally posted by: AnonymouseUser
Originally posted by: CTho9305
<- chuckles at the idea that "linux is ready for the desktop"

*browses Anandtech's Forums > Operating Systems*

<- chuckles at the idea that "Windows is ready for the desktop" ;)

Could it be because Windows has 95% percent of the market and Linux has 2.5%?


Also look at the percentage of Mac users (~2.5%) and the number of mac help me vs linux help me. :p

Doesn't Windows and Mac come preinstalled on ~95% of all computers? Don't they also have many more support forums? Aren't you supposed to just click to install?

Also consider that most computer shops provide support for computers running these OSes, so many people simply take them in for the same services that most Linux users have to perform themselves.

On top of that, most software/hardware vendors offer full support for Windows and/or Mac, so if something isn't working correctly you can call or email them, or download the latest update from their websites.
 

Jeff7

Lifer
Jan 4, 2001
41,596
20
81
There, bookmarked this thread.
I was/still am such a newbie at Linux - I never could even get a program to run. I'd double-click on what I thought was the program's file, a little expanding rectangle would appear, seeming like it was being run, but nothing ever happened. I downloaded a few programs from the Internet using Linux - but they just sat there. Never could actually run them. Some day I'll assemble a system purely for Linux experimentation.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: AnonymouseUser
Originally posted by: drag
Originally posted by: AnonymouseUser
Originally posted by: CTho9305
<- chuckles at the idea that "linux is ready for the desktop"

*browses Anandtech's Forums > Operating Systems*

<- chuckles at the idea that "Windows is ready for the desktop" ;)

Could it be because Windows has 95% percent of the market and Linux has 2.5%?


Also look at the percentage of Mac users (~2.5%) and the number of mac help me vs linux help me. :p

Doesn't Windows and Mac come preinstalled on ~95% of all computers? Don't they also have many more support forums? Aren't you supposed to just click to install?

Also consider that most computer shops provide support for computers running these OSes, so many people simply take them in for the same services that most Linux users have to perform themselves.

On top of that, most software/hardware vendors offer full support for Windows and/or Mac, so if something isn't working correctly you can call or email them, or download the latest update from their websites.


It's just that Linux isn't as newbie friendly as other distros. Of course Linux has security, price, freedom, gobs and gobs of high (and low) quality software for it. I think that it's worth the work of learning how to use it. Even if it's just for a desktop. ;)
 

AnonymouseUser

Diamond Member
May 14, 2003
9,943
107
106
Originally posted by: drag
It's just that Linux isn't as newbie friendly as other distros. Of course Linux has security, price, freedom, gobs and gobs of high (and low) quality software for it. I think that it's worth the work of learning how to use it. Even if it's just for a desktop. ;)

Agreed! :)

 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: Jeff7
There, bookmarked this thread.
I was/still am such a newbie at Linux - I never could even get a program to run. I'd double-click on what I thought was the program's file, a little expanding rectangle would appear, seeming like it was being run, but nothing ever happened. I downloaded a few programs from the Internet using Linux - but they just sat there. Never could actually run them. Some day I'll assemble a system purely for Linux experimentation.

Best way to learn is by doing. If you try to learn linux by using Windows, windows ends up a crutch and will slow you down. Doesn't mean that you have to use it for a main computer.

This is what you do: go get slackware, do a full install and leave X windows turned off. Then it's just the OS and you. Fastest way to learn. (not the most pleasent though)

If you want to have a usable system to do searches thru, go ahead and use what your familar with. Go and get a program called "putty.exe". This is what is known as a ssh client. A linux distros have OpenSSh installed by default. This allows you to take the Linux command line and make it accessable to you on the Windows desktop.

Then pick a goal. Don't go "I think that I can do this", go "I want to do this", and go for it. Something fun.. Like setting up a Icecast MP3/Ogg server. Or rip some dvds and setup up a streaming media server using VLC. There are good docs and a decent user community. Using the command line via putty on your windows desktop will allow you to get to understand stuff like Unix permissions.

Or maybe just install Apache web server, or learn a bit of Unix programming, whatever apeals most to you.

Just using Linux from a GUI is a bit difficult. The GUI and the command line are more ment to compliment each other. One covers the other's weaknesses.

And you don't realy need a fast computer at all. A 400-600mhz computer makes a great Linux server. In fact something older is usually easier because the more likely new distros have the problems with support on old hardware worked out well. It's the brand new stuff (high end video cards, weird raid devices, etc) that cause headaches.
 

Tbirdkid

Diamond Member
Apr 16, 2002
3,758
4
81
Windows= Lets figure out a way to make people that are dumb stay dumb and the people that are smart become dumb.
Linux= Lets teach the world that you dont have to be a brain surgeon to manipulate a computer.

It takes time, trial and error, and sometimes just plain READING to figure out how things work. You werent born with the skills to make a peanut butter sandwich. You learned it....


 

GiLtY

Golden Member
Sep 10, 2000
1,487
1
0
Agree with mostly everybody on linux, best way to learn is total immersion. Use google a lot too (especially the newsgroup search, it's an excellent tool to get your question answered). When I first started using linux I had a browser open at google pretty much @ all times.

--GiLtY
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: EmperorRob
Double-clicking is an invention of the devil to give you carpal tunnel.

It can. But it doesn't have to.

Keyboards are faster anyways. They have over a 101 buttons, mice have 3, er maybe 7 at the most.

The trick is keyboard and mouse placement.

Keyboards that lean towards you are bad. Keyboards should lean away from you, that's natural, but most people don't like it because they can't see the keys easily... so people have the keyboard leaning towards them.

Keyboards should be low, almost on your lap. You should type with your arms hanging, like your hands are resting crossed in your lap.

When using the mouse it has to be low, next to the keyboard on the same level. Very close, very low. The point is to reduce as much movement as possible. if you have to reach up it'll screw you up....

If you have a table with a sharp edge NEVER rest your wrist on the edge... it cuts up into your wrist and causes soreness. After a while of doing this you will have very sore wrists with shots of pain going up into your palm. Very bad, and it's not from using the mouse it's from pressure on your wrists... very bad.

What you need is a prop for your elbow. Something slightly above your mouse, I use a little stool sometimes. Or if I am at a desk with a pull leaf on it, I'll put a thick book on there, maybe a towel and use that. So I am reaching slightly down to the mouse and it takes all the pressure off of my wrists.

For a while my right wrist was very sore. I'd get shots of pain running into my hand from my lower arm and my hand was starting to have numbness... I thought I was screwed for a little bit. Then I read just a little bit on ergonomics realised I rested my wrist on the edge of the table. I began propping my elbow up when using the mouse, and made sure that when using input devices my wrists were very straight and had as little movement as possible.

After taking some simple steps all numbness and pain went completely away within days. Never to return.

Carpal tunnel would REALY REALY suck, but it's not generally something you get from typing or using the mouse. It's just from all that pressure and twisting for 8 hours a day if you work on a keyboard; that will screw you up.


:p
 

squirrel dog

Diamond Member
Oct 10, 1999
5,564
48
91
The biggest problem I had with linux and trying to get anyone to help,was the arrogant additude of the user group/groups . Read the mans was the answer to any question I had , Well maybe Linux isnt ready for prime time imho.Who will spend ? 10 hrs reading mans to get a snd card to work ?
 

TwoBills

Senior member
Apr 11, 2004
734
0
76
Let a Linux noob jump in here. I think the key to moving to Linux is acually getting an os up and running and then go from there.

I started, about 6 weeks ago, with a fresh machine. I was determined not to foul it with ms. At this point I didn't know what the # sign meant! Took a look at a Knoppix live cd, couldn't understand Mepis, trashed a couple of Gentoo installs and started to get these "WTF I'll just throw a xp home on there and be done with it" thoughts. Luckily, Drag and n0cmonkey were there to reset me and keep me interested.

I downloaded and made manuals of "Intro. to Linux" and "Bash Guide for Beginners". About a year's worth of heavy reading and studying there, but I'll get thru it.

But what really locked me into the Linux camp is a book titled "Linux for non Geeks". It comes with Fedora core 1 ($28 at Amazon). Man, it got me up and running in a couple of hours, and I was takin' my time. It's not all cut and dry, and not advanced at all, but I'm online, behind my router, speakers, wireless mouse, and printer (3 virtuals ones, BTW) are all in operation. So I figure I'm good to go.

So, there ya go. The keys to the kingdom.
 

everman

Lifer
Nov 5, 2002
11,288
1
0
Google is a Linux user's best friend. Sometimes if something isn't working I can just type is a big long line and get exactly what I need. It usually turns out that plenty of other people already asked about the same problem you are having. Don't give up! It's well worth learning.