Tag Archives: Fedora

Toshiba P870, Fedora 18 and Networks

Fedora’s recent upgrade to the 3.8.1-201 kernel may have broken VMware Workstation (though now fixed by upgrading that to the latest 9.0.2 release), but it was a good day for networking on my Toshiba P870 laptop.

I mentioned a while ago that neither the wireless nor the gigabit Ethernet adapter worked out-of-the-box on this particular laptop when I first installed Fedora 18. There were some downloads and compilations needed before either would work -and then, those bits of compilation failed to re-compile if the kernel was ever updated, so I had to fiddle with setting default Grub menu options so that only the original 3.6 kernel would ever be used.

Well, as I say, the upgrade to the 3.8.1 kernel has fixed most of that: wireless networking now works without having to recompile or install anything. The gigabit Ethernet adapter still doesn’t work by default, though -which, I think, is the first time I’ve ever heard of wireless networking functioning better on Linux than the wired variety!

It is not difficult to fix, though. Just visit this site and download the 3.8.1 compat-driver file of your choice (I decided to use the bzip2 one). Extract the download, then as root:

cd compat-drivers-3.8-1-u
./scripts/driver-select alx
make
make install

Finish off when prompted with a modprobe alx and your wired network will be back up and running in no time.

Happily, this means I no longer need to force my laptop to boot the old 3.6 kernel, so it’s time to un-default that particular boot option. As root,

gedit /etc/default/grub

There’ll be a line in there which reads GRUB_DEFAULT=<something>. Just change the “something” to an unquoted zero (i.e., the line should end up reading GRUB_DEFAULT=0), That will now boot whatever the latest kernel happens to be.

If you ever want to re-set a default boot option, then type (as root):

grep menuentry /boot/grub2/grub.cfg

…and copy whichever of the single-quoted menu items displayed is the one you want to be the default, and set the GRUB_DEFAULT in the /etc/default/grub file to that.

My Mate Fedora

I‘ve been using Fedora 18 on my laptop for a couple of weeks now. As I mentioned a few posts ago, I found Gnome 3 and the Gnome Shell to be a way-better experience than I’d remembered from my previous dabbling with it. It looks pretty good and behaved more-or-less rationally -and that meant I was happy to stick with it, despite me hating it last time I tried.

Unfortunately, it didn’t last!

Gnome 3/Gnome Shell on this particular laptop, anyway, has turned out to be incredibly unstable, locking up at least once a day. The laptop didn’t crash, mind: although my display would freeze (so progress bars, for example, would stop progressing; and application windows would stop being clickable or drag-able), I was able to hit Ctrl+Alt+F2 and switch to a new text console, which would function perfectly well. I was even able to Ctrl+Alt+F3, log on in a third new text console, do a startx and launch an entirely new desktop. So: definitely not hung.

But a pain in the neck, and not conducive to serious productivity.

I toyed with the idea of a new O/S, but in the end decided I liked Fedora 18 well enough to try an alternative approach. I ended up issuing this command:

yum groupinstall "MATE Desktop"

That buys you a few tens of megs of download… and then a desktop that looks exactly like the one which ships with Centos 6.3 (i.e., a Gnome 2 desktop -though Mate now uses a lot of Gnome 3 libraries, meaning it’s not the programming dead-end it originally appeared to be when it was first forked from Gnome 2).

First thing to say: I really liked it. I thought I liked Gnome 3, but the sense of relief when the MATE desktop appeared was palpable. I will confess that it took me a while to stop mousing into the top left-hand corner of the screen to quickly bring up an overview of all open windows -a Gnome 3 nice touch. MATE has exactly the same functionality, though: it’s just that you mouse into the top right-hand corner!

Even better, a quick:

yum install compiz compiz-mate fusion-icon-gtk compiz-plugins-main 
compiz-plugins-extra compiz-plugins-extra-mate compiz-plugins-main-mate 
compiz-plugins-unsupported compiz-plugins-unsupported-mate

…followed by….

yum install emerald-themes emerald-themes-extra

…and I had my old friends -wobbly windows, desktop cube and some glitzy windows title bars- back where they belong. Call me old-fashioned, I suppose, but the inability to have those particular desktop effects in Gnome Shell was something I definitely missed.

More to the point, though: not only was the new desktop immediately more comfortable and familiar than I’d expected, it also has turned out to be much more stable and reliable. Gone are the lock-ups experienced with Gnome Shell: this thing is still Fedora 18, but hasn’t skipped a beat since it was installed.

