Wednesday, September 19, 2007
Story of 3 MS Windows Users Trying Linux.
I was talking with a guy I work with a few months ago about Linux and how wonderful and great it is, so he decided to try it on an older computer (about 1 Ghz P4) he had lying around. He said he thought the hard drive was bad because MS Windows exploded or something and it wouldn't reinstall Windows. He downloaded Ubuntu, placed the newly burned CD in the drive and to his amazement it installed and brought his computer back to life. He was impressed! That is until he tried to get online. For some reason he couldn't connect. I believe it was a DNS issue with his home network, because I had a similar issue. He went to the Ubuntu forums to try to resolve the network problem. He quickly received a reply but he didn't understand it. At work the next day, he told me of his experience and professed how Linux sucks if it can't even auto-configure his network. I voluteered to go to his home and fix it for him, I assured him it was probably something simple and could fix it in just a few minutes. He told me not to bother because Linux sucks..... yada, yada, yada.
Comments:
So, let me get this straight:
1) You have a computer that will not install Windows for whatever reason.
2) Linux does install on it
3) There is a network problem, which I could easily fix, but you don't want me to (because Linux sucks).
4) So instead, you'd rather have the computer gather dust in the corner, then have it fixed in 5 minutes and be a powerful, useful tool.
Does this make any sense at all to anyone?
The guy I work with said he just tried Linux because it was free, but didn't like it because it didn't work. He said if Linux worked just like Windows, ran Windows programs then he would use it. Basically he was looking for a free Windows, which Linux is not. It's been my experience that those looking for a free Windows, just pirate it or only give Linux half a look. Linux is not Windows. Windows does somethings better then Linux (like games, and some hand holding, etc), but Linux also does somethings better then Windows (Freedom, and control over your system, no viruses and spyware, etc). They also both have their problems. I think they are both easy to use.
Now, I'll also say that this guy has problems with Microsoft and Windows, because he has complained about them, but he seems to tolerate it. Yet when it came to a very minor issue with Linux, he considered it trash and he won't put up with it and goes back to MS Windows!
Story #2
This story comes from a blog. http://www.pcmech.com/article/an-idiots-tale-of-choosing-a-linux-distro/
This guy wasn't too excited about Vista and I guess had some problems with it, so a friend at work encouraged him to try Linux.
At first he was blown away by all the choices of Linux distributions out there, but like a trooper he tried a few to see which worked best for him.
He tried Ubuntu and Kubuntu, but had problems configuring his video resolution correctly. He did comment that he liked KDE better then Gnome. Next he tried Linspire/Freespire, and he liked that it supported commercial applications, but somethings didn't install right and he had the same video problems he had with the Ubuntus (or is it Ubunti). This really isn't a surprise because Linspire/Freespire is based off of Ubuntu. Finally, he tried PCLinuxOS, and thought it was okay. His video worked great, so he left us saying he'd give it a go.
Comments:
First off, people need to realize that many times the hardware problems with Linux, is not Linux's fault. Most manufactures make it difficult for Linux users to have hardware drivers, leaving the Linux community to come up with their own drivers. So yes, not everything works perfectly with Linux, but most does. In fact probably 80-90% does. Not too bad for not having help from most hardware manufactures. That's quite an accomplishment and those developers should get major kudos for all they do.
Second, Windows users are not use to choice. This guy freaks out because there are too many choices, as opposed to Windows where there are two choices now, Vista with some features and Vista with all of its features. Isn't choice good?
This reminds me of a friend I had who was visiting from China and was in America for the first time. When he went to the grocery store he was blown away with all the choices he had in cereal. At first he was overwhelming but then he came to appreciate the fact that there was more then 3 types of cereal.
I admire this guy for trying different distros, though he only really tried two, since all but PCLinuxOS were Ubuntu variants. But PCLinuxOS, worked for him and he's going to give it a fair shake. I hope?
Story #3
This story also comes from a blog. http://scitech.teambio.org/2007/09/18/windows-guy-takes-ubuntu-gutsy-to-work/
This guy is a Windows systems admin and tries Ubuntu Gusty which is currently in alpha, so not really stable. He attempts to see if he could do his job with Linux instead of Windows. I think a very fair challenge. To summarize, he succeeds, but with some work arounds and tweeks.
Comments:
This guys story was very interesting and I enjoyed seeing how he worked about various issues. This guy knew what he was doing and knew how to research to find solutions to his problems, the sign of a good admin. His one problem with Internet Explorer running on Linux with the address bar, could be resolved by using an older versions of wine. I had the same issue and it took some digging to find the anwser. All in all I admire this guy for giving Linux a fair shake.
Conclusion:
I believe most people have some issues with Windows. Most people don't like paying for and constantly updating and scanning their computers with anti-virus and anti-spyware programs. Vista seems to have driver problems. And there's other issues, but most Windows users just put up with it, mostly because they don't know they have any other choice and Microsoft likes that. People need to know they have a choice.
I hope these guys in story #2 and 3 stick with it, because if they do it won't take long that they will feel just as comfortable with Linux as they do with Windows. I've been using Linux for nearly 7 years now and I'm now at the point that I don't feel comfortable with Windows anymore. I have trouble navigating around or knowing how to configure settings. I wish Windows was more like Linux, because to me Linux is easier. Maybe I should take a similar challenge to guy #3 and see if I could get my job done with Windows. It's all about preference and what you know, I guess.
Thursday, September 6, 2007
You Never Forget Your First.
Of course, computers have been around long before 1998, I grew up with a computer in our home for most of my life, but I never used it. Computers never interested me. They seemed crude and undesirable. I didn't see a need for them, but in 1998 the internet boom was in full swing and I liked the idea of email and having so much information at my finger tips. This computer was the first computer I bought with my own money and the first time I had an email account. From almost the beginning of having this computer I wanted to make it do as much as possible. I soon upgrade my system to 128 mb of RAM and to a 20 GB Hard Drive and I also bought a 2X CD-Rewritable. I thought at the time that I had the ultimate system.
Later Windows ME came out and I upgraded to that, which was the beginning of the end for my Windows days. Things started to go wrong, my CD-Rewriter won't always be detected and I had problems with my sound when I played a CD. It was on this computer in the spring of 2001 that I put Red Hat 7.1 on my little Acer, just 2 1/2 years later after enter the computer age.
I built a new computer later that year, but kept my Acer as a test computer. In the summer of 2004 after 6 years of loving service I sold my Acer for $80. I felt so dirty. You never really forget your first. I have fond memories of this computer, it will always be special.
What was your first? I'd like to hear your story.
Monday, September 3, 2007
Images and Videos on the Command Line? YES!
You will first need to activate framebuffer in grub at start up on your favorite Linux distro. You will need to edit the /boot/grub/menu.lst file. I use nano to edit files but any will do, so I type:
sudo nano /boot/grub/menu.lst
You'll need root privileges to edit menu.lst. Find the line that looks like the following
kernel /boot/vmlinuz-2.6.17-12-generic root=/dev/hdb1 ro quiet splash
Yours may look a little different depending on your distro or kernel being used, but it should start with 'kernel' and have similar information. At the very end of the line add the following, 'vga=791', so that it looks like this:
kernel /boot/vmlinuz-2.6.17-12-generic root=/dev/hdb1 ro quiet splash vga=791
The 'vga=791' will activate framebuffer to run at 1024x768x64k resolution, here are other resolution options. Just replace the '791' with whatever will work with your video card and monitor.
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
Now reboot so your kernel can start in framebuffer.
To watch movies, install mplayer-nogui, in Ubuntu simply type:
sudo apt-get install mplayer-nogui
Once installed go to the directory of your favorite video and type:
sudo mplayer -vo sdl videofile.avi
Shazaam! There you go. Make sure you have the necessary codecs/plugins to view your video format. But now you want to watch a DVD do you? Well then type:
sudo mplayer -vo sdl dvd://1
The '1' on the end indicates the title number on the DVD.
Say you want to view your Aunt Thema's lastest Christmas picture. You'll need to install 'fbi'. No, not the government agency, but the framebuffer image viewer. In Ubuntu simply type:
sudo apt-get install fbi
to install the viewer.
Next go to a directory containing Aunt Thema's pics and type:
fbi *
You should now be able to see Thema in all her glory. Use the space bar to view the next image.
If you want to edit Thema's picture, perhaps you would like to add some contrast or brighten the picture up a bit, then imagemagick is the tool of for you. You guessed it...
sudo apt-get install imagemagick
will install the app. I'll go into some of the cooler features of imagemagick, especially it's convert command in a later blog, but for now you can read the man page for info as to how to use imagemagick (man imagemagick).
No more do you need to rely on the heavy GUI environment for your graphical needs, the CLI is here for you.
Enjoy!
Wednesday, August 29, 2007
Word Processing (with Latex) in the Command Line
In the GUI, I'd recommend using Lyx a great WYSIWYG Latex editor, but we're in CLI land here so we'll be using vim-latexsuite a fantastic plug-in to a brillant text editor. In Ubuntu, just 'sudo apt-get install vim-latexsuite' and you are good as gold. The vim-latex-suite has a very in-depth guide built-in. You can access the guide once in vim by typing:
:h latex-suite
This blog will walk you through creating a simple document and serve as just an introduction to the vim-latex-suite. For more a more comprehensive explanation of the latex-suite please see the guide mentioned above.
Open a vim session by typing:
vim texdoc.tex
Now press the 'i' key to change vim to 'insert mode' and type or copy the following into vim:
\documentclass[12pt]{article}\title{My First \LaTeX{} Document!}
\author{Jared Bernard}
\date{December 25 2010}
\begin{document}
\maketitle Ubuntu is my favorite Linux distribution of all time! I can do anything in the CLI that you can do in a GUI plus more. So there..... (sticks tongue out at GUI).
\end{document}
Everything that starts with a '\' is what defines the format of the document. Here is a basic description of what we just created.
- This document is an article, using a 12 pt font. (There are several types of document classes. 'report' is another common class.)
- the Title of this document is 'My First Latex Document!'
- Its author is Jared Bernard. (me)
- It was written in December 25 2010.
- Everything else is the content of the document
Now that we know what we created, press the 'esc' key to change to 'normal mode' in vim. Then type ':w' (w/o quotes) to save the document.
Now here comes the fun part, HOLD down the '\' key while pressing the 'l' (el) key twice. This is described in the vim-latex-suite guide (mentioned at the beginning of this blog) as \ll. This will compile the .tex document. If your typeset language has mistakes you will see an error message at the bottom of vim session. If this occurs verify that your typeset language is exactly as the example given and make the appropriate changes. Otherwise, if everything worked out well, you should see no evidence of anything happening :).
Now exit vim, by typing:
:wq
Now that you are at the command line type:
ls
You should now see some new files that where created, texdoc.aux, texdoc.dvi, texdoc.log and of course texdoc.tex. These are your data files for your new document. The .dvi file is your main latex file. There are several ways to view your newly created document, but first you must install some CLI .dvi viewers. Type 'sudo apt-get install dvi2tty dvifb dvipng fbi' to install the viewers which are discussed below.
The first way is using dvi2tty, so type:
dvi2tty texdoc.dvi
This is not my preferred way to view your document as the formatting isn't always accurately displayed, but is does give you a quick look at what you have just created without the typeset language.
A Better option to view your document is using dvifb. To view, type:
dvifb texdoc.dvi
Isn't that beautiful! :) If you copied the typeset exactly as I have it you will notice the word 'Latex' in the title and the unique format I designed for it. You can see the difference as it's displayed with dvi2tty compared to dvifb.
You can also convert your .dvi file to a png image, by typing:
dvipng texdoc.dvi
This will create a file named 'texdoc.png'. You can view this image using fbi by typing:
fbi texdoc.png
Now that's great, but what if I want to email my document to my gui-loving and windows-loving friends? How can they view my new beautiful document. They should have no problem viewing your newly created .dvi file using any pdf viewer like xpdf or Adobe's Acrobat Reader or viewing the .png file in any image viewer.
If you need to make changes to your document, just open the original .tex file and make the necessary changes, save the document, compile the document using the \ll command and you should be good to go.
Let me know what you think. If there is ANYTHING you thought couldn't be done on the Command Line that can be done on the GUI, let me know. I'll try to figure it out and blog about it.
Friday, August 24, 2007
The Non-Programmer's Contributions.
Here are some ways to contribute to Linux and open sources without having a computer engineering degree.
1) Promote Linux and open source.
- Tell your friends, co-workers and family about Linux and OSS. If they are not ready for a full OS conversion, tell them about some of the great OSS projects out there for windows, such as, Firefox, Thunderbird, Gaim, Audacity, etc.
- Give out liveCDs. Ubuntu will even send you free CDs.
- Offer to help install Linux on their computer.
2) Donate money to OSS projects. Many of their websites offer ways to donate.
3) Help others. Even if you still consider yourself a newbie, I can guarantee that there is someone else out there who is struggling with a problem or issue you've once faced. You can help answer questions or just offer suggestions in the following ways:
- Forums. Visit your distributions forum. Many OSS projects also have their own forums. Help answer questions.
- Attend installfests. Usually your local user groups put these on. Help some install Linux.
- Jump on an IRC channel. User groups, distributions and various projects all have IRC channels where discussions and questions are asked constantly.
4) Help with documentation. Documentation is never-ending. Find a project you feel passionate about and assist in writing readme's, how-to's, tutorials, wiki entries, help guides, etc. Contact the project leader and tell him you would like to help. If you are bilingual help with translating documentation into another language.
5) Test for bugs. Learn how to properly report bugs. Download and use alpha, beta and release candidates of projects. If you don't have an extra system to test on, use one of the many virtual machines out there to test so you don't foul up your main system. Be specific so those working on the projects can have all the information they need to solve the problem.
6) Finally, continue to learn. The OSS community is fast-paced and is changing all the time. New projects pop up daily. The more you learn the more you can help others.
The Linux and open source community is non-discriminatory. Everyone is welcome. So now there are no more excuses. Get out there and help out. :)
Thursday, August 23, 2007
My Affair with Ubuntu
It didn't take me long to discover that there was more out there then Red Hat. Mandrake (now Mandriva) caught my eye early on, so I installed 8.0 and I felt much more comfortable with Linux. When I stuck a CD-ROM in my drive, an icon appeared on the desktop which allowed me to easily access and view all the data on the CD. Though I could still only install applications from the Mandrake CDs, it seemed to me at the time that Mandrake had a sufficently large repository of applications, more so than Red Hat.
I stayed with Mandrake for a long time, up to ver 10.2. During this time, my distaste for Windows grew and I became more and more relaxed with Linux. Linux in general seemed to mature quickly. It was like riding a rollercoaster, I loved it. I eventually removed my Windows partition and was ready for Linux full time.
After Mandrake, I tried several other distros and had significant affairs with Suse, Mepis and PCLinuxOS. They all seemed like the ideal distro for me in the beginning, but like most flirtations, the honeymoon ended quickly. Now don't get me wrong, these distributions are great, I would still recommend these to any new Linux user, but "challenges" seemed to crop up slowly which caused me to divert my attention elsewhere. Suse's YaST was slow and at the time they didn't seem to support particular and necessary formats such as mp3's and encrypted DVDs. Mepis came along and satisfied my urges with multimedia, which at the time was like a passionate romp in the hay and had me declaring it the "Perfect Distro". Mp3's and encrypted DVDs were no problem and it was my first experience with apt-get (synaptic) which made my legs quiver. But the starry-eyed lover lost me when updates began breaking my system and no one messes with my system. PCLinuxOS had longer legs then Mepis and looked sexy in a mini-skirt. PCLinuxOS made my bones melt. Everything lacking in every other distro I tried, PCLinuxOS had and more. I'll admit that my break up with PCLinuxOS was for very petty reasons. Texstar is awesome, but he's one guy I wanted some of the lastest and greatest packages and I wanted them now. Texstar tried but he just couldn't put out.
I tried for a long time to ignore the harlot Ubuntu. I gave into the pressure and found a motel for that South Africian seductress and we did the unmentionable and I liked IT. Yeah, that sudo thing is annoying but Ubuntu is hot and I quickly got use to it. She's stable, she plays with the lastest and greatest and her community assets are HUGE. There are documents, helps, wikis, books and more. I've been riding Ubuntu for just over a year now and I have to say, anytime I've needed help, there has been a tutorial, how-to or help giving me step by step instructions everytime. The instructions have been specific, easy to follow and worked every time and I do some freaky things.
My eyes have yet to wander from Ubuntu. Nothing else seems to attract me. Ubuntu satisfies me like no other distro has. I see a long and happy relationship here, in fact there maybe a bun in the oven developing. I'm working on a specialized distro based on Ubuntu-server. More to come on that.
Wednesday, August 22, 2007
Amazing Photo Resize Technology
http://www.youtube.com/watch?v=6NcIJXTlugc
Monday, August 20, 2007
50 Reasons (but not all valid)
This is my response to a blog titled '50 Reason to Dump Windows' which can be found here:
http://www.linuxhaxor.net/2007/08/13/50-reasons-to-dump-windows/
Below is the list with my comments, (I'm a Linux advocate, but I'll try to be fair):
Windows is Expensive.
-Definitely a true statement.
Windows crashes more often than Linux ever will. (Windows BSOD) (Linux Kernel Panic).
-Maybe, I haven't seen significant proof of the this, but I do think that Linux is easier to recover from a crash than Windows.
Windows Task manager is not half as cool as Linux Htop.
-Htop is pretty cool.
Windows Notepad is not 1/1000th as cool as linux vi.
-Note: they do develop vi for Windows.
Microsoft office for windows is not free. Openoffice, which was originally developed for *nix platform is free on all platforms that it supports.
-ok.
Windows Terminal vs Linux Terminal. No comments, see for yourself what you can do.
-Very true!
Windows is not friendly towards Linux installations on a separate partition.
-True, but how is this relevant. Windows user could care less. This is a reason 'Not to use Windows?'
The release of Windows Vista comes more than five years after the introduction of its predecessor, Windows XP, making it the longest time span between two releases of Microsoft Windows.
-ummmmm?
Internet Explorer is prone to vulnerabilities more than any other mainstream web browser.
-Note: They do make other browsers that run on Windows. This may be a reason not to use IE.
Microsoft Windows still looks the same. (95 98 2000 2003 XP Vista Longhorn).
-No more different then different version of KDE or GNOME or other.
Windows in owned by profit hungry corporation with little hope of innovation.
-Profit Hungry.. yes. Is that necessarily bad... no. The way they conduct business...yeah, pretty bad. Microsoft not innovative...true. I believe the open source model does provide a greater opportunity for more innovation, but I think Apple has been fairly innovative, not following the OS model.
Linux is for people by people.
-Yes.
It is legal to share linux, not so with windows.
-Yes
Linux is not tied down by one look, like windows, you can choose several looks; ie, KDE, GNOME, fluxbox. To name a few.
-There are other desktops and Window Managers for Windows but not very common or reliable.
Linux hardware requirement is so minimum you can run most current popular linux distro on a ten year old hardware, try that with windows vista.
-Yes, but not with current versions of KDE or GNOME. Less user friendly WM's like Fluxbox, Windows Maker, etc.... sure.
Viruses are few and far between.
-As far as I know, ZERO 'in the wild' viruses.
Linux faces open standard unlike windows, and so a system update won’t make any programs or systems obsolete.
-What are you talking about?
Linux can be configured by the user.
-What!? Very limited as it should be.
Linux can be customized by the user.
-What!? Very limited as it should be.
Linux can be built from scratch by the user, (if you are programmer and know how to).
-You don't even need to be a programmer. Linux from Stratch and others.
Linux doesn’t hog system in default installation like windows do.
-ummmmm?
Linux gives you the freedom to choose application/hardware unlike windows.
-What!? You can't chose what application or hardware to use in Windows? That's new to me.
Most top linux distros are updated every six months.
-Some.
High quality support are available for free online, in the form of HOWTOs, forum, e-books, wikis.
-Yeah, they have the samething for Windows, but the community is definitely more informed.
Support of linux won’t be discontinued, like windows 98 in not supported by Microsoft anymore.
-Older versions of Linux are not supported.
*nix has been around for more than 35 years, and is well tested and as secure as possible.
-This could get ugly because I know how some feel about this. LINUX IS NOT UNIX! I some might disagree and that's your right.
No licensing fees for linux.
-Yep!
Linux is more secure.
-YES! Definitely.
You won’t have to upgrade your computer hardware in order to switch to the newer version of linux.
-True.
Linux is capable of operating on a wide variety of platforms (i.e., processor and system types), rather than just being limited to Intel-compatible processors and computers.
-True. :)
Government security agencies use Linux over windows; SElinux is an example of dedication towards Linux.
-ok
Linux doesn’t have Backdoors like windows do.
-Anything can be hacked, Unless it's unplugged, bury 20 feet in the ground and covered in cement.. then maybe.
Development and popularity on linux platform encourages competition and perhaps whatever innovation that window has.
-ok
Linux doesn’t need to defragment HD.
-Windows XP and Vista, don't really require this.
Ext3 and other linux file system is better than ntfs.
-I agree.
Google runs on Linux, there is a reason for that. Think.
-Think. Google may not be the ideal model.
Apache on linux hosts more websites than IIS on windows.
- Yeah, unfortunately IIS is still gaining in market share. Apache can run on Windows also. Is this 50 reasons to use Apache?
Apache is more secure than IIS.
-Yes. Apache can run on Windows also. Is this 50 reasons to use Apache?
Firefox is far more advanced/secure than Microsoft IE. Even though you can run Firefox in windows it doesn’t provide the secure platform that linux provides and are open to attacks/exploits that firefox on linux aren’t.
-ummmmmm?
Linux has superior network and system management.
-Sure
Linux is also supported by IBM, HP, Novell.
-Ok. Novell also support Microsoft.
Linux is reliable.
-Yep.
Linux doesn’t discourage running virtual machine like windows.
-?????? VMware?
Linux is the de-facto OS for security forensics.
-I don't know anything about that.
There is a reason why Apple switched to *nix; OSX is the defining example of what you can do with *nix. It has reached such a point that Microsoft is copying ideas from apple/OSX, again.
-One more time. LINUX IS NOT UNIX! geez! I'm ok. Though that was a good move on Apple's part.
There is no “service packs”. There are updates.
-ok.
If you think Linux doesn’t provide eye candy like windows does, think again. Two words, Beryl and Compiz!!!
-Linux eye candy is way better, man.
There is nothing you can do in windows that you can’t do in linux, not the other way around.
-I agree. It may not be easier, but true.
If you are stuck with the looks of windows you can switch to linux and still use the same looks. ie, Linspire.
-yeah, but why? I've seen a way to make Windows look like Ubuntu.
Last but not least. Linux is FREE.
-True, as in Freedom right?