Thursday, 22 March 2012

Gnome Classic - My Perfect Desktop (For now!)

I am at peace again in the Linux world, at least for now, I'm quite happy with the Gnome Classic desktop on Ubuntu, and finding it smoother and better looking than XFCE, but without the clusterfuck of Unity or Gnome3. I really have tried to like them, I've given them every chance but they both seem to be about reducing what I can do at the same time, this might be fine on a tiny netbook or tablet but not on the desktop. When I use them I feel like I have one hand tied behind my back. I've even tried Unity on a tablet and for a brief time it was OK, it still didn't feel right. it doesn't help that they both require decent graphics acceleration to get the most out of them, and the Global Menus of Unity are infuriating!

Gnome Classic does take a little tinkering to get it just right in 11.10 but not as much as other desktops, and it's worth the little effort required. There's a good page on AskUbuntu on how to get things working nicely, the main thing is switching the default tray applet out and adding the full Indicator Applet and reducing the size of the top panel. Also you might like to get Alt + F2 run dialogue back too. I hope Canonical keep Gnome Classic available for as long as possible, or at least until XFCE switches to GTK3. Here's how my main dual monitor desktop looks:



Thursday, 15 March 2012

Enabling a Fingerprint Reader in Ubuntu 12.04




















I got this to work with my Dell Latitude XT, but it should work with some Lenovo Thinkpads and some HP laptops that have the same SGS Thomson Microelectronics fingerprint reader or other supported readers. As Thinkfinger isn't available in the Precise repositories, I had to download the Natty packages from here and install them manually with

sudo dpkg -i libthinkfinger0_0.3+r118-0ubuntu4_amd64.deb thinkfinger-tools_0.3+r118-0ubuntu4_amd64.deb libpam-thinkfinger_0.3+r118-0ubuntu4_amd64.deb


You could also try compiling them (which i tried, unsuccessfully!) from the tar available here. Then i followed the instructions on the Ubuntu Wiki for Thinkfinger.

Once that's done reboot and you should be able to tap your username on the login screen, swipe your finger, then tap 'login' and you should be able to login. You can even swipe while doing sudo commands on the commandline! The only slight problem when swiping your finger to login, is it doesn't unlock the login keyring, so you'll have to enter your password once (you can use the Onboard onscreen keyboard if you're using a tablet). There apparently used to be a workaround but that is now long out of date.

Monday, 5 March 2012

Enable Screen Rotation in Ubuntu on convertible laptop/tablets

For those with Linux on convertible tablet/laptops like the Dell Latitude XT and XT2, HP xc4400 etc, you might find Magick Rotation useful, it enables automatic screen rotation when you switch between laptop and tablet mode. Download and extract Magick Rotation, then make sure the magik-rotation file is executable, the right click and run it, or cd into the directory and do ./magick-rotation. Follow the instructions in the readme as it may vary depending on make/model. I've just set it up on Ubuntu 12.0.4 on my XT and it works very nicely. I've disabled the Cell Writer function as I don't need it but may be useful for those who use portrait mode and use the stylus to write notes.



Saturday, 3 March 2012

Windows 8 and Ubuntu 12.04 Beta On a Dell Latitude XT

I have acquired a slightly faulty Dell XT convertible tablet/laptop, the screen no longer stays up in laptop mode and it's also lacking it's pen stylus. Specs-wise it's similar to my Latitude D430, a Core2Duo CPU at 1.33Ghz, 2GB RAM, except this has ATI X1250 graphics instead of Intel 950 and an 80GB 1.8" hard drive instead of a 60GB 2.5" drive. I am unsure as to how to get multi-touch capabilities in either Windows 8 or Ubuntu, in neither does it work out the box, perhaps the Windows Vista drivers may work in Windows 8.


Windows 8

When it was new it would have come preinstalled with Windows XP or Vista. Since the Windows 8 'Consumer Preview' had just been released I decided to have a little play with it on the XT. I used the docking station's DVD drive to install it and it took about 30 minutes. Single finger touch works out the box.


