My only gripe is that my menus have lots of duplicates in them: two “Archive Managers”, two “Calculators”, two “Disk Usage Analyzers” and so on. Using alacarte to manually prune menus hasn’t altered that, but it is, in any case, just a minor niggle.

All up, then, I thoroughly recommend Fedora 18… just not with the Gnome Shell.

Handbrake on Fedora 18

Needing to install Handbrake on Fedora 18, I found a bunch of different instructions in different corners of the Internet, none of which worked without tweaking. Here are the commands that worked for me (done as root, of course):

yum groupinstall "Development Tools"
yum -y install libass-devel libsamplerate-devel libogg-devel libtheora-devel libvorbis-devel
yum install yasm zlib-devel bzip2-devel fribidi-devel dbus-glib-devel \
libgudev1-devel webkitgtk-devel libnotify-devel gstreamer-devel \
gstreamer-plugins-base-devel libsamplerate-devel
svn checkout svn://svn.handbrake.fr/HandBrake/trunk hb-trunk
cd hb-trunk
./configure
cd build
gmake
make install

Toshiba P870 and Fedora 18

p870It hasn’t exactly been plain-sailing with my new laptop! It shipped with Windows 8 and I won’t touch that with the proverbial barge-pole, so it was clear from the outset that some sort of O/S re-installation would be required. I didn’t expect it to be such a trauma, though.

For starters, none of my distro CDs or DVDs would actually boot. Traditionally, this usually happens because the computer BIOS has a boot order set, and the hard disk often appears in that before the DVD drive. So, no problem: change boot order, make sure DVD is top of the list… and still nothing.

It turns out that this is a direct consequence of Microsoft’s insistence on “Secure Boot” (which you can read about here, for example). I’ve followed that particular saga on various websites for months, but never imagined I’d become one of its victims. But that’s exactly what I was: dig around in the P870′s UEFI settings long enough and you’ll find an option to disable secure boot… after which Linux distros will boot fine. I find it annoying that something trivially easy to do in the past has now become difficult and non-obvious to fix: if you didn’t know about Secure Boot and its consequences for Linux, how would you know to go looking for the option to disable it? You could well argue that someone wanting to boot Linux is likely to be technically clued-up enough to know about Secure Boot -but although I would consider myself to be in that bracket, it wasn’t the first thing that sprang to mind and I had no idea what I was looking for in the BIOS even after I suspected that it might be a secure boot problem. I call that irritating.

Anyway, I finally managed to boot Fedora 17 and install it on a partition I’d vacated from within Windows. Installation was smooth… except that Windows 8 was no longer bootable afterwards. I did everything I could think of to get WIndows 8 bootability back, but nothing worked. Fundamentally, I didn’t mind much, because I’d never expected to use the O/S much anyway -but having paid for the damn thing, it would have been nice to be able to at least burn some ‘rescue media’ to use later, if I wanted. I was, actually, a bit miffed that Toshiba supply absolutely nothing with their Prince of Laptops: no drivers disk, no O/S disk, nothing. Instead, it’s all on a ‘rescue partition’, and you’re supposed to burn off copies from there before you stuff around with anything. Being the gung-ho chap that I am, however, I didn’t do that. So, without Windows 8, I couldn’t access the rescue partition. And without that rescue partition, my license to use Windows 8 at some point in the future no longer existed.

In the end, I was reduced simply to wiping the whole thing and just kissing goodbye to Windows 8 entirely (my Technet subscription will get me a copy if I ever feel the need for it in the future, I guess). It disappoints me, though, that Toshiba don’t provide physical installation media for what is their their top-of-the-line laptop.(I’ve read that apparently they do… if you are prepared to pay them $66 for the privilege of them sending it to you. Seems a bit steep, to me).

On went Windows 7, with mercifully few dramas: Toshiba have a page-full of Windows drivers you can download and apply, so everything ended up working quite easily -except for the graphics. Before you can install the NVidia graphics driver (which Toshiba supply), you are told you have to install the Intel integrated graphics driver (which Toshiba doesn’t supply). A not-so-quick trip to Intel’s bewildering website later, however, and even that was sorted. So I had a fully-functioning Windows 7 laptop, finally… and only two days after I’d bought it!

Then, it was a new install -this time of Fedora 18, the latest and greatest from the Fedora fold. There are two fundamental problems with using Fedora on this laptop: the Ethernet port is not detected; and the Wireless Ethernet port is not detected either. So you can install the O/S perfectly well -but you’ll have zero connectivity, making it as useful as a chocolate teapot, basically.

