Monday, 22 February 2010

The adventures of Slackware

As previously mentioned Slackware's finally grasped my undivided attention. Which makes a change, since prior to that, Debian or Ubuntu always seemed to be the one I kept coming back to.

It's provided me with no end of interesting challenges, and more than a few headaches, but on the other hand, I can also say I have a system that works my way - more so than I did for the very brief time I had a GNOME Gentoo desktop.

Slackware 13, installed from a DVD is what I have.
Now, I'm known (probably) for being a bit of a GNOME junkie - I prefer it, if at all possible. Slackware, on the other hand, has eschewed it entirely, which is a bit of an inconvenience for me.
So one of the first things added was the GSB (Gnome Slack Build) which provided me with... well, a mostly working Gnome environment, GDM, etc.
On the other hand, it also has the slight problem that possibly because of the missing GNOME dependencies in certain Slackware packages, some things don't quite work. USB devices won't mount, it admits DVDs are there, but pretends they're not, and all kinds of apps complain loudly if you run them via a terminal.

But, it works, and it gave me the parts of GNOME I still like. I've since worked around most of the issues I had with it simply by returning to the default KDE desktop, and starting to bring GNOME to it.
The KDE panel had it's notification area and task switcher removed, windows were allowed to cover it, and it now resides in the top left corner. On login, two additional commands are executed - 'gnome-settings-daemon' imports, as it's name suggests, my GNOME settings, and saves them on logout. 'gnome-panel' again does exactly what it says it does; launch my gnome-panel.
Which is laid out along the bottom, with a number of handy applets that I can't seem to find any KDE equivalent of.
First is Gnomenu. The KDE Kicker menu is nice, but I often get lost in it. True, I often do in Gnomenu as well, but I know it better.
Second is cpufire-applet, which displays the cpu usage as a neat little fire. The higher the flames lick, the more it's being used.
Third is the default network monitor. I like to keep tabs on what's doing what on my network. Call me possessive, but when it really is MY network, I don't like the idea of having something go wrong with it, and I try not to let it happen.
Fourth is Topshelf. My god, I have not found anything more useful than this. It happily sits there, one small little icon, which I can click on to bring up a window with any document I've added to it. It's one-click access to all my current works, which since I like to write a lot, is my list of stories.
The rest, of course, is simple - the task manager, notification area and clock.