Windows 8 feels clunky to me, like Windows 7 with the ugly Metro interface bolted on the front. Switching from the touch-friendly Metro to the not very touch friendly desktop and back again feels awkward, and doing that every time I want to search for an app gets old fast! I'd much rather use an OS that is built for touch screen mobile devices from day 1, such as Android, iOS etc. I did like the on-screen keyboard, but for web browsing it wouldn't pop up for Firefox, only IE, although apparently there will be an 8-friendly version coming soon.

Ubuntu


After a brief test of Mint with Gnome3/Cinnamon (which I can't get on with, not keen on the menus and the Mint hijacking of the Search Add-ons), I formatted it and installed Ubuntu 11.10 64bit liveCD. Then I upgraded to the latest 12.04 beta. Although I'm not that keen on Unity for the desktop, in this case it does suit a tablet and has improved a bit recently. Having said that I still don't like Global Menus and would prefer to be able to easily disable that feature.
Again, the single-finger touchscreen works out-the-box. Unity is still not touch-friendly enough (grabbing those overlay scrollbars is tricky for instance) but feels and looks a lot nicer than Metro and the MyUnity tool is very useful too if you want to tweak Unity settings. Sadly, ATI dropped support for the X1250 graphics card, which means I can only use Unity 2D and some 3D games/apps don't work very well.

















 


For touch use, I've found it best to disable auto hiding of the launcher (Settings, Appearance, Behavior). Ubuntu's default onscreen keyboard is called Onboard. It's OK once you resize it so you can actually use it with your fingers, though I wish it would automatically pop up and hide for dialogue boxes, like Caribou does. Enable the onscreen keyboard from Settings, Universal Access Preferences. Onboard should also appear on the LightDM login screen too. If you have upgraded from an earlier version of Ubuntu that used the GDM2 login screen (or if LightDM is trashed and you have switched to GDM), you can make Onboard appear by adding "onboard -s 684x200 -x 170 -y 568 &" to /etc/gdm/Init/Default between the last 'fi' and 'exit 0' as shown in this how-to. No need to change any other settings as shown on there though. Update: The only really frustrating thing about Unity is the dock which on this device is far too easy to accidentally open apps when trying to scroll the dock!




















Overall Ubuntu 12.04 works fairly well on the XT, despite the lack of proprietary graphics drivers. With a bit more improvement, Unity could be a good touch friendly desktop, though I still don't plan on using it on my main dual-monitor desktop or other laptops and desktops where I prefer Gnome Classic or XFCE (Xubuntu). And despite the odd bug here and there which should be fixed by it's release, 12.0.4 should be a decent LTS.

Tuesday, 14 February 2012

Ubuntu 11.10 Classic Desktop on a Dell Latitude D430

As a late Xmas present, I acquired a Dell Latitude D430 (Core2Duo, 1.33Ghz, 2GB RAM, 60GB HDD, Intel 950 graphics), it's very lightweight and works well with Linux. It has no DVD drive built in but I installed with a USB DVD writer, there's also a docking station avalable with one built in. I decided to try some Ubuntu Gnome Classic aka the old Gnome Fallback option since Gnome-shell doesn't work on this laptop and I'm still not keen on Unity (it still feels slow, and restricted options-wise, and I can't work with Global Menus). I have also been using Xubuntu, but I thought I'd give Classic a try.

I Installed Gnome Classic using 'sudo apt-get install gnome-session-fallback' then logged out and in and changed the session to 'GNOME Classic' I used this AskUbuntu post to get Compiz working properly, adding 'compiz --replace' to startup items and editing /usr/share/gnome-session/sessions/gnome-classic.session, replacing "RequiredProviders=windowmanager;notifications;" with "RequiredProviders=windowmanager;"

I installed compizconfig-settings-manager and enabled Snapping Windows, Shift Switcher, Window Previews and Wobbly Windows. Make sure the Unity Plugin is not enabled. In addition, since for some reason right click + alt does not seem to be working on my Gnome Classic panels, I run Cairo Dock so my most used applications are easy to launch. Cairo Dock is a lot more flexible than the Unity dock, you can move it to any side of the screen and, I think it looks much nicer. I also found this good list of Ubuntu Indicators and installed the System Load Indicator, CPUFreq, My Weather Indicator, and Hardware Sensors Indicator. Here's how my desktop looks: (click for larger image). EDIT: I have found out, from this howto, that Winkey + Alt + Right Click is used to add items to the panel.






Saturday, 28 January 2012

Ubuntu On a 1Ghz Powerbook G4

Having had audio problems on OSX on my Tibook, I decided to reinstall, so I thought I might aswell install Linux alongside it since I'm starting from a fresh hard drive. The only PowerPC 'buntu version I could find was Ubuntu 10.0.4 LTS, which is downloadable here. First I wiped the hard drive with Disk Utility during the Leopard install, and split the 60GB drive so that 13GB of blank space was left at the end of the drive. Once I'd set up OSX, I installed Ubuntu using the livecd. During install I let Ubuntu use the largest continuous free space and left it to it. Ubuntu automatically installs the yaboot bootloader which allows you to boot into either OSX (press x) or Linux (press l) on each boot, although it auto-loads Linux by default. To change this you need to edit /etc/yaboot.conf and add defaultos=macos to the list of boot options. Save the file, then do sudo ybin -v. Amusingly, in the output, it blesses the drive with 'holy penguin pee!'































Hardware

Almost all the hardware works correctly 'out-the-box' including sound and reasonable basic graphics output apart from the onboard wireless, which cannot seem to connect properly to my routers. However, even in OSX, the onboard wireless has worked pretty poorly and I have been using a Buffalo PCMCIA card which works straightaway on OSX (unlike Ralink cards) and works on Ubuntu once the right driver is installed using the Hardware Drivers tool. One thing that's slightly different is in Ubuntu you hold Fn to get the screen brightness and volume controls, while in OSX you use it to get the F keys. Also of course, in OSX the Apple key is used instead of Control for copy and paste etc. Also the Powerbook only has one trackpad button, so I had to Google to find out that F12 is used for right-click, although I use a USB mouse most of the time.


Software

I decided to try a lighter desktop than Gnome since the Powerbook is only 1Ghz with 1GB of RAM. I tried Lubuntu's LXDE desktop first but i found it not quite as easy to use as XFCE, so I then installed the xubuntu-desktop package instead. Software wise the only apps that I miss are Hotot Twitter client, Dropbox and the browser flash plugin all of which have no PowerPC versions in Linux. There is gnash alternative for flash but it seems to beslower and even more resource hungry. Youtube sort of works though it complains of another plugin missing, and prompts me to upgrade to Flash 10 for 'better performance' Alternatively I can download them with Downloadhelper addon for Firefox or watch them in Minitube. I shall have to scout round for a good Twitter client for it. Also another slight annoyance is when I try to mount the Leopard HFS+ filesystem, I can only read some of the directories, others say I don't have permission or just don't open at all. What is nice on Linux though is having Deluge torrent client/server (which I think is only on OSX through macports), UbuntuOne and Tomboy Notes (not available on PowerPC OSX).



















Overall Ubuntu/Xubuntu works fairly well on the Powerbook and I shall keep it on there for general use, though I might see if I can coax some better graphical performance, hopefully.


Update 31/12/12

I've found an alternative Twitter client, Turpial, and though not as nice as Hotot it's still  a reasonable client. In fact I wish at least one of them was available on PowerPC OSX, since many have disappeared in the authpocalypse and I can't find a working free Twitter client (with a gui at least) for PPC Mac.


 

Wednesday, 25 January 2012

Powerbook G4 Audio Problems

Well I've just been having a frustrating time with my 1ghz Powerbook G4, which I've only had for a short time. My cheapo iPod dock broke and I've started using the Powerbook instead with the iPod connected via USB. This worked fine for a couple of nights but now audio keeps stuttering and stopping, no matter which music player I've tried. I thought it might be because the iPod is attached to slow USB 1.1 but ruled that out after copying the music to the hard drive. It's not the audio leads or headphones, there must be something wrong with the 'books socket or it's onboard soundcard. Highly annoying, I think I'm going to try Xubuntu PowerPC on it to rule out OSX problems (Download PowerPC 'buntu versions of 10.0.4 here). I have at least rediscovered which players I can still use on OSX. I tried the stable version of Vox, the new version does not work on PowerPC), VLC, and my new favourite, Cog. Cog is very lightweight, probably the lightest of them all and has better music management than Vox. I'm now using my older 667Mhz Powerbook for music for the time being.