Thursday, August 27, 2009

Customize SUSE Linux to the Bones with SUSE Studio

With hundreds of different distributions, each targeting various niches and users, Linux is undoubtedly a very prolific kernel. Being the distro hoppers that I'm sure you are, finding a Linux operating system that could fill almost all your computing needs is the obvious goal.

Many feel that they could create a better distro, but few have the skills (or time) necessary to put their ideas into practice. Sure enough, there are some Linuxes out there that let you create "remasters", but what if you would be able to do all the configuration online, in several quick, easy steps and then download your very own, highly customized distro to the HDD or share it with the world? And most importantly, other than some general Linux knowledge, you basically don't need any other real skills. But enough with the introduction.

Coming from Novell, SUSE Studio is the name of this interesting new project. Before getting too excited, I should tell you that you will build on top of a SUSE OS, be it OpenSUSE or SUSE Linux Enterprise, so don't think that you can take Ubuntu, mix it with a teaspoon of Fedora and spice it up with a bit of Slackware. Regardless, this is the easiest way to create a personalized, yet stable and powerful, Linux.




The first thing you need to do is create an account, ask for an invitation and pray that it will get approved as soon as possible. Once that's accomplished, you can start building the distro/appliance. Step 1: choose the base template, ranging from the micro JeOS, all the way to a full-blown KDE 4 environment. KDE 3, GNOME and IceWM are the other options. 64-bit processors are more and more widespread, so you'll be happy to see support for the superior architecture. Naming your "baby" is the last step on the first page.




The software selection area displays all the available software in OpenSUSE's 11.1 repositories. You will find almost everything you need in there, and if you don't, you can add third-party repositories and even upload RPM packages to be installed on your system. Cool! On the left-hand side of the screen, you have the current state of your Live CD/DVD: total packages selected, used space and download size. This last one is the most important as you will know when you get over the 700 MB CD ISO limit. If you're lost and don't know what software to choose, you can check the "Always install recommended software" box in the recommended category. In my case, I ended up with a 1.01 GB DVD image. There's also a handy search function, enabling you to find specific applications throughout the repositories.



The "General" configuration tab allows you to enable the firewall, configure the network, create users, set passwords or choose the timezone. Next, upload your favorite logo and choose backgrounds for boot, loading and login screens to really make it your own. At this point, I was starting to feel like I was in a Role Playing Game, creating my mighty character. :)



