[01:10] <newguy> i was thinking of installing ubuntu onto a separate hdd, but how would i set my computer to give me the option of which os to launch on startup?
[01:12] <benonsoftware> newguy: When the computer boots up GRUB should disply a lost of OSes to choose from
[01:12] <benonsoftware> :(
[06:57] <E3D3> Where should I look for more key-bindings like 'Control-D' for terminal ? Shortcut-keys don't list them.
[06:59] <JoseeAntonioR> e3d3 You mean, copy and paste?
[07:01] <E3D3> No, those I know but I just want to find Control-D somewhere in a list, that must learn me more. I can't find any info about Control-D ?!
[07:01] <zeroseven0183> Is Gconf-Editor installed?
[07:02] <E3D3> zeroseven0183: Are you asking me ?
[07:02] <zeroseven0183> Yes E3D3. Sorry for not addressing you directly.
[07:02] <zeroseven0183> Have you tried looking for it in gconf-editor?
[07:03] <E3D3> np, No I didn't. Never thought about it & still don't know why but like to try. I be right back. Thanks
[07:07] <geirha> E3D3: In a terminal, run   stty -a
[07:08] <geirha> The stty command queries the terminal's settings. You won't find those bindings in gnome's config.
[07:09] <E3D3> Yes :-)
[07:10] <E3D3> There's a nice list. I knew its no orphan. Why couldn't I find it elsewhere - or did I search so bad ?
[07:11] <E3D3> geirha: Thanks
[09:31] <divyanshu> please help                         http://ubuntuforums.org/showthread.php?p=11648593#post11648593
[11:09] <MobileDruif> What did you want to know Guest?
[11:09] <Guest11872> So here is my problem...
[11:10] <Guest11872> I have bought a new HDD of 500GB what I want to do is make 3 partitions
[11:10] <Guest11872> 1st: Windows 7 (~80GB)
[11:11] <Guest11872> 2nd: Ubuntu (~20GB[Hope it would be enough])
[11:11] <MobileDruif> Plenty
[11:11] <Guest11872> 3rd: For Storing data
[11:11] <MobileDruif> Alright
[11:11] <Guest11872> For 1st no problem
[11:11] <MobileDruif> No? ;)
[11:12] <Guest11872> After making the Windows install on an 80 GB primary partition which is NTFS
[11:12] <MobileDruif> It's Windows ;) There's your problem...JK
[11:12] <Guest11872> Which File system should I use for Ubuntu?
[11:13] <Guest11872> Will NTFS be OK or ext3 will be better for the Ubuntu?
[11:17] <MobileDruif> I did a quick read-up on the subject, because I'm not really familiar with it.
[11:17] <Guest11872> Ok
[11:18] <MobileDruif> It's not recommended, but there is a way to set it up: http://www.howtogeek.com/howto/35807/how-to-harmonize-your-dual-boot-setup-for-windows-and-ubuntu/
[11:18] <Guest11872> So whats your opinion?
[11:18] <Guest11872> Didn't get! Whats not recomended NTFS or Dual Boot?
[11:19] <MobileDruif> Disclaimer: attempt at your own risk, I will *NOT* be held liable for any loss of data
[11:19] <MobileDruif> Making a shared partition
[11:20] <Guest11872> Ofcourse! why would I hold you responsible? ;D
[11:20] <Guest11872> What exactly is this shared partition and how to make it?
[11:22] <Guest11872> #ubuntu-in
[11:34] <Culiforge> 10.04_3.2GHz Intel while looking at my system monitor, it appears my swap is not being utilized. It never goes above or below 12% while my physical memory utilization while tasking is in the 70-90% range... is this normal?
[11:35] <Culiforge> also getting greyed out windows like the system is chugging too hard and needs to catch up..
[11:35] <coalwater> from what i'v seen Ubuntu usually prefers the ram, as long as it's not totally full it wont be using the swap much
[11:35] <coalwater> do you have cpu usage?
[11:35] <coalwater> high*
[11:35] <Culiforge> never above 80% usually
[11:36] <Culiforge> idles around 20%
[11:36] <Culiforge> working spikes around 40-60%
[11:37] <coalwater> well, does this happen every time? or just this time?
[11:39] <Culiforge> no, it's pretty much constant...(ie, right now, not doing anything but irc, and firefox) system is idle cpu@20, physmem@80, swap@12
[11:39] <coalwater> how much ram do u have ? 2GB?
[11:40] <Culiforge> currently 512, got more coming.. they sent the wrong stuff
[11:41] <coalwater> i see, probably things will get better when you increase the ram, firefox tend to use a lil too much ram, so that might be the problem
[11:42] <Culiforge> will be 2G when it comes.. but it seem that the system shouldn't be greying out windows like it is.. but I can see where it would mostly be a low memory issue..
[11:42] <coalwater> the greying out is like windows when it says program not responding and it all goes white
[11:43] <Culiforge> kinda like the system is trying to catch up
[11:43] <coalwater> probably this time is spent by ubuntu trying to free up memory for whatever operation it's trying to do
[11:43] <coalwater> you could try chrome for now, should be less memoery intensive
[11:44] <coalwater> try using 'top' in terminal
[11:44] <Culiforge> I don't understand that... top
[11:44] <Snicksie> Culiforge, swap is slower then memory ;)
[11:45] <Snicksie> the system monitor should show the correct values too
[11:46] <coalwater> ok, use processes tab and sort by memory usage
[11:46] <Culiforge> indeed, aware that swap is slower.. but it never goes above or below 12%
[11:46] <JackyAlcine> top's like Windows Task Manager without the killing feature.
[11:47] <coalwater> u could increase the swappiness or w/e in the fstab, but that stuff needs lil time, and i need to go ffor a bit , be back in half an hour or so
[11:47] <JackyAlcine> Shows a list of all I/O and CPU usages.
[11:47] <coalwater> brb
[11:47] <Culiforge> thx coalwater
[11:48] <Culiforge> right now gnome sys monitor it the biggest memory user at ~10% but sys monitor greyed out when switching tabs
[11:50] <Snicksie> you might wanna try using less programs and/or use a lighter desktop environment. I guess you use unity right now or ...? lubuntu is specially for slower computers
[11:51] <Culiforge> Snicksie: I can see that... I am running apache,mysql,koha in the background
[11:51] <Culiforge> but none of that seems to be pulling huge resources either
[11:55] <Culiforge> I do have another question though... my browser access through 127.0.0.1 is waaaaaay slower than I would have thought. normal web browsing is quite snappy though. any thoughts?
[11:58] <geirha> Does ''ip -o -4 addr'' run in a terminal show a line for an lo interface?
[11:58] <Culiforge> 1: lo    inet 127.0.0.1/8 scope host lo
[11:58] <Culiforge> 2: eth1    inet 192.168.1.9/24 brd 192.168.1.255 scope global eth1
[11:59] <geirha> Yeah, that looks correct
[12:00] <geirha> How about ''route -n|grep 127'' ?
[12:00] <Culiforge> no output
[12:00] <geirha> Same here, so that should be fine
[12:00] <geirha> I don't know why it would be so slow then :/
[12:01] <coalwater> back
[12:01] <Culiforge> geirha: was looking around and saw some boards talking about php.in and resolvconf so it may be more program specific
[12:02] <geirha> Well, resolv.conf shouldn't be an issue when you use an ip address
[12:02] <geirha> But yeah, could be some weirdness with php.
[12:03] <geirha> Compare ''ping -c 5 127.0.0.1'' with ''ping -c 5 google.com''
[12:03] <Culiforge> although when I start apache it spews something about not being able to find a fully qualified domain name or something to that effect
[12:03] <Culiforge> --- 127.0.0.1 ping statistics ---
[12:03] <Culiforge> 5 packets transmitted, 5 received, 0% packet loss, time 3997ms
[12:03] <Culiforge> rtt min/avg/max/mdev = 0.036/0.041/0.045/0.005 ms
[12:04] <Culiforge> --- google.com ping statistics ---
[12:04] <Culiforge> 5 packets transmitted, 5 received, 0% packet loss, time 4006ms
[12:04] <Culiforge> rtt min/avg/max/mdev = 31.214/32.283/32.905/0.593 ms
[12:04] <geirha> Yeah, so the lo interface is working fine. Must be php
[12:04] <geirha> (or apache)
[12:05] <coalwater> u kknow for sure that the apache service is up ?
[12:05] <geirha> btw, please use a pastebin for pasting more than 2 lines at a time
[12:05] <Culiforge> will do---> pastebin
[12:06] <Culiforge> yes, apache is up or I wouldn't be able to access my ILS(koha) right?
[12:06] <coalwater> idk what is that
[12:06] <Culiforge> integrated library system.. won't run unless apache is
[12:07] <Culiforge> i see 3 instances of apache2 in sys monitor
[12:08] <coalwater> and 127.0.0.1 doesn
[12:08] <coalwater> work ?
[12:09] <Culiforge> it works, it's just access is terribly slow
[12:09] <coalwater> could be the same issue
[12:09] <coalwater> rams
[12:09] <Culiforge> right-o, I'll stop complaining until my ram gets here then :)
[12:10] <coalwater> try a ligher browser if u want to stick with ubuntu desktop
[12:11] <coalwater> how long do u expect to wait for the rest of the ram to come
[12:11] <Culiforge> I'll more than likely be switching to fedora soon (although I do like ubuntu personally) because it's what I'll need for work
[12:11] <Culiforge> hopefully by midweek, the ram will come
[12:12] <coalwater> how much ram is free if you close firefox ?
[12:14] <Culiforge> 50%
[12:15] <Culiforge> so firefox with 5 tabs is using btw 100-130M
[12:15] <Culiforge> afk one sec, gotta let the dog out real quick
[12:20] <coalwater> well with me, firefox eats up as much as it could do lol, idk if its my addons or what, but sometimes i forefox+netbeans or somethign could eat up all my 4.5GB at work, i tend to restart firefox every now and then, to free up memory
[12:22] <Culiforge> back coalwater: same here but <150M doesn't seem like an issue
[12:23] <geirha> Same with google-chrome and chromium. Once in a while it starts eating mem like crazy. The only solution is to restart the browser.
[12:24] <geirha> I suspect it's mainly the fault of flash
[12:25] <Culiforge> geirha: I agree, flash or java. java was a suspect on my old windows machine
[12:29] <coalwater> u use lucid right? 10.4
[12:29] <Culiforge> yup
[12:32] <coalwater> if you're going to reinstall the system anyway, maybe ud want to try to install lxde or something, a lighter weight desktop environment
[12:33] <coalwater> just temporarily till you do a full reisntall or something
[12:34] <Culiforge> coalwater: sounds like a grand idea
[12:37] <coalwater> but apparently it will install a lot of things, idk how good/bad idea this is lol http://paste.ubuntu.com/821167/ [ran apt-get install-s  lubuntu-desktop] -s = simulate only
[12:37] <coalwater> there's a space between install and -s, sry
[12:41] <Culiforge> I remember seeing somewhere there is an argument for installs like that where it will only install a pure environment without additional progs and whistles and bells and stuff.. I'll look for that again
[13:27] <coalwater> Culiforge: if you find it please do share it :D
[13:28] <Culiforge> coalwater: will do.. I did find something on psychocats that "rolls back" all the extra default installs but it wasn't what I remember seeing
[14:17] <hobgoblin> Culiforge: minimal install perhaps - there's on of those on psychocat's page
[14:18] <hobgoblin> Culiforge: http://www.psychocats.net/ubuntu/minimal
[16:01] <bobfree> why if I do "service networking stop" then start it back up again my internet connection doesn't come back up until I reboot? my IP is assigned through DHCP
[19:14] <LemonAid> My DVD writer can`t read any cd/dvd written with Brasero, in either Ubuntu or Windows. When i put the dvd in, after i have burned it, the dvd writer unmounts itself in both OS as well.. if that makes any sense. Did anyone encounter this before?
[21:09] <chrisoffice> hello
[21:09] <benonsoftware> Hi
[21:09] <chrisoffice> u r here again?
[21:10]  * benonsoftware nods
[21:10] <chrisoffice> :-)
[21:10] <chrisoffice> so one can be on multiple channels at the same time?
[21:10] <benonsoftware> Yes
[21:10] <chrisoffice> i c, thanks
[21:11] <chrisoffice> i just installed ubuntu, maybe u can help me with some stupid questions
[21:11] <benonsoftware> Ok
[21:11] <chrisoffice> is there anyway i can log in as root?
[21:11] <benonsoftware> chrisoffice: No as that is unwise but you can run sudo
[21:11] <JoseeAntonioR> D:
[21:12] <JoseeAntonioR> Sorry, wrong channel
[21:12] <chrisoffice> but i need to do sudo everytime
[21:12] <chrisoffice> i hate that
[21:12] <JoseeAntonioR> chrisoffice You can do su -i
[21:12] <JoseeAntonioR> chrisoffice But you would have to set the password
[21:12] <geirha> sudo -i
[21:13] <chrisoffice> let me try
[21:13] <chrisoffice> invalid option
[21:13] <geirha> He meant sudo
[21:14] <JoseeAntonioR> chrisoffice Yep, sorry. But, to enable this, you have to run "sudo passwd root" without quotes, to set the password.
[21:14] <geirha> NO!
[21:14] <chrisoffice> to set a psw for root 1st?
[21:14] <JoseeAntonioR> chrisoffice Yes
[21:14] <geirha> Don't set a password for root
[21:15] <geirha> just run   sudo -i  and you have a root shell
[21:15] <chrisoffice> geirha, why?
[21:15] <JoseeAntonioR> geirha If he doesn't he wouldn't be able to login with sudo -i
[21:15] <chrisoffice> i ran sudo -i, then i ask "who am i"
[21:15] <geirha> JoseeAntonioR: sudo -i asks for your user's password, not root's
[21:15] <JoseeAntonioR> chrisoffice Do it, otherwise you won't be able to login
[21:15] <chrisoffice> i m still me, not ROOT
[21:15] <JoseeAntonioR> geirha Check the docs, it asks for the root password, not the user one. sudo asks that one.
[21:16] <geirha> geirha@pilot:/tmp$ sudo -i
[21:16] <geirha> [sudo] password for geirha:
[21:16] <chrisoffice> geirha, yes
[21:17] <chrisoffice> geirha, after that, u ask who am i
[21:17] <chrisoffice> geirha, it will say geirha, not root
[21:17] <JoseeAntonioR> geirha Well, it asks the root password for me.
[21:17] <geirha> chrisoffice: echo "$USER"
[21:18] <chrisoffice> geirha, no return
[21:18] <geirha> Well, who am i is not a reliable way to see which user your shell is runnign as
[21:19] <geirha> It just shows you who owns the terminal you're in.
[21:19] <chrisoffice> the only thing after " sudo -i" is that the prompt changed
[21:19] <chrisoffice> from ~$ to ~#
[21:19] <geirha> The # indicates the shell is running as root
[21:19] <chrisoffice> i c
[21:19] <geirha> Try a command that would normally require sudo, e.g.  apt-get update
[21:20] <chrisoffice> i c, so under "~#", i don't need sudo anymore?
[21:20] <geirha> JoseeAntonioR: Then you might have some odd setup in /etc/sudoers
[21:21] <geirha> chrisoffice: right, though be very careful. A small typo could wipe your system.
[21:21] <chrisoffice> i c
[21:21] <geirha> Like an accidental space in an rm command
[21:21] <chrisoffice> thanks, geirha, another question regarding the file system
[21:22] <chrisoffice> i just set this thing up, dude, really confused
[21:22] <chrisoffice> if i go to file system
[21:23] <geirha> You can also configure sudo to allow you to run commands as root without requiring password btw.
[21:23] <geirha> go on
[21:23] <chrisoffice> it shows all these folders, bin, root, home, etc
[21:24] <chrisoffice> now, why am i not seeing the other partition, cus when i set it up, i believe i divided the hd into 2 partitions
[21:24] <chrisoffice> like c and d as u normally c in windows
[21:25] <geirha> In linux, partitions don't get assigned letters. You set the main one as /, and all the other partitions you mount on directories under /
[21:26] <geirha> By default, they will be mounted under /media/
[21:26] <chrisoffice> i c
[21:27] <chrisoffice> so the partition that the linux is installed on is /, and the spare one is /media/?
[21:27] <geirha> chrisoffice: No, inside /media, like /media/the-filesystem-label/
[21:27] <chrisoffice> i.e., the media folder i c under the file system is actually the other partition?
[21:27] <geirha> chrisoffice: run   df -h   to see mounted partitions
[21:28] <geirha> It'l be a subdirectory of /media
[21:28] <chrisoffice> Filesystem            Size  Used Avail Use% Mounted on
[21:28] <chrisoffice> /dev/sda1              55G  4.2G   48G   9% /
[21:28] <chrisoffice> udev                  368M  4.0K  368M   1% /dev
[21:28] <chrisoffice> tmpfs                 150M  760K  149M   1% /run
[21:28] <chrisoffice> none                  5.0M     0  5.0M   0% /run/lock
[21:28] <chrisoffice> none                  375M  164K  375M   1% /run/shm
[21:28] <chrisoffice> root@HP-Tablet:~#
[21:28] <geirha> When pasting more than two lines at once, please use a pastebin.
[21:29] <chrisoffice> so i only have one partition?
[21:29] <geirha> Anyway, your other partition is not mounted anywhere
[21:29] <geirha> sudo fdisk -l   will show an overview of your harddrives and their partitions (don't paste it, just look at it)
[21:30] <chrisoffice> so what are the other ones listed here? /dev for example?
[21:30] <geirha> chrisoffice: Special, magical filesystems Ubuntu uses. It's the ones with names like /dev/sda2 you're interested in
[21:31] <chrisoffice> after fdisk -l, it lists sda1 , sda2, sda5
[21:31] <chrisoffice> and sda1 is the boot
[21:31] <geirha> What's in the System column of sda5 ?
[21:31] <chrisoffice> show a asterik sign under boot
[21:32] <chrisoffice> linux swap / solaris
[21:32] <chrisoffice> and "extended" for sda2
[21:32] <chrisoffice> what do they mean?
[21:33] <geirha> Right. That means you only have /dev/sda1. /dev/sda5 is a swap partition.
[21:33] <chrisoffice> what about sda2?
[21:33] <chrisoffice> says "extended"
[21:33] <geirha> chrisoffice: the harddrive can only be partitioned into 4 partitions, sda1-4
[21:34] <geirha> but you can make one of those four partitions an extended partition, and inside the extended partition, you can have many partitions (called logical partitions).
[21:34] <chrisoffice> oh, i c
[21:34] <chrisoffice> similar to windows
[21:35] <geirha> This is due to historic reasons. Introducing the extended partition was a way to work around not being able to have more than 4 partitions.
[21:35] <chrisoffice> that means the sda1 did not take up the entire HD
[21:35] <chrisoffice> otherwise there should not be extened partition, right?
[21:35] <geirha> sda1 has 55GiB. How large is the entire HD?
[21:35] <chrisoffice> 60
[21:36] <geirha> Right, so the extended one probably covers the rest of the disk
[21:36] <geirha> And the swap probably covers the entire extended partition.
[21:36] <chrisoffice> ok, now, if i click on the root folder, i can't open it
[21:37] <chrisoffice> U R RIGHT
[21:37] <chrisoffice> swap and extened have the same block numbers
[21:37] <geirha> That's the root user's homedir. It is only accesible to the root user.
[21:38] <chrisoffice> i m root right now, after sudo -i
[21:38] <chrisoffice> but still can't open it
[21:38] <geirha> chrisoffice: Only in that one terminal. Your nautilus (file browser) is still running as your user.
[21:38] <geirha> You can run nautilus as root though.  gksudo nautilus
[21:39] <geirha> Or you can install the nautilus-gksu package which adds a "Open as administrator" option
[21:39] <chrisoffice> after that, i can open the root
[21:39] <chrisoffice> but it only has one thing inside, "desktop"
[21:39] <chrisoffice> :-)
[21:40] <geirha> Yes, there's typically not much interesting in there
[21:40] <chrisoffice> i thought the root would be like the system folder in windows
[21:40] <chrisoffice> :-)
[21:42] <chrisoffice> so if i want to install a program, which folder should i installed it to?
[21:42] <chrisoffice> it does not have a "program" folder
[21:44] <geirha> an application's files are spread around the filesystem.
[21:44] <geirha> library files go in /usr/lib, executables in /usr/bin, datafiles in /usr/share etc
[21:45] <chrisoffice> oh
[21:45] <geirha> very different from the way it's done in windows.
[21:45] <chrisoffice> say i d/l and install a chris.tar.gz program from the internet
[21:46] <chrisoffice> after i download it, it show up in my /home/chris/downloads folder
[21:46] <geirha> Then I'd say: don't do that. Search for it in the software center instead.
[21:46] <geirha> If you don't find it there, look for a ppa that has a package for it.
[21:46] <chrisoffice> i can't find it there
[21:47] <geirha> If there's no ppa, look for a deb-file
[21:47] <chrisoffice> what is ppa? pre-packaged app?
[21:47] <geirha> .tar.gz is one of the last resorts
[21:47] <geirha> !ppa
[21:47] <ubot2`> A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa
[21:48] <chrisoffice> nothing like that either, ok, i wanna install the linux drive for alfa adapter
[21:49] <chrisoffice> http://www.alfa.com.tw/in/front/bin/ptlist.phtml?Category=105397
[21:50] <chrisoffice> no debian file either
[21:50] <geirha> Then it gets complicated
[21:50] <chrisoffice> only thing available us tar.gz
[21:51] <chrisoffice> i downloaded to my /home/chris/downloads/ folder
[21:51] <chrisoffice> now, i did txvf to unzip it
[21:51] <chrisoffice> but then i stuck
[21:52] <bioterror> install checkinstall
[21:52] <chrisoffice> i just don;t know how to install a program
[21:52] <bioterror> !checkinstall
[21:52] <ubot2`> checkinstall is a wrapper to "make install", useful for installing programs you compiled. It will create a .deb package, which will be listed in the APT database and can be uninstalled like other packages. See https://help.ubuntu.com/community/CheckInstall - Read the warnings at the top and bottom of that web page, and DO NOT interrupt CheckInstall while it's running!
[21:52] <bioterror> usually you should read the INSTALL file inside the folder
[21:53] <bioterror> it suggest you to run ./configure
[21:53] <bioterror> then you will run make
[21:53] <bioterror> and then checkinstall
[21:53] <chrisoffice> not make install?
[21:53] <geirha> There's no recipe for installing from a tar.gz. Apart from extracting it and looking for a README and/or INSTALL file for further instructions.
[21:54] <chrisoffice> what is .sh file?
[21:54] <geirha> Usually a shell script
[21:54] <geirha> Though not necessarily an sh script. Could be bash, ksh, csh etc
[22:00] <chrisoffice> i like every part of ubuntu, except this program installing part, this is killing me
[22:00] <chrisoffice> such a easy task under windows, why is it so difficult under linux?
[22:02] <geirha> chrisoffice: It's not. It's easier in Ubuntu.
[22:02] <chrisoffice> well, it is easier if u can find it in the depository
[22:02] <geirha> It's fairly easy in Windows, if an installer.exe is provided. You'd just double click it and it installs.
[22:02] <geirha> That's what deb files do in Ubuntu.
[22:02] <chrisoffice> but many program are only in tar.gz formats
[22:03] <geirha> This is more akin to having to download a .zip file in windows, then extract the zip and put each file in the right place
[22:03] <chrisoffice> so .deb is like .exe under windows, right?
[22:03] <geirha> Which you'd avoid in windows, and in Ubuntu, you want to avoid having to install from these tarballs (.tar.gz)
[22:04] <geirha> chrisoffice: No .deb is more like an installer exe.
[22:04] <chrisoffice> no, it is easy to unzip and install in windows
[22:04] <chrisoffice> but it is tough to install tar.gz in linux
[22:04] <geirha> Not if you need to put different files in different places
[22:05] <geirha> chrisoffice: Which is why you want to avoid having to do install from a tar.gz in the first place.
[22:05] <chrisoffice> well, but for many programs, tar.gz is the ONLY option
[22:05] <geirha> The software center contains a vast ammount of software which you can install with much more ease than in windows
[22:07] <geirha> chrisoffice: Not many in my experience. And it's the ones that made the software that couldn't be bothered to package it properly, leaving you with the burden
[22:07] <chrisoffice> ok, now i downloaded the alfa driver in /home/chris/download/ folder, now i need to fire up the terminal and go to that folder first?
[22:07] <chrisoffice> help me go through this one time if u can
[22:08] <geirha> Sure, though it's probably ~/Downloads, plural and with uppercase D.
[22:08] <chrisoffice> ok
[22:08] <chrisoffice> sorry for the typo
[22:09] <chrisoffice> how should i go to this folder in terminal?
[22:09] <geirha> And you want to do this as your user (i.e. no sudo -i)
[22:09] <chrisoffice> why?
[22:09] <geirha> cd ~/Downloads
[22:09] <chrisoffice> why not sudo?
[22:09] <geirha> It's only the last step that requires root
[22:09] <chrisoffice> i c
[22:10] <geirha> Or, well, it depends on what the tar.gz contains.
[22:11] <chrisoffice> so when i fire up the terminal, i m already in the /home/chris/ folder?
[22:11] <chrisoffice> that's why i only need ~/download
[22:11] <chrisoffice> Downloads
[22:11] <chrisoffice> sorry
[22:12] <geirha> ~/ is expanded to /home/chris/ (or whatever your homedir is)
[22:12] <geirha> e.g. try  echo ~
[22:12] <geirha> But yes, you'll be in your homefolder in a fresh terminal, so just  cd Downloads  should do
[22:13] <chrisoffice> after echo !, /home/chris
[22:13] <geirha> Aye, for me that echo prints /home/geirha
[22:13] <chrisoffice> but cd ~/Downloads does not work, no such directory
[22:13] <chrisoffice> how do i list directories under a folder?
[22:14] <geirha> ls
[22:14] <chrisoffice> ok, i m in
[22:14] <chrisoffice>  now i do xzvf?
[22:15] <geirha> tar zxvf thefile.tar.gz
[22:15] <geirha> There's tab completion if you know what that is
[22:15] <bioterror> z is not needed anymoar ;)
[22:15] <geirha> meh, doesn't hurt :)
[22:19] <chrisoffice> shot, it does not work, the file i downloades is a .zip file
[22:19] <chrisoffice> weird
[22:19] <geirha> then  unzip thefile.zip
[22:20] <bioterror> unzip -x file
[22:20] <chrisoffice> after extract, i do ls
[22:20] <chrisoffice> 036NHR_linux_v3.0.2164.20110715.zip
[22:20] <chrisoffice> RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.2164.20110715
[22:21] <chrisoffice> shows these 2 files
[22:21] <geirha> The last one there is probably a directory
[22:21] <geirha> cd RTL<tab>
[22:21] <chrisoffice> yes
[22:22] <chrisoffice> i should cd this directory 1st?
[22:22] <geirha> yes, type cd RTL then hit the tab key
[22:22] <chrisoffice> yep, i m in
[22:22] <chrisoffice> now i do tar zxvf?
[22:23] <geirha> No idea.
[22:23] <geirha> Depends on what that directory contains
[22:24] <chrisoffice> android_reference_codes  driver      readme.txt        wpa_supplicant_hostapd
[22:24] <chrisoffice> document		 install.sh  ReleaseNotes.doc
[22:25] <geirha> xdg-open readme.txt
[22:25] <chrisoffice> i did
[22:26] <chrisoffice> i just click it to open
[22:26] <geirha> It will hopefully explain how to procede
[22:27] <chrisoffice> not really though
[22:28] <chrisoffice> ok, i found a tar.gz file under the driver folder
[22:28] <chrisoffice> ls
[22:28] <geirha> Could be you're just supposed to run install.sh
[22:29] <chrisoffice> how do i run install.sh?
[22:30] <geirha> Seems there's some instructions for some of the drivers here: http://www.alfa.com.tw/in/front/bin/ptlist.phtml?Category=105437
[22:30] <geirha> I see some "How do you install the Ubuntu driver?" pdfs ...
[22:31] <chrisoffice> ok, i did not look there
[22:31] <chrisoffice> but in the releasenote, it says 	6. install.sh
[22:31] <chrisoffice> 	   Script to easy make 8192cu driver.
[22:33] <chrisoffice> this is really getting complicated, under documents, there is a file named HowTo build driver under kernel tree
[22:34] <chrisoffice> open it, it says
[22:35] <geirha> Yes, a kernel driver is very complicated to build by yourself
[22:35] <chrisoffice> can't even paste here
[22:35] <chrisoffice> damn
[22:36] <chrisoffice> 1. Copy our driver into drivers/net/wireless/ and rename it as rtl8192cu, for example.
[22:36] <chrisoffice> 2. Add obj-$(CONFIG_RTL8192CU)  += rtl8192cu/ into drivers/net/wireless/Makefile:
[22:36] <chrisoffice> 3. Add source "drivers/net/wireless/rtl8192cu/Kconfig" into drivers/net/wireless/Kconfig
[22:36] <chrisoffice> 4. Config kernel, for example, with “make menuconfig” command  to select y or m for our driver
[22:36] <chrisoffice> 5. Build kernel with “make” command
[22:36] <geirha> Well, sudo sh install.sh  may or may not work. It may even hose your system. You have to trust the creators of that driver and its install script that they know what they're doing.
[22:36] <geirha> err, pastebin
[22:38] <geirha> I'd consider looking in a forum dedicated to this driver, or at the ubuntuforums. Chances are someone has done this and provided some step by step instructions for others.
[22:38] <chrisoffice> ok, thanks, i will try it later
[22:39] <chrisoffice> so in general, we either install from a depository or from the ppa>?
[22:41] <chrisoffice> what does the .sh file normally do? cus there is always a .sh file in the tar.gz
[22:42] <geirha> A shell script is a file containing multiple commands in order. It usually also includes some logic and math.
[22:42] <chrisoffice> it is like a autoran?
[22:43] <chrisoffice> autorun in windows>?
[22:43] <geirha> I suppose, except it's not run automatically.
[22:43] <chrisoffice> i c
[22:43] <geirha> You have to run it
[22:43] <chrisoffice> to run the .sh file, we do sh filename.sh?
[22:44] <geirha> If it's an sh script, yes, that's one way to run it. Though as I said earlier, it might not be an sh script, it could be a bash script or ksh script or other.
[22:45] <geirha> Some people slap on .sh on the end even when it's not actually an sh script. Presumably to confuse their users.
[22:45] <chrisoffice> oh, so a .sh file can mean different things, not necessarily a shell bin script
[22:46] <chrisoffice> is that what u said?
[22:46] <geirha> It's typically a shell script, but not necessarily a script written be run with /bin/sh, it could be it's meant to be run with /bin/bash or /bin/ksh or whatever instead.
[22:47] <chrisoffice> i c
[22:49] <geirha> The only way to tell is to open it and know what to look for.
[22:49] <geirha> Or run it and see if it fails, though that could have some bad side effects
[22:50] <chrisoffice> and what's the difference between /bin and /usr/bin?
[22:51] <chrisoffice> c, the ubuntu is getting reallly complicated if u want to master it, it is easy if u only want to use it, like using a ipad
[22:51] <geirha> Not much. /bin contains the most important executables that need to be around for an absolute minimal linux system. Everything else goes in /usr/bin
[22:52] <geirha> It's somewhat common to have /usr a separate partition, so in case mounting that partition fails, you have executables in /bin and /sbin to help you figure out why and/or fix it.
[22:52] <chrisoffice> i c, what about /mnt folder?
[22:53] <geirha> Mainly used to hold temporary mounts
[22:53] <chrisoffice> i c, so sbin is also for executables?
[22:54] <geirha> Yes, for executables only admins can run
[22:55] <chrisoffice> so for different users, each one has a different bin folder, or the same bin folder?
[22:56] <chrisoffice> i guess u can install a program so that only one user can use it
[22:56] <geirha> executables regular users can run goes in bin
[22:56] <geirha> Yes, you can install a program in your homedir and run it from there
[22:57] <chrisoffice> i thought the executables went to /usr/bin folder after u install it
[22:57] <chrisoffice> how are u going to install it in ur home dir?
[22:58] <geirha> Well, you wouldn't do that with a deb. Usually, executables you put in your homedir are simple scripts.
[22:59] <geirha> But advanced users may build and install software in their homedirs to test them out, or in order to create deb packages of them.
[22:59] <chrisoffice> so a debian file is like a executable file?
[22:59] <chrisoffice> .deb is like .exe?
[23:00] <geirha> No, it's a package. It contains an archive of files, where to put the files, what questions to ask when installing it, and commands to run before/after copying the files.
[23:01] <geirha> It's not an executable. It must be opened by a package manager in order to be installed.
[23:02] <chrisoffice> but there is a installer inside the package though
[23:02] <chrisoffice> like a .exe inside a folder in windows?
[23:02] <geirha> Not really.
[23:03] <chrisoffice> so what good is a debian file over a tar.gz?
[23:03] <chrisoffice> tar.gz is a folder and it contains all sort of files as well
[23:03] <geirha> You can just double click it to open it in a package manager, then click install.
[23:03] <geirha> It will first check if you have all dependencies in place though.
[23:04] <geirha> Ubuntu is not like windows, where all applications bundle their own version of shared libraries.
[23:04] <geirha> In Ubuntu, a shared library is a shared library
[23:05] <geirha> So if some software requires a particular library, a deb for that library must also be installed.
[23:05] <chrisoffice> well, u lost me here, but anyway, i will study it more
[23:05] <chrisoffice> i c
[23:06] <chrisoffice> it is like a MAIN function in C language
[23:06] <chrisoffice> u need to call the library first
[23:06] <chrisoffice> b4 executing anything
[23:07] <geirha> When you install software via the software center, it downloads and installs a deb file from a repository of deb packages. It also downloads and installs all deb files that id depends on.
[23:07] <chrisoffice> so a debian package contains the library for that particular program
[23:07] <geirha> a deb package may contain a library, it may contain a program, it may contain just documentation
[23:07] <chrisoffice> i c
[23:07] <chrisoffice> get it now
[23:08] <chrisoffice> so ubuntu is based on debian
[23:08] <chrisoffice> right?
[23:08] <geirha> yes
[23:08] <chrisoffice> i c
[23:09] <chrisoffice> great help, geirha, i really appreciate your time