Thankfully, this is fixable. First you will need to copy a bunch of rpms off your installation DVD to some directory or other (hunt around in the packages directory for each of them, being careful to match the names exactly):

cloog-ppl-0.15.11-4.fc18.1.x86_64.rpm
ppl-0.11.2-10.fc18.x86-64.rpm
ppl-pwl-0.11.2-10.fc18.x86_64.rpm
libmpc-0.9.3.fc18.2.x86_64.rpm
cpp-4.7.2-8.fc18.x86_64.rpm
gcc-4.7.2-8.fc18.x86_64.rpm
glibc-headers-2.6-24.fc18.x86_64.rpm
glibc-devel-2.16-24.fc18.x86_64.rpm
kernel-headers-3.6.0-4.fc18.x86_64.rpm
kernel-devel-3.6.10-4.fc18.x86_64.rpm

Install them all in one go with (as root) rpm -ivh *.rpm

Once those packages are installed, you can download compat-wireless-2012-03-12-p.tar.bz2 from here using someone else’s PC, transfer them to the laptop via a USB stick, and (still as root) issue these commands:

tar xvf compat-wireless-2012-03-12-p.tar.bz2
cd compat-wireless-2012-03-12-p
./scripts/driver-select alx
make install
modprobe alx

The network icon on the top-right of your screen should spring in to life -at which point, click it, select Network Settings and type in appropriate IP, Gateway and DNS addresses: Ethernet wired networking should now be properly functional.

To get wireless networking going, you’ll have to download a driver for the Realtek adapter, unzip it, cd to the new rtl_92ce… directory and then issue the commands:

make
make install
modprobe rtl8723e

As soon as you’ve done that, clicking the Networking icon in the system tray area at the top of your screen should display a list of nearby wireless networks you can now connect to.

Just be warned that if you use your new-found network connectivity to update your kernel at any time, the kernel modules for both network interfaces that you’ve just compiled will immediately stop working… and I’ve not yet been able to get them to re-compile, despite using newer compat-wireless downloads ad infinitum. For the moment, at least, I’m therefore trapped using a 3.6 kernel, instead of the latest 3.7.x variety… but I can live with that.

On the whole, it’s a painless process getting both networking interfaces working -and as far as I could tell, pretty much everything else on the laptop works as advertised (speakers, webcam and so on). I was worried that the graphics wouldn’t be right (as mentioned above, the laptop uses a curious combination of Intel integrated graphics and NVidia GT 630M), but they appear to work fine. My standard test is the framerate displayed once Stellarium has been installed and run:

Screenshot from 2013-02-12 13:52:44

That screenshot shows I’m getting about 45 frames per second, which is a bit on the low side, but entirely usable. In the Windows 7 installation, Stellarium manages ~70 frames per second, so clearly there’s some graphical optimisation I could do on the Fedora side of things if I was so inclined… but really, it’s perfectly usable as it is, so I probably won’t bother.

The only other bother I had with Fedora on this laptop was a biggie: VMware Workstation 9.0 produced a kernel panic immediately it was installed …and repeated the feat routinely at every subsequent startup. This turns out to be a reasonably well-documented problem that VMware has with Linux kernels 3.5 and above, generally: it affects VMware Player, too, for example. Happily, a slightly more up-to-date 9.0.1 version cures the problem -though at 395MB, it’s a regrettably large download.

Of course, before you can install that new version, you have to uninstall the old version -which is a bit tricky to do when the presence of the old version causes your O/S to keel over before you get a chance to uninstall it. In my case, from the black screen full of dire warning messages that results when the crash occurs, I was able to press [Ctrl]+[Alt]+[F2] to get to a command-line login prompt. Logging in as root, I was then able to issue the command

vmware-installer -u vmware-workstation

…to get the old version removed. After a reboot, the graphical desktop starts perfectly, so installing the new version was trivial. Fiddlier than I’d have liked, for sure; but fortunately, on this occasion, not a show-stopper after all.

So, apart from a lack of networking and an incompatibility with VMware, Fedora 18 runs nicely on this laptop. Bizarrely, too, I find that Gnome 3 is nowhere near as ghastly as I remembered it: improvements have been made, and the thing now seems to run slickly, looking good as it does so. I found the original Gnome Shell hopeless for a multi-monitor setup, but this newer versions seems a much better fit on a single screen laptop. I had been intending to install Mate, but quite honestly (and much to my surprise) I think I’ll give this particular slick implementation of Gnome 3 a good long run first.

