Archive for April, 2008

Red Hat has announced that they have no plans to create a traditional Linux desktop product for the consumer market.

Lets look at Red Hat’s explantion of why:

…as a public, for-profit company, Red Hat must create products and technologies with an eye on the bottom line, and with desktops this is much harder to do than with servers. The desktop market suffers from having one dominant vendor, and some people still perceive that today’s Linux desktops simply don’t provide a practical alternative. Of course, a growing number of technically savvy users and companies have discovered that today’s Linux desktop is indeed a practical alternative. Nevertheless, building a sustainable business around the Linux desktop is tough, and history is littered with example efforts that have either failed outright, are stalled or are run as charities. But there’s good news too. Technical developments that have become available over the past year or two are accelerating the spread of the Linux Desktop.

In short?  It’s too much money, and it’s too hard.

I really don’t think this is a bad move.  Red Hat is great at what they do.  Servers and development, and they do it as a business, for money.  Contrary to the buzz in the community right now, there is nothing in the announcement that says Fedora will stop being worked on.  Fedora is community driven, so there really is no worry as I see it.  Fedora is a great free Linux desktop but it’s obvious which desktop player is leading the charge for the commercial Linux desktop; Ubuntu.

Popularity: 2% [?]

Customizing Your Ubuntu Experience

This is a guest post by Taylor Douglass

After a Ubuntu install one of the first things that users want to do is customize the look to their liking. Lynucs.org has a great collection of screen shots to provide some inspiration for this process. This article is meant to get you going in the right direction as far as customizing the look and feel of Ubuntu.

Wallpaper

One of the easiest and quickest ways to change the look of your desktop is simply to change the wallpaper. One of my favorite wallpaper repositories is socwall.com. Their wallpapers are very well organized and voted on by the community. Once you have a wallpaper that you think would look nice on your desktop you have two options. Please keep in mind that in both of these examples I am using Firefox.

Option one is to right click on the image and select “Set As Desktop Background“. From there you will presented with a dialog box that gives you different options for your wallpaper such as center, tile, and stretch. You can also set a background color if your wallpaper doesn’t cover the entire desktop.

The second option is to first save the wallpaper by right clicking on the image and selecting “Save Image As“. Save the picture in a directory you are familiar with such as your home directory under Pictures. Now go to the System menu, then preferences, click Appearance, and then select the background tab. Click the Add button, navigate to the place where you saved your wallpaper, and select your wallpaper.

Changing Your Gnome Theme

Changing your theme will give you the most dramatic results as far as the overall appearance of Ubuntu. If you go back to the Appearance Preferences (System -> Preferences -> Appearance) you will notice a tab named “Theme“. These are the themes that are currently available on your system. None of these really tickle my fancy, so let’s go out to gnome-look.org and get a nice looking theme.

When it comes to themes you can get really carried away very easily. Some themes require that additional modules, tweaks, and minor fixes be applied before the theme will work correctly. Gnome-look is very good at explaining everything that you need to do in order to correctly install your theme. For simplicities sake, let’s install a theme called Green Lemon 2. Download the theme (green lemon 2.tar.gz) and save it to a place that you can easily find it. Now go back to your appearance preferences, under the theme tab, and click install. Navigate to the place where you downloaded green lemon to and click open. You will then see the theme magically change before your eyes. After it’s done changing you should see a dialog box that says “GNOME Theme Green lemon 2 correctly installed”.

Panels

Panels are a quick and easy way to customize Ubuntu. You can use panels to display various information such as notes, weather, and the time. You can also use panels as tool bars to launch applications and documents. To begin playing with panels right let’s add a weather report. Right click on the top panel on your desktop. This will bring up a menu that has various options such as add to panel, properties, delete this panel, and new panel. We want to select add to panel. You should now see a list of various different items that you can add to your panel. Under the accessories section, select Weather Report, and click close. Now you have an icon on your panel that has a question mark and two dashes after it. This is because we haven’t yet set our location, so the weather report doesn’t know what to report. Right click on the icon and select preferences. Under the general tab set your preferences such as temperature unit and wind speed unit. Now go to the location tab and set your location and then close the preferences window. Before your weather information is displayed you may have to refresh it. Simply right click on the weather icon and select update. Now we want to move the icon. Right click on it and select move. Now move the icon to where you want it to be. I prefer that my weather icon sits right next to my clock. An interesting thing about the weather icon is that if you right click on it and select details, you get a lot more information such as current conditions, a forecast, and a radar map.

