Posted on Jan 22, 2012

Disable Translation Packages in Ubuntu

To disable downloading translations, create a file named /etc/apt/apt.conf.d/99translations & put the following in it:

Shell
1
Acquire::Languages "none";

You may also need to remove existing translation files in /var/lib/apt/lists/
I personally just empty the lists folder and do an apt-get update

Category: Linux Tags:

Posted on Jan 18, 2012

Mac OS X Lion – Remove “All My Files” from Finder

Finder on Mac OS X Lion by default is always showing “All My Files” on every new window. Well to be honest not even once I found it useful, never used it since the first install.

Even if you are a geeky Terminal fan, there are always times that you start up Finder, and you need to get faster to your important files. Most of the times I am looking for something in the Documents folder/subfolders, so here is how I have set it as the default Finder directory:

Go to Finder, main menu -> Finder -> Preferences… -> General -> and select your favorite folder in “New Finder windows show” option as shown in the screenshot below.

Set Default Finder Open

You can also remove “All My Files” from the Finder’s sidebar as well, just right-click and remove it, or uncheck it from Preferences -> Sidebar.

Category: Apple OSX Tags: , ,

Posted on Nov 24, 2011

Pop-Up Notifications To iTunes

Mac: Usually, if you want to find out what’s playing in iTunes, you either need to right-click the icon or open it. Macworld found a method that only requires a little work in Terminal to enable a small pop-up on your dock showing the currently-playing track.The process is simple, but only works in OS X Lion. First, boot up Terminal in your Utilities folder on a Mac, then, type:

Shell
1
defaults write com.apple.dock itunes-notifications -bool TRUE;killall Dock

Now, when you’re playing a track a small pop-up will show in your dock for a few seconds with information on the currently-playing track. If you decide you don’t like it, disabling it is simple. Back in Terminal, type:

Shell
1
defaults delete com.apple.dock itunes-notifications

For ways to customise the pop-up, hit up the post linked below.

Category: Apple OSX Tags:

Posted on Nov 24, 2011

Enable VNC/Management on OSX by SSH

I had the VNC based remote access feature of OS X enabled on 10.7 but somehow it got switched off.  I fiddled around a bit and figured out how to enable remote access from a remote SSH shell.  Note that these instructions will lead to manual configuration and you will not be able to enable/disabled the services from the System Preferences anymore.  In my case I used this to get in when I needed to but latter switched it back off and used the System Preferences setting.To manual switch on remote access from the terminal:
Shell
1
ssh username@mac_ip_address cd /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources sudo ./kickstart -activate -configure -access -on -privs -all -restart -agent
To switch this override back off and thus allow the System Preferences to manage screen sharing again run the following. (This will disconnect any active sessions and require physical access to re-enable it.)
Shell
1
sudo ./kickstart -activate -restart -agent

Category: Apple OSX Tags: , ,

Posted on Sep 2, 2011

Change DeployStudio Wallpaper

I have been doing quite a bit of Mac OS X Image work lately and have found DeployStudio to be THE best FREE and easy to customise solution for doing this.

One thing i wanted to do was change the default wallpaper for the DeployStudioRuntime.nbi that is created and used as a windows Pre Environment equivalent.

I achieved this by going into the DeployStudioRuntime.nbi folder located on the server at:

Shell
1
/Library/NetBoot/NetBootSP0

I then mounted the ‘DeployStudioRuntime.sparseimage’ file and then navigated to the bellow folder inside the image and replaced the file ‘DefaultDesktop.jpg’ with my custom wallapper.

Shell
1
/System/Library/CoreServices

I made sure the image i created was a high res image to make it look nicer.

Category: Apple OSX, DeployStudio, OS X Lion Server Tags: ,

Latest Tweets