A cautious thumbs up, then: Fedora and the Toshiba P870 work quite well together, with a modest amount of fiddling first. I’ll be happier if and when I can upgrade my kernel, but there’s no functional deficiency in the meantime.

Fedora Glitch

One of the consequences of tidying up Gladstone before his retirement has been the discovery that installing 11g Release 2 on Fedora 17 is a variable experience, depending on the Oracle version you’re using. This has revealed a bit of a stuff-up on my part regarding the sort of Oracle installations I do!

To explain: my standard advice when installing 11gR2 on Fedora 17 has been that you should expect to experience a linking error (relating to the $ORACLE_HOME/sysman/lib/ins_emagent.mk makefile). Gladstone knows this ahead of time and therefore writes out a little shell script (in your Desktop directory) which you can run the moment the linking error appears. As soon as it has completed its work, you switch back to the Oracle installer, click Retry …and everything will then complete successfully. A perfect installation in the end, then, with just a minor blip on the way.

However, it turns out that this advice is only true if you are installing Oracle 11.2.0.3!

If you are instead using the 11.2.0.1 version, the advice is wrong …because you will experience a completely different linking error much earlier in the piece. This one relates to the …ctx/lib/ins_ctx.mk makefile …and there’s no fix for it (not one I can work out, anyway). The only thing you can do when this particular error appears is to click ‘continue’ in the Oracle installer. The installer will then carry on linking everything else, bump into the “known” ins_emagent problem as before… and you can worked around that with the fix-up shell script previously described. Overall, you’ll experience two linking errors, only one of which can be fixed. You will therefore complete the installation, but you’ll be left with defective Oracle Text functionality, which may or may not matter to you.

Put it this way, then: if you’ve got paid access to My Oracle Support, you can use the latest version of Oracle and you won’t have an ins_ctx.mk problem. If you’re relying on the freebie downloads from OTN, though, you will.

I should have noticed this much sooner than I did. Trouble is, with access to the latest version of Oracle 11g, I inevitably got into the habit of using it when testing Gladstone, so I never noticed the big difference in the way the two versions behave during installation.

This is particularly bad on my part because, of course, the people most likely to be using Gladstone on non-supported Distros are precisely the people least likely to have access to the higher version. (Home learners, basically).

I should have kept “my audience” in mind, and stuck to working things out on the 11.2.0.1 version only, therefore… which is what I’ll definitely be doing in future. Apologies in the meantime: 11g on Fedora 17 will work, but only with slightly defective Oracle Text functionality and a willingness to accept the first of the two linking errors that result, without trying to fix it.

Installfest Part 5 (and final!)

So I was persuaded (thanks Ales!) to give Fedora 17 another look: specifically, that I should give Fedora’s KDE a spin. I haven’t used KDE since SuSe 7.2 days, so that’s a long time ago. Practically a different galaxy, in fact. I’ll confess right upfront that I am not going to be able to do KDE 4.x justice, because it’s a huge thing to get familiar with. So all I can do is broad-brush impressionistic stuff, from (as far as I can imagine it) the perspective of a hypothetical someone who may not know their gcc from their awk, but does know they’d like not to use Windows 8 and wants lots of productive stuff easily to hand. So with all that said, how did I get on:

Notes on Fedora 17
- – Ugliest text-based boot screen from an installer disk for a main distro I’ve ever seen. See screenshot: it’s a shocker!

Not much of a splash screen here

- – The graphical installer simply didn’t have any “Next” buttons, so I was flying blind (see screenshot). Thankfully, I guessed I could use Ctrl+N to mean ‘next’, but I doubt many people would intuitively guess this:

That's a full-screen screenshot. Where's the Next button?

