I modified my “hand” cursor in Ubuntu

I would like to share a little something I worked on the other day, just for fun.

I wanted to “doctor” the default “hand” Cursor in Ubuntu so I Googled it and found a great plugin for GIMP (a FREE Linux equivalent of Photoshop). So I downloaded this X11 Mouse Cursor (XMC) plug-in and installed it. This made it easy because I could just open up any X11 Cursor file right in GIMP and edit it like any other multi-layer image file.

So I chose to start by opening the “hand2″ cursor file from the whiteglass theme (on my system this file was found in `/usr/share/icons/whiteglass/cursors/`).

Then I quickly made a few small changes to each of the 5 layers and saved it in my Downloads folder as “handeli.xmc“.

Next I had to replace the the default X11 Cursor file with my newly modified version. To do this I ran the following commands (if you run Linux on your computer you can download my modified Cursor file and run these commands to install it):

sudo mv /usr/share/icons/whiteglass/cursors/hand2 /usr/share/icons/whiteglass/cursors/hand0
sudo mv Downloads/handeli.xmc /usr/share/icons/whiteglass/cursors/hand2
gnome-appearance-properties

Click the “Customize…” Button on the “Appearance Preferences” window, switch to the “Pointer” Tab on the “Customize Theme” window, and choose “whiteglass” from the list of pointers.

If you don’t run Linux on your computer then “Doom on you!”, download Ubuntu now!

Just in case you are too lazy to change your operating system and install this Cursor, here is a small GIF of what it looks like.handeli.xmc X11 Cursor

What’s Wrong With Our Food System

Here’s a great TEDxNextGenerationAsheville Video I found on YouTube of a kid named Birke Baehr telling us “What’s Wrong With Our Food System”.

Go Birke Baehr!

[youtube]F7Id9caYw-Y[/youtube]

New Menu Links in the WordPress Admin.

WordPress Admin Menu

RelatedPosts on WordPress Admin Menu

I added a menu to the WordPress Admin with a few helpful link for those users that don’t take the time to read instructions before installing and then hunt around for a way to use what they just installed (Anthony). I am now using some new CSS tricks that I just learned from a friend (Anthony again) the other day to style the admin pages for my next release.

I got over 100 downloads just yesterday and now have over 400! It seems like I get a  lot more downloads when ever I release an update, as though everyone who has already downloaded it is then downloading the update. I think I’ll release this last update (1.1.10.28) and then take a break for a little while.




















Added “Relate by Category” to Widget options

Widget Screenshot

New Screenshot of Widget

By request I have added the option of relating post by Categories as an alternative to Tags. And I changed the name again. The plugin is now called “A Related Posts Widget – ELI”. I stuck my name in there at the end so that people who know me and want my plugin would have a way to tell the one I wrote from all the others. I also added a screenshot to the plugin download page via the readme file.

F.Y.I. – Now more than 200 downloads!




















Over 100 Downloads

A friend of mine installed this plugin yesterday and found that there was a conflict with some PHP code in another widget he already had installed. After taking a look at the other code I noticed that the function query_posts changes what posts I would expect to see returned by the have_posts function. So I added the wp_reset_query function to the start of my code so that my widget wouldn’t gab the wrong posts. Then I added it again at the end so I wouldn’t trip up any other plugin developers in the same way.

We got a record 51 download yesterday alone and now have over 100 in all, which is surprising for me since it’s only been available for three days and I have not even promoted it.

I’m thinking of changing the name again and dropping the whole acronym thing all-together (nobody seems to like it). But I still want the plugin name to stand out in some way. Any feedback would be appreciated and don’t forget to rate my plugin on the WordPress Plugins Page




















WordPress accepted my plugin

I got the plugin into the WordPress repository yesterday and I’ve already made lots of changes to it. First, I changed the name to POSTALLORBUST which stands for “Posts On Sidebar That Are Listed and Linked Organically Related By Using Same Tags”. Then I made the widget into a PHP Class and added some basic options to it. I had already had 26 downloads after only one day so I thought I should make this plugin a bit more useful. Unfortunately changing the name of the plugin does not change the name of the repository directory or the directory it installs into. Anyway, you can now download this plugin directly from within the WordPress admin (it you can find it) and receive update as they come out.

Don’t forget to rate it in the WordPress Plugin Directory




















My First WordPress Plugin

So I made a new plugin for WordPress call SPOSTARBUST which stands for “Show Posts On Sidebar That Are Related By Using Same Tags”. That is basically what it does although I am using it on the Footer Area of this site because the Sidebar doesn’t show up at all on single posts or pages in the Twenty Eleven Theme, and I wrote the widget to only show itself if you are on a single post. Anyway, it’s a rough draft and I’m just going to try and submit it to WordPress as is and make updates to it later.




















I finally fixed my card reader.

My SD Card Reader has never worked in Ubuntu on this Dell XPS machine since I got it over a year ago. I never fixed it because I hardly ever use it but I did have a need to use it today so I Googled my issue and found a very simple fix. I just had to add “pciehp.pciehp_force=1″ to the end of the GRUB_CMDLINE_LINUX_DEFAULT= line in the file /etc/default/grub. Then I ran sudo update-grub and rebooted and it works every time now.

Inline Google Spreadsheet Viewer

I found this cool plugin called Inline Google Spreadsheet Viewer By Mr. Meitar Moscovitz that lets you insert a Google Doc Spreadsheet into a Post or Page. The really cool part is that you can update the Google Doc and the page automatically reflects your changes. Here is an example spreadsheet. (I did have to add some custom CSS to get the cell borders to show up in this theme)

BlueHost
IX Web Hosting
1and1
Monthly Fee$6.95 per month (1st year)
$8.95 per month (after 1st year)
$7.99 per month (Unlimited Pro)
$152.64 (for 2 years with discount code)
$6.99 per month (Unlimited)
First 6 months FREE
SpaceUnlimited
(Actual Limit: Around 100,000 files)
Unlimited
(Actual Limit: Around 40GB)
Unlimited
(Actual Limit: Unknown)
Free Domains131
SQL Databases200100025
(1GB Limit)
SSH AccessWith IDNoYes

A New Blog

I just setup this blog today so that I would have my own place to test stuff in WordPress. I think I’ll make an attempt to write something each day for at least the first month. This will be a blog all kinds of stuff I’m interested in from my family, to WordPress, to Ubuntu, and more. Well, that’s all for now. (How was that for a first entry ;-)