GVimPortable Settings

I’ve had many frustrating moments trying to put GVimPortable on Windows systems. The biggest difference is that GVimPortable doesn’t follow the normal vimrc conventions for Windows.

Simply put your settings in GVimPortable/Data/settings/vimrc . Notice that there’s no underscore or dot as is the convention with the normal Windows binary. Also note that it ignores _vimrc files in your home directory, but it will happily display that file if you try and edit the settings via the GUI. All in all, this is extremely confusing and frustrating. The documentation does make this clear however, but I’d rather the normal conventions be followed.

Installing Citrix ICA Client on Fedora 17 (64-bit)

1. Enable RPMFusion repository

2. Install the dependencies:

Drop to a terminal and run:

su -c "yum install openmotif.i686 alsa-lib.i686"

The link keeps on changing for the ICAClient RPM, so go to download.citrix.com and do the following:

  1. Click downloads
  2. Select “Citrix Receiver” under “Select Product”
  3. Select “Receivers by platform” under “select download type”
  4. Click find
  5. Expand “Receiver for Other Platforms”
  6. Choose the Linux Receiver
  7. Choose the RPM version

Now install it:

su -c "yum localinstall ICAClient-*.rpm"

Now you should have “Citrix Receiver” under Applications -> Internet

Installing a MATE-Only Desktop on Fedora 17

I got tired of waiting for Fedora 18 today, so I downloaded the Alpha version. Wow, they weren’t kidding when they said it wasn’t fit for human consumption. I couldn’t set up LVM or LUKS properly with the installer. Even if I manually created the partitions, the GUI tended to just crash at random.

I’m sure it’ll be ready in time, but I decided to revert back to Fedora 17. I couldn’t wait any longer for the MATE desktop though. I’ve been using KDE, but it’s just not the same. I miss the raw usability of GNOME 2 that just lets you get things done.

To make things simpler for people who want a MATE-only setup, I’ve documented my experiences here. The good news is that it’s very stable and usable, so read on!

Continue reading

How to Stop Bash From Completing mount /dev/… Commands

Bash completion is really handy 99% of the time as it makes common and repetitive tasks quicker by attempting to guess what you’re trying to accomplish.

Some years ago I noticed a frustrating new addition to the inbuilt bash completion functions that expanded the mount command line based on entries in /etc/fstab. As the device mapper now takes care of most of my filesystems, as soon as I type mount /dev and press the tab key, I end up with something like this:


[root@host ~]# mount /dev/mapper/luks-
/dev/mapper/luks-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
/dev/mapper/luks-YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY
/dev/mapper/lvm-disk-of-some-form
[root@host ~]# mount /dev/mapper/luks-

I very rarely mount anything device that starts with /dev/mapper/luks- or anything other device in /etc/fstab as those devices are usually mounted at boot time. There is a way to stop this though and restore your sanity.

Continue reading

How to Rename Conflicting LVM Volume Groups Quickly

It’s pretty annoying when you have two disks with the same LVM name. For example, I recently ran into the following conundrum:

[root@host mark]# pvs -o +vg_uuid
  WARNING: Duplicate VG name os: Existing XXXXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXXXX (created here) takes precedence over YYYYYY-YYYY-YYYY-YYYY-YYYY-YYYY-YYYYYY
  WARNING: Duplicate VG name os: Existing XXXXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXXXX (created here) takes precedence over YYYYYY-YYYY-YYYY-YYYY-YYYY-YYYY-YYYYYY
  PV                                                    VG      Fmt  Attr PSize   PFree
  /dev/mapper/luks-xyz                                  os      lvm2 a--  107.41g    0 
  /dev/mapper/mythtv                                    os      lvm2 a--   19.53g    0 
  /dev/sda3                                             big     lvm2 a--  357.85g    0 
  /dev/sdb1                                             mythbig lvm2 a--    1.36t    0 
  /dev/sdc1                                             big     lvm2 a--  465.76g    0 
  /dev/sde1                                             mythbig lvm2 a--    1.36t    0 
  /dev/sdf1                                             mythbig lvm2 a--    1.36t    0 
[root@host mark]# 

Continue reading

Gosford/Woy Woy DTV Frequencies

Here’s a list so I don’t have to keep finding it when I need it.

Gosford Trig Station

Location: Lat: 33 25 28S Long: 151 20 52E
Polarity: Horizontal

Sources: http://ozdigitaltv.com/transmitters/NSW/49-North-Gosford
SBS Info

Name Channel Frequency (MHz) Callsign
SBS 34 571.5 SBS34
ABC 37 592.5 ABC37
Seven 59 746.5 NEN59
Seven 61 760.5 ATN61
Nine 62 767.5 TCN62
Nine 68 809.5 NBN68
Ten 65 788.625 TEN65

Bouddi Trig Station

Location: Lat: 33 30 42S Long: 151 24 04E
Polarity: Horizontal

Sources: http://ozdigitaltv.com/transmitters/NSW/49-North-Gosford
SBS Info

All frequencies are the same as above.