- – I didn’t see an option to install the KDE desktop, so the Gnome one got installed by default.
+ 3.5.2 LibreOffice (new and not OpenOffice)
+ 3.3 Kernel, nice and new(ish)
- Handbrake-gtk is NOT in the standard repositories
+ Stellarium IS in the standard repositories
+ Musescore IS in the standard repositories (though at 160M, it’s quite a big download!)
+ Keepassx IS in the standard repositories
+ Gimp 2.8 -pretty up-to-date
- VirtualBox is NOT in the standard repositories
- Opera is not installable from the standard repositories
- – Neither is Chrome (or Chromium)
+ Shotwell photomanger installed by default
+ Firefox 12 by default… not bang up-to-date, but pretty good.
- – The built-in Firewall disables browsing by Samba Client by default. I honestly don’t understand why they do this (it’s not just a Fedora feature). Fortunately, I know and I know how to fix it. Not everyone would.
- – Movie player can’t play my MKVs off the bat: but does offer to find MPEG-4 AAC and H.264 decoders. Wish it would just install them in the background (or by DEFAULT!!), really. For the auto-detected downloads then to FAIL to install (something about multilib versions conflicting and a mention of gstreamer-plugins-bad) is really poor. Fedora simply doesn’t play my movie collection.
++ Rhythmbox is the default program for handling audio files! (That will be the first distro I’ve seen where that’s the case, instead of the movie player)
++ Audio files play first time of asking.
+ Guake IS available from the respositories
- Dropbox is NOT available from the repositories
- – Gparted is not installed by default, but IS in the repositories. Meanwhile, the command line “parted” is part of the standard installation: what’s the point of giving ordinary users command line stuff and NOT giving them the GUI equivalents when they’re readily available? DVD ran out of room, did it?!
- Transmission is not installed by default, but it’s in the repositories.
- – - – Gnome 3. I still hate it. The default theme is OK, but not polished.
- – No apparent way to switch to a different desktop environment (like KDE).
+ Relatively painless to get Oracle working on the box, thanks to Gladstone.

So that was ye olde Gnome Fedora 17. Curate’s Eggish, I think: good in parts. A good selection of my most-desired software one simple ‘yum install’ away (Stellarium, Musescore, KeepassX and so on); a reasonable mix of quite-up-to-date software already installed (Firefox, Gimp, Shotwell, LibreOffice and so on); and some sorely-missed absences (Dropbox, VirtualBox, Handbrake, Chromium, Opera). They can all be sorted by various means, of course, but it’s the convenience factor we’re dealing with here, and not having them a simple ‘yum install’ away is decidedly inconvenient.

Of course, I was supposed to be using the KDE flavour of Fedora… what happened? Well, I simply hadn’t realised it didn’t get installed by default. So I had a second installation remembering to customise my selection of packages… if you blink, you miss it! Specific notes on KDE follow, therefore:

+ Konqueror… I always liked that. It’s looking a bit dated now, though. Seems odd to make it the default browser when Firefox is also present.
- Why is there a translucent square on my desktop and what am I supposed to do with it?
- Desktop effects are on in my VM, and making it run like treacle… must…turn….them….off. Phew.
- For some reason, though the network manager icon in the system tray says I’m connected, neither Konqueror nor Firefox connects to the Internet, even though I can ping www.google.com in a terminal.
- I don’t get the ‘activity’ paradigm. I can see it as a way of grouping applications, so you can build pre-populated “virtual desktops”, switch to them and have everything you need related to that project all there are ready to go. But it’s not exactly a natural way of working for me. Too rigid in some ways, too flexible in others… and I’m more used to the complete chaos of launching anything I like wherever I happen to be at the time!
- The network browser is nice, but doesn’t let me connect to my Samba shares for some reason, even though I can ping them. (Turns out the user authentication dialog had popped *under* the Dolphin file manager, so I didn’t know it was prompting for my username/password on the Samba server).
- – Audio opens in the movie player. I’m really beginning to hate that! Plays OK, though.
- – Movies won’t open in the movie player. Seems like it’s using the same movie player that Gnome uses, which is kind of pointless, and doesn’t like my MKVs.

This is just too hard. It’s like being in Paris and trying to speak schoolboy French, hoping the natives won’t mind too much. You know you’re doing it all wrong; and you know that the French have the best coffee and patisserie in the world, probably, if only you knew how to find or ask for them properly. But you can’t; and your mind just knows it’s so much easier on so many levels to stay in London and order a Big Mac. By which I mean that I can’t see that KDE is offering me much above and beyond what Gnome already gave me. I *suspect* that there’s a bazillion elegant things about KDE, but I can’t *see* them, and what I do see is just confusing and looks difficult. Meanwhile, if the deficiency in playing my video files is any guide, for example, we have a distro-related problem, and whether I run Gnome or KDE, that isn’t going to be rectified any time soon.

So my gut reaction is that KDE wasn’t awful, but it wasn’t especially wonderful, either. I was glad to see Amarok there as a future audio manager… but disappointed that Gstreamer problems affected my playback of video in KDE: where was the uniquely KDE player that would handle all my movies without the broken clunkiness of Gnome? Out of the box, KDE just felt like a different way of running into the same brick walls. I didn’t get the sense that a bit of perseverance and an open mind would help me achieve anything much.

I suspect that a purely KDE distro might not have some of these issues -might do KDE in a “purer” way, for example, where the uniquely KDE features, like activities, might then be more obviously worth re-thinking things for. But, for me, Fedora is not that game-changer.

