Rob Garth
Mildly Useful Stuff

Cyanogenmod on a Nook

August 12th, 2011 by robg

This process has been documented and re-documented so many times so this will not be a technical entry. But the process works and it is brilliant.

What I do want to say is that the official instructions from the Cyanogenmod wiki work, and are simpler than anything else I read. So follow them.

The Nook Color is a tablet disguised as an ereader. Spec wise it is lacking a few things, but the build quality is brilliant and it is cheap.

I ordered a refurbished unit from ebay for $199.00. At the time this made it about $190.00 AUD. They only ship the the US so I sent it to an address provided by ComGateway. I expected to be billed for about $30 shipping to Australia, but ComGateway charged me the cost of a 2kg package. So it came in at just over $40. Of course I am not about to argue when my Nook is sitting in their warehouse. The other disappointing thing for me was that is sat in Portland at the ComGateway address for 4 days before it was shipped.

But it was shipped and there were no problems, it was just more expensive and slower than I expected.

If you want to use the Nook with the original firmware (though why would you) first register an account with B&N online using a US address, also skip the credit card setup, unless you have a US credit card.

But with CM7 this thing is brilliant. Fast and a whole bunch more functional. I no-longer have tablet envy.

No Comments »

No Updates

August 12th, 2011 by robg

My lack of documentation and blog entries is disturbing.

I have been doing things, but they have been un-interesting, at least from a blog point of view. Which I do find troubling.

Uninteresting work tends to make me a little restless.

When a couple of current projects come to an end there may be some interesting things to blog.

No Comments »

Gnome 3.0 Fallback with Compiz

May 3rd, 2011 by robg

The Gnome 3.0 Fallback mode is one of the nicest Classic Gnome interfaces available. With compiz I think it may be one of the nicest gnome desktops bar none.

And it is easy to get compiz working with it. Really easy. One command easy.

# yum install compiz compiz-gnome compiz-manager compiz-plugins main

Now one you enter your username at GDM you will be presented with a pull-down from here you can select. “Classic GNOME with Compiz”.

No Comments »

Remove the Accessibility menu in Gnome 3

April 29th, 2011 by robg

By default gnome-shell has an accessibility menu visible in the shell. I get that this is sensible by default. But I don’t need it and it bothers me that I can’t remove it.

User fpmurphy over at fedoraforum has posted a shell extension that removes the offending icon.

I have created a tarball of the extension. Download it here and extract it to “~/.local/share/gnome-shell/extensions”

$ cd ~/.local/share/gnome-shell/extensions
$ unzip gnome-shell-extensions-noa11y.zip

Then restart the shell. Hit “Alt+f2″, and type “r”.

3 Comments »

Improved Adwaita

April 27th, 2011 by robg

half-left over at deviantART, ha posted an improved Adwaita theme. And it is very nice. Just less wasted space. I recommend it to any shell users.

Grab it here.

No Comments »

Fedora 15, initial impressions

March 23rd, 2011 by robg

I have moved back to Fedora on my primary laptop. And not the stable. I am using the Alpha of Fedora 15. I expect bugs, so I am not going to complain about stability in an Alpha release.

I decided to dump Ubuntu as my primary desktop for a couple of reasons. I think Ubuntu is a more polished desktop, and provides a better user experience over-all, especially for a regular user, and I like its Debian heritage and package system. But I do not like Unity. I am not going to debate it’s pros/cons here it has been done all over the interwebs. I simply don’t like it, and do not think it should be built the way it is. Unity should be built upstream, as an alternative shell to Gnome, not inside Ubuntu’s closed walls, and then customized for Ubuntu later on. Canonical could learn from red-hats previous mistakes and successes in this regard.

I was also very disappointed with the way Ubuntu handled the inclusion of Banshee and with the outcomes from that debacle.

I’ve always had a soft spot for Fedora and I like the community built around it, but I was also skeptical of the Fedora choice to ship Gnome-Shell. So I gave the Alpha a spin.

And I like it. It took a little getting used to, but I moved back to the old gnome-panel interface and I missed the changes now present in gnome-shell. So much that I decided months out from release to stick with Fedora 15 as my primary installation.

I am using this as a desktop, so my comments are really only relevant in that space, but a couple of thoughts.

 

SE Linux.

Technically SELinux is brilliant. But on a desktop it gets in the way, and the alerts will make no sense to a regular user. After an update I had to set my policy to permissive to simply be able to login again (Not a real complaint, it is Alpha). But until work is done to make the whole thing a lot clearer to non-technical users every howto is still going to start with, “Turn off selinux”. If I build a live respin, I will probably disable selinux on install.

GNOME Shell

The preferences are sparse, and this is by design, but I think most users, after getting used to the interface, are going to won’t more customization option. For the technically minded people install “dconf-editor”. If you want things a little simpler check out “gnome-tweak-tool“.

But personally, after getting comfortable with the shell, I think it is a better way to work. I like managing my work-flow with dynamic workspaces. A few extra keyboard shortcuts would come in handy.