Something I will mention but is well beyond the scope of this tutorial is AWN or Avant Window Manager. This is a much more powerful application that is similar to Ubuntu panels. It allows you to add various tool bars and applets to your desktop. For more information about AWN, check out the wiki.

Pushing the Customizing Window

Something that is fairly new to the Ubuntu world is Beryl/Compiz. This application allows you to take customization to a whole new level. With Compiz you can adjust the opacity of windows and menus, add flashy affects when opening, closing, or moving windows, and change the way that you switch between desktops. Although Compiz requires a decent graphics card and a faster computer, it is rather amazing what is possible with it. For more information about installing and using Compiz, check out compiz.org.

Popularity: 4% [?]

Here is a quick one line command to generate a random password from the Linux command line.

# < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c6

If you want a password length longer than 6, changing the -c6 to read -c8 will give you 8 random characters instead of 6.

Popularity: 9% [?]

Quickzi: How To Remove Blank Lines from a File

If you want to remove all blank lines from a file, a quick way of doing it from the Linux command line is to use sed.

So, lets say that your file looks like this:

# vi example_file

This is an example text file.
We will be using sed to remove blank lines from this example file.

sed is a stream editor for filtering and transforming text

There are a lot of powerful things you can do with sed.

:wq

Now, to remove the blank lines in this file, we’ll use sed.

# sed -i '/^$/d' example_file

# cat example_file

This is an example text file.
We will be using sed to remove blank lines from this example file.
sed is a stream editor for filtering and transforming text
There are a lot of powerful things you can do with sed.

If you want to preserve the original file, then you can pipe the changes to a new file:

sed '/^$/d' example_file > example_file_new

Cheers!

Popularity: 6% [?]

Here is a quick tip on how to list files in a directory with a certain date stamp using awk.

Let’s say that you want to list all files stamped with 2008-04-11.

# ls -l | awk '{if($6=="2008-04-11") print $N }'

-rw-r--r-- 1 adam users 0 2008-04-11 16:27 file1
-rw-r--r-- 1 adam users 0 2008-04-11 16:27 file2
-rw-r--r-- 1 adam users 0 2008-04-11 16:27 file3

If you want to list only the file names, add an F switch.

# ls -l | awk '{if($6=="2008-04-11") print $NF }'
file1
file2
file3

Popularity: 3% [?]

Here is a quick tip on how to add a welcome message for your SSH users.

If you want users to see a banner welcome message when connecting to your SSH server, you need to turn on the banner configuration of SSHd and then create a banner file.

Step 1:

Create a banner file that contains text you want people to see when connecting to your SSH server.

Create and open the banner file:

# vi /home/adam/banner

Add your text:

This is the banner file for Foogazi.com! Welcome!

Write the file and quit:

:wq

Step 2:

Edit sshd_config to set a default banner path.

# vi /etc/ssh/sshd_config

then add the following to the config file:

Banner /path/to/banner

Write the file and quit:

:wq

Step 3:

Restart the sshd server.

# /etc/init.d/sshd restart

Step 4:

SSH to your server and test to see if the banner is working:

# ssh adam@foogazi.com
This is the banner file for Foogazi.com! Welcome!

adam@foogazi.com's password:
#

It’s working!

Popularity: 24% [?]

WordPress 2.5 Upgrade

I’ve finally had some time to upgrade to WordPress 2.5. Let me say that not only did the upgrade take only 5 minutes, but it was very smooth and simple.

The WordPress team has done a great job with the 2.5 release. It looks a lot cleaner, runs a lot faster, and they have finally put some thought into the design and layout for ease of use. All in all, this is a spectacular release. If you have a blog and have not yet upgraded to WordPress 2.5, I highly recommend you do.