All of which means… the Installfest is finished. Have I drawn any conclusions? Well…

Biggest loser: Ubuntu. I actually gave Ubuntu 12.04 yet another spin because I wanted to make sure my Gladstone script ran on it ok. At one point, I had a typo and the shell complained that the problem was at line 1065. So all I had to do was switch line numbers on in gedit… er, except that there’s no Edit -> Preferences menu to do that with! When you have to Google for switching on gedit’s line numbers, you know there is a profound usability issue! (Either that, or I’m stupid. I’ll vote for the former, but I realise I’m biased). Long story cut short: I think Ubuntu is appalling.

Middle-of-the-pack: Fedora, in it’s Gnome guise, funnily enough. It’s bleeding-edge enough to be useful, polished enough to be productive. Having said that, it’s installer is abysmal and it has a lot of gaps where easy access to key applications should be. Of course, it uses Gnome 3 and Gnome Shell… but if there’s a distro that could ever get that hanging together properly, it’s probably going to be Fedora at some point in the next version or three. I would definitely consider Fedora in the future, and I would possibly consider recommending it to my Grandmother as a Windows replacement… but I don’t think I could ever just hand her the installation DVD and tell her to get on with it.

Which brings us to… The Winner. The stand-out distro for me was Linux Mint Debian Edition. Very simple to set up, configure, use and enhance -with a lot of my most-needed programs available with a simple download from completely standard repositories. It looks good, behaves in boringly-familiar ways and any little niggles with its themes or placement of its main panel can all readily be rectified. It’s biggest drawback (for me) when I originally tested it was that Oracle 11g wouldn’t install on it nicely… but I’ve fixed that and my Gladstone pre-installer script now makes fully-functional Oracle 11g on the latest LMDE a walk in the park.

My only hesitation in switching to LMDE (I’m still writing this on a Centos box!) is that I have no idea where MATE is going (the fork of Gnome 2 that provides a comfortable, reassuringly-familiar interface without needing to dive into the abyss that is Gnome 3). As a fork of an old technology, though: how much future does it really have? Fedora devs calling MATE a “zombie” at one point doesn’t exactly inspire me with confidence that MATE has a meaningful future, put it that way!

Of course, LMDE also has Cinnamon, a fork of Gnome 3 designed to look and behave more like Gnome 2 -but defintiely Gnome 3-based (and hence future-tech-proof, as much as anything can be). Maybe that’s the way to go: as I complained originally, LMDE’s real problem is the vast amount of choice surrounding it!

Anyway: I think I shall play some more before committing myself one way or the other (Centos ain’t broke!). But when I do, I’ll be switching to LMDE.

Fedora 17 and Gladstone

Somewhat scolded into action by the ever-so-slightly shrill demands of a well-meaning correspondent, I have given Gladstone a little love and attention. It now supports doing 64-bit Oracle 11g installs onto Fedora 17 (provided you’re sticking to a default OS install… I haven’t a clue if it works with a KDE desktop and don’t intend finding out).

There are known issues, as follows:

  • There is a lengthy pause whilst we install redhat-lsb in order to be able to correctly identify the particular flavour of Fedora in use. If you have a slow Internet connection, the script can sit there for a minute or two appearing to do nothing. Trust it and be patient!
  • You will be told that settings for two kernel parameters (shmmni and shmall) can’t be determined and that the public domain korn shell is not installed. You can safely click ‘Ignore All’, since none of these warnings are of any significance whatever. (The relevant parameters will have been set correctly, and pdksh hasn’t really been required for years) .
  • At the 70% installed stage, you’ll get an error message about a failure to link the EM Agents makefile properly. At this point, switch away from the Oracle installer and go find a file called fedora-linking-error-fix.sh sitting in the Desktop directory in the oracle user’s home. Run the script with the command: ./fedora-linking-error-fix.sh and then you can click the ‘Retry’ button back in the Oracle installer. Everything will then proceed without issue.
  • A feature of Gnome 3 is that the Desktop directory is a bit redundant (you can’t see its contents on the visible ‘desktop’, in other words). Worse, if you create a new user, a Desktop directory isn’t created for them by default in their home directory. Gladstone now, therefore, tests for the existence of this directory and creates it if it can’t find it.
  • There is zero support for installing Oracle 10g on Fedora 17. If you specify that particular combination, the script will simply warn you of your error and then stop. (Oracle 10g is no longer a supported RDBMS, even by Oracle Corporation themselves, after all!)
  • Fedora 17 thoughtfully(!) decided to alter the output of the ifconfig command, so the bit where it’s supposed to write the IP address and hostname to the /etc/hosts file couldn’t work with the original code. A modified version now deals with Fedora 17′s unique ifconfig output correctly. (For the record, in every other distro I can think of, ifconfig outputs results with the string inet address:w.x.y.z, which allowed me to use the colon as a delimiter to extract just the IP address components. Fedora 17 instead outputs inet w.x.y.z …no colon, and meaning I now have to use the ‘t’ of ‘inet’ as the delimiter. Let’s hope “inet” is “inet” in languages other than English: and apologies if not).
  • I’ve tested Gladstone with both the full DVD installation media and a hard-disk installation from the Live CD version of Fedora 17. Both work fine.