Reading EULAs (End user license agreements) is one of my favorite past-times ever and, upon discovering that SUSE Studio lets me create one from scratch, I became euphoric. OK, I am obviously joking. I have never read an EULA in my life (and neither did you, don't judge me!), but yes, SUSE Studio gives you the ability to add one in your distro. For server functionality, configuring a MySQL database would be the next step. I skipped it altogether, to then find myself inside the "Desktop" tab. Not much to do here, except opt for automatic login for one of the users and, if necessary, add autostart programs. Beware though, you will have to know the command for launching each program. Usually, it's dead simple, like for Pidgin, the command is simply pidgin, or for Firefox... firefox.



If you're creating a virtual appliance or a disk image for VirtualBox, you can set the RAM and Virtual Disk sizes in the The "Storage & memory" screen. If you just want the ISO, don't bother with these settings. The same goes for the "Scripts" section; unless you know what you're doing, just move along.


But say you also want your most important documents to be copied over to a fresh install of your new distro. Easy as pie! The "Overlay files" tab lets you upload single files to specified directories, that will appear in your installation. If you have a folder, simply create an archive out of it, and SUSE Studio will extract it during the installation process.



Finally, select the format of your distro/appliance and click "Build". My 1.01 GB DVD ISO was complete and ready for download after 45 minutes. Three hours later (sucky servers + sucky Internet connection = 1 GB in 3 hours) I successfully booted the OS into VirtualBox. All my favorite applications were there, Pidgin popped up at start-up and my cat (Pinky's the name) earned his geek bragging rights for the day by appearing on the login screen of a Linux distro. Oh, if you choose to create a disk image, you can "Testdrive" the OS right from inside the browser. Awesome, awesome stuff.

The End

SUSE Studio is great in many respects, but especially if you need to deploy a customized desktop or server on multiple machines. Configure it once, use it as many times as you need. Sure, if you don't like SUSE, you won't like the custom distro either. I'm not much of a fan myself, but I do find the whole idea interesting and, more importantly, useful.

Apply for an account right here.

Thursday, August 20, 2009

Writer's block? Try Textroom!

In a world full of Twitter, Facebook, MySpace, YouTube, StumbleUpon and countless other online timewasters, it's extremely easy to let your mind wander to places totally unrelated to actual work. Maybe you're a blogger, maybe you're a short story writer, maybe you are a news editor; whichever the case may be, you NEED to write. I usually do my text editing in simple programs, like Gedit and I've been pretty happy with it so far. Until I met TextRoom.


TextRoom aims to squeeze the last bit of productivity out of you. But let's begin with how you can put your procrastinating hands on this baby. Direct your browser to the project's homepage and choose from the four packages available in the downloads section: .bin, .deb, .exe (rejoice, Windows users!) and .tar.gz. As I'm currently running Ubuntu 9.04, the obvious choice was to get the 386 KB .deb file. The installation was quickly over and TextRoom was patiently waiting for me in the "Office" section of the "Applications" menu. When I first opened it, a black page covered the whole screen and all I could see was a blinking cursor and an elegant gray bar at the bottom. As simple and minimalistic its interface is, TextRoom strikes you with a polished, professional look. Can you say Qt 4.3.2? Yep, TextRoom was created on top of that platform, and you really can't go wrong with Qt.

So I was telling you about that bar on the bottom... The first thing that attracted my attention was the realtime word count on the left. *Over-excitement warning* FINALLY!!! A text editor that has word count in plain sight! Praise the Heavens! OK. So, after performing a small victory dance around the desk, I returned to the computer and started looking for other cool features this editor may have. On the same bottom bar, you have the filename in the center and the current time on the left. That's all. Besides the text, all you have is these three elements. You and your creativity can finally be together, without any intruders.


But is this really all that TextRoom offers? Nope. Pressing F1 will pop up the keyboard shortcuts panel, from where you find out that you can change the fonts, underline words, insert time or date, go fullscreen- or windowed-mode, undo, redo and other basic functions. CTRL+P takes you to the "Options", revealing even more coolness. You can set Word Count Targets and the program will actually display your progress in both "current word count / target word count" and percents. Cool! One can also set deadlines by selecting whichever future date in the graphical calendar or enable a time limit, at the end of which, a pop-up will appear on screen and announce you that you're out of time. Autosaving is another useful feature. Speaking of saving, the formats supported by TextRoom are .txr, HTML and .txt.



As much as I enjoy using this editor, there are still a few things that are missing and could be added. First of all: spell-checking. Typos can easily go unnoticed by a hurried writer, so a discreet highlight or underline won't do much harm to the elegant interface. Secondly, you still can simply exit fullscreen and go Facebooking or YouTubing. An option to keep one locked in the fullscreen mode for a set period of time would be a great cure for the world's most procrastinating procrastinators.



There is also a small bug that I've noticed. The default bottom bar is a bit thinner than what you see in the pictures. Activating the word count target increased the width of the bar by a few pixels and unfortunately, it didn't return to its normal size once I have removed the target. Moreover, though there is an "enable sound" option, TextRoom is totally silent, even when reaching a time limit. Hm.

A few more words...

I just love simple text editors and TextRoom raises the bar a bit higher, leaving me no choice but to use it as my main "canvas". Sure, I still have to copy and paste the text, once it's done, into a spell-checking capable program, but it's a small sacrifice I'm willing to make. If you're a writer and all you need is to write text, without any fancy formatting, give TextRoom a try. Maybe it will help you get over those nasty writer's blocks quicker.

Wednesday, August 12, 2009

Distro Hoppin`: SAM Linux 2009

Hello dear readers, and welcome to another exciting (at least for me) Distro Hoppin` adventure. You've most likely seen the title, so you know I'm going to share a bit of my experiences and opinions on SAM Linux 2009.



First of all, I have to admit I really like SAM's logo. And not because it is of an extraordinary beauty, but because it offers quite a lot of information about the operating system. Let me elaborate: you have the PCLinuxOS-like circle, so you know it's based on that, you have the Xfce mouse, so you know it uses the lightweight desktop environment, and, of course you have the name: SAM. All in one little logo. But I probably am giving too much attention to unimportant matters, so let's move on, shall we? :)

As with every distribution, you begin by downloading the ISO image. This time around, its 679 MB "weight" will almost fill a single CD. Once it's safely on the HDD, open up your favorite disc burner and burn away! By the way, if you're planning on starting a distro hoppin` career, I highly recommend using rewritables. Sure, they do wear out in time, but if you keep them in reasonably good conditions, they will save you a lot of $$$ AND desk space. :)

Aaanyway... PCLinuxOS is a truly well done Linux distribution, I'm sure you all agree, so SAM sounded good from the very beginning. It benefits from a Live environment, as 99% of Linuxes do today thus, the first contact with it took place straight on the optical disc. To be able to access the desktop, you will have to guess that the password for the guest user is "guest". Sure, you don't need a diploma for that, but newbies might get confused. Live environments should, in my humble opinion, be loaded automatically, skipping the login part.

First problem: I couldn't connect to the Internet. I clicked the icon in the notification area, typed in my password, clicked again on connect and... nothing. After several tries, I decided it's best to restart the system and try again. Happily, after doing that, it connected automatically. Yay! Internet FTW! Ahem.

The first thing that caught my attention was the "Welcome SAM" icon on the desktop, which acts both as a decent tour of the distro and a quick installation guide. There I found out that the "Install SAM" shortcut was inside the Toolbox folder on the desktop, along with Live USB Maker, SAM IRC Channel (which doesn't work - "Failed to execute child process "xchat" (No such file or directory)." :) ), Video settings and, again, the Welcome thingy.



I went ahead for the installation, by typing in the root password, which is "root" and quickly found out that if you minimize/maximize the window, it closes altogether, so you have to open it again (yes, that includes canceling the ongoing installation). Weird! Moreover, it "steals" focus (during the first few steps) from all other windows, leaving you unable to use the keyboard, for, say... writing an article. :) But if you roll it up (click the arrow pointing up), it starts to behave and lets you take control. As I arrived to the partition setup screen, I noticed that, though not enabled by default, I could select the Ext4 filesystem from the drop-down list, so I said, why not? Ext4 has served me well until now. Unfortunately, after many retries and restarts, SAM would continue to give a mount error, thus the installation couldn't continue. As I soon realized, it only supports ext3 (and maybe others, but not ext4). Once that was out of the way, it went on with the process and in about ten minutes, the system was installed and the grub configuration window popped up. I left those settings as default and restarted the mean machine, anxious to see how this operating system performs.


Before the system was fully loaded, I added an user and chose a root password. The desktop welcomes you with a nice, clean, green wallpaper, a pretty dock-like bar (wbar) that sits on the top and an elegant analogue clock screenlet. Though pretty, wBar has a few visual bugs here and there. Whenever you log in your account, it will be surrounded by a black box. To get rid of it, just right click and it will disappear; certainly, much better without it.



I also noticed, in the top left and right corners, two white lines. At first I thought they were simply some crazy graphical artifacts, but when I hovered the mouse pointer over them, I was proven wrong. The left one is actually the screenshot tool, a handy addition, and on the right, a "Swiss army knife" lets you configure the wbar, the screenlets and change the wallpaper. Well, in this case I'm not too happy about its placement. Why, you ask? I tend to run most of my applications maximized, so I'm used to going straight to the top and clicking the X button whenever I want to close them, without actually looking where the mouse's going, as I know it will land on the X. Well, with the toolbox thingy there, I have to be more careful with the movement of the pointer. But anyway, everything is customizable, so you can place it on the bottom panel, for example, or just remove it. Speaking of the bottom panel, I looked and looked for the volume icon, but couldn't find it, so I had to add it myself. This really should have been enabled by default. On the flip side, I noticed the awesome Parcellite clipboard manager tool, ready to gather all your text copying actions.


The Xfce desktop environment is at its latest, 4.6.1, version, keeping in tone with the overall up-to-date SAM. The software selection is where this distribution really manages to make me happy: Firefox 3.5.1, Pidgin 2.5.8, Mobile Media Converter (you will LOVE this if you watch movies on the go), VLC Media Player, Kino or Opera 9.64.



For office tasks, Abiword is provided by default and should handle most of the things it's fed just fine. If you're more of an OpenOffice guy/gal, you can open up the Synaptic package manager and look for it. What you will find is not the complete package, but a bash script that will download and install the suite for you. Unfortunately, a server error didn't allow for the script to be installed, so I couldn't get OOo on SAM.

Even though I'm running a lightweight desktop environment, it doesn't mean I can't let myself enjoy some eye-candy from time to time. But to do that, I needed the NVIDIA proprietary graphics drivers to be installed. The hardware configuration area didn't help me much so I went back to Synaptic and querried for "nvidia". Sure enough, I found the corresponding drivers for my FX5500 and downloaded them. Fortunately, I didn't have to get my hands dirty and modify the Xorg.conf file in order to activate them, so a logout/login later, my computer was NVIDIA-powered. I opened the PCLinuxOS control center, went to the Hardware tab, clicked the "Configure 3D Desktop effects" button, chose Compiz and it told me I had to logout yet again. I accepted and when I returned, not only did the windows wobble and the menus jiggle, but the window decorations were also replaced by the ones from Emerald. And surprisingly, SAM remained stable and responsive.

The ugly part showed itself when I decided to disable Compiz. After logging back in with it disabled, my windows were decorationless (nice word!) and the effects were still there. Yeah...



But what about hardware support, Danny? Well, I'm happy to report that, through the great bundled HP utility, I managed to setup and configure my Deskjet 3940 printer in no time. Sadly though, I've yet to find a Linux distribution in which the printer would perform as well as it does on Windows with the drivers from HP. Printing in draft mode is horrible and the normal mode is painfully slow. I've also noticed some Lexmark and Epson software in SAM, but you can always use CUPS. The Canon A550 digital camera was recognized immediately and I was offered to import the photos stored on it with gtkam.

In the repositories I found Skype and installed it, just to see if the mic input works properly out of the box. Happily, I was heard crystal clear on the other end of the "line", whereas with Ubuntu, for example, one has to make some tweaking before using the popular VoIP software.

SAM 2009 also comes with a quite interesting backup utility, called Flyback, which lets you schedule backups for selected folders on your HDD.

Most multimedia files, be they audio or video, play fine in SAM, as it comes with all the codecs you need.



Is it worth it?

Well, if you like trying out new distributions, certainly give SAM a spin. Despite its problems, it brings forward some original elements that separate it from the crowd. Plus, it is packed with the latest and greatest software. I'm very curious about how the next release will be though, as the developers said that SAM 2009 is the last version using the PCLinuxOS base.

Download SAM Linux 2009 here!

Wednesday, August 5, 2009

Distro Hoppin`: Linux Mint 7 KDE Edition

Ah... Linux Mint! The Ubuntu-made-even-better operating system that everybody loves to praise. And for good reason, in my humble opinion. The latest version of Mint, dubbed Gloria and bearing the 7 suffix, was released quite some time ago, so why am I talking about it? Well, recently, the team behind the project, with Mr. Clement Lefebvre as the leader, made a highly anticipated announcement: "Linux Mint 7 KDE released!".

So good news for all of you KDE fans out there! I still am not part of that group, but hey!, Pardus left quite a good impression on me, so why not try this one too? First of all, see if you have an empty DVD lying around, 'cause the KDE version of Mint 7 (about 1.1 GB) won't fit on a CD. There are plenty of mirrors available for direct download and a seedful torrent, so it shouldn't take too much time to have the image on your hard drive. Once you have it on the disc, it's pretty much a straight-forward job: boot from the DVD, wait for the desktop to load, double click the "Install" icon and go through the easy-as-pie installation steps, identical to those of Ubuntu.

Once I had it installed, I quickly rebooted the machine and admired the simple yet beautiful blue and white, icy kind of bootsplash, perfectly suited for a hot summer day. The first time your desktop loads, it will take a bit more time, so don't worry, it's normal. If you recall, Gloria's default green wallpaper was quite a star when revealed by Clem. If you liked that, you'll certainly like this one. It's basically the same, except it's blue. The same sky, the same water drops, but blue.



mintWelcome, which immediately popped out at startup, is an excellent tool for finding out about Gloria's exciting new features, read the user guide or seek support either on the forum or through the pre-configured Quassel IRC client.

The latest, 4.2.4 version of K Desktop Environment certainly feels more stable and less of a resource-hog than previous ones, so using it didn't make my good ol' single core Pentium 4 machine develop an inferiority complex.

What's the first thing you need to do after installing an Operating System? Make sure it's up to date! So that's what I did. The mintUpdate tool was already working in the background, retrieving all of the 76 updates that needed to be applied. About ten minutes and a rather harmless Plasma workspace crash later, Linux Mint 7 KDE was ready to be explored.



As I knew Canonical didn't bother to update their repositories with the latest version of Pidgin in order to be able to connect to Yahoo, I wanted to see if Mint did something about that. Nope, still at 2.5.5. Before adding the third party source, I downloaded and installed it, just for the heck of it and, surprise, surprise, I was online. Apparently, the Mint team couldn't include the latest version so instead they changed the server in the account preferences. Still, that isn't a permanent solution, as certain features (such as avatars and file transfer) don't work, but it's better than nothing. Oh, and yes, before all that, I've tried connecting with the included Kopete IM client, but had no luck.

If there is one thing that I find highly annoying about Kubuntu-based OSes, it has to be this: NVIDIA drivers installation. Though it quickly recognized my chipset and recommended the 173 series, when I clicked "Activate", the selection grayed out on me and nothing happened. NOTHING! Restart the application, try again, restart the system, try again. Nope. Still no response. Usually, depending on your luck and how the planets are aligned that day, the darn thing will work after a few tries. Luckily, the Minties (is it too wrong if I call the Linux Mint team that? :) ) are probably aware of that issue and included the awesome EnvyNG driver installation program that quickly and smoothly took care of the problem.



One of the applications I love using when running KDE systems is Amarok. Though the latest version is 2.1.1, Linux Mint gives you 2.1, which is just as good really, works like a charm.

When you open the most awesome software manager available for Linux, mintInstall, for the first time, you'll notice that it doesn't take as much time to load as it used to, as screenshots for the most popular applications are preloaded; for the rest, the pics are downloaded as you access them. If you want 'em all, click the "Refresh" button and they'll slowly but surely be loaded. That's a great improvement if you ask me, as waiting several minutes to access the repositories for the first time was a bit frustrating in the previous version. Another important change is the "Featured applications" button which will take you to a small software portal, comprising of applications that are known to be used by a lot of people. Some examples: aMule, Audacity, Skype, Opera, Google Earth of Picasa. This is a great way to put your "computing lifestyle" back together in no time.


Of course, Flash videos, MP3s and most video formats play out of the box in Linux Mint 7, so yay! The bundled Dragon Player, VLC, GNOME MPlayer and MPlayer will provide the means for that to happen. It was a bit sad to see no games available out of the box, considering the fact that the distro had already “spilled” over the 700 MB CD limit, so 1.5 GB instead of 1.1 wouldn't have been such a big difference.

On the office front, there's nothing out of the ordinary: the now old OpenOffice.org 3.0.1, a couple of smaller text editors and a few KOffice 2.0 (great product, by the way) components, such as Krita and Karbon.

If you have kids (I used that instead of children because it starts with a K! Get it? K! From KDE? How funny is that? - don't answer) and you feel that they may be surfing some inappropriate Internet waves, you can call mintNanny and do some good old fashioned domain blocking. But with today's highly computer-literate youth, they will probably blaze past your wall of protection. Nonetheless, a welcomed addition.

Another tool straight out of Mint's laboratories is mintUpload that unfortunately wasn't pre-configured to use the default Mint server. If you use any other upload services, you can add them to this nifty interface too. Beware though, you won't find mintUpload in the applications menu, as you can access it through the right click context menu on individual files.

But there are more hidden treasures in the context menu: image conversion, file encryption, open/edit as root, change permissions, etc. Some true time savers!



The glorious conclusion

Linux Mint 7 KDE is a worthy addition to the Linux Mint family and is much, much better than the previous KDE release. I still prefer the main GNOME version over it, but there's definitely an ascending path going on. Oh, and with the 4.3.0 version of KDE just released, I can't wait until Linux Mint 8!

Update: As Google kindly helped me translate the Russian comment below, I realized I actually did not post any download link for the distribution. Silly me! Oh well, here they are: Direct download and torrent. Enjoy!