Friday, May 6, 2011

Show desktop shortcut in Ubuntu 10.10: Mod4+D (Windows+D)

This is a helpful Windows shortcut (Windows+M) I've been looking for on and off since starting to work with Ubuntu.  I just couldn't take it any more.
Ironically I should just have looked at the Keyboard Shortcuts dialog (System -> Preferences --> Keyboard Shortcuts).  Listed under the Window Management category, the action Hide all normal windows and set focus to the desktop: Mod4+D.  On my Dell D610 Mod4 is the Windows key.


Also by looking at Keyboard Shortcuts I've added several other shortcuts to my repertoire.


Here's the URL that finally tipped my off:
http://www.linuxquestions.org/questions/linux-software-2/about-the-show-desktop-button-in-gnome-447443/

Thursday, May 5, 2011

Git and Eclipse (Helios)

Note: I've upgraded to Eclipse Indigo release and these are still valid


Getting GIT to work with Eclipse Helios
This was a lot harder than getting Subversion to work.  Thanks goes out to Muddyazian.
http://muddyazian.blogspot.com/2011/04/cdt-egit-git-and-eclipse-36-helios.html


I followed the same directions but used http://download.eclipse.org/egit/updates instead of the cgit stuff.


"HOME not set" warning
I was hoping the environment variable would be a git-specific variable, but it looks to be generic.
http://kcode.de/wordpress/1818-using-git-on-windows-commandline

Ignore
http://help.github.com/git-ignore/

Samsung Captivate repair/de-moisturizing

Well, it finally happened.  I spilled tea all over my phone.  The speaker sounded horrible and the signal from the headphone jack was very weak.


My cat-like reflexes appear to have staved off most of the damage: After taking the battery out and quickly towling off the phone I put it in a bag of rice.  About two hours later I restarted the phone.  Speaker sounded great, but the headphone jack wouldn't recognize when something was plugged into it.  For example, if I plugged in a set of headphones the speaker continued playing and nothing came out of the headsets.


Thanks to this post I was able to dismantle the phone and found some moisture still up by the speaker and headphone jack.  I felt certain I would bust either the screen or one or more of the plastic snaps that hold the phone together, but I got lucky.


I removed some moisture in the area of the speaker and put the unsheathed screen/motherboard piece back in the bag of rice.  After another two hours the headset jack worked great!


I almost bought a replacement headphone jack on eBay, but I'm glad I didn't have to do an install -- looks like I'd have had to further dismantle components on the board.