I’ve also taken the opportunity to add in support for Centos 5.8, Scientific Linux 6.2 and one or two other mainline versions that appeared to have slipped through the cracks. If I’ve still managed to miss any, let me know. I see Red Hat has recently released 6.3… I am guessing Centos and SL won’t be far behind, so a further update will be required then!

The modified Gladstone shell script is available from the usual place!

I tried

I gave it a good go: Gnome Shell in Fedora 16, I mean. It’s been my main desktop for 3 weeks -and I don’t mind admitting that I struggled. And now I’ve given up.

There are lots of articles out there explaining what’s awkward about Gnome 3… I think maybe this one (plus its comments) is one of the best ones I’ve read for a while. An interesting point made there is what you get by way of auto-completion when you Google the phrase gnome 3 is:

That tends to suggest that a lot of people visiting Google don’t have a high opinion of Gnome 3 -which isn’t the same thing as not liking Gnome Shell, I realise… but close enough for an opinion piece, I think!

To add to the list of gripes you’ll find knocking about the Internet, I would add my own pet peeves:

  • I like wobbly windows and desktop cubes! Compiz (which provides them) doesn’t work with Gnome Shell, period. No desktop bling means me no happy!
  • Ctrl+Alt+Up/Down switches between workspaces (virtual desktops)… but only for the main monitor in a dual monitor setup. My right-hand monitor stayed stuck displaying whatever it was displaying before the workspace switch: it seems inconsistent. It’s certainly annoying.
  • Ctl+Alt+Up/Down to switch workspaces sometimes doesn’t (switch workspaces, that is). If I had the Nautilus file manager open on my main monitor on, say, workspace 2, then when I switched ‘downwards’ from workspace 1 into workspace 2, intending to head for workspace 3, Nautilus would appear to ‘capture’ my keypresses so that the next Ctrl+Alt+Down would actually start to navigate through my directory tree displayed on workspace 2 instead of switching workspaces. It’s tricky to describe, but damned annoying when it happens (the only fix being to switch to the mouse, move the cursor away to empty space, then switch back to the keyboard and continue the workspace switching from where it left off). Even more irritating is the fact that if you switch workspaces really fast, Nautilus doesn’t get to grab the keypresses and everything works as it’s supposed to. Linger just a millisecond too long on the workspace displaying Nautilus, though, and it breaks as described. And that sort of inconsistent behaviour is a nightmare to live with.
  • Ctrl+Alt+Up/Down doesn’t work if you’ve got a VMware Workstation session open on one of the workspaces: once again, the virtual machine ‘captures’ the keypresses so that you stop switching between the host’s workspaces and are now doing something unpredictable in whatever guest OS you’re running. As a big VMware user, that’s a major problem.
  • Clicking an icon in the application launcher visible in the Activities window doesn’t actually launch an application: if the app. is already running, it switches to that instance of it instead of launching a new one. That’s frequently not what I want! You have to right-click an icon and then select the ‘New Window’ menu option to achieve a genuinely new app. instance. This is claimed to be a feature of the new environment in the official blurb:

For many applications, such as XChat IRC, Telepathy, Evolution, Calculator, or Chess, it makes most sense to only run one instance of the application, so switching to the existing window of the application is what the user wants if the application is already running. However, in GNOME 2, the user had to know whether such application is already running before making a decision to click on a launcher to open a new window of the application. Accidentally opening a duplicate window could mean having an unnecessary extra Calculator window cluttering the desktop or signing in into IRC under a second nick. By combining the application launcher and the application switcher and making switching to the already running copy of the application the default behavior, we give the user confidence that if they just go ahead and click on the application icon, the right thing will happen.