Popularity: 2% [?]

Mark Shuttleworth, founder of Canonical Ltd. and leader of the Ubuntu Linux distribution, discussed the Windows based UBuntu Installer, Wubi, on his blog today.

Windows is a very important platform, and our justifiable pride in Linux and the GNU stack shouldn’t blind us to the importance of delivering software that is widely useful. I believe in bringing free software to people in a way that is exciting and empowering to them, and one of the key ways to do that is to show them amazing free software running on their familiar platform, whether that’s Windows or the MacOS.

Firefox, for example, is an inspiring free software success story, and I’m certain that a key driver of that success is their excellent support for the Windows environment. It’s a quick download and an easy install that Just Works, after which people can actually FEEL that free software delivers an innovative and powerful browsing experience that is plainly better than the proprietary alternatives. I’ve noticed that many of the best free software projects have a good Windows story. MySQL and PostGres both do. Bazaar works well too. And users love it – users that may then be willing to take a step closer to living in the GNU world entirely.

So, I was absolutely delighted with the way Agostino Russo and Evan Dandrea steered the Windows-native installer for Ubuntu into 8.04 LTS. What I think is really classy about it is the way it uses the Windows Boot Manager sensibly to offer you the Ubuntu option. If I was a Windows user who was intrigued but nervous about Linux, this would be a really great way to get a taste of it, at low risk. Being able to install and uninstall a Linux OS as if it were a Windows app is a brilliant innovation. Kudos to Agostino and Evan, and of course also to the guys who pioneered this sort of thinking (it’s been done in a number of different ways). It looks crisp, clean and very professional

There have been some concerns with Wubi not working on various machines.  A lot of people have been saying that it’s not installing at all for them.  Mark is calling out for everyone to test it out before the upcoming Ubuntu 8.04 “Hardy Heron” release.

So – yesterday I suggested folks hammer on the Heron for servers, today, here’s a call for folks who have a Windows machine and would like to see WUBI in action to test it out and let the developers know if there are any last-minute gotchas. Happy hunting!

Read more…

Popularity: 3% [?]

How To Explain Linux to a Windows User

Theres been a question I have seen on multiple occasions both on the “How do I explain Linux to a Windows user” end as well as the “What is Linux?” question. That got me thinking.. what is the best way to explain Linux to a normal Windows user who has never heard of Linux? Have you ever been using a laptop in a public place, or have someone over at your house, and you’re running Linux and someone asks you why it looks different? Do you take the easy way out and say “it’s Linux, it’s like Windows but different!” or do you actually explain what Linux is? Here are some ideas of getting the message across as easy and straightforward as possible.

Explaining Linux to a Windows user

Here are a few ideas you can put together to help you explain Linux:

  • Every computer has an Operating System. Windows is an Operating System. So is Linux.
  • Linux was written in the early nineties by a college student name Linus.
  • Linux is not owned by any one person.
  • Linux is free, unlike Windows. Most people pay the Windows fee when they buy the computer that comes “pre-installed” with Windows.
  • It’s fun to use.
  • You have complete control of all aspects of the operating system.
  • It’s “look and feel” is completely customizable. You can make it look like Windows or you can make it look unique.
  • You can’t use all of the same software applications that you use on Windows, but there are alternatives to windows programs.
  • If your computers primary use is for playing popular computer games, hold off on installing Linux.
  • Linux is secure and practically virus and spyware free.
  • It can be a lot faster than Windows with the right setup and configurations.

How do you explain Linux to a Windows user?

Popularity: 6% [?]

The Good and Bad of Ubuntu Linux


Theres always the question of whether a popular, mildly mainstream Linux distribution like Ubuntu serves the overall GNU/Linux community well. It’s my belief that there are two sides to the debate regarding Ubuntu; the Good, and the Bad. Some people have stated that Ubuntu is becoming the generic Linux distro, while others agree that Linux in the mainstream is great for the growth of Linux. With every widely used and increasingly popular entity comes both good and bad. Let’s go over a few of the good and bad points Ubuntu brings to the Linux community in general.

