Thursday, 5 January 2012

Customising GTK applications in your KDE plasma desktop

The KDE Plasma desktop has surged to the top of the class with regards to the various Linux desktop offerings. It enables you to have the best of both worlds re using the Gnome 3 kernel with Ubuntu ot Linux Mint without shackling you to the much unliked Unity, the underdeveloped Gnome desktop or the below scratch simulator that is MATE. In addition it has so many lovely features that none of the mentioned desktops have and you have native composting as well as the ability to utilise Compiz. The down side though is that when you install only the plasma-desktop, your GTK applications look really primitive.

Customise Look and Feel

One way to rectify this is to install LXAppearance. You can find it in your Synaptic package manager. It is a new feature-rich GTK+ theme switcher able to change GTK+ themes, icon themes, and fonts used by applications. ONce installed you can find it in Start>Applications>Settings as "Customise Look and Feel". You can do all your GTK customisation there. One thing to note - when customising change your mouse pointer there to macth your Plasma mouse pointer ( if you have changed it on the Plasma desktop), or it the mouse pointer will change every time you mouse over a GTK application to the default GTK mouse pointer.

Tuesday, 20 December 2011

Disappearing mouse cursor in Ubuntu and Ubuntu based distros (KDE Plasma, Linux MInt e.t.c)

I've recently had the annoying bug on my Plasma desktop of my mouse cursor disappearing after a couple of seconds. The only way to see the mouse was to constantly move it. Annoying. Fortunately after a day or so of Googling I found the answer. It seems to be caused by an Ubuntu app, unclutter responsible for hiding the mouse. All you need to do is uninstall it

sudo apt-get remove unclutter

Restart and you will find that your mouse remains visible.
Worked for me, I hope it works for you.

Thursday, 8 December 2011

Android Compatibility JAR not found:

This error "Android Compatibility JAR not found:" popped up at me this morning.  I had

  1. Right clicked on my project
  2. selected "Android tools"
  3. and added the  "Add compatability library"
  4. Mega output but at the end I got this [2011-12-08 12:07:27 - Android Compatibility JAR not found:] /home/ayo/v4/android-support-v4.jar

After a couple of hours fiddling about it sans success, it seemed the only way to save my self any further hear pulling was to manually add it to the project.

So I,

  • Right clicked on the project
  • selected the Java Build Path
  • chose the Libraries tab
  • selected the "Add External JARs.."
  • and navigated to the folder wherer the errant JAR was hiding
  • /home/ayo/ToolsNUtils/DROID/android-sdk-linux_x86/extras/android/support/v4/android-support-v4.jar

After this all was well.

Bon Chance

Friday, 2 September 2011

"Reflections", mon premier "live wallpaper"

One of the things that really made me want to develop for Android is the live wallpaper feature. Apps well... actually boring - there's no art in that but, live wall papers - the ability to create to have art - digital art that is constantly available to all. Now that's a reason to develop for. I am creating a digital version of my new painting "Reflections" as a live wallpaper. So far so good and I have learned some very valuable lessons about Android development. Here is the progress I have made so far, the display device is a Dell Streak 5, the particle animation uses OpenGL.The animation has particles flying from outside the scene to disappear into the depths of the scene. Reflections is now available in the Android Market, its in the Livewallpapers categories.
To install Reflections on your android device click here.
 
Please download and enjoy Reflections. The current version is the free lite version with 2 colour options, the original painting and an aqua tint of the original painting. A full version will be available soon. It will offer more colour options and a few more interesting additions :).

Tuesday, 23 August 2011

Removing files deleted as Root from your Ubuntu system

If like me, you have been deleting files ar root and suddenly find that your disc is abnormally full you need to remove the files from the root trash. This is the way, type the following command in terminal,
gksu nautilus /root/.local/share/
That will show you your trash, you can now delete the files permanently by using "shift+delete".
Voila!!

Wednesday, 17 August 2011

???????????? no permissions on Ubuntu

I could not access my Android Device on Ubuntu when I ran the command ./adb devices.
The solution was to do the following:-
sudo ./adb kill-server
sudo ./adb start-server

After the start-server command you should get this
* daemon started successfully *

Now run ./adb devices.
Voila!


Monday, 8 August 2011

Hip-resurfacing surgery - the week in hospital

I have decided to document my experiences of my hip-resurfacing surgery, well actually my second hip resurfacing surgery. I intended to do the same with the first one and seeing that I never got off to doing it I'm doing it now. These were the experiences of the first week.
I arrived in hospital at about 10 am - the Princess Grace Hospital at Nottingham Place, apparently I arrived too early, an email that never arrived was to have changed the time. No matter, girlfriend and I sat in a nice waiting room - read papers and waited for me to be formally admitted. I had all my crutches but decided against bringing a raised toilet seat - just seemed a bit weird carrying a toilet seat around. In about half an hour I was called into an office to sign certain papers relating to my admission. A lift ride later I was shown to my room - very very nice and the thing began. First it seemed to be a meeting of old friends. The physio Louise, and all the nursing staff who had helped me through the business in January were all there, Miriam, Natalie and a few others, so it was a lot of Hallooos, cheek kissing and shooting the breeze. I had a brief chat with the surgeon - Prof Haddad and the anaesthetist Dr Goldsack and then started to dress for the affair. The open back gown, the disposable panties, no need for slippers though as I was carted down to surgery on a wheeled stretcher. In the ante room I had a chat with Dr Goldsack and his team, it was all jolity and laughter - a pinprick and the cool feeling of the drug inundating my veins and then..... I was waking up in recovery. The deed was done. I was wheeled back into my room and decanted into my bed with morphine drips and a catheter to drain fluid from my leg. I had some dinner and talked with Nkwo (girlfriend). I kept trying to send messages from the ole DellStreak5 and because of the drugs I would fall asleep midway into the message I was tying - very strange feeling. No energy to switch on laptop and do anything so the Dell Streak5 was a real boon.
Next day it was X-Rays to check the status of the operation. That went a lot better than the same procedure in January, far less painful. Then unto the main challenge of the day - getting to move on the Zimmer Frame. That was no problem at all and after a walk up and down the corridor we decided to try crutches instead and that was slow understandably but I was fine. Amazing crutches on the day after the operation. That was it really, the rest of the week consisted of walking up and down the corridors and doing my exercises on the bars in the ward. On Thursday I was able to actually walk outside the hospital down Nottingham Place round the block and back to the hospital. In January it was about 3 weeks before I could attempt such a walk so this was progress indeed. Oh and I had started showering on my own as well though help is needed to wipe feet and oil my back. The fact that I was mobile so quickly ensured that I avoided bed sores and that was marvelous. Oh watched Rango - and that was nice.
My warmest gratitude to Prof Haddad, Dr Goldsack his staff and all those on the 2nd floor of the Princess Grace hospital. The were absolutely marvellous.