
As I was sitting here, preparing to write this article, my mind wandered back to the day I accidentally wiped out a Windows installation with a Gutsy Gibbon CD. I thought I was in trouble. I had just knocked out my work documents, including various templates I made, along with scanner support, and my Adobe 8.0 suite.
It was at that moment I decided to make a go of it with Linux as my sole operating system. After nearly 2 years of tweaking, making mistakes, fixing those mistakes, and then making even more mistakes, I finally feel qualified to give you advice.
In light of this experience, I now present “11 Crucial Things An Ubuntu Newbie Should Know”.
Commands
1. ps -A: One of the reasons I hated Windows so much was the task manager. When a program would hang, you’d have to open task manager, tell it to kill the program, and wait 5 minutes for the system to kill the application, All the while, it would bog down the processor, hog memory, and be an overall nuisance. 50% of the time, you would have to restart the computer to get the process to clear.
Not so in Ubuntu/Linux. All you have to kill a program is open the terminal, and type “ps -A”. This will pull up a list of all the processes currently running, with the name of the program, along with a 4-5 digit number next to it. Then, type “kill -9 PN” (PN should be substituted with the actual Process Number), and hit enter. This will kill the app, no questions asked. It will not ask you any questions, or give you any excuses. That program is now dead, until the time you decide to resurrect it. This will not work with things like Apache, or other process daemons. If you’re not sure, just try to kill it. If it doesn’t die, then it is probably a daemon. You will have to find the actual documentation to stop the daemon.
Bonus tip: In Ubuntu (Gutsy and later), the command to stop Apache is: sudo /etc/init.d/apache2 stop To restart: sudo /etc/init.d/apache2 start
2. gksudo nautilus: Nautilus is the GUI-based file browser for Gnome, which is the default window manager for Ubuntu. If you are not used to the command line, this command will save you hours when it comes to file operations. Well, it will only save you hours for things that have to be done as root. Things like special system configuration, and other things where you need upgraded privileges will be much faster when you use this command.
Just open the terminal, type “gksudo nautilus”, enter your password, and magically you can do anything you want. For faster access, right click the Desktop, select “create launcher”, enter “gksudo nautilus” as the command. You can now click the shortcut on your Desktop , rather than opening the terminal and entering a command each time you need access to Nautilus.
3. dmesg: If you have managed to really mess something up, or are having trouble getting things to work, you may need someone with greater experience to take a look. Typing “dmesg” in your terminal window will call up all the messages from your system kernel. Copy and paste this into a text document, attach it to an email, and let a true expert get a look at what is going on with your hardware.
Upgrades:
4. Ubuntu’s package manager, Synaptic, is a GUI front-end for Aptitude. What you don’t know is that Synaptic is set to run in what could be called “safe-mode”. It will not go get the latest and greatest versions of the software you are running. It will get the last (often 6 months older) version of the software you want to run. You can upgrades faster by enabling optional software repositories.
To do this, open Synaptic (System > Administration > Synaptic Package Manager), then select Settings > Repositories. Once you are in the repositories window, select the “Updates” tab. The Ubuntu “security” and “recommended updates” repository have already been selected. To get the newer stuff, you need to check “backports” and “proposed” software. Apply, and reload. This should get most of your software up to date, along with the kernel.
5. The kernel: While having the latest and greatest stable kernel can improve system performance, it can also break little fixes you have made along the way. An example: I had gone through the painstaking process of editing some configuration files to get my webcam to work. The last kernel update overwrote the changes I had made, and in the process, disabled my webcam. This can get irritating, but eventually a kernel release might fix an issue on its own, so I guess it is an ok, if not completely lossless tradeoff.
6. Upgrading to the newest version of Ubuntu: Don’t do it right away. Always give a new version at least two months in regular use before you decide to upgrade. I have tried to upgrade for 3 releases now, in the first two weeks of availability for the upgrade. Each time, there has been a major failure, mostly in the area of graphics and sound. If your release is stable, there is no reason to upgrade right away, other than a few minor changes in speed and stability. You forfeit these if you upgrade on the first day of a new release. You have been warned.
Got Help?:
7. You can Google it: If you haven’t googled it, do not trounce into a forum and ask the question. People are nice, but they really can’t stand laziness. If you have searched, and can’t find it, it may be a more advanced question that really needs more expert analysis.
Here’s the search formula that reaps the best rewards for me: [manufacturer] [model] [problem] [ubuntu distribution]…(e.g. sony vaio webcam installation hardy). You can vary this formula a little bit, as sometimes it takes a few searches to get the hang of it. The one thing that you should not change is having your version of the distribution in the search. The reason is that fixes, and places where applications install can be different depending on the version you are using. This will ensure that you receive the best solution possible.
8. The Forums: Most of the time, Googling the problem will send you to the Ubuntu forums. Get a user name, log in, and be respectful. Be sure you try everything they tell you to before griping that it won’t work. The help and advice is free, and usually very helpful in nature.
9. Launchpad: This is a bug reporting service that Ubuntu users use to get bugs and various other problems fixed. You can reach the project at https://launchpad.net/ubuntu . Once you get there, click on report a bug, and follow the instructions. Be sure the problem has not been reported already, as they will ask. Provide as much information about the incident as possible. They will keep you posted on the progress as far as the problem being resolved, and assign a priority rating based on the severity of the problem. I’ve had to use it 2 or 3 times. Even the minor problems have been resolved in 2-3 weeks.
10. Don’t Be Afraid To Break It
This is the most important rule. This ain’t your Granny’s china. Stuff will break, you will be the one to break it. You will also be the one fixing it, along with your friend Google. Be patient, be persistent, and walk away for a bit if the solution just won’t come. Vindication will come, and when the fix is done properly, or you changed a variable that caused performance to increase, there will a mountaintop rush. Chances are, your significant other won’t care, but that won’t matter. Feel free to prance around in your boxers, and act like you just won the Nobel Prize.
11. Everything in Windows can be replaced with Open Source software: Really, it can. It takes a little time to find it, but when you do, a whole new world will open up. You’ll start to see how things work better than you expected. Things will play that would not on Windows, you’ll be able to open every attachment you ever wanted to. Productivity will increase, thereby giving you more time to make your system work faster, and work on your own open source program.
I can’t include everything I’ve learned over the past two years here. There are some other articles that I have written on software packages, and the pros and cons of each. Just google my name and iSnare to get a full list of what I have written on the subject. In conclusion, have fun with Ubuntu, share your knowledge with others, and fear God. Seriously.
That’s all the advice I have for you.
Watch the video related to Ubuntu
I got my hands on Thinkpad T400s with a intel gfx and a SSD, grabbed the latest Ubuntu Karmic and tried it out. The major 3D problems on intel gfx seems to be fixed for good.
Help answer the question about Ubuntu
In Ubuntu 9.04, how do I mount different folders of the same partitions to different folders?I have a shared NTFS partition ("shared") that I use for data for both Windows and Ubuntu. How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home. Any help here? Thanks in advance!
About Author
Kurt Hartman has been using Linux as his primary operating system for the past 2 years, and has loved (almost) every minute of it. He uses it regularly in his role as Head of Employee Training for Mobile Fleet Service. They sell Titan Tires in addition to several other brands, including Michelin, Bridgestone, and Goodyear. If you enjoyed this article, please search for Kurt over on iSnare, or read his blog at http://www.buybigtires.com .
December 12th, 2009 on 6:28 am
Ubuntu Rulez!!!
December 12th, 2009 on 6:33 am
WHY LINUX IS BETTER
http://www.whylinuxisbetter.net/
I thoroughly recommend Linux Mint 8 Main Edition which is built upon Ubuntu 9.10 Its easy to install and easy to use plus it comes with much of the software you are likely to need preinstalled
Linux Mint 8 Download
http://www.linuxmint.com/edition.php?id=44
The Perfect Desktop – Linux Mint 8 (Helena)
http://www.howtoforge.com/the-perfect-desktop-linux-mint-8-helena
You download the ISO. image of Linux Mint 8 then you need to create a Bootable LiveCD for installation
Linux Mint 8 can also be run direct from the LiveCD from Booting up without touching your Hard Drive
INSTALL LINUX MINT WITHIN WINDOWS (not currently available for Linux Mint
To install Linux Mint within windows you will need the earlier release Linux Mint 7 which is built upon Ubuntu 9.04
Linux Mint 7 Download
http://www.linuxmint.com/edition.php?id=38
Linux Mint 7 has a feature called mint4win based on the Wubi installer (Ubuntu) which enables you to install Linux Mint within windows (Windows 7 run Wubi/mint4win in vista compatability mode)
Mint4Win – A Wubi based Installer for Linux Mint
http://duncsweb.com/2009/09/27/mint4win-a-wubi-based-installer-of-linux-mint/
Installing Ubuntu as a dual-boot with Windows without partitioning
http://www.psychocats.net/ubuntu/wubi
You keep Windows as it is, mint4win only adds an extra option to boot into Linux Mint. mint4win does not require you to modify the partitions of your PC, or to use a different bootloader, and does not install special drivers. It works just like any other application.
mint4win like Wubi keeps most of the files in one folder, and if you do not like it, you can simply uninstall it as any other application.
Boot in to windows insert the LiveCD you have just created and you will offered the option of installing inside windows which is where mint4win comes in, you will be asked how many gigabytes you wish to allocate to Linux Mint (I recommend 8gb) then you set a password for your installation then click install and thats it.
Once Linux Mint 7 is fully installed upon starting your PC you will be given a choice of which operating system you want to use Windows or Linux Mint
CURRENT SESSION
Linux Mint 8 ext4 with switchable Beryl 0.2.1* and Compiz 0.8.4
http://en.wikipedia.org/wiki/Beryl_(window_manager)
http://en.wikipedia.org/wiki/Compiz
*Beryl 0.2.1 sourced from Ubuntu 7.04 repositories
LUg.
December 12th, 2009 on 6:39 am
1. Yes, because you have to edit the xorg.cong file and you can't do it from the Live CD.
2. Yes, it's safe. Ubuntu and Linux distros in general are safer than Windows. You can install it alongside Windows and share documents between both systems. You can have both on the same hard drive, but it's better to get a second one for Ubuntu.
December 12th, 2009 on 6:51 am
I think we should have Parallels for PC
December 12th, 2009 on 8:06 am
sudo update-rc.d -f gdm remove
this will stop the desktop from loading without removing any programs. then if you want the desktop you can do startx or sudo /etc/init.d/gdm start
December 12th, 2009 on 11:24 am
I would suggest using the Wubi installer. This enables you to install Ubuntu just like a Windows app. You can remove it from your computer from the add/remove programs. This is a great way to see if you want to use it, without any risk at all to your system. If you decide you want to keep it a permanent part of your computer I would then suggest dual booting the traditional way because the Wubi installer does have some minor limitations mostly its slower. Go to http://wubi-installer.org/ and download the instlaller. It will ask you just a very few simple questions and download Ubuntu for you restart and boot into Ubuntu to complete the setup. I would suggest just good ol' Ubuntu over Kubuntu but that's just a matter of opinion. Hope that helps drop me a line if you need help.
December 12th, 2009 on 12:19 pm
Distros are endless.
December 12th, 2009 on 2:02 pm
So far Linux has been more productive in my workflow than windows, so I have stuck with it.
It’s good that we now have a choice in our OS. Gone are the dark days when Windows was the only real choice for a OS at a personal computer level.
December 12th, 2009 on 8:51 pm
Here is a very good step by step to get Ubuntu connected to a domain server. (I suspect you have that if you "login")
http://www.1earthadventures.com/2008/02/06/techie-stuff/how-to-connect-ubuntu-linux-to-a-microsoft-network/
Hope that helps
December 12th, 2009 on 10:55 pm
This will help you
First start the terminal….
(Application–>Accessories–>Terminal);
then type:
cd /etc
then type:
sudo gedit fstab
this will ask root user password(that is administrator,, may be you);
After entered the password gedit will open……
just type this line at the bottom of fstab file.
But type your name of the drive which you want to mount(not drive letter like c,d.. The label like Os, fun, softwares) by replacing in the below <your drive label>(note: it is case-sensitive)…and type your user name by replacing <user name>
type this—— in one line
#——————————
LABEL=<your drive label> /home/<user name>/Videos ntfs defaults,umask=007,gid=46 0 1
#————————————————
to mount another drive(like music dive)
type this—— in one line
#————————————————
LABEL=<your drive label> /home/<user name>/Musics ntfs defaults,umask=007,gid=46 0 1
#————————————-
then save the file and restart…….
this will mount your drive.. ask you asked
If you have doubt in this just mail me……….
vignesh.smart91@yahoo.com
I think this may helped you
December 12th, 2009 on 11:58 pm
Yea, Pidgin pissed me off that day. No idea what happened. A simple reboot fixed everything though.
December 13th, 2009 on 6:17 pm
There has always been more options than windows. BeOS, NeXT, IBM Warp, DOS, Amiga.
There has always been alternatives.
December 14th, 2009 on 8:11 am
nope wubi will always install ubuntu on your current partition I got so many error with the wubi installer ubuntu worked fine for a week but then busybox error >_>
December 14th, 2009 on 9:53 pm
In all honesty, I have tried Windows 7 and I like it. It runs a lot slower than linux on my old celeron box, but the core functionality is nice.
The only current reason why I would prefer Windows over linux, is if I was a gamer, or a particular tool I needed didn’t run in Wine. I’m not a huge fan of propriety software, I would prefer Open Sourced software where-ever I could. But if it makes my workflow any slower, then I wouldn’t hesitate on taking the propriety route.
December 15th, 2009 on 1:02 am
You installed windows inside ubuntu using a photo editing application?
Think you might be a little confused there friend.
You sure you didn't just install ubuntu on a partition on the same drive that windows is on?
Or in a virtual machine within windows?
December 15th, 2009 on 8:01 am
In order to install ubuntu, first visit the their website. Ubuntu developers have also provided a very nice instruction guide on how to install ubuntu.
I've found it for you:
https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/index.html
read it well, and do it without any troubles.
Hope, it helps.
December 15th, 2009 on 9:23 am
yeah, filler up and she’ll stop…
I try to use all 4GB of my ram first…
December 15th, 2009 on 10:55 am
Each with their own problems.
Ubu’s got this, where Fedora’s got that, and RHEL lacks both…
In all honesty…I don’t see an end to the list. And as time goes on, it’s gonna get bigger.
eh?
December 15th, 2009 on 10:59 am
You can't install Ubuntu from inside of Windows. You need to figure out how to get to your BIOS settings. Your computer may say something about a button to push to enter setup when booting. If so, push that. If not, google your computer brand and "BIOS" and figure out what button you have to push.
After you get to the BIOS settings, you need to tell it to boot for CD before hard drive (HDD). Then, just boot the computer with the Ubuntu disk in the slot.
Ubuntu will handle the dual boot for you. (Just be sure to defrag XP first.)