Ubuntu is good for the Linux community

There are a lot of great things that Canonical and Ubuntu have brought to the Linux desktop. Here are a few.

Easy, straightforward Installation

Theres no question that Ubuntu has redefined the Linux installation process as a whole. It used to take a lot more knowledge for someone to be able to successfully install Linux. Not only that, but once you had Linux installed, you most likely had one or two pieces of hardware that went unrecognized, forcing you to recompile the kernel, or search endlessly for a way to make it work. No doubt this used to turn people away from Linux. Now, an Ubuntu installation usually grabs everything and configures it correctly during the installation process allowing a painless Linux install.

Easy Setup and Configuration

Apart from the straightforward Ubuntu install is the fact that once the installation is complete, you’re placed at the Gnome desktop and most likely ready to do whatever you want. Painless X.org configuration, easy installation of additional packages, even warnings if your device drivers are not open source. Ubuntu has done a lot of good for the configuration and initial setup of the desktop.

Easy Migration from Windows to Linux

Ubuntu has always attempted to make a migration from Windows to Ubuntu Linux as seamless and easy as possible. Now, with the upcoming release of Ubuntu 8.04 Hardy Heron, Windows users will be able to install Ubuntu in a dual-boot like mode right from the Windows desktop using Wubi and umenu. It’s obvious that Ubuntu has a goal of getting users away from Windows and onto the Ubuntu Linux desktop.

Allowing for Mainstream Acceptance

With the Dell announcement in May 2007, and Sun hardware certified and supported on Ubuntu, Canonical is definitely opening the Linux desktop and server environments to a wider audience with Ubuntu. However, it’s not only in a business sense that Ubuntu has opened doors for a wider mainstream acceptance. Ubuntu is also leading the way for Linux becoming more mainstream with computer users in general. Ubuntu has been ranked #1 on Distrowatch for quiet a long time, and it’s no question most new comers to Linux are being recommended to install Ubuntu first.

Ubuntu is bad for the Linux community

Now for a few bad things Ubuntu may be doing to harm the Linux community and reputation.

What is the Command Line Interface?

There are so many Ubuntu users out there that have no clue how operate on the Linux command line. Ubuntu has done well in making their distribution a user friendly, point and click environment. However, as a long time Linux user who started out on the command line, I strongly believe that every Linux user should be able to operate on the CLI if need be, without the use of a GUI application that does everything for you.

Ubuntu *IS* Linux

Adrian Kingsly says it best here. He believes that an increasing number of Linux newbies seem to think that Ubuntu is Linux and Linux is Ubuntu.

What about the Future of Linux?

Now, this may be a bit far-fetched but let’s be hypothetical for a moment. Let’s say Ubuntu becomes *the* Linux distribution. Everyone becomes accustomed to the point and click mentality of Linux, and general audiences (mom, dad, grandmother, sister, neighbor) in middle of main stream America use Ubuntu Linux. Where will Linux go? The whole original idea behind open source and Linux is that we as a community are the ones who are responsible for building onto the project as a whole. If every child, parent, and grandchild ran Linux without the technological knowledge most Linux users today have, would Linux still grow at a decent pace? Who will be our future programmers and kernel hackers if nobody is even introduced to the command line, let alone a programming language? Ubuntu allows users to become ignorant of the technical side of Linux.

I can see both sides

In general, I’m not on either side of thinking Ubuntu is good or bad for Linux as a whole. I can see both sides. I use Ubuntu on my work desktop and laptop and I love the ease of use Ubuntu brings to the desktop. However, I’ve also been waist-deep in command line mess well before Ubuntu was spawned from Debian, so I feel I have a greater appreciation for the ease of Ubuntu administration, configuration and maintenance. I wouldn’t mind seeing Ubuntu Linux rocket to the top of the desktop Operating System chart. I just don’t want Ubuntu to overshadow the roots and original philosophy of GNU/Linux.

Can you think of any other good and bad points of Ubuntu?

Popularity: 12% [?]