Apple iPad Tablet Apps Won’t Open / launch after sync

Starting up my new trusty friend the iPad to record something with Garageband this morning, (a lil piece of a tune that just popped into my head that I did not want to loose) I found all of the apps that I had purchased or downloaded from the Apple app store would not launch. The icon would move and the screen would go black for a part of a second and then nothing. So the guitar was set aside and a trawl in iOS forums began. Needless to say I have pretty much now forgotten what it was that I had come up with before grabbing the tablet :(.

Anyway, the forums were helpful somewhat, in that they eventually guided me towards the right direction, but none of the solutions for this issue discussed what the problem was exactly. There are however a lot of: “well I tried everything and after doing …. it suddenly start working”. While some of the solutions I found were teaching me tricks on the iPad, like removing apps from memory, doing a hard reboot etc., most of the “…” were various process for removing and reinstalling apps via wifi or 3G (not iTunes they said). I was desperate and decided to try this. I use iTunes to install apps and decided to go that route even though the posts said not to. There it was that I hit on the issue my own: “I just tried … and it start working” and I did not have to remove any apps. For me it had to do with Authorization (I think). I did get a new app from the iTunes store, but then before doing much else, iTunes start complaining that my desktop machine was not authorized to play content purchased with this machine. It had always been before, and I do not know what could have changed the status of the machine but it was so. Reauthorizing the machine or in iTunes eyes authorizing it at all, as it thought it had never been, did the trick. After that all my apps were fine again.

I do not know how it happened but something during a sync caused the machine or my apple account to forget about the connection between these two machines.

So before deleting and reinstalling apps etc. try syncing with iTunes, and choosing the Store menu

and either deauthorize and authorize or authorize as needed, then see if you can use your apps again. If it is still not working, then hit the iPad forums and start installing or reinstalling apps, or find your own “I just did … and it start working” process (and let me know via comments what your “…” was for next time please)

Ubuntu Linux unable to mount non-journaled hfsplus drive for write

I have a drive from a Macbook that I made into a USB drive to share files between Linux and Macs. To do this I of course disabled journaling on the drive before removing it from the Macbook, and all was well. Both Linux (a Debian desktop machine) and various Mac machines could both read and write to the drive. However, I got a new notebook, which I installed Ubuntu on, and found it could only mount this non-journaled hfsplus USB drive as read only, though “mount” shows it mounted rw, for read and write. I tried many things and read many blogs and forum posts and decided to try the tools that come with in the “hfsprogs” package, and specifically “fsck.hfsplus” as someone speculated that the drive might have been become corrupt during an unmount.  The command I ran was:

sudo fsck.hfsplus /dev/sdb2

This check did indeed find some errors and report it had correct them and afterwards I could once again write to the drive.

I hope this helps the next person searching for this issue. I tried to get all the terms I was searching for, unsuccessfully, into title of this post to help folks locate it. Searching for this issue seems to turn up 99.9% responses about “You have to turn off journaling before mounting with Linux” which I knew already and was not part of the problem at all.

Install Google’s Go programming language using a proxy

Installing the Go Programming Language is pretty easy, but can be a pain when done behind a firewall and there isn’t one page with all the information necessary. So, here is the one page.

For step: “$ sudo easy_install mercurial”

“mercurial” is probably already in your favorite distro, it is for debian at least. So instead of using the easy_install script, try your distro’s package management app. For debian, apt-get install mercurial did the trick.  If you insist on doing it manually, you might need a proxy statement in your env like:

export http_proxy=”http://user:pass@myproxy.example.com:1234/”

For step: “hg clone -r release https://go.googlecode.com/hg/ $GOROOT”

You should probably have an .hgrc file with proxy information in it, including the user name and password for the proxy (be sure to take the credentials out again after install, and only put em in when using hg again)

———– .hgrc with just the minimum necessary contents —————-
[http_proxy]
# Used to access web-based Mercurial repositories through a HTTP proxy.

host=myproxy:1234

passwd=mysecretpassword

user=myuser
——————————————————-

For step: “$ ./all.bash”

At the moment there are tests ran during the build, requiring network connectivity. There is discussion on the go-nuts mailing list about fixing it,  but until then removing “http” and “net” from tests in the make file:

$GOROOT/src/pkg/Makefile

will get you “Go”-ing again.

To do this, search for NOTEST and add entries “http\” and “net\” to the end, using tabs for the indentation. The complete list should look like the following when complete:
NOTEST=\
debug/proc\
exp/draw\
go/ast\
go/doc\
go/token\
hash\
image\
image/jpeg\
malloc\
rand\
runtime\
syscall\
testing/iotest\
xgb\
http\
net\

Apple/Mac – Convert Picture Clipping ( pictclipping ) image to PNG, JPEG, etc

UPDATE 2011 March 8: A commenter reports dragging the pictcliped image into PowerPoint allows you save the image from there, possibly in other formats. I cannot test this as I do not have this setup. It appears however that the latest version of iTunes, at least, no longer creates these when copying album art out of the app.

UPDATE 2010 July 4: This process no longer works with 10.6 (.3 for me) as reported by readers. It seems that Apple found this feature and killed it. However there is a simple workaround.  See the section for 10.6.3

For versions of OSX up to 10.6:

So a little annoying feature of some Apple/Mac apps is the creation of a image in the format “pictclipping”. Converting these to something usable is not so intuitive so I am posting it here as to be easily located for myself if for nobody else (though I imagine others are looking for this from time to time).

Anyway, the easiest way to do this seems to be to use the clipboard and the “Preview” application.
To do the conversion in this way, first double click the pictclipping image to open it in the finder. Next from the Finder’s “Edit” menu choose “Copy”. Next, launch the “Preview” application and from the “File” menu choose “New from clipboard”. Then using the “File” “Save as” menu options, save as any image type you like.

Pretty simple, but not something I would have thought of right away.

For versions of OSX after 10.6:

Ok, so it seems Apple did not like the feature of being able to coy a Picture Clipping so easily, using their own software. I have tried to figure out a solution and did some searching but without some purchased software, so far, it seems this is not possible. However, here is something you can do to hold you over till something is discovered.

Right click on the Picture Clipping, in the Finder, choose “Quick Look [NAME OF YOUR PICTURE CLIPPING HERE]”  to view the full sized image in the Finder Quick Look previewer app. Then use the selective screenshot tool to grab just the image. If not familiar with this process: with the Picture Clipping image up, choose the [command] key at the same time as the [shift] key and then press the [4] key. This will bring up a small crossed lines (not sure how to explain it, think crosshairs for targeting something) pointer. Use this to hilight just the portion of the picture clipping in the preview that you wish to copy. When you release the pointer this image will be on the desktop as a PNG file with a name like “Screen shot 2010-07-04 at 5.16.53 AM”. Simply rename this file to something useful like “my-album-art.png” and you are done.

Hope something better appears. I will keep looking for something.

j

Add a KDE like "Open Terminal here" command to Mac Finder

2011 edit

As of Mac OS X 10.7 (Lion),  this can now be done as a Service (not exactly like KDE, but better than nothing). Go to:

System Preferences > Keyboard > Keyboard Shortcuts > Services

Then check the box to enable “New Terminal at Folder”

Then when you are in the Finder and want to open a terminal right there, right click on the folder name and at the bottom of the menu you will see the “New Terminal” link. You can also  drag the folder and drop it onto the terminal icon.

————– 2009 post ————

Before OSX came along, making the Mac usable, I was always mainly a Linux user and became very used to the KDE and Gnome UI and features. When getting into the OSX, I really missed certain things and just had to figure out how to add em, to be comfortable. This is one big one. Though I usually use a Shell and Midnight Commander to get around in my Linux systems, from time to time I would end up in the KDE GUI File browser thing, and end up using their cool “Open a terminal here” command, to get to the Shell and do stuff. Since we are mostly in a GUI environment when using OSX, this feature was killing me. But, there is a simple way to add this thanks to the Automator and Apple Script. Here is what I found (though I do not remember where) when looking at how to do this.

  • Launch Automator
  • Create a new Workflow (or a new Service if using Snow Leopard)
  • (If in Snow Leopard, at the top of choose “Folders” from the first select control, and “Finder” from the second)
  • Choose Finder, then drag “Get Selected Finder Items” to the work area (under “Files and Folders” in Snow Leopard or use the search feature to search for “Get Selected Finder Items”)
  • Choose Applications, then drag “Run Apple Script” toe the work area below the Finder action you just added.(in Utilities in Snow Leopard, or you can use the search feature to search for “Run Apple Script”)
  • Replace the default Apple Script it generates for you, with the following
    on run {input, parameters}
    
    	tell application "Finder"
    		set winOne to window 1
    		set winOnePath to (quoted form of POSIX path of (target of winOne as alias))
    		tell application "Terminal"
    			activate
    			tell window 1
    				do script "cd " & winOnePath
    			end tell
    		end tell
    	end tell
    
    	return input
    end run
  • Then from the Automator menu, choose “File”, then “Save As”. If not Snow Leopard then you have a workflow and need to save it to the place the OS can pick it up, so if not already defaulting to this location, navigate to:
    [user home]/Library/Workflows/Applications/Finder

    and name the file something that you want the Menu to show when you go to use this new Automator command (I used “term-here” for instance)

    But if you are in Snow Leopard, then you have a service and “Save-As” only prompts you for a name. I entered “term-here”.

Once these steps are completed and the file saved, you should be able to open the Finder, navigate to a directory you wish to open a Terminal in, right click in the directory, choose “Automator” and see you new command there. Choosing the command should pop up a new Terminal with the working directory set to the directory you were in.

NOTE, of course if you are on Snow Leopard it is different. Here you need to choose the dir you want with the pointer and right click. To get the current directory, I choose to view the path bar from the Finder’s View menu, and then I can choose the dir I am in and click. I also created a keyboard shortcut for it. To create a keyboard shortcut, when in the Finder, choose Services from the Finder menu, then Services Preferences, then scroll down to find your new service. Click into the white space to the right of your service to get the entry box for your shortcut, and then use the keys you want to be the shortcut, as if you were trying to launch it right now, and it will store them in the box for you.

Enjoy

j

How to kill Dashboard (Macintosh OSX)

I do not use the Dashboard on my Macbook, however from time to time I start it accidentally and then have it running, and using resources. Here is one way to kill it. I constantly forget how to do this and then have to look it up. As with my last post, now it is here and hopefully easier to look find for me (and maybe others).

To kill the Dashboard, open a Terminal and then run the following commands:

   defaults write com.apple.dashboard mcx-disabled -boolean YES;killall Dock

NOTE: the second command in this list of commands, will restart the Dock, so dont be alarmed if it disappears for a moment. It will come right back.

j

Follow

Get every new post delivered to your Inbox.