Remove hibernate from the log-off menu in Ubuntu

I have had little success getting the hibernate feature to work on any Laptop running Ubuntu. I currently use a Dell XPS with 6 Gigs of RAM and don’t even find it practical to hibernate due to the waste on hard drive space and the time it takes to go down and come back up. With a good battery it is much easier to suspend. I don’t even like having the hibernate option on the menu for fear of an accidental click. So I finally got around to figuring out how to get it off the menu and I thought I would pass it on for anyone wanting to do the same.

All you need to do to remove hibernate from the menu is to change allow_active to no under the org.freedesktop.upower.hibernate section of the file /usr/share/polkit-1/actions/org.freedesktop.upower.policy. To do this open a terminal and type:
sudo gedit /usr/share/polkit-1/actions/org.freedesktop.upower.policy
Find the line below the org.freedesktop.upower.hibernate section that says:

<allow_active>yes</allow_active>

and change it to:

<allow_active>no</allow_active>

Save the file and restart the indicator-session service with the following command:
killall indicator-session-service

Your done!

Sign to make sure SOPA 2.0 never gets written

I signed this petition on fightforthefuture.org and still thought “What else can I do?”. So I created a widget for WordPress to put on my blog so that visitor to my site could sign the petition too. Now you can join the fight against SOPA by signing this internet petition right here on my site (at the bottom of the page). Plus, if you have a WordPress site, you too can install this petition widget from WordPress.org.

Help me spread the word and crush internet censorship legislation in America!




















Shortcode Support Added to SQL Reports

I added a shortcode to my SQL Reports Plugin so you can put a report you’ve created into a Page or Post. Just use the shortcode “SQLREPORT” with the attribute “name” being the name or your desired report. Like this:
[SQLREPORT name="My Report" style="border: 2px solid #CCCCCC; padding: 6px;" /]

The below example is a Report that I make to see the effect that Google’s SSL Search has been having on my Keyword Data. I broke it down by Locale so that I could see the differences between the use of google.com as compared to the other country codes.






















A New WordPress Widget for SHH Blog

I just created a small Widget for the SHH Blog that runs a simple query to find posts posted around the same time last year.