Apple iTunes DRM-free Songs

They may be free of DRM, but they certainly are not free of information identifying exactly who bought them from iTunes and when! If you buy DRM-free, or “iTunes Plus” songs from the iTunes Store, and then share them with anyone else, you can still easily see exactly who originally bought them and therefore whether any copyright theft has taken place.

Fortunately, with a bit of hackery, it’s very simple to remove all the identifying information from iTunes Plus tracks.

Firstly, you need to download and install the developer tools “
XCode” from Apple. The bits you really need are the command-line compilers. Unfortunately you have to register as a developer with Apple, but that only takes a few moments. Or you might have a friend who is already registered. Beware, XCode is a pretty big download!

Once all that is installed, log out of your Mac and log back in again to be safe, then open up a Terminal (in Applications / Utilities), and run this command:
    sudo cpan install Audio::M4P::QuickTime
You will have to type in your password, after which it will start doing all sorts of magic stuff to install this little bit. Just say “y” to all the prompts. Don’t worry, it won’t do any harm Happy

Then
download anontree.zip, put it on your Desktop and double-click on it to unpack it (if your web browser hasn’t already done so!). You will get a file “anontree.pl”, put that on your Desktop.

Now go to the Terminal window (open a new one if you closed it), and run these two commands:
    cd ~/Music/iTunes
    perl ~/Desktop/anontree.pl 'iTunes Music'
and don’t forget those single quotes (apostrophes) in that second command, or it won’t work.
It should now sit and process all the *.m4a files in your iTunes Music Library, removing all identifying marks from them. They will still work just fine in iTunes, nothing will break. This can take a few minutes to run, but it will keep showing you what it’s doing.

That’s it! That wasn’t so hard now, was it. And now you can even tell your friends you’re a Perl hacker.
Comments

Cannot copy files from Mac to Samba

There is a new bug in MacOS 10.6.3 which presents problems when you copy files and directories from a Mac to any Samba server or NAS box using Samba or providing Windows (or CIFS or SMB) shares.

When you try to copy files and directories onto the Samba/NAS, you will get an error message about you not having permission.

The following workaround appears to work:

1. Copy all the files you want to put on the filestore into a new directory on your Mac, this just makes things easier. For this example we will call this directory "/Users/Jules/Documents/MyNotes".
2. Open the Applications folder in Finder, go into "Utilities" and run "Terminal".
3. Type the following commands exactly (even better: copy and paste them from here!), replacing the directory name with the location you used in step 1. Do not miss the dot at the end of 3 of the lines.
    cd /Users/Jules/Documents/MyNotes
    xattr -d -r com.apple.quarantine .
    xattr -d -r com.apple.FinderInfo .
    xattr -d -r com.apple.metadata:kMDItemWhereFroms .
    exit

You should now be able to copy your directory MyNotes over to the Samba server.
Comments

VMware vSphere Client in Parallels Desktop

This is a quick solution to a problem I suffered, and thought it was a bug in Parallels Desktop for Mac. You run the vSphere Client application, open a Console to a virtual machine, and after that all your Windows keystrokes and mouse clicks go into the Console and not into any other Windows applications at all, not even the taskbar or Start menu.

The key is that the vSphere Client uses the same "Ctrl Alt" key combination to get out of the console, as does Parallels to get out of Windows programs.

When running in Coherence or Crystal mode, you never really need this key combination as it works automatically anyway when you click in any other Mac application.

