I upgraded my Mac to OS X Mavericks 10.9 yesterday evening and everything has been going well, except for one thing with SourceTree and Git SVN repositories. When attempting to synchronize SVN repositories with SourceTree via Git, the following error occurs:
Can't locate SVN/Core.pm in @INC (@INC contains:
/System/Library/Perl/Extras/5.12 .) at /usr/libexec/git-core/git-svn line 61.
So something’s wrong with OS X’s Perl installation. I couldn’t figure out what exactly, but configuring SourceTree to use your system’s Git installation (instead of SourceTree’s built-in version) seems to do the trick. Here’s how:
- Open SourceTree Preferences
- Click the “Git” tab
- Click the “Use System Git” button
It’s a little known fact (at least, it was to me) that you can actually use your computer’s keyboard when interacting with the Windows Phone 7 & 8 emulators. This feature is somewhat hidden and differs slightly between the major OS versions:
- Windows Phone 8: Page-Down enables computer keyboard, Page-Up disables it
- Windows Phone 7: Page-Up enables computer keyboard, Page-Down disables it
Funny how this is inconsistent between versions. In any case, it eliminates the need for clumsily clicking keys on the on-screen keyboard.
Massively duplicated files are oftentimes a problem with music and movie collections. Because hunting for dupes by hand is definitely not the way to go, you may want to look to command-line tools like fdupes for help.
fdupes is available via apt-get in Ubuntu, so install it first:
sudo apt-get install fdupes
This is the basic syntax for looking up duplicated files:
fdupes -r [target-directory]
How to delete all duplicates and generate a report at the same time:
fdupes -rdN [target-directory] > textfile.txt
A quick overview of what the options mean:
- -r recursive, traverse subdirectories
- -d delete, delete duplicates
- -N keep the first file, remove other (duplicate) files
Needless to say: use this with caution! Files will be deleted forever.
Find more information on fdupes here (UbuntuGeek).
Had trouble installing JungleDisk (‘junglediskdesktop’) on Ubuntu again. This time it’s version 11.10. Mike Jennings from gmjjavadesigns.com has a complete guide on how to get libnotify.so.1 linked correctly and make the tray icon appear. The latter part in particular was of interest to me:
gsettings set com.canonical.Unity.Panel systray-whitelist “[‘all’]”
Find his post here.
Ejecting your Kindle reading device is different from ‘unmounting’ because it allows you to keep using the reader while it charges over USB. In most distros, you’ll need the command-line to achieve this. Here’s how.
First, find out where your device is mounted:
Then, use the ‘eject’ command
sudo eject /dev/sdb1
Gnome3 on Linux Mint/Ubuntu comes with a pretty bare-bones power manager. Luckily, there’s a better alternative and it’s called dconf-editor. Here’s how to get it and use it for power management purposes:
$ sudo apt-get install dconf-tools
The relevant settings can be found in org/gnome/settings-daemon/plugins/power
JungleDisk is broken for Ubuntu again. It won’t start when selected from Gnome 3’s Activities dashboard, nor will it start when calling it manually from the command line.
junglediskdesktop: error while loading shared libraries: libnotify.so.1: cannot open shared object file: No such file or directory
As suggested by JungleJason (http://askubuntu.com/a/84499), you’ll need to symlink libnotify.so.4 to libnotify.so.1. The latest version of Ubuntu (11.10) apparently only comes with the former variant.
If you’re running a 32-bit Ubuntu:
$ cd /usr/lib/i386-linux-gnu/ ; sudo ln -s ./libnotify.so.4 libnotify.so.1
If you’re running a 64-bit Ubuntu:
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libnotify.so.4 /usr/lib/libnotify.so.1