I also have a usability problem with the notification tray. When there are multiple icons, you hover over the icon, which then moves to display the name of the application. If you need to click on an icon for options it has moved some arbitrary number of pixels away. It is only a little thing, but it annoys me no end. I think rather than shuffling icons, the title could simply be displayed as a pop-op, hint style.

Adding things and customization

Getting things to work with Fedora is just a little bit tricky. 32 bit flash on 64 bit system requires a visit to the wiki. Yum doesn’t process architecture dependencies properly, so whenever an app was only available 32 bit, like Skype, it would take a bit of a forum search to find a solution for installation. And I think that has always hindered Fedora adoption. The learning curve is just a bit steeper than Ubuntu. Sure a visit to a  Fedora FAQ will normally fix you up. but it takes a bit of investigation.

But all that said. I am back on very familiar Fedora soil, and I couldn’t be happier. I will try when writing blog posts to include instructions for Fedora/RHEL/CentOS and Ubuntu/Debian. I work with all of them. But I am a little lazy, so instead there will probably be a mash of howto’s each one on whatever distro the problem I was fixing was based.

2 Comments »

Google Chrome theme for Adwaita (gnome-shell)

March 18th, 2011 by robg

Update: A much better looking and more official theme is now available in the chrome webstore http://goo.gl/CmRUk

I have been running Fedora 15. It is kinda buggy, (expected it’s alpha,) but I am actually finding gnome-shell growing on me.

Firefox 4 in included, but I still find I prefer Google Chrome, trouble is, it looks out of place on the desktop. I used this site and threw together a quick theme. It’s not perfect, but feel free to download it.

6 Comments »

Backup/Restore remote disk images.

March 9th, 2011 by robg
There are occasion when backing up data is not enough. You may want a snapshot of your whole system. There are some great tools out there like Clonezilla, which in turn uses partdisk, or Ghost if you don’t mind closed source. But you can do this using tools almost certainly available even in the most minimal of linux installs.
Caveats:
  • The image is easily restorable to the hardware it was created on. If you restore to another computer it will create unexpected issues. Usually fixable by creating a new initrd
  • The partition sizes are fixed and must be restored to a harddrive of equal or larger size.
  • dd creates a byte level copy of your harddrive, empty space is included in the backup. Without gzip a 160GB disk will create a 160GB disk image. With Gzip the image will still be very large.

Backup image to another Linux machine

If you have a Linux workstation with a large enough hard-drive you can simply backup and restore across the network. You will need root access to both boxes. Netcat is also available for Windows and Mac.

1. On the Destination Where you are storing the backup

In this example /dev/sda is the harddrive you want to backup/restore. Make sure you choose the correct harddrive.

 # nc -l 1010 > harddrive.img.gz

2. On the source computer The machine being backed-up

# dd if=/dev/sda | gzip -cf | nc -q 10 xxx.xxx.xxx.xxx 1010

Restore image form another Linux machine

1. On the Targe The machine you are restoring to

  • You will need to boot into a live image, I suggest Ubuntu, from USB or a CD.
  • From the now booted, live operating system:
    # nc -l 1010 | gzip -dcf | dd of=/dev/sda

2. On the Source machine The machine with the image saved

# nc -q 10 xxx.xxx.xxx.xxx 1010 < harddrive.img.gz

No Comments »

Unwanted accessibility icon in the panel

February 21st, 2011 by robg

The other day I used a dbus command from the terminal, next thing I have an accessability icon in the panel. I didn’t want it and I couldn’t remove it.

Turns out it is not an uncommon complaint: http://ubuntuforums.org/showthread.php?t=1013344

There are a heap more threads like this online.

Basically the option is hidden away in the Keyboard preferences.

See: https://wiki.archlinux.org/index.php/GNOME_2.28_Changes#Universal_Accessibility_Icon_Stuck_in_Panel



No Comments »

Simpana, Galaxy and Debian

February 21st, 2011 by robg

This post is not particular generic and will only affect a few, but I will write it because the problem caused me huge frustration, and much time was wasted.

We currently use CommVault for backup and the Galaxy agent to make it work with Linux. I had a freshly installed Linux box which simply would not back up. The Controller and agent could communicate and there were no errors raised on either. Every time a backup was run, the scan would work, but as soon as data transfer was ready a communication error was raised.

It turns out that a clean install of Debina/Ubuntu adds an entry for your FQDN which point to 127.0.1.1. This is included for machines which swap networks and possibly hostnames form time to time (think laptops) so app suites like GNOME still work. It is also, in my opinion, stupid.

This entry was breaking Galaxy. I can only guess what was happening as it is  a closed source suite. But I think at some point in the backup process, even though communication is already happening, the agent gives the Controller the IP address to talk to. As the hosts file had a pointer to a localhost IP, this IP address was handed back to the Controller. and everything breaks.

So simple lesson, if you have a Debian/Ubuntu machine with static networking, replace the 127.0.1.1 entry in /etc/hosts for the FQDN to the real IP address.

No Comments »

« Previous Entries