The solution is to change the Parallels "Release Input" key combination. Get out of Crystal mode, then go to the Parallels / Preferences window. Select the "Keyboard & Mouse" pane of the dialog box, and work through each Profile in turn. In each profile, set the key combination for "Release Input" to "Cmd-Ctrl-Space" (that's what I used).

Then quit and re-run Parallels and you will find the problem has gone away.
Comments

Run iPulse Without a Password Prompt

The latest version of iPulse runs very nicely in Snow Leopard. Great. Except that every time you start it you have to type in your password! What a pain. So this will tell you how to avoid having to type in your password every time you start iPulse, which is probably every time you login.

Open a Terminal (it's in /Applications / Utilities).
Run the command "sudo visudo".
It will prompt you for your password, so type it in. Oh, you need an Administrator account to be able to do any of this, sorry.
Press G (capital G) to go to the bottom of the file, then press o (little Oh, not a zeo) to open up a new line.
Enter the following line, changing "jkf" for the "short name" of your account:

jkf ALL=NOPASSWD: /Applications/iPulse.app/Contents/MacOS/iPulse

Press "esc" to stop editing. If anything went wrong, type ":q!" and press return to quit without saving. If the line looks okay, type ":wq" and press return to save and exit.

Now your Mac knows you can run iPulse as an administrator without a password.

Because iPulse will be running as the root user, it needs to know what Jacket to load when it starts. So back into the Terminal window.
This time type this command, all on 1 line:

cd ; sudo cp Library/Preferences/com.iconfactory.iPulse.plist /var/root/Library/Preferences

Next stop is the AppleScript Editor (it's in /Applications/Utilities). We're going to create a little application that joins everything together.
Create a new script. Paste the following line into it, noting that it should be pasted in all on 1 line, though the editor will word-wrap it to make it look pretty.

do shell script "SUDO_ASKPASS=/usr/bin/true /usr/bin/sudo -b -n /Applications/iPulse.app/Contents/MacOS/iPulse </dev/null &>/dev/null"


Click on the "Compile" button to make it look nice, it shouldn't produce any errors.
Using File / Save As..., save this as an Application in /Applications with a neat name like "Start iPulse".

If you try to run this new application, you should see iPulse start without asking for a password! Yay!

Nearly there.
Now just go into System Preferences / Accounts / Login Items, click the little "+" button at the bottom of the list of appications to start when you login, and add your new "Start iPulse" application.

Now you are all set. Try logging out, then login again and you should find that iPulse starts up without asking for a password.
Comments

Overnight EyeTV Exports

I have taken a script written by someone else and totally re-written it.
It takes your EyeTV recordings archive and produces exported versions of all the recordings in a format of your choice. It either puts these in the packages with the other EyeTV files for that recording, or saves them all out to a new directory of your choice with a filename that is made up of “ - <recorded date>.<extension>”. You get to choose the format, and the extension.<br /><br />You can download the <a href="files/JKFEyeTVExport.scpt" rel="self">JKFEyeTVExport.scpt script here</a> or the <a href="files/JKFEyeTVExport.applescript" rel="self">plain text version</a> of it.<br /><br />You can run it regularly by simply using a cron job, as detailed at the top of the script. Alternatively, you can create a repeating iCal alarm which runs the script, if you are scared of using cron!<p class="blog-entry-tags">Tags: <a href="tag-eyetv.html" title="EyeTV" rel="tag">EyeTV</a>, <a href="tag-elgato.html" title="Elgato" rel="tag">Elgato</a>, <a href="tag-applescript.html" title="AppleScript" rel="tag">AppleScript</a></p><div class="blog-entry-comments"><a class="blog-comment-link" href="scheduled_eyetv_exports.html#disqus_thread">Comments</a></div></div></div><div id="unique-entry-id-28" class="blog-entry"><h1 class="blog-entry-title"><a href="mac_squeezebox_connection_sharing.html" class="blog-permalink">Mac Internet Sharing to Squeezebox or XBox 360</a></h1><div class="blog-entry-date">26/06/08 10:00 </div><div class="blog-entry-body"><span style="color:#000000;">If you try to share a Mac internet connection, and you can’t get your Squeezebox or XBox 360 to get an IP address from it, read on:<br /><br />The important file here is /etc/bootpd.plist. If this file doesn’t exist when Internet Sharing starts, it will create it, and remove it when it stops. But if the file already exists when it starts, the Mac will leave it alone and not overwrite or remove it.<br /><br /></span><ol class="arabic-numbers"><li><span style="color:#000000;">Start Internet Sharing</span></li><li><span style="color:#000000;">Copy the file somewhere safe: “cp /etc/bootpd.plist /tmp/“</span></li><li><span style="color:#000000;">Stop Internet Sharing</span></li><li><span style="color:#000000;">Edit /tmp/bootpd.plist</span></li><li><span style="color:#000000;">Look for the “reply_threshold_seconds” setting at the bottom of the file, it will be set to 4</span></li><li><span style="color:#000000;">Change the 4 to 0</span></li><li><span style="color:#000000;">Copy the file back in place: “sudo cp /tmp/bootpd.plist /etc/“</span></li><li><span style="color:#000000;">Start Internet Sharing</span></li></ol><span style="color:#000000;"><br />Now just check that your value of 0 is still there in /etc/bootpd.plist, it should have survived.<br /><br />Your Squeezebox or XBox 360 will now happily get an IP address from your Mac’s Internet Sharing.</span><span style="color:#000000;"><br /></span><p class="blog-entry-tags">Tags: <a href="tag-mac.html" title="Mac" rel="tag">Mac</a></p><div class="blog-entry-comments"><a class="blog-comment-link" href="mac_squeezebox_connection_sharing.html#disqus_thread">Comments</a></div></div></div><div id="unique-entry-id-22" class="blog-entry"><h1 class="blog-entry-title"><a href="8fc0bc587ae9a43f62575c1f6ebc4114-22.html" class="blog-permalink">X in Solaris 10 on a MacBook</a></h1><div class="blog-entry-date">03/06/08 14:00 </div><div class="blog-entry-body"><span style="color:#000000;font-weight:bold; ">Section "ServerLayout"<br /> Identifier "X.org Configured"<br /> Screen 0 "Screen0" 0 0<br /> InputDevice "Mouse0" "CorePointer"<br /> InputDevice "Keyboard0" "CoreKeyboard"<br />EndSection<br /><br />Section "Files"<br /> RgbPath "/usr/X11/lib/X11/rgb"<br /> ModulePath "/usr/X11/lib/modules"<br /> FontPath "/usr/X11/lib/X11/fonts/TrueType/"<br /> FontPath "/usr/X11/lib/X11/fonts/Type1/"<br /> FontPath "/usr/X11/lib/X11/fonts/Type1/sun/"<br /> FontPath "/usr/X11/lib/X11/fonts/F3bitmaps/"<br /> FontPath "/usr/X11/lib/X11/fonts/misc/"<br /> FontPath "/usr/X11/lib/X11/fonts/100dpi/"<br /> FontPath "/usr/X11/lib/X11/fonts/75dpi/"<br />EndSection<br /><br />Section "Module"<br /> Load "IA"<br /> Load "Xst"<br /> Load "dbe"<br /> Load "extmod"<br /> Load "record"<br /> Load "xtrap"<br /> Load "glx"<br /> Load "bitstream"<br /> Load "type1"<br />EndSection<br /><br />Section "InputDevice"<br /> Identifier "Keyboard0"<br /> Driver "keyboard"<br />EndSection<br /><br />Section "InputDevice"<br /> Identifier "Mouse0"<br /> Driver "mouse"<br /> Option "Protocol" "auto"<br /> Option "Device" "/dev/mouse"<br />EndSection<br /><br />Section "Monitor"<br /> Identifier "Monitor0"<br /> VendorName "Monitor Vendor"<br /> ModelName "Monitor Model"<br /> ModeLine "MacBook13" 172.73 1280 1336 1616 1728 800 802 814 840<br />EndSection<br /><br />Section "Device"<br /> ### Available Driver options are:-<br /> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",<br /> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br /> ### [arg]: arg optional<br /> #Option "ShadowFB" # [<bool>]<br /> #Option "DefaultRefresh" # [<bool>]<br /> Identifier "Card0"<br /> Driver "vesa"<br /> VendorName "Unknown Vendor"<br /> BoardName "Unknown Board"<br /> BusID "PCI:0:2:0"<br />EndSection<br /><br />Section "Screen"<br /> Identifier "Screen0"<br /> Device "Card0"<br /> Monitor "Monitor0"<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1280 800<br /> Depth 1<br /> Modes "1280x800"<br /># Modes "MacBook13"<br /> EndSubSection<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1280 800<br /> Depth 4<br /> Modes "1280x800"<br /># Modes "MacBook13"<br /> EndSubSection<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1280 800<br /> Depth 8<br /> Modes "1280x800"<br /># Modes "MacBook13"<br /> EndSubSection<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1280 800<br /> Depth 15<br /> Modes "1280x800"<br /># Modes "MacBook13"<br /> EndSubSection<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1280 800<br /> Depth 16<br /> Modes "1280x800"<br /># Modes "MacBook13"<br /> EndSubSection<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1280 800<br /> Depth 24<br /> Modes "1280x800"<br /># Modes "MacBook13"<br /> EndSubSection<br />EndSection<br /><br /><br /># Option "dpms"<br />#EndSection<br />#<br />#Section "Device"<br /># Identifier "Videocard0"<br /># Driver "vesa"<br /># VendorName "Videocard vendor"<br /># BoardName "VESA driver (generic)"<br />#EndSection<br />#<br />#Section "Screen"<br /># Identifier "Screen0"<br /># Device "Videocard0"<br /># Monitor "Monitor0"<br /># DefaultDepth 24<br /># SubSection "Display"<br /># Viewport 0 0<br /># Virtual 1280 800<br /># Depth 8<br /># Modes "MacBook13"<br /># EndSubSection<br /># SubSection "Display"<br /># Viewport 0 0<br /># Virtual 1280 800<br /># Depth 16<br /># Modes "MacBook13"<br /># EndSubSection<br /># SubSection "Display"<br /># Viewport 0 0<br /># Virtual 1280 800<br /># Depth 24<br /># Modes "MacBook13"<br /># EndSubSection<br />#EndSection<br />#<br />#Section "DRI"<br /># Group 0<br /># Mode 0666<br />#EndSection<br /><br /></span><p class="blog-entry-tags">Tags: <a href="tag-mac.html" title="Mac" rel="tag">Mac</a>, <a href="tag-linux.html" title="Linux" rel="tag">Linux</a>, <a href="tag-solaris.html" title="Solaris" rel="tag">Solaris</a></p><div class="blog-entry-comments"><a class="blog-comment-link" href="8fc0bc587ae9a43f62575c1f6ebc4114-22.html#disqus_thread">Comments</a></div></div></div><div id="unique-entry-id-21" class="blog-entry"><h1 class="blog-entry-title"><a href="248cadde2b88af75b1b73786b0f7bc94-21.html" class="blog-permalink">X in CentOS/RHEL 5 on a MacBook</a></h1><div class="blog-entry-date">03/06/08 13:59 </div><div class="blog-entry-body"><span style="color:#000000;font-weight:bold; "># Xorg configuration created by pyxf86config<br /><br />Section "ServerLayout"<br /> Identifier "Default Layout"<br /> Screen 0 "Screen0" 0 0<br /> InputDevice "Keyboard0" "CoreKeyboard"<br />EndSection<br /><br />Section "InputDevice"<br /> Identifier "Keyboard0"<br /> Driver "kbd"<br /> Option "XkbModel" "pc105"<br /> Option "XkbLayout" "us"<br />EndSection<br /><br />Section "Device"<br /> Identifier "Videocard0"<br /> Driver "vesa"<br />EndSection<br /><br />Section "Monitor"<br /> Identifier "Monitor0"<br /> VendorName "MonitorVendor"<br /> ModelName "MonitorModel"<br /> Horizsync 28-50<br />EndSection<br /><br />Section "Screen"<br /> Identifier "Screen0"<br /> Device "Videocard0"<br /> Monitor "Monitor0"<br /> DefaultDepth 24<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1280 800<br /> Modes "1280x800"<br /> Depth 24<br /> EndSubSection<br />EndSection<br /><br /></span><p class="blog-entry-tags">Tags: <a href="tag-centos.html" title="CentOS" rel="tag">CentOS</a>, <a href="tag-rhel.html" title="RHEL" rel="tag">RHEL</a>, <a href="tag-mac.html" title="Mac" rel="tag">Mac</a>, <a href="tag-xorg.conf.html" title="xorg.conf" rel="tag">xorg.conf</a>, <a href="tag-linux.html" title="Linux" rel="tag">Linux</a></p><div class="blog-entry-comments"><a class="blog-comment-link" href="248cadde2b88af75b1b73786b0f7bc94-21.html#disqus_thread">Comments</a></div></div></div><div id="unique-entry-id-20" class="blog-entry"><h1 class="blog-entry-title"><a href="fd7592f81a8c142715684fe6d8905f96-20.html" class="blog-permalink">X in CentOS/RHEL 4 on a MacBook Pro</a></h1><div class="blog-entry-date">03/06/08 13:58 </div><div class="blog-entry-body"><span style="color:#000000;font-weight:bold; "># Xorg configuration created by system-config-display<br /><br />Section "ServerLayout"<br /> Identifier "single head configuration"<br /> Screen 0 "Screen0" 0 0<br /> InputDevice "Mouse0" "CorePointer"<br /> InputDevice "Keyboard0" "CoreKeyboard"<br />EndSection<br /><br />Section "Files"<br /><br /># RgbPath is the location of the RGB database. Note, this is the name of the <br /># file minus the extension (like ".txt" or ".db"). There is normally<br /># no need to change the default.<br /># Multiple FontPath entries are allowed (they are concatenated together)<br /># By default, Red Hat 6.0 and later now use a font server independent of<br /># the X server to render fonts.<br /> RgbPath "/usr/X11R6/lib/X11/rgb"<br /> FontPath "unix/:7100"<br />EndSection<br /><br />Section "Module"<br /> Load "dbe"<br /> Load "extmod"<br /> Load "fbdevhw"<br /> Load "glx"<br /> Load "record"<br /> Load "freetype"<br /> Load "type1"<br /> Load "dri"<br />EndSection<br /><br />Section "InputDevice"<br /><br /># Specify which keyboard LEDs can be user-controlled (eg, with xset(1))<br /># Option "Xleds" "1 2 3"<br /># To disable the XKEYBOARD extension, uncomment XkbDisable.<br /># Option "XkbDisable"<br /># To customise the XKB settings to suit your keyboard, modify the<br /># lines below (which are the defaults). For example, for a non-U.S.<br /># keyboard, you will probably want to use:<br /># Option "XkbModel" "pc102"<br /># If you have a US Microsoft Natural keyboard, you can use:<br /># Option "XkbModel" "microsoft"<br />#<br /># Then to change the language, change the Layout setting.<br /># For example, a german layout can be obtained with:<br /># Option "XkbLayout" "de"<br /># or:<br /># Option "XkbLayout" "de"<br /># Option "XkbVariant" "nodeadkeys"<br />#<br /># If you'd like to switch the positions of your capslock and<br /># control keys, use:<br /># Option "XkbOptions" "ctrl:swapcaps"<br /># Or if you just want both to be control, use:<br /># Option "XkbOptions" "ctrl:nocaps"<br />#<br /> Identifier "Keyboard0"<br /> Driver "kbd"<br /> Option "XkbModel" "pc105"<br /> Option "XkbLayout" "us"<br />EndSection<br /><br />Section "InputDevice"<br /> Identifier "Mouse0"<br /> Driver "mouse"<br /> Option "Protocol" "IMPS/2"<br /> Option "Device" "/dev/input/mice"<br /> Option "ZAxisMapping" "4 5"<br /> Option "Emulate3Buttons" "yes"<br />EndSection<br /><br />Section "Monitor"<br /><br /># HorizSync 21.5 - 150.0<br /># VertRefresh 30.0 - 150.0<br /> Identifier "Monitor0"<br /> VendorName "Monitor Vendor"<br /> ModelName "LCD Panel 1680x1050"<br /> ModeLine "MacBookPro17" 136.3 1680 1720 1856 2096 1050 1053 1056 1084<br /> Option "dpms"<br />EndSection<br /><br />Section "Device"<br /> Identifier "Videocard0"<br /> Driver "vesa"<br /> VendorName "Videocard vendor"<br /> BoardName "VESA driver (generic)"<br />EndSection<br /><br />Section "Screen"<br /> Identifier "Screen0"<br /> Device "Videocard0"<br /> Monitor "Monitor0"<br /> DefaultDepth 24<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1680 1050<br /> Depth 8<br /> Modes "MacBookPro17"<br /> EndSubSection<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1680 1050<br /> Depth 16<br /> Modes "MacBookPro17"<br /> EndSubSection<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1680 1050<br /> Depth 24<br /> Modes "MacBookPro17"<br /> EndSubSection<br />EndSection<br /><br />Section "DRI"<br /> Group 0<br /> Mode 0666<br />EndSection<br /><br /></span><p class="blog-entry-tags">Tags: <a href="tag-centos.html" title="CentOS" rel="tag">CentOS</a>, <a href="tag-rhel.html" title="RHEL" rel="tag">RHEL</a>, <a href="tag-linux.html" title="Linux" rel="tag">Linux</a>, <a href="tag-mac.html" title="Mac" rel="tag">Mac</a>, <a href="tag-xorg.conf.html" title="xorg.conf" rel="tag">xorg.conf</a></p><div class="blog-entry-comments"><a class="blog-comment-link" href="fd7592f81a8c142715684fe6d8905f96-20.html#disqus_thread">Comments</a></div></div></div><div id="unique-entry-id-19" class="blog-entry"><h1 class="blog-entry-title"><a href="x_ubuntu_macbook_pro.html" class="blog-permalink">X in Ubuntu on a MacBook Pro</a></h1><div class="blog-entry-date">03/06/08 13:56 </div><div class="blog-entry-body"><span style="color:#000000;font-weight:bold; "># /etc/X11/xorg.conf (xorg X Window System server configuration file)<br />#<br /># This file was generated by dexconf, the Debian X Configuration tool, using<br /># values from the debconf database.<br />#<br /># Edit this file with caution, and see the /etc/X11/xorg.conf manual page.<br /># (Type "man /etc/X11/xorg.conf" at the shell prompt.)<br />#<br /># This file is automatically updated on xserver-xorg package upgrades *only*<br /># if it has not been modified since the last upgrade of the xserver-xorg<br /># package.<br />#<br /># If you have edited this file but would like it to be automatically updated<br /># again, run the following command:<br /># sudo dpkg-reconfigure -phigh xserver-xorg<br /><br />Section "Files"<br /> FontPath "/usr/share/X11/fonts/misc"<br /> FontPath "/usr/share/X11/fonts/cyrillic"<br /> FontPath "/usr/share/X11/fonts/100dpi/:unscaled"<br /> FontPath "/usr/share/X11/fonts/75dpi/:unscaled"<br /> FontPath "/usr/share/X11/fonts/Type1"<br /> FontPath "/usr/share/X11/fonts/100dpi"<br /> FontPath "/usr/share/X11/fonts/75dpi"<br /> FontPath "/usr/share/fonts/X11/misc"<br /> # path to defoma fonts<br /> FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"<br />EndSection<br /><br />Section "Module"<br /> Load "i2c"<br /> Load "bitmap"<br /> Load "ddc"<br /> Load "dri"<br /> Load "extmod"<br /> Load "freetype"<br /> Load "glx"<br /> Load "int10"<br /> Load "type1"<br /> Load "vbe"<br />EndSection<br /><br />Section "InputDevice"<br /> Identifier "Generic Keyboard"<br /> Driver "kbd"<br /> Option "CoreKeyboard"<br /> Option "XkbRules" "xorg"<br /> Option "XkbModel" "pc105"<br /> Option "XkbLayout" "us"<br /> Option "XkbOptions" "lv3:ralt_switch"<br />EndSection<br /><br />Section "InputDevice"<br /> Identifier "Configured Mouse"<br /> Driver "mouse"<br /> Option "CorePointer"<br /> Option "Device" "/dev/input/mice"<br /> Option "Protocol" "ExplorerPS/2"<br /> Option "ZAxisMapping" "4 5"<br /> Option "Emulate3Buttons" "true"<br />EndSection<br /><br />Section "InputDevice"<br /> Driver "wacom"<br /> Identifier "stylus"<br /> Option "Device" "/dev/wacom" # Change to <br /> # /dev/input/event<br /> # for USB<br /> Option "Type" "stylus"<br /> Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br />EndSection<br /><br />Section "InputDevice"<br /> Driver "wacom"<br /> Identifier "eraser"<br /> Option "Device" "/dev/wacom" # Change to <br /> # /dev/input/event<br /> # for USB<br /> Option "Type" "eraser"<br /> Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br />EndSection<br /><br />Section "InputDevice"<br /> Driver "wacom"<br /> Identifier "cursor"<br /> Option "Device" "/dev/wacom" # Change to <br /> # /dev/input/event<br /> # for USB<br /> Option "Type" "cursor"<br /> Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br />EndSection<br /><br />Section "Device"<br /> Identifier "Videocard0"<br /> Driver "vesa"<br /> VendorName "Videocard Vendor"<br /> BoardName "VESA driver (generic)"<br /> BusID "PCI:0:2:0"<br />EndSection<br /><br />Section "Monitor"<br /> Identifier "Monitor0"<br /> Option "DPMS"<br /> ModelName "LCD Panel 1680x1050"<br /> Modeline "MacBookPro17" 136.3 1680 1720 1856 2096 1050 1053 1056 1084<br />EndSection<br /><br />Section "Screen"<br /> Identifier "Default Screen"<br /> Device "Videocard0"<br /> Monitor "Monitor0"<br /> DefaultDepth 24<br /> SubSection "Display"<br /> Depth 1<br /> Modes "1024x768" "800x600" "640x480"<br /> EndSubSection<br /> SubSection "Display"<br /> Depth 4<br /> Modes "1024x768" "800x600" "640x480"<br /> EndSubSection<br /> SubSection "Display"<br /> Depth 8<br /> Modes "1024x768" "800x600" "640x480"<br /> EndSubSection<br /> SubSection "Display"<br /> Depth 15<br /> Modes "1024x768" "800x600" "640x480"<br /> EndSubSection<br /> SubSection "Display"<br /> Depth 16<br /> Modes "1024x768" "800x600" "640x480"<br /> EndSubSection<br /> SubSection "Display"<br /> Viewport 0 0<br /> Virtual 1680 1050<br /> Depth 24<br /> Modes "MacBookPro17"<br /> EndSubSection<br />EndSection<br /><br />Section "ServerLayout"<br /> Identifier "Default Layout"<br /> Screen "Default Screen"<br /> InputDevice "Generic Keyboard"<br /> InputDevice "Configured Mouse"<br /> InputDevice "stylus" "SendCoreEvents"<br /> InputDevice "cursor" "SendCoreEvents"<br /> InputDevice "eraser" "SendCoreEvents"<br />EndSection<br /><br />Section "DRI"<br /> Mode 0666<br />EndSection<br /></span><p class="blog-entry-tags">Tags: <a href="tag-ubuntu.html" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="tag-xorg.conf.html" title="xorg.conf" rel="tag">xorg.conf</a>, <a href="tag-macbook-pro.html" title="MacBook Pro" rel="tag">MacBook Pro</a>, <a href="tag-linux.html" title="Linux" rel="tag">Linux</a></p><div class="blog-entry-comments"><a class="blog-comment-link" href="x_ubuntu_macbook_pro.html#disqus_thread">Comments</a></div></div></div><div id="unique-entry-id-10" class="blog-entry"><h1 class="blog-entry-title"><a href="entourage_2008_exchange.html" class="blog-permalink">Entourage 2008 and Exchange Server 2007</a></h1><div class="blog-entry-date">29/02/08 12:16 </div><div class="blog-entry-body"><span style="color:#000000;">Out of the box, even with an Exchange 2007 server installation including support for Exchange 2003 and earlier (ie. a “legacy” install), Entourage 2008 simply does not connect to the Exchange 2007 Server. That’s pretty poor in my view, they are both the latest versions of Microsoft’s own products, and it just does not work. Pretty crap <img class="blog-image-smiley" src="../../rw_common/plugins/blog/smiley_sad.png" width="21" height="21" alt="Sad" border="0" /><br /><br />Hopefully this note will help you get them working together properly.<br /><br />Start up an Exchange 2007 Management Shell from the Exchange 2007 Programs menu, and the IIS manager from “Administrative Tools”.<br /><br />Delete the Exchange subweb from IIS on the Exchange 2007 server.<br />This only deletes it from IIS, it doesn’t take it out of the Exchange 2007 Active Directory data.<br />So when you try to create it with New-OwaVirtualDirectory, it will give an error saying it already exists.<br /><br />So do this:<br />remove-owavirtualdirectory -Identity "exchange3\Exchange (default web site)"<br />remove-owavirtualdirectory -Identity "exchange3\Public (default web site)"<br />exactly as given, except for the “exchange3” which should be replaced with the name of your Exchange 2007 server. This is assuming your Exchange 2007 server is called “exchange3”, so edit it appropriately.<br /><br />Then<br />New-OwaVirtualDirectory -name Exchange -OWAVersion Exchange2003or2000 -VirtualDirectoryType mailboxes<br />New-OwaVirtualDirectory -name Exchange -OWAVersion Exchange2003or2000 -VirtualDirectoryType PublicFolders<br />Also read<br /></span><span style="color:#000000;"><a href="http://support.microsoft.com/kb/931350">http://support.microsoft.com/kb/931350</a></span><span style="color:#000000;"><br /><br /><br />In the Account properties “Edit Account” dialog box, set this<br />Account ID: exchange3.ecs.soton.ac.uk/exchange/</span><span style="color:#000000;"><a href="mailto:your-username@ecs.soton.ac.uk">your-username@ecs.soton.ac.uk</a></span><span style="color:#000000;"><br />Domain:<br />Password:<br />Leave the Domain blank and the Password blank.<br />Ok this dialog, then quit and restart Entourage 2008.<br /><br />If that Account ID setting doesn’t work, try this instead:<br />Account ID: ECS2000\jkf-private<br />where “ECS2000” is your Active Directory domain name, and “jkf-private” is your username. Again, leave the “Domain” and “Password” blank, it will prompt you for the password. Never type in anything into the “Domain” box, always leave that blank.<br /><br />I still cannot get Public Folders working from Entourage 2008. Sorry.<br /><br />Let me know if this helps or not.</span><p class="blog-entry-tags">Tags: <a href="tag-entourage.html" title="Entourage" rel="tag">Entourage</a>, <a href="tag-2008.html" title="2008" rel="tag">2008</a>, <a href="tag-exchange.html" title="Exchange" rel="tag">Exchange</a>, <a href="tag-2007.html" title="2007" rel="tag">2007</a></p><div class="blog-entry-comments"><a class="blog-comment-link" href="entourage_2008_exchange.html#disqus_thread">Comments</a></div></div></div><div id="unique-entry-id-8" class="blog-entry"><h1 class="blog-entry-title"><a href="mac_serial_port.html" class="blog-permalink">USB Serial Port Adapter for Mac</a></h1><div class="blog-entry-date">22/01/08 12:14 </div><div class="blog-entry-body"><span style="color:#000000;">I have bought a couple of USB serial port adapters which work as serial ports on Mac OSX. They are from SerialIO.com.<br /><br />Drivers can be downloaded from </span><span style="color:#000000;"><a href="http://serialio.com/products/adaptors/usb_serial.php">http://serialio.com/products/adaptors/usb_serial.php</a></span><span style="color:#000000;"> and installation instructions and so on are at </span><span style="color:#000000;"><a href="http://serialio.com/support/OSX/USB-Serial-plug.php">http://serialio.com/support/OSX/USB-Serial-plug.php</a></span><span style="color:#000000;">.<br /><br />You have to stop them being used as network adapters so that the serial devices are available as ports for minicom and the like.<br /><br />You can build minicom from the MacOS Ports system with “port install minicom”. You have to bodge one little bit that doesn’t compile, by turning a compile of static variables into normal globals, but otherwise it builds okay. Hopefully someone will fix the compilation problem by the time this is needed.<br /></span><p class="blog-entry-tags">Tags: <a href="tag-usb.html" title="USB" rel="tag">USB</a>, <a href="tag-mac.html" title="Mac" rel="tag">Mac</a>, <a href="tag-serial-port.html" title="Serial Port" rel="tag">Serial Port</a></p><div class="blog-entry-comments"><a class="blog-comment-link" href="mac_serial_port.html#disqus_thread">Comments</a></div></div></div> </div> <script type="text/javascript"> //<![CDATA[ (function() { var links = document.getElementsByTagName('a'); var query = '?'; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf('#disqus_thread') >= 0) { query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&'; } } document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/JulesFM/get_num_replies.js' + query + '"></' + 'script>'); })(); //]]> </script> </div><!-- End content --> </div><!-- End main content wrapper --> <div id="sidebarContainer"><!-- Start Sidebar wrapper --> <div id="navcontainer2"> <ul class="nav"><li><a href="../../" rel="self" title="Welcome to my world...">Welcome...</a></li><li><a href="http://www.jules.fm/gallery" rel="self" title="My Photo Albums">Photos</a></li><li><a href="../../MyMusic/MyMusic.html" rel="self" title="Play my music from within ECS">Music</a></li><li><a href="http://www.mailscanner.info/" rel="self" title="What occupies all my time">MailScanner</a></li><li><a href="../Logbook.html" rel="self" id="current" title="What I get up to at work">Logbook</a></li></ul> </div> <div class="sideHeader"></div><!-- Sidebar header --> <div id="sidebar"><!-- Start sidebar content --> <!--COPY FROM HERE (For use with video tutorial) --><!--STOP COPYING HERE (For use with video tutorial) --> <div id="blog-categories"><a href="category-advert.html" class="blog-category-link-enabled">Advert (1)</a><br /><a href="category-applescript.html" class="blog-category-link-enabled">AppleScript (1)</a><br /><a href="category-email.html" class="blog-category-link-enabled">Email (7)</a><br /><a href="category-exchange-server-2007.html" class="blog-category-link-enabled">Exchange Server 2007 (9)</a><br /><a href="category-hyper-v.html" class="blog-category-link-enabled">Hyper-V (10)</a><br /><a href="category-ipaq.html" class="blog-category-link-enabled">iPAQ (1)</a><br /><a href="category-iphone.html" class="blog-category-link-enabled">iPhone (2)</a><br /><a href="category-linux.html" class="blog-category-link-enabled">Linux (13)</a><br /><a href="category-mac.html" class="blog-category-link-enabled">Mac (12)</a><br /><a href="category-mail.html" class="blog-category-link-enabled">Mail (2)</a><br /><a href="category-mailscanner.html" class="blog-category-link-enabled">MailScanner (1)</a><br /><a href="category-mx.html" class="blog-category-link-enabled">MX (1)</a><br /><a href="category-networks.html" class="blog-category-link-enabled">Networks (1)</a><br /><a href="category-samba.html" class="blog-category-link-enabled">Samba (1)</a><br /><a href="category-sick.html" class="blog-category-link-enabled">Sick (1)</a><br /><a href="category-solaris.html" class="blog-category-link-enabled">Solaris (1)</a><br /><a href="category-spam.html" class="blog-category-link-enabled">Spam (2)</a><br /><a href="category-tomtom.html" class="blog-category-link-enabled">Tomtom (1)</a><br /><a href="category-tv.html" class="blog-category-link-enabled">TV (1)</a><br /><a href="category-vmware.html" class="blog-category-link-enabled">VMware (11)</a><br /><a href="category-vsphere.html" class="blog-category-link-enabled">vSphere (8)</a><br /><a href="category-windows.html" class="blog-category-link-enabled">Windows (1)</a><br /><a href="category-windows-7.html" class="blog-category-link-enabled">Windows 7 (4)</a><br /><a href="category-windows-pe.html" class="blog-category-link-enabled">Windows PE (1)</a><br /><a href="category-windows-server-2008.html" class="blog-category-link-enabled">Windows Server 2008 (3)</a><br /><a href="category-windows-vista.html" class="blog-category-link-enabled">Windows Vista (1)</a><br /><div class="blog-category-link-disabled">X</div><a href="category-x-windows.html" class="blog-category-link-enabled">X Windows (5)</a><br /></div><div id="blog-archives"><a class="blog-archive-link-enabled" href="archive-2010.html">2010</a><br /><a class="blog-archive-link-enabled" href="archive-2009.html">2009</a><br /><a class="blog-archive-link-enabled" href="archive-2008.html">2008</a><br /><a class="blog-archive-link-enabled" href="archive-2007.html">2007</a><br /></div><ul class="blog-tag-cloud"><li><a href="tag-2007.html" title="2007" class="blog-tag-size-9" rel="tag">2007</a></li> <li><a href="tag-2008.html" title="2008" class="blog-tag-size-10" rel="tag">2008</a></li> <li><a href="tag-activation.html" title="Activation" class="blog-tag-size-7" rel="tag">Activation</a></li> <li><a href="tag-applescript.html" title="AppleScript" class="blog-tag-size-7" rel="tag">AppleScript</a></li> <li><a href="tag-autodiscovery.html" title="Autodiscovery" class="blog-tag-size-6" rel="tag">Autodiscovery</a></li> <li><a href="tag-availability.html" title="Availability" class="blog-tag-size-6" rel="tag">Availability</a></li> <li><a href="tag-backup.html" title="Backup" class="blog-tag-size-8" rel="tag">Backup</a></li> <li><a href="tag-beta.html" title="Beta" class="blog-tag-size-8" rel="tag">Beta</a></li> <li><a href="tag-build.html" title="Build" class="blog-tag-size-6" rel="tag">Build</a></li> <li><a href="tag-butyoudontlooksick.com.html" title="ButYouDontLookSick.com" class="blog-tag-size-6" rel="tag">ButYouDontLookSick.com</a></li> <li><a href="tag-centos.html" title="CentOS" class="blog-tag-size-9" rel="tag">CentOS</a></li> <li><a href="tag-dell.html" title="Dell" class="blog-tag-size-6" rel="tag">Dell</a></li> <li><a href="tag-drm.html" title="DRM" class="blog-tag-size-6" rel="tag">DRM</a></li> <li><a href="tag-easy-way.html" title="Easy Way" class="blog-tag-size-6" rel="tag">Easy Way</a></li> <li><a href="tag-elgato.html" title="Elgato" class="blog-tag-size-5" rel="tag">Elgato</a></li> <li><a href="tag-email.html" title="Email" class="blog-tag-size-9" rel="tag">Email</a></li> <li><a href="tag-entourage.html" title="Entourage" class="blog-tag-size-5" rel="tag">Entourage</a></li> <li><a href="tag-error.html" title="Error" class="blog-tag-size-8" rel="tag">Error</a></li> <li><a href="tag-exchange.html" title="Exchange" class="blog-tag-size-10" rel="tag">Exchange</a></li> <li><a href="tag-ext3.html" title="Ext3" class="blog-tag-size-5" rel="tag">Ext3</a></li> <li><a href="tag-eyetv.html" title="EyeTV" class="blog-tag-size-5" rel="tag">EyeTV</a></li> <li><a href="tag-hyper-v.html" title="Hyper-V" class="blog-tag-size-10" rel="tag">Hyper-V</a></li> <li><a href="tag-integration.html" title="Integration" class="blog-tag-size-8" rel="tag">Integration</a></li> <li><a href="tag-ipaq.html" title="iPAQ" class="blog-tag-size-5" rel="tag">iPAQ</a></li> <li><a href="tag-iphone.html" title="iPhone" class="blog-tag-size-8" rel="tag">iPhone</a></li> <li><a href="tag-ipulse.html" title="iPulse" class="blog-tag-size-5" rel="tag">iPulse</a></li> <li><a href="tag-itunes.html" title="iTunes" class="blog-tag-size-5" rel="tag">iTunes</a></li> <li><a href="tag-itunes-plus.html" title="iTunes Plus" class="blog-tag-size-4" rel="tag">iTunes Plus</a></li> <li><a href="tag-linux.html" title="Linux" class="blog-tag-size-10" rel="tag">Linux</a></li> <li><a href="tag-lupus.html" title="Lupus" class="blog-tag-size-4" rel="tag">Lupus</a></li> <li><a href="tag-m4r.html" title="m4r" class="blog-tag-size-4" rel="tag">m4r</a></li> <li><a href="tag-mac.html" title="Mac" class="blog-tag-size-10" rel="tag">Mac</a></li> <li><a href="tag-macbook-pro.html" title="MacBook Pro" class="blog-tag-size-4" rel="tag">MacBook Pro</a></li> <li><a href="tag-mail.html" title="Mail" class="blog-tag-size-4" rel="tag">Mail</a></li> <li><a href="tag-mailman.html" title="Mailman" class="blog-tag-size-8" rel="tag">Mailman</a></li> <li><a href="tag-mailscanner.html" title="MailScanner" class="blog-tag-size-9" rel="tag">MailScanner</a></li> <li><a href="tag-majordomo.html" title="Majordomo" class="blog-tag-size-4" rel="tag">Majordomo</a></li> <li><a href="tag-mapi.html" title="MAPI" class="blog-tag-size-4" rel="tag">MAPI</a></li> <li><a href="tag-microsoft.html" title="Microsoft" class="blog-tag-size-4" rel="tag">Microsoft</a></li> <li><a href="tag-modeline.html" title="Modeline" class="blog-tag-size-3" rel="tag">Modeline</a></li> <li><a href="tag-mouse.html" title="Mouse" class="blog-tag-size-3" rel="tag">Mouse</a></li> <li><a href="tag-mx.html" title="MX" class="blog-tag-size-3" rel="tag">MX</a></li> <li><a href="tag-obfuscation.html" title="Obfuscation" class="blog-tag-size-3" rel="tag">Obfuscation</a></li> <li><a href="tag-ole.html" title="OLE" class="blog-tag-size-3" rel="tag">OLE</a></li> <li><a href="tag-phishing.html" title="Phishing" class="blog-tag-size-9" rel="tag">Phishing</a></li> <li><a href="tag-rc.html" title="RC" class="blog-tag-size-3" rel="tag">RC</a></li> <li><a href="tag-recipients.html" title="Recipients" class="blog-tag-size-3" rel="tag">Recipients</a></li> <li><a href="tag-rhel.html" title="RHEL" class="blog-tag-size-8" rel="tag">RHEL</a></li> <li><a href="tag-ringtone.html" title="Ringtone" class="blog-tag-size-2" rel="tag">Ringtone</a></li> <li><a href="tag-robinsons.html" title="Robinsons" class="blog-tag-size-2" rel="tag">Robinsons</a></li> <li><a href="tag-samba.html" title="Samba" class="blog-tag-size-2" rel="tag">Samba</a></li> <li><a href="tag-serial-port.html" title="Serial Port" class="blog-tag-size-2" rel="tag">Serial Port</a></li> <li><a href="tag-service-pack.html" title="Service Pack" class="blog-tag-size-7" rel="tag">Service Pack</a></li> <li><a href="tag-sick.html" title="Sick" class="blog-tag-size-2" rel="tag">Sick</a></li> <li><a href="tag-solaris.html" title="Solaris" class="blog-tag-size-7" rel="tag">Solaris</a></li> <li><a href="tag-spam.html" title="Spam" class="blog-tag-size-7" rel="tag">Spam</a></li> <li><a href="tag-spamassassin.html" title="SpamAssassin" class="blog-tag-size-7" rel="tag">SpamAssassin</a></li> <li><a href="tag-spear.html" title="Spear" class="blog-tag-size-9" rel="tag">Spear</a></li> <li><a href="tag-spoons.html" title="Spoons" class="blog-tag-size-2" rel="tag">Spoons</a></li> <li><a href="tag-tomtom.html" title="TomTom" class="blog-tag-size-2" rel="tag">TomTom</a></li> <li><a href="tag-ubuntu.html" title="Ubuntu" class="blog-tag-size-1" rel="tag">Ubuntu</a></li> <li><a href="tag-unavailable.html" title="Unavailable" class="blog-tag-size-7" rel="tag">Unavailable</a></li> <li><a href="tag-upgrade.html" title="Upgrade" class="blog-tag-size-1" rel="tag">Upgrade</a></li> <li><a href="tag-usb.html" title="USB" class="blog-tag-size-1" rel="tag">USB</a></li> <li><a href="tag-vista.html" title="Vista" class="blog-tag-size-1" rel="tag">Vista</a></li> <li><a href="tag-vmware.html" title="VMware" class="blog-tag-size-10" rel="tag">VMware</a></li> <li><a href="tag-vsphere.html" title="vSphere" class="blog-tag-size-10" rel="tag">vSphere</a></li> <li><a href="tag-watermarks.html" title="Watermarks" class="blog-tag-size-1" rel="tag">Watermarks</a></li> <li><a href="tag-website.html" title="Website" class="blog-tag-size-1" rel="tag">Website</a></li> <li><a href="tag-windows.html" title="Windows" class="blog-tag-size-10" rel="tag">Windows</a></li> <li><a href="tag-windows-7.html" title="Windows 7" class="blog-tag-size-7" rel="tag">Windows 7</a></li> <li><a href="tag-winpe.html" title="WinPE" class="blog-tag-size-1" rel="tag">WinPE</a></li> <li><a href="tag-xorg.conf.html" title="xorg.conf" class="blog-tag-size-9" rel="tag">xorg.conf</a></li> </ul> <div id="blog-rss-feeds"><a class="blog-rss-link" href="logbook.xml" rel="alternate" type="application/rss+xml" title="Jules' Logbook">RSS Feed</a><br /></div> <!-- sidebar content such as the blog archive links --> </div><!-- End sidebar content --> </div><!-- End sidebar wrapper --> <div class="clearer"></div> <div id="footer"><!-- Start Footer --> <div id="breadcrumbcontainer"><!-- Start the breadcrumb wrapper --> <ul><li><a href="../../" title="Welcome to my world...">Welcome...</a> | </li><li><a href="../Logbook.html" title="What I get up to at work">Logbook</a> | </li></ul> </div><!-- End breadcrumb --> <p>© 2009 Julian Field <a href="#" id="rw_email_contact">Mail Me</a><script type="text/javascript">var _rwObsfuscatedHref0 = "mai";var _rwObsfuscatedHref1 = "lto";var _rwObsfuscatedHref2 = ":Ju";var _rwObsfuscatedHref3 = "les";var _rwObsfuscatedHref4 = "@Ju";var _rwObsfuscatedHref5 = "les";var _rwObsfuscatedHref6 = ".FM";var _rwObsfuscatedHref = _rwObsfuscatedHref0+_rwObsfuscatedHref1+_rwObsfuscatedHref2+_rwObsfuscatedHref3+_rwObsfuscatedHref4+_rwObsfuscatedHref5+_rwObsfuscatedHref6; document.getElementById('rw_email_contact').href = _rwObsfuscatedHref;</script></p> </div><!-- End Footer --> </div><!-- End container --> <!-- Start Google Analytics --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-8442741-1"); pageTracker._trackPageview(); } catch(err) {}</script><!-- End Google Analytics --> </body> </html>