TOPIC: UBUNTU
Getting VMware Workstation working on Ubuntu 8.04
28th April 2008With every change of kernel, a re-installation of VMware becomes necessary, and my move to Ubuntu "Hardy Heron" 8.04 was punctuated by the same activity. However, the advent of the 2.6.24.x kernel meant that my usual means were no longer successful, so a new approach was needed.
That involved the mysteriously named vmware-any-any
patch, and version 116 of this seemed to set things to rights for me. Stopping the installation before vmware-config.pl
runs is the best course of action, since it will only fail anyway. Downloading vmware-any-any-update-116.tgz
, extracting from the archive and running runme.pl using sudo continues the process.
While it seemed to have worked for me, I must wonder at why VMware seems unbothered by the idea of keeping up with Linux kernels and C compilers. It would certainly have removed the need for the user community needing to do anything about the problems that others and I keep seeing; it's a very unusual arrangement.
Keyboard shortcuts for changing desktops in Ubuntu
4th April 2008I am more than a little surprised that I didn't encounter these earlier: Ctrl + Alt + Left Arrow Key moves left, and Ctrl + Alt + Right Arrow Key moves right through your Ubuntu desktops or workspaces. It's always handy to be able to save on mouse work while doing this sort, so these could prove useful. I wouldn't be at all surprised if they applied to other Linux distros too.
Downloading Ubuntu
14th March 2008When I was wandering around looking for a preview of Ubuntu Hardy Heron (8.04), it took a bit of blundering before I landed on cdimage.ubuntu.com. Since there are ample ISO images and torrents available for anyone's needs, I decided to keep the link somewhere handy for those who might need it.
Trying out Firefox 3 Beta 3 on Ubuntu
20th February 2008Keeping an eye on future browser releases helps to avoid any shocks when maintaining publicly available websites. Therefore, it should come as no surprise that I have been giving Firefox 3 a whirl. As it happens, I have had it going on both Windows and Ubuntu. With the former, I have not encountered any obvious problems, but I am wondering if the new bookmarking system will mean anything to me. For installation on Ubuntu, I used the following command (I think that I culled it from Tombuntu but can't remember offhand...):
wget -P ~ ftp://ftp.mozilla.org/pub/firefox/releases/3.0b3/linux-i686/en-US/firefox-3.0b3.tar.bz2 && tar xjf ~/firefox-3.0b3.tar.bz2 -C ~
The nice thing about the above is that it places the test installation in your home directory and away from Firefox 2. It also works regardless of what Linux distribution you have. The profiles get shared between versions, so a backup would be a good idea before you start to tinker. As with the Windows version, page loading and rendering is faster in the new version, but I found a problem with printing that, I hope, will get sorted before the final release. Another area for attention is font rendering: it could be sharper for sans serif fonts on Ubuntu and serif fonts on Windows. Otherwise, it works well on both platforms and I like the way that open windows are saved on exit, an excellent idea carried over from Opera.
VMware going amuckā¦
4th February 2008Over the last week, I have had VMware misreport the speed of my CPU and have virtual machines like they're on speed. To cure it, I tried restarting the PC a few times but that yielded no joy, even if it did work the last time that VMware did this on me. Following some instructions from the Ubuntu forums set things back onto an even keel again. The commands required follow:
sudo apt-get install linux-headers-$(uname -r) build-essential gcc-3.4
tar xzf VMware-workstation-6.0.2-59824.x86_64.tar.gz
export CC=/usr/bin/gcc-3.4 && cd vmware-distrib && sudo ./vmware-install.pl
The first of these adds in a specific version of the GNU C compiler while also adding kernel headers; the latter weren't needed on my system since I already had them. The second extracts the files from the tarball, while the last performs the required installation rites.
Windows Home Server: an interesting proposition?
29th January 2008If I was still running Windows as my main OS, the idea of storing my files on a separate computer acting as a server would appeal to me. After all, I rapidly developed the habit of partitioning my hard disk so that my data files were separated from the rough and tumble lives of operating system and software files. Later, I took it further by placing system files and data files on separate hard drives, an arrangement that smoothed my move to Linux. Separation of computers would further secure things, and that's why Windows Home Server caught my eye when it was released. The recent spate of glitches with the thing might have changed my mind, but my move to Ubuntu makes that irrelevant now. In any event, I suppose that I could have gone with Network-Attached Storage or an external hard rive. I do possess the latter, and a backup is being stored on it as I write this, and the former still remains an option but for the fact that I am happy with how things stand. In any event, the conventional networking model would be yet another potential choice. While I was going to say more about Windows Home Server, I think I'll leave that to others, so here's a library of links for your perusal.
Running Photoshop Elements 5 on Ubuntu and openSUSE
23rd January 2008When you buy a piece of software and get accustomed to its ways of working, it is natural to want to continue using it. That applied to a number of applications when I moved over to Linux in the latter half of last year, and one of these was Adobe's Photoshop Elements 5.0, a purchase made earlier in the year. My way forward was to hang on to Windows by way of VMware. However, Elements fails to edit or save files in the Linux file system accessed through VMware's shared folders feature. I have yet to work out what's happening, but the idea of using a more conventional networking arrangement has come to mind.
Another idea that intrigued me was the idea of using WINE, the Windows API emulator for Linux. You can get it in the Ubuntu and openSUSE software repositories, but the WINE website has more to say on the subject. That's only the first stage, though, as you might see from WINE's Wiki page on Photoshop and its like. However, their advice is a spot incomplete, so I'll make it more explicit here. You need to run Winetricks from its online home as follows:
wget kegel.com/wine/winetricks; sh winetricks fakeie6
wget kegel.com/wine/winetricks; sh winetricks mdac28
wget kegel.com/wine/winetricks; sh winetricks jet40
The first line flicks a switch to fool Microsoft components to install thinking that they are installing into a Windows system with IE on board. Without this, the rest will not happen. The second installs Microsoft's native ODBC drivers; Elements will not function at all without these if my experience is any guide. The last step is to add JET support so that Elements' Organiser can get going. With all of these in place, having a working Photoshop Elements instance under Linux should be a goer. Apart from the odd crash, things seem to be working OK on Ubuntu and openSUSE seems hospitable too. Further experimentation may reveal more.
Update: The WINE Wiki has now been updated (and links back here!). As per dank's comment, the above lines can be condensed into what you see below:
wget kegel.com/wine/winetricks; sh winetricks fakeie6 mdac28 jet40
Succumbing to Temptation: Ubuntu Studio
12th December 2007Because the fancy artwork that comes with Ubuntu Studio does look appealing, I got lured into converting my vanilla Ubuntu 7.10 into something a bit more avant-garde. The theme's all very dark (you can have a peek here; file size is 1.1 MB) but it has a very appealing look, even if the merging of the application title bar and top desktop panel due to their having the same colour and texture is a little disconcerting. My momentary lapse of discipline also got me adding a whole array of audio, graphics and movie applications that I may never use; it's good to have them if I ever fancy a fiddle, but removal is not off the agenda either. The other thing that came with the package was an alternate kernel that looks as if it might be of the real time variety, at least if the "rt
" in its package name is to be believed. The main reason for mentioning that is that VMware has ceased working, so I need to snag the correct kernel source code to get things going again. Let's hope that it's a successful venture...
Update: After a spot of poking, Synaptic offered up the required kernel header files and VMware was reinstated with only a modicum of effort. All's well that ends well.
A Firefox a day?
1st December 2007No sooner had we received Firefox 2.0.0.10 than they have already started talking about 2.0.0.11. Apparently, the latest update broke support for a tag that I have never used: canvas. This is stuff that makes you wonder about their quality control.
Because the 2.0.0.10 was a security update, Ubuntu volunteered it to me without any effort on my part. However, I am using Ubuntuzilla, so I didn't get the update coming through to my browsing world without further intervention. Launching Firefox using the gksu
command allowed me to update the thing like I have been doing on Windows: Help > Check for Updates... Now, I have got a more permanent check set up, thanks to my issuing the following command:
ubuntuzilla.py -a installupdater -p firefox
A different Firefox II: cross-platform font display issues
18th November 2007One of the things that I have been sorting out on this blog is how the fonts appear in Firefox running on Ubuntu. Even with the same fonts and the same browser, serif fonts were being displayed smaller and appeared more fuzzy in Linux than on Windows. And that's even with the font sharpening that comes with turning on Ubuntu's visual effects. So, there was a spot of swapping between Ubuntu and Windows (running on VMware) while I was increasing font sizes to improve legibility on the Linux side without things going all Blue Peter on Windows. Along the way, I added a mention of the Ubuntu font ae_AlArabiya in the CSS to further spruce up things. In my earlier web building efforts, I was having to make serif fonts bigger because of those serifs. From the on-screen legibility point of view, there's a lot to be said for sans serif fonts and I may yet alter this blog's theme to use them instead, but I'll ponder the idea a bit more before taking the plunge.