Feanor

Blogging since the First Age

Subscribe to RSS feed

Posts tagged with "linux"

Mommy Debian

In my wandering around in search of the less bloated but still functional Linux distro I came back once again to mommy Debian, in its Wheezy - testing version (soon to become stable). I opted for the XFCE desktop environment and it is much lighter and faster than Ubuntu derivatives. It has two other major advantages, first you have got multiple options for installing instead of just an huge ISO that fits either a DVD or an USB key, like most other distros. The other advantage is that it comes with a reasonable selection of preinstalled applications (GIMP, Libreoffice, Firefox, VLC, etc). So far the only bug I have met is the network applet that displays the network connection as down while it is up.The only distro that was as easily installed and as light on hardware resource, while still being full functional, was Bodhi Linux. Besides Bodhi requires you to add all the applications by hand. Unfortunately its Enlightenment desktop environment doesn't fully support compositing on my old Matrox graphic card and available themes look awful without it.

So my updated list of Linux distros for old computers is:
1. Debian Wheezy (XFCE or LXDE)
2. Bodhi (Enlightenment)
3. Slitaz (Openbox/LXDE)

Note:
I have tried to install Ubuntu - minimal and then to manually add Xorg, desktop environment, login manager and applications. It is very impractical because you end with a semi-bloated system with lots of Gnome stuff that gets installed because of dependencies and full of issues because something is missing here and there. It is not worth the pain. By the way, I guess Ubuntu derivatives are a bit bloated for the same reason.

Linux for old computers - update

First of all, the trick for fixing Xorg when it cannot auto detect the correct settings. You make an USB key or a CDROM with Puppy Linux Wary on it, boot Puppy, open the Xorg configuration tool and copy the "xorg.conf" resulting file, disable or remove the not needed parts (there are comments) and copy it in your X11 directory. You may wonder why Xorg doesn't have a configuration utility. The answer is the developers think it is capable of auto detection and when it fails, you must be punished for your sins so you must write the "xorg.conf" file by hand. By the way the "xorg.conf" is deprecated so one of these days I expect the developers to quit supporting even this last escape. If auto detection fails you throw away the PC.

Here the news, what to use with a old computer. Not "old" in the american sense, meaning one of two years old, more like 10-15 years old.
1. the said above Puppy Wary.
The problem with it is that the distro is thought as its author's personal toy. It works and it does many tricks but in the same time it is a pile of strange tools organized around strange menus. Maybe you can use it for some real work, I don't know.
2. Slitaz
It works with old hardware like the above but it looks less "swiss army knife" and much closer to main stream distros. In this case the limitation is software. There is almost everything for common tasks in the repository but not more than this and it is not much updated. I use it as backup on a secondary partition. Beware that "rolling" here means "it doesn't work", go for the "stable" version.
3. Bodhi
I have just installed it as main distro and it works. It is based on Ubuntu LTS and uses Enlightenment as desktop environment. The reason to use it on old computers is that is requires few hardware resources. The other pros are that it looks good and it allows to install updated software from Ubuntu/Debian repositories. You can also get all the "non-free codecs" to play videos and such. In fact it is the ONLY distro that plays Xvid files on my PC, using VLC. There is a flaw then, it doesn't come with applications by default, you must add them post-install using Synaptic, apt-get or from their Web appcenter. And it can be painfully long. On a side note: in theory the good thing of Enlightenment is that you can set almost every single detail of the desktop environment, all the bells and whistles and make your own theme or hack some existing theme. But it is the same as common GTK themes or icon collections, there are maybe 2 or 3 that look good enough to be really usable, the others either look amateurish or 20 years old or just you must be color blind. Plus you must have time to learn what all those settings do and to test the changes. So I just did what I usually do, I changed the less as possible of the default theme, re-arranging the bar and adding a more colorful wallpaper.

Meanwhile I have quit with:
1. Slackware based distros because they seem to be incompatible with my video card. Otherwise I would recommend Salix.
2. Crunchbang, openbox based and Debian derivative, fails during the installation for some reason.
3. Arch based distros are true rolling, updates every day and each time they can break the system, plus you must install everything or at least part of the software by hand as above. Too extreme for me.
Everything else is just too bloated.

When you think you have seen everything, Ubuntu, Xubuntu, Lubuntu on old hardware

You are told Linux is for techies. So you expect it to be "difficult" to use but technologically sound.
I have found why Ubuntu derivatives were killing my old PC. And it is not related to the low hardware specs but to people's stupidity.

It seems there is a script that creates (using python) a database of some sort called "xapian" and the only real use of that database I could find is to make it possible to do fast searches on installed packages through Synaptic.

Now, the script is scheduled in "cron":
- weekly
- daily
Plus whenever you use Synaptic.

Every time the script starts it either rebuild the database or updates it.

Now, everybody with two working neurons would think that:
1. the database creation/updating should be disabled if the system is single core CPU and/or there is too few RAM available. In fact it is much worse to kill the system while updating the database than having "slow" serches on installed packges. In my case it made the computer unusable for a long while. And please note that a "casual" user would never understand the reason. In Windows the same happens with current antivirus that update in background.
2. the database creation/updating should be done in "idle/background" mode, not simply taking all available hardware to make it as fast as possible. Again, on very powerful systems the user may not notice it but when you need resources for something else it is not nice to see this process coming up randomly and sucking power madly.
3. considering the fact that the database does not provide any major advantage, having the creation/update triggered so often is just a waste of resouces, including battery.

I have found only two solutions for the issue.
Solution 1:
sudo chmod 644 /usr/sbin/update-apt-xapian-index
It changes permissions on the script so it can't be executed.

Solution 2:
Open Synaptic and remove the installed package "apt-xapian-index".
So far I did not find any negative consequence from removing the package.

On a side note: drivers.
The thing is whenever they update the kernel and Xorg they should also update the drivers. Which is not the case. So basically you never know if a driver that worked until now will still work with the next distro update. To make it worse, there isn't any standardization across distros, each distro use a different stack of kernel-Xorg-drivers. So the fact that you have a working driver on distro X doesn't help at all if you need it on distro Y. Then blame the hardware vendors.

More on Linux

I blogged about Ubuntu because I was in the middle of one of my periodical trials with Linux distros. The result was once again disheartening. Everything and I mean everything, is broken in Linux. And when it is not broken, they think it is boring and they break it. Up from the kernel to the instant messenger. You are always looking for updates in the futile search of fixing bugs but while one is fixed two other are introduced. Backwards compatibility is unknown. Unneeded and often radical changes. Ambitions that are way above the available resources, which leads to poor quality and half finished things. One distro fails to install, another installs but the video is broken, on another you can't install some piece of software you really need, or everything seems fine until you open some application that eats all your CPU and/or hangs the system. You think of a catastrophic failure, Linux distros have them all and probably some you can't think of.

So I have repeated my usual loop, I start with best intentions, crash again and again against reality, then I sadly switch back to Windows and I think "whoa, who ever can even compare the two things?". Yes, Linux doesn't aim to be a cheap copy of Windows. It just aims to be useless. The amusing part is how many people enjoy the pain. I have read a recent blog post where a guy was telling how the difficulties in using Linux have made him a better person.

Touch the corporate thinking

, ,

If you are following this blog you should know I don't understand the current trend about "mobile" devices. The fact is those are cool overpriced gadgets with very little practical use, besides "staying in touch".

One of the obvious derivatives of the "mobile" trend is the wave of "touch screeen" interfaces we are seeing in all the major software, for example Microsoft with "Metro" that presents the same GUI with "tiles" across all devices and Linux with Gnome3 and Unity for Ubuntu. Again, those interfaces are maybe good for "staying in touch" but annoying when you need to do something productive and then you aren't using a touch screen device.

Now come more funny news: Ubuntu, the relatively popular Linux distro, is going to add Amazon "shopping suggestions" to the search results on the desktop.
See image here, note "Applications: XYZ" then "more suggestions".
Let me explain: thanks to the Unity GUI you cannot locate a photo editing software (eheh, cool), so you search for it with "shotwell" (you must know the name of the application, again cool), then Ubuntu shows you the application "launcher" and right under it a row of "shopping suggestions" from Amazon which should be related to the topic.
Here is what Shuttleworth, the millionaire behind Ubuntu, says about it:
Amazon search results in the Dash

Ok he is a billionaire but in my opinion the guy it totally lost in another dimension. First, I use the search function when everything else fails, not because it is fun. Then I don't want to "ask for whatever I want", that is for 4 years old kids. I need to find what I am looking for, considering that like I said, searching is the last resort from a "productivity" stand point. I need to use a photo editing software, why should I want to be redirected to buy something on Amazon? But hey, everybody is building a "store" as part of Operating Systems, so advertising makes sense. Why should I use a computer if I don't BUY anything with it? There are many striking comments, the quote I like the most is "my phone already does that". Really? How strange.

So here is the usual conclusion: those decision makers have this idea bolted in their minds that "consumers/customers/users" are just a mass of idiots with 4 years old needs and they must provided with very simplified "bells and whistles" toys. There isn't any real purpose in the whole machine out of touching stuff here and there to play the said bells and whistles and while you are playing, you spend some of your money.

Oh, it takes a billionaire genius to think this "money over the Internet = advertisement".
Maybe when you do whatever Google-related you are presented with advertisement.
Nobel Prize.

Chi la dura la vince

It translates something like "who persists wins".
I managed to install Xubuntu on my old PC. I had to use the network install.
Pity it is almost impossible to use any software because of too few RAM.
Screen resolution required manual intervention but at least it did not gave errors on boot.
Now I am trying Lubuntu, but I am not much optimist.

Edit: installed Lubuntu. It is very minimalistic and better suited than Xubuntu for my machine. But I also found a big issue. If I open Synaptic and perform any task, CPU goes 100% and never get released. From Task Manager is seems something wrong with "python" process. Same happens with Update Manager.

Linux on old hardware

Yes, it seems as the kernel and Xorg get updated, they drop support for old hardware.
This is an interesting reading:
http://bkhome.org/wary/

More Linux blues

So I have got this old PC and I wanted to install some Linux distro on it to give it away. No way.
After a whole day trying and trying several distros I finally gave up and installed an old Win2K disk I had in a drawer. The most annoying thing ever of Linux distros is the X11 - Xorg auto-discovery and auto-setting that does not work at all or picks a too high or too low resolution. The related font rendering is also annoying.
Distros that failed to install:
Xubuntu - asked to insert CD to install Grub while I was installing from Alternate CD. Tried the Live CD that spit errors few moments after boot (it works on the laptop then).
Salix - this was the only one that allowed to install and boot into an user session, pity it kept complaining of X wrong settings and kept probing the monitor at every boot, plus I could not set the splash at the same resolution as the user session. Fonts were either huge or too small.
Zenwalk - could not configure X at the end of install.

In Windows you get it installed with a basic resolution, that allows you to pick 640x480 or 800x600 and few colors, then you can install the proper driver for your motherboard and once installed you can reconfigure resolution, color depth and refresh frequency. Once it is set, it is kept since the log in screen and across the user sessions.

In Linux you must manually edit a "conf" text file (which is not easy if the system does not boot).
I hope things are easier with more recent hardware.

Note for those vintage hardware lovers out there: when you install Win2k you can't update the system unless you install Service Pack 4 and Internet Explorer 6 before connecting to Microsoft Update.

Thank you Gnome

,

For giving me one more reason to not use Linux.
Gnome Shell, the worst idea ever. I am really sick of all those people thinking "the user" as a disabled person who needs their "help". I am sick of this trend of software "dumbification" and everything is about "mobile".

More at: http://www.gnome3.org/

Dealing with hard disk bad sectors on Linux

, ,

I've found on http://www.ehow.com this procedure you may find useful for dealing with bad sectors on Linux systems:

Download and burn Ubuntu to a DVD. If you have another Linux system or Live CD that can access the hard drive, you may skip this step.

1. Restart the computer and boot from the DVD or alternate system.

2. Open a terminal window.

3. Type "fdisk -l" (without the quotation marks) to see the hard drive and partition device names. This displays the hard drives and partitions on your system. Make a note of the hard drive or partition you want to scan for the "e2fsck" command. Please note the parameter after the command is a lower-case "L."

4. Type the following command: sudo e2fsck -cfpv /dev/sdb2. Replace "sdb2" with your actual device name, this can be an entire drive, such as "sda" or a partition, such as "sda1."

The parameters have the following meanings: "c" searches for bad blocks and adds them to the list, "f" forces a check on the file system, "p" repairs anything that can be safely repaired and "v" is verbose mode so you can see the command progress.
The "e2fsck" command can take a long time to run, even several hours on a particularly large drive.

5. Exit the terminal after the "e2fsck" command is finished.
Remove the DVD/CD if any and reboot the system. Your file system is up to date with any bad sectors and will avoid them; any repairable issues have been fixed.

By Mark Pool, eHow Contributor
May 2013
M T W T F S S
April 2013June 2013
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31