The level of condescension involved in the Gnome developers telling me what ought to make “most sense” to me is really quite breathtaking, I think. This is definitely not the way *I* work, even if it’s the way they assume it to be. I really don’t need someone to give me confidence that software has read my mind and made the right decision for me: I want to decide for myself how many calculators or chess games I have running at once! (I have Windows for when I want auto-everything!!)

Anyway, the upshot is that I found Fedora 16 (or its Gnome Shell front-end) to be slow and unproductive. I realise that’s me probably just being old-fashioned and unwilling/unable to change… but either way, it means that Fedora 16 bit the dust earlier today. Gnome 3 fallback mode wasn’t doing it for me either, and given that I’m not about to suddenly love KDE or XFCE or any of the other bazillion desktop environments out there -I simply want my Gnome 2 back, really- I decided to go retro: Scientific Linux 6.1 is my new desktop of choice. It has at least a few years of life ahead of it, and maybe by the time it reaches the end of its days, Gnome Shell might have improved to being vaguely usable and productive! Fingers crossed.

Fedora 16 (alpha!)

The first alpha release of what will eventually become Fedora 16 has been released -I got my copy from here (update: that link is obviously now to the production release DVD of Fedora 16!).

The default artwork for the release (see left) is, to my eyes, frankly alarming -well, if not alarming exactly, at least not very good! It’s only a wallpaper change away, but I do wish Fedora would stop trying to theme their desktops to match their fairly arbitrary choice of version codename (in this case, Fedora 16 is codenamed Jules Verne, as in Twenty Thousand Leagues Under the Sea. Yeah, I think it’s a bad idea for a desktop theme, too!)

And I’m still not convinced by Gnome 3 (initial horror with Fedora 15′s implementation of it gave way several weeks ago to keen enthusiasm, but that has since been replaced by indifferent dislike… there’s nothing much I’ve seen in Fedora 16′s implementation that counts as a major improvement). Otherwise, there’s the usual software-stack updates (Firefox is at version 6, for example; and you get 3.4.2 of LibreOffice thrown in), but most of the changes are, I think, under-the-hood stuff and aren’t likely to revolutionise your Linux life!

I have successfully tested a Gladstone-prepared 11g Release 2 installation on the new release. There is the usual pile of software the OUI claims doesn’t exist (click Ignore All when prompted, because they do). There is also the expected ‘Error in invoking target agent nmhs of makefile ins_emagent.mk‘ problem during the linking phase. The workaround here is to run the fedora-linking-error-fix.sh script in your Desktop directory which Gladstone will have created for you (just navigate there with Nautilus and double-click the shell script when the linking error occurs, then click Retry in the Oracle Universal Installer. It’s plain sailing after that).

Interestingly, one of the reasonably significant changes made in this release (enough to get a mention in the release notes, anyway) is that, by default, a Desktop directory is no longer created for you during installation. However, Gladstone is hard-coded to write its fix-up script there, so a /home/<username>/Desktop directory needs to exist: create one before you start if you need to.

Of course, there can be no guarantees: what works in an alpha release might be broken by any subsequent beta, let alone the final, finished distro. But since it’s working right now, a revised, Fedora 16-aware, version of Gladstone is downloadable from the usual place.

Incidentally, I have not tested a 10gR2 installation on Fedora 16, and won’t be doing so. As was mentioned in various discussions on this blog lately, 10g Release 2 is out of mainstream Oracle support these days, and I don’t therefore propose to spend any more time on it from now on. So Gladstone may or may not work for 10g: feel free to give it a whirl, I guess.

Moving to Fedora

I’ve decided to move off Ubuntu (my principal desktop since October last year) and instead start using Fedora 13.

It’s not that there’s anything particularly wrong with Ubuntu (switching the side the window controls are on from right to left was pretty stupid, but it wasn’t the end of the world!). It’s just that we use Centos/Red Hat servers a lot at work and Fedora is a more natural ‘fit’ to them than Ubuntu is.

I’ve been a strong critic of Fedora in the past, it’s true. It’s managed to be the only distro not able to actually boot on my home PC, for example; and it’s had a bit of a track record with ghastly theming and weird wallpapers. But Fedora 13 seems perfectly sane in those respects when compared to some of the previous Fedoras -and it seems stable and fast. It’s slightly more bleeding edge than Ubuntu …and very much bluer!

It does take a little more work to get ‘just right’, though: Google Chrome isn’t in the standard respositories, for example; and playing DVDs and MP3s involves more fiddling than an Ubuntu user might be comfortable with. But to anyone even vaguely comfortable with a text editor and a terminal, it’s definitely not a show-stopper. I’ll be documenting a few of my favourite workarounds here over the next few days.