The link you've followed is invalid. To link to an article please use its permalink. Article still retrieved.
blog.dkj.me
About Contact RSS
The Weblog of David Johnston
David Johnston
Linux
Some Ubuntu 9.10 Fixes
November 7, 2009
Replace NetworkManager Ethernet Icon
If "Human" icons are selected, likely in the case of someone upgrading, the NetworkManager Applet will have an ugly black icon representing an ethernet connection. Note that the new 9.10 theme is called "Humanity" which uses a much nicer and smaller connection icon. To use the latter in the place of the former:
sudo cp /usr/share/icons/Humanity/status/24/network-transmit-receive.svg /usr/share/icons/Human/scalable/devices/network-wired.svg
Disable Face Browser
Canonical have taken all of the fun out of gdmsetup, reducing it to just two options. All other customisation aside, I can't stand the "Face Browser" at the login screen. At least there's still a way to get rid if that:
sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list true
Another Bug in the GSD
The gnome-settings-daemon doesn't appear to be at all tested with remote logins. Currently there's another new bug, in a long line of bugs, that causes the daemon to crash when using the desktop remotely. This has been fixed, but the fix is currently sitting in the "proposed" queue. The solution in the meantime is to disable the xrandr plugin by running gconf-editor and unchecking the following:
/apps/gnome_settings_daemon/plugins/xrandr
Firefox 3.5 Font Rendering
It appears that Firefox 3.5 doesn't respect the font rendering set by the user in their system wide settings. I was really annoyed by this, and as a result managed to gather together the following information. This problem will only annoy those people who have selected settings that differ from those already set in the file respected by Firefox. This file is "/~.fonts.conf". My copy of this file had four settings within it: rgba, hinting, hintstyle and antialias. The settings hinting and antialias are boolean, whilst the other two have the following options:
    rgba
      unknown
      rgb
      bgr
      vrgb
      vgbr
      none
    hintstyle
      hintnone
      hintslight
      hintmedium
      hintfull
My file was set to: rgba none, hinting true, hintstyle hintfull and antialias true.
Within my gnome font rendering settings I select the standard "LCD" setting. This equates to: rgba rgb, hinting true, hintstyle hintslight and antialias true.
The contents of /~.fonts.conf then becomes:
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
Apple
CS4 Problem on Mac OS 10.6.1
September 24, 2009
A workaround for high CPU utilisation with nothing running after installing Adobe CS4 on Mac OS 10.6.1 Snow Leopard (or "Help me my computer runs slowly after installing CS4").
I just purchased Adobe CS4 Design Premium and have had trouble installing it on a fresh install of Snow Leopard (10.6.1). Whilst everything appears to be fine, the CPU would sit on 60% with every application closed. As soon as I uninstalled CS4 the CPU would drop back to 1-2%. I conducted this test twice—that is installed CS4 on a fresh Snow Leopard twice over.
To be clear this isn't resolved by restarting, as is the solution to one known bug mentioned in the CS4 Read Me.
In my desperation I made the mistake of calling tech support. The tech support guy wasn't very helpful. Even though I told him that I had re-installed both CS4 and Snow Leopard, he had me run the Adobe cleaning utility thingy and reinstall again. After three hours of reinstalling (for the third time) and another 700MB of updates (from my precious download quota) I was exactly back to where I had started.
Then when the updates for Version Cue and Adobe Drive failed to install, it got me thinking. Looking at the box it states that Java is needed for Version Cue Server. That being a unique requirement and the update for that particular program failing, sent me on the search. I eventually found the directory containing Version Cue Server and moved it. I next planned to restart but I didn't have to, the instant I moved the directory my CPU usage plummeted from 60% to 1%.
I've been working on this for days and all I had to do was move the folder "Server" out of "/Library/Application Support/Adobe/Adobe Version Cue CS4/".
*sigh*
Windows
Vista's Complete PC Backup
February 1, 2009
Recently the hard drive on which I had Vista installed began to behave erratically. But I wasn't worried as I had been using Vista's "Complete PC Backup"! What could go wrong? However, try as I might, and I tried a lot, I wasn't able to get the recovery to work. It always gave the same error message, "There are too few disks on this computer or one or more of the disks is too small."
My trouble was caused by the fact that I wanted to replace my drive. The "Complete PC Recovery" works if all you want to do is to rollback to an earlier backup. It seems that Vista's "Complete PC Backup" is not designed to help if your hard drive dies.
I cobbled together this fix after reading a thread in the Microsoft Technet Forum.
  1. Boot from the install DVD, click "Next", "Repair...", and then "Next".

  2. You should be at a dialogue box titled "System Recovery Options", select "Command Prompt" (ignore "Windows Complete PC Restore").

  3. Use the command "diskpart" to setup your new drive.

    The use of diskpart is well documented in the forum thread mentioned above, or at many other places on the Web. If your target drive is not already formatted then you'll have to use diskpart to do that. The commands you'll need to issue will most likely be different for your setup, but it basically goes something like this: "list disk", "select disk 0", "clean", "create partition primary", "list partition", "select partition 0", "format quick".

    Now I'm not sure if the following was necessary, but I did it anyway, and it's something you may also want to do even if your drive is already formatted. I issued the command "assign letter c" whilst I had the new volume selected. In any case you'll need to know the drive letter of your target volume.

    Once you're finished, type "exit" to leave diskpart.


  4. Now issue the command:

    wbadmin get versions -backupTarget:e:

    ...substituting the drive letter of your backup drive, and copy the latest version string returned.

  5. Now issue the command:

    wbadmin start recovery -version:12/23/2008-16:39 -itemtype:volume -items:c: -backuptarget:e: -recoverytarget:c:

    ...substituting the necessary drive letters and version string. (Thanks to AtomicInternet for the command.) This is where assigning the current drive letter of "c" to the target drive saves some confusion.

  6. Once it's done return to the list of "System Recovery Options" and choose "Startup Repair". This will rebuild the boot-sector of the recovered drive.
Notes:
  • If you are using this to move to a smaller drive, and still have the original volume available, you can dynamically shrink the partition from within Vista before running a backup. (You use "Computer Management" to do this.) This may be necessary even if you think the two drives are the same size (for example, not all 640GB drives are identical in size). If the drive sizes differ by only a byte, the restore will fail.

  • Contrary to the wisdom of others, it does not matter how your drives are interfaced for this method to work. It makes no difference if your drives are hooked up via USB, IDE or SATA. Even if one or both of your drives are moved from one interface to another between backup and restore, it will still work.

  • Contrary to the experience of others elsewhere on the Web, I did not have to re-authenticate my OEM copy of Vista. (In fact I've changed my CPU, RAM, video card, sound card and optical drive, all in addition to my hard drive, and I haven't had to re-authenticate.)
Windows
Media Center and Multiple Monitors
January 4, 2009
When I fired up Vista's WMC (Windows Media Center) for the first time it defaulted to using, to what I consider to be, my secondary monitor. (Windows insists that the monitor is the primary, but is alone in that assessment as Ubuntu and the POST screens use the other monitor.) In order to switch monitors I entered into WMC's setup. Upon reaching the appropriate section, selection of another monitor fails, giving a message like "display not in use". The setup process stops there and doesn't even offer a clue as to how to fix the problem. As it turns out, the fix is quite simple.
To move WMC from one monitor to another, use the mouse to press the "unmaximise/maximise" button (the middle one on the top right) and then drag the WMC window to the other monitor, and then press the same middle button again. Note that the move is remembered the next time WMC starts.
Past Articles
<< newer     older >>
 
 
<< newer     older >>