Wildfire upgrade woes (nearly)

We now have 2 HTC Wildfire phones in our household so there was great satisfaction when Three eventually released Android 2.2 (Froyo). Upgraded the first phone no bother but when the second was done, on restart, we continually got the error

Sorry!
The Application HTC Sense (process com.htc.launcher) has stopped unexpectedly. Please Try Again.

Rang Three who of course did not know the answer. They did offer a replacement (as we had had the phone a couple of weeks) but in the end I didn’t need it as I found the solution while on the call.

http://myhtcdesire.com/tutorials/fix-the-application-htc-sense-process-com-htc-launcher-has-stopped-unexpectedly will lead you to it.

Basically what you need to do is this

1. Press the Search button on your phone
2. Type in Settings and select it from the results
3. Select Applications > Manage Applications > HTC Sense > Clear Data
4. Press the Home button
5. You should now see the default wallpaper and widgets
6. Try adding a widget. Either:
* Press the +icon in the bottom-right > Widget
* Press Menu > Add to Home > Widget
* Long-press an empty space on your homescreen > Widget
7. If you find that the HTC widgets are missing from the Add Widgets list go to Settings and repeat steps 3 and 4

HTH

Posted in HTC | Leave a comment

Printing from a mobile phone

One of the biggest issues I have had with my HTC Desire is how to print from it. The solution I found is by using Dropbox. There are several scripts around but frankly they didn’t work. So here is my solution for Ubuntu:

#!/bin/bash
 
export PrintQueue="/home/xxxxxxxx/Dropbox/printqueue/";
 
# Spaces in file names will cause havoc
IFS=$'\n'
 
for PrintFile in $(ls -1 ${PrintQueue}); do
 
# Print each file and delete it if the print is successful.
lpr -r ${PrintQueue}${PrintFile}
 
done

Download and install “Scheduled Tasks” AKA Gnome Schedule, and create a job that runs every minute and hey presto.

What I have not done is check to see what happens if the print fails. Does it add one to the queue every minute? That is for another time. For now works for me!

Posted in Computer, Ubuntu | Leave a comment

Fixing wordpress-mobile-pack

So, I want to post to my blog from my phone. I installed the mobile-pack but when I tried to get to the new post page the link was not correct. As I’m posting this from the phone I can’t post the code but this proves I fixed it!

woohoo, I love it when that happens. The file mobile_admin.php needs all instances of this line of code….

$base = get_option('home');

Changed to this.

$base = get_option('siteurl');

OK, this is not the whole story as the use of the URL is inconsistent. I will need to do a bit more digging before I get it fixed completely.

Posted in Computer, WordPress | Leave a comment

HOWMANY for Grub 2

One of the things lost in moving to Grub2 is the lack of the #HOWMANY option to limit the number of Kernels presented in the Grub Menu.  This was a great option especially if you dual boot otherwise every time a new Kernel is installed the Grub menu gets longer, and your default system does not load (as the default number is not updated).

Ages ago I found this item which fixes the problem.  It is a bit complex for a new user and that is a shame.  It also breaks when GRUB is updated (although I leave Grub alone when it asks).

To simplify things, you need to replace this line;

while [ "x$list" != "x" ] ; do

with these lines…..

found="0";
 
if [ "x${GRUB_HOWMANY}" = "x" ] || ! [ "x`echo ${GRUB_HOWMANY} | sed 's/^[0-9]\+\(\.[0-9]\+\)\?$//'`" = "x" ] ;then
	GRUB_HOWMANY=0
fi
 
while ( [ "x$list" != "x" ] && ( [ "${GRUB_HOWMANY}" -eq "0" ] || [ "$found" -lt "${GRUB_HOWMANY}" ] )); do
  found=$((found + 1));

Grub really need to reimplement the #HOWMANY option and provide a simple GUI to set it. Still this solution works for me and if you have the same issues it may work for you too.

Posted in Computer, Ubuntu | Tagged , , , | Leave a comment

Wembley Trip

Well it didn’t quite go to plan. Tickets to see Chelsea play Moan U at Wembley in the Community Shield were just too good an opportunity to miss. Train down on Saturday and stay at my sisters, David an I like a pair of kids on a school trip. The stadium is quite fantastic though why it cost so much is beyond me and £3 for a soft drink outrageous. Security poor, simply said I was carrying insulin and didn’t even get searched – could have been anything in my pockets. Seats were great and a £35 for both of us a bargain.  The game was good but Chelsea do not have that cutting edge and often played too narrow. As for Ashly Cole – 2 goals were because he was out of position – he can go anytime he likes as far as I am concerned! We were better once Drogba was on but we cannot rely on him.  Taking Anelka off instead of Kalou made no sense, still it was just a pre season friendly.

Posted in general | Leave a comment