Between this gnome-panel setup and KDE's working perfectly - a rarity for me - I actually have a system I can use.
I would prefer Nautilus to work slightly better, since it seems to have more functionality than both Dolphin and Konqueror combined, but yakuake (since guake doesn't work) has started to make up for that. If only I could remember which options do what which when using tar.

Monday, 15 February 2010

Slacking off

No, not literally.
Slackware has finally garnered my attention for long enough that it's beeen installed on one of my PCs already.

Now, those of you who read this blog will know by now that I've tried this before, using the Install CD (CD1, in case you were wondering) which invariably gave a Kernel Panic.
It turns out, that while the image I used was perfectly fine, the disk burner did something to it that caused that.
So I spent last night downloading a Slackware 13.0 DVD image. From a mirror, via LinuxQuestions.org because the main Slackware site is down. Again.

This time, it's booted perfectly fine, leaving me ready to try to install. At the moment it's formatting what is due to be the / partition.

I'll grant, I prefer graphic over text installers, but that's a preference. Slackware's installer is a text mode, but it isn't bad at all - it explains nicely. However, I don't think it's friendly for those newbies who might be better off using Ubuntu for a bit longer.

You might be asking what finally got me to give Slackware a second chance. The answer is Wolvix.
Wolvix is based on Slackware 12.2, and is intended to be a LiveCD only distro. It does have a HD install available though, and since that's what I use most, I gave it a shot. It does warn it may not be bug free, but it worked fine for me - a nice, clean interface, a button to launch GParted if needed, it's all there, nice and simple.
Wolvix also shows off the best of XFCE, a desktop environment I normally avoid in favour of GNOME. After learning that Slackware seems to have dropped GNOME entirely, however, I was willing to give it a go.
The LiveCD boots slowly, but it has a wide array of hardware compatibility. Nothing was left undetected at all.
As with many LiveCDs, you log into a root-user session. Manually, though that's little trouble through it's SLiM login, which tells you to use 'root' 'toor' to log in.
It's responsiveness while in LiveCD mode was sluggish, but that's to be expected. It's not running from the HD, which was the next. At first glance, there doesn't seem to be an option, but the Wolvix Control Panel is where its hiding, along with options for a Frugal and USB install.
Post-Install, Wolvix was much more responsive, and felt more like a desktop distro. The first thing to do, as with any system, was to check for and add updates.
This presented a minor problem, as the slapt-get package manager, and it's graphic fronted gslapt required an update before practically anything else could be updated. Trying to update GSlapt from the command line with slapt-get tried to pull in libpng, which gave the same problem of 'incomplete download'
A breif search on their documentation however revealed that to solve this, you first use slapt-get to update slapt-get, and then upgrade GSlapt, finally allowing you to upgrade the rest of the system. It's all due to some change in slapt-get that handles authentication, I believe.
That hurdle aside, I set about finding regular packages I use.
As slapt-get is based, obviously, on apt-get, so GSlapt would appear to be on Synaptic. Having used Synaptic a gread deal, this made for an easier time.
GSlapt also marks dependencies without telling you - unless there's an error handling them. I don't mind this, but I like to know all the same. The dependencies, although it does make the disclaimer that it's only as good as the person making the package, were handled near perfectly.
One thing I did note is that several packages are marked on an 'exclude' rule, preventing modification. Packages such as udev and the kernel. This may or may not be overly important, so I left them be. Probably safest.
I did note at this point there was very little to do with GNOME at all - it seemed like it had just been lifted out. Slackware came to the rescue there explaining that for some reason in the past they'd been removed.
So I added a few 3rd party repositories to GSlapt. This isn't recommended by any means, but since Wolvix is slightly outdated on some software, it was going to be a necessity in order to bring it up to date.
However, again, I ran into issues. Dependency problems plagued me from there. Which is what finally prompted me to Slackware 13.

Which so far has done a grand job of winning me over. True, I'm still getting to grips with it, but it definately lives up to the adage that 'If you use Slackware, you'll learn Linux' and no doubt about it.
I'm still working on it though, so you'll have news of my Slackware Adventures later.

Tuesday, 26 January 2010

Distributions (yet) again

I know some people who use Linux, who have a massive collection of Live and Install media which goes back a long ways. If I keep up at this rate, I'll be one of those people before long.

See, this started a few days ago when Mum decided she didn't like OpenSUSE, and wanted something new. Her computer isn't exactly robust, however, so we always try out potential candidates before they touch her computer.

We went through, and settled on Mandriva. I've heard a lot of good things about it, and I'm sure in other circumstances, I might even have seen a few of them.
Mandriva, to me, is a pest. I used the GNOME Live CD, because her computer doesn't have a DVD drive, nor does it support booting via USB. A bit of a pain.
It booted on another computer perfectly, and apparently it 'looks perfect' according to her.
It working, on the other hand, is an entirely different matter.
On first boot after install, it started downloading files without any explanation of what they were. After examining what scant details were available, I concluded it was adding repositories and checking for updates.
So, when I finally got to a useable desktop environment - two hours after starting the install because of it's immense slowness - nothing seemed to be different, so I told it to check for updates. It said there weren't any.
So I went hunting for packages that she wants. To my surprise, there are no packages uninstalled!
It hadn't added repositories at all, and it took me the better part of half an hour to finally track down why, and get it to add some. Even then, a good half of them told me it couldn't download some file, and therefore couldn't be enabled.
But, it provided updates and some of the missing software, so I accepted what it let me have, and turned to RPMDrake.
And turned away from RPMDrake.
While RPMDrake is good in the sense that it allows you to mark actions easily, it is, in comparison to urpmi - the backend, like apt-get - dreadful.
DistroWatch's page on package management came to the rescue, allowing me to finally upgrade from the command line.
With that finally done, I decided not to trust RPMDrake, and merely made lists of the package names I'd need to install, passing them directly to urpmi. Most of them worked. Some of them, like K3B, downloaded a dependency and then complained loudly that it didn't exist.
But it just downloaded the package it's telling me doesn't exist? (And yes, I did check. Several times, in fact.)
While sorting this out, I thought I'd go and start up rhythmbox, and put on some of my music to ease my mood - joy for being able to keep /home separate.
However, even this complained about half my media, forcing me to retreat back to RPMDrake to find missing gstreamer plugins, which, you guessed it, downloaded dependencies and then told me they didn't exist again.
Mandrake may have it's good points, but I saw almost none of them before I gave up at that point.

I've since gone through my growing collection of media, and tried some others.
Slackware invariably gives a Kernel panic, regardless of the computer I try to install it on, or what's in that computer.
OpenSuSE has a window manager that doesn't work.
Debian Lenny is old.
Ubuntu Karmic... well, speaks for itself. I've yet to hear one good thing about Karmic that Jaunty can't do with an extra repository, or a compile-it-yourself source archive.
BSD had another small look in, and a look out again after I remembered that I understand absolutely nothing about it.
Linux Mint had a Nautilus that segfaulted almost immediately.
Fedora has SELinux. 'nough said. See my earlier rants about Fedora.

All in all, not very useful.
So now I'm trying to try (yes, you read that right) Ark Linux.
The problem now is that the computer being used to test this on, when using the graphic installer (I prefer them over text based, but if the text based explains what it's doing, why, and what I'm meant to do clearly, I don't mind them either. An example is Gentoo with the Handbook) the mouse isn't detected. Meaning I can't set up partitions correctly.
I'm seriously considering breaking out an old Windows XP install here. And coming from me, who tries to avoid Windows at all costs, that's saying something.
Buck up, Linux. You need to do better than this.

/rant.
Rock on, people.

Thursday, 21 January 2010

Linux and 'the best'

Some of you may well agree with what I'll say next. Many won't.
There is no such thing, especially within Linux, as 'the best'.
That doesn't seem to stop people from trying to identify it.

Take the Linux Questions forum - now, I have no objection to their polls for the best this or that of the year. I've even voted there myself, and made a few posts. But as far as I'm concerned, it's just a measure of how many people share the same opinion.

See, for me, my 'best' setup is like this:
Openbox/Gnome session, with Guake terminal and aMSN on autostart, the topshelf applet on the top Gnome panel for quick access alongside a CPU and network monitor. Using Firefox as the web browser of choice, and OpenOffice.org as the Office suit of choice.

Openbox because it lightens up almost anything. For a time, even KDE managed to run near flawlessly using it on my old laptop.
Gnome because in my opinion, there is no desktop environment more customisable.
Guake - I've been told it's dated, obsolete and old. I've been told to use Terminator. That doesn't change the fact that Terminator doesn't do what I want. Guake is a one button drop down terminal. I use the terminal that often, having Guake there on F12 whenever I want it is perfect.
aMSN. Personal choice. Emesene is good in a pinch, but aMSN is my preference. XChat handles IRC, and that's all the rest I've ever needed.
TopShelf. A damned useful Gnome Panel applet if I ever saw one. You feed it your files, and it sits around pretty much as an instant link to them. For example, I'm writing two stories at the moment - they're both in there, and it's invaluable when I suddenly have an idea (Usually at 3 am...) and have to write it down before I forget. (Also thanks to the quick start up time. You'd never think a laptop this old could start up so damn quick)
For the CPU monitor, I use CPUFire. I like watching the fire. The normal system monitor applet handles network traffic, with the colours changed so blue is local, red is up and yellow is down. Instantly able to tell what the traffic is like.

Firefox.
Now then.
Much as I keep trying to find other browsers, Firefox has a firm hold on me. Chromium/Google Chrome are useful short term or speed browsing alternatives, but Firefox, despite it's being slighty overweight in memory and CPU usage, simply cannot be replaced. I've even got to the point where I refuse to use Debian's rebranded Iceweasel because I wanted true Firefox, and installed it to /opt/Firefox though that was mostly to figure out what /opt was actually for.
As to OpenOffice.org... well, there's plenty of solutions out of there, but I find it's perfect. Even more so with the Gnome package enabled, providing Gnome integration.

So, some of you have probably read that and thought, Hey, that's not the best one, why don't you use this instead? (You are of course welcome to say such things in the comments! I welcome new ideas.)
As I said before though - this is what I currently find is my 'the best'
Before though, I've had a 'best' that was pure Openbox. And another that was KDE/Konqueror/KOffice. My Gnome setup on desktop PC's is totally different from this setup for my laptop.

So as you can see... it's difficult to tell where the 'best' really is. Statistics and polls can only tell you what popular opinion says.

And now, for a shameless self plug. You might have noticed I mentioned something about writing stories. Yes, I write. Not much, and currently I'm unpublished (And unpublishable, until I rewrite a lot of words) but there are some stories online you can see.
They're fanfictions, and they're sparked off ideas I've had while watching my little brother. Don't ask. He's more crazy than I am.
But if you want to see my stories as I upload them, point your web browser to http://www.fanfiction.net/u/2198404/ to find me, and at the bottom of the page you'll find my stories.

Now I'm off to go write some more to one of them before I forget what I was going to write. Where's that topshelf applet...

Thursday, 14 January 2010

Giving a Squeeze

Guess what? Yup, it's that time again, when I bore you with one of my infrequent and random update posts.
Remember how I said I was using Debian Lenny?

I went off it. Lenny is missing too much, and is too far outdated to be usable - at least, that's my opinion, now I've upgraded to Squeeze.
Debian Squeeze, for those who don't know, is the testing branch - not the unstable one, sid.
Squeeze is happily plugging away perfectly, and curing so many of the problems I had with Debian.
I experimented a bit with KDE again. Now, knowing my ancient laptop, you might think that would be suicide for it, but did you know, you can remove a lot of the heavyness of KDE by using an Openbox/KDE session? At least, it worked for me.
I also take back negative things I've said about it. Once you get the hang of it, it's not actually as bad as I thought.
That was, however, the current KDE backported to Lenny - on Squeeze, it mysteriously slowed down.
So I've gone back to good old GNOME.
My only issue so far, has been with Frostwire. It needed something that wasn't in the repository, but after a helpful chappy on the Debian IRC channel referred me to the Debian Multimedia repository, all was solved.

In short? If you're thinking of using Debian, I'd say go for Squeeze. Lenny is uber-stable, but also full of old material. Squeeze is also stable - at least, I've had no stability issues - if anything, it's fewer.
Also, a useful point for people. If you change your Debian sources.list file (Note: not all 3rd party repositories support doing this, if you get 404 errors, change it back to lenny/squeeze) so that wherever lenny appears, it's replaced with stable, and for Squeeze, testing, then when Squeeze becomes stable, you'll automatically get the updates for it - and the same for when Sid becomes testing, and something else takes the place of Sid as unstable.

Another interest of mine lately is Longene, the Unified Kernel project. While I've not tried it, it's remained something of an intrigue to me.
It aims to be Wine and a bit more. Firstly you add a package that adds a kernel entry. This kernel supports both Windows and Linux calls, as I understand it, which improves handling of Windows programs.
Secondly, you add a second package, which patches Wine, so it understands what to do.
Apparently, this increases compatibility considerably.
Some people may find this useful, but be warned, as the first package is actually a kernel module, you may find that it's incompatible with other kernel modules, such as the proprietary NVIDIA graphics drivers for one.
If you do decide to use it, be aware of that, and of course - BACKUP.
(Which you should do anyway)

That's all from me for now. Keep on enjoying the new year.
Rock on.

Tuesday, 29 December 2009

Another small update

Not much has really changed.
My old laptop is still plugging away on Debian, and is actually doing fairly well, using an Openbox session with fbpanel to provide a taskbar.

I've gone off pretty much all Ubuntu derivatives for now, because they're not really very good for solving problems - problems like the desktop with Karmic on, failing to boot, and then after sticking Jaunty on, failing to update properly.

Slackware's being a pain as well, as the ISO downloads take forever, and the torrent ones have no peers or seeds connected to me. Add to that, that the Slackware 13 install CD fails to boot with a kernel panic, and it's enough to annoy anyone.

I have, on the other hand, been looking into making a server on the home network, since if I use CentOS, I can learn a bit about it for business environs. However... given that CentOS and Fedora are fairly similar, I'm wary about using it - past experiences with those kind of distros has not turned out well.

BSD was a recent and fleeting interest of mine, having a look into MidnightBSD, FreeBSD, OpenBSD and MirOS. However, no matter how much I know about Linux, BSD is a whole different can of worms, and not one I'm willing to open right now.

and now, a parting word.
FISH!
That's all for now.

Thursday, 17 December 2009

A return to Debian

As some of you may well know, some time ago before I started this blog, I once tried Debian. At the time, it was Debian 4.

Now, with Ubuntu seeming too simple, and my laptop temporarily unusable, I've gone looking for a new Linux distro to use on the desktop PCs, and thus I turned once again, back to Debian.
This time, it's Debian 5, Lenny.

Not much, visually, has changed since Debian 4. Since I prefer graphic installers over text ones if available, that's what I used to install it with.

The destination is a not too old custom desktop, the specs of which I won't bore you with here.
For some time now, it's second hard drive, though small, has always had a Linux distro on it, primarily for emergency rescue for the Windows XP install still on there, despite it's little use lately, but also because whenever one of the family want to try out a distro, that's where it all starts.

Since no one's after that though, the previous Arch install there is being replaced with Lenny.
The graphic installer, while somewhat bland, nevertheless is clean, clear, and concise, leaving very little doubt about what is happening, and what choices you're being asked to make. I like this; it makes sense, and at only one point did I have any trouble, and that was the partitioning. Until I remembered to do it manually.

Once done, I had a working Debian Lenny install within 15 minutes, which for this old computer is a fair feat.
One old niggle I have with Debian is Firefox. For some reason unknown to me (Because I'm too lazy to find out) they don't like Firefox, and so instead rebrand an older version as Iceweasel.
Now, call mea fanboy, but I prefer to have Firefox say it's Firefox, so I went and downloaded it direct from them, to extract into /opt so I could enjoy my favourite browser just as it is. However, something appears to have gone wrong. I haven't figured out what yet. But, Iceweasel is an adequte replacement until then.
Setting up the NVidia proprietary driver was a bit of a pest at first, until I got Iceweasel to search Debian's help, and then a clean simple explanation solved it. With Compiz installed after, I have the full range of effects I'm used to.

The next little problem is Sudo. By default, Sudo isn't set to work for me.
A little change using Visudo, and that's solved. Almost too easy.
It's nice to know that they warn you about the dangers involved when you first use Sudo though.

A few key - at least to me - apps were missing, however, from the default Debian install. K3B is understandable, but is a standard for me as it's best burning program there is for Linux.
The Compiz Fusion Icon is the next essential, since it allows on the spot management and changing of the window manager. I use this a lot, especially when darting in and out of Openbox when I need a little extra resources that metacity and Compiz hog.
Finally, Wine. I don't really run that much Windows software, but I keep it around because there are times I do need to.

But based on the initial impressions it's made on me so far, I like it a lot better this time. I've actually managed to stick with it long enough to start fiddling around like I always do at post-install and after.
Gnome-look, as always, is the first port of call to get the look and feel I want. Dark themes are the current fad here, so long as the main controls are clear still.

On other distros though...
I thought I'd look into Slackware 13, and (after arguing with a Linux Mint install that was segfaulting) finally got it burnt to a disc. However, trying to install from it gives an inexplicable Kernel Panic. For some reason, I can't help but laugh when I see that, despite that it means something's gone wrong.
Arch was given a try, through the unofficial LiveCD Arch, and it's installer, larchin. However, since it couldn't recognise the wired network interfaces, and I don't have wireless on this computer, it was short lived.
Gentoo once again got a look in from me. I keep coming back and trying to learn more with a kind of morbid curiosity. I always come to it, thinking I'll try it this time, and then go looking to find out more, but always find something that puts it off again.
BSD, for the first time here, also got a look in. I've not tried it yet, but it's possible next time I get bored, I'll have a look.

And finally, in other news, I've decided I prefer deb-based systems, but want RPM's yum package manager. Where this will lead, no one knows.

Have a happy christmas everyone.
Rock on.