Partial Upgrades in Ubuntu + Docky issue [FIXED]


One day out of the blue Ubuntu said it needed a partial upgrade, I clicked OK and didn't think twice about it, it did some work on many packages and for some reason Docky 3.0 (Experimental branch by Rictoz) was selected for “upgrade” and after the reboot it was gone!

 
The partial upgrade in general is nothing to worry about and it's safe to click continue, especially I'm running 14.04 LTS which is supposedly supported until late 2016.
Partial upgrade
I was set back to Docky 2.0.2 which I don't have a problem with, except it crashes.
(If you read my Docky post you know that I chose Docky 3.0 over 2.0.2 because it's more stable and doesn't crash randomly all the time. Despite Docky 2.0.2 having cool “Docklets” that added to it's functionality.)
 I couldn't install Docky 3.0 due to package dependency issues, and therefore I was stuck with Docky 2.0.2 for a while, only then I realized how much I depended on it to get my things done!

The fix was super easy!

I went to the downloaded files I had which were three files: Docky, Libplank, and Libplank common.
Using Gdebi I installed Libplank common the first, then Libplank and finally Docky 3.0, it replaces the old one and no need to uninstall.
Thing is every time it looks for updates it wants to remove Docky, and that happens daily, I found a

way to fix that by simply “locking” the version.
I went to Synaptic and searched for Docky, selected it and clicked lock version under package. Now even when it looks for updates it greys out Docky and doesn't update it. I have a detailed tutorial on how to use Synaptic that you can find here.

Locking package version using Synaptic


That's how I got Docky 3.0 back after it was ruined by the partial upgrade, I hope you found this useful, please let me hear your feedback and have a nice day.

ساعة برمجة 2015


 
 ساعة برمجة هو جزء من الأسبوع العالمي لعلوم الحاسوب، يتيح للملايين تعلم البرمجة ونشر الثقافة بين الطلاب وإعطائهم فرصة لتعلم البرمجة وتطوير أنفسهم، وأيضا لمنح طلبة المدارس ساعة من علوم البرمجة.

How to make the awesome Docky bar even more awesome with these tricks?


Today I'll be talking about making the awesome Docky dock even more awesome!

As you know Docks are really productive and once you get used to them you are hooked for good!
 I mentioned it in an earlier post as an honorable mention, but I always felt Docky deserved a post of it's own!

First of all let's take a look into how many versions of Docky are available and what to choose from?

Docky has two active branches : Stable and Development, each one has it's pros and cons. I will be talking about them in detail and why I choose one over the other!

Development branch

 


It's maintained by Ricotz on launchpad and it's currently at version 3.0.127

You can add it to your system by adding the PPA to your software sources. If you aren't sure how to add the PPA then check this post I made some time ago that shows how to add a PPA.

It has a sleek look and a minimalistic approach, as this version dropped the use of docklets and helpers, limiting Docky options to a minimum.

It doesn't close itself on standby (stable does) and it docks the file manager perfectly.

Stable branch

 


It's the official Docky branch currently at version 2.2.0.2

You can add it to your system by adding the PPA to your software sources. If you aren't sure how to add the PPA then check this post I made some time ago that shows how to add a PPA.

It has many options compared to the development branch with the ability of adding more than one dock!

It also has docklets and helpers which are excellent for productivity.

It has some bugs tho like crashing on standby and not docking the file manager (easy to fix).

I tested out both and came up with a resolution!

I choose the stable branch simply because it gives you more options to work with, not to forget the docklets that add great productivity value, like adding a work timer!


Docky's timer docklet



I didn't find a similar work timer to the awesome Instant boss, this is really close! Checkout how to set this awesome clock from it's help page! It can also work as an RSI timer! All from within your Dock!!

You can set more than one timers and set labels each, For example one for work and one for rest and have them work together on the Dock!!

I overcame the stable branch not pinning my file manager Thunar simply by dragging the home folder and dropping it on Docky! Now whenever I click it I get my home folder in a blink of an eye.

Another bug is when you install Docky for the first time it asks for composite to run properly. And you will notice that the dock seems off!

Go to Settings > Windows Manager Tweaks And on the Compositor tab enable composition, it will work like a charm!


Enable composition for docky to work properly



Finally there is one weird bug that happened with me on 14.04 LTS Trusty, whenever I put the computer to sleep and wake it again, Docky isn't there!

I used to put an icon for it on the desktop to “wake it up” but that's just too counterproductive isn't it?

The answer is really simple and I can't wait to share it with you! All you have to do is to add a script to your sleep folder and execute it using terminal.

The steps are displayed in here, because I'm using Xubuntu I had to change gedit to mousepad. But the rest applies and works 100%  *Update 1: It didn't go as planned and I had to undo it.
**Update 2: Not all updates can be installed: partial upgrade.
Once this message appeared Docky 3.0 was removed and I wasn't able to install it again. Docky 2.2 closes itself without warning. I still haven't figured that out yet!

***Update 3:  I managed to make docky 3.0 work again I used the debs downloaded from the repositery and installed them using gdeb. The secret is the order of install. Libplanlkcommon at first, then libplank, and finally docky. Read about it here.
  

There you have it! We made the awesome Docky even more awesome! And you thought that wasn't possible!
I chose Docky 3.0 over 2.0.2 because it's more stable and doesn't crash randomly all the time.

Anyway I hope you enjoyed this! And I'll see you in a coming post!

منظومة حجز موعد استخراج جواز السفر (الجديدة)

قد مر أكثر من شهر على تدوينتي السابقة حول منظومة الجوازات الليبية، ومن الإنصاف أن أذكر بعض التحسينات التي أضيفت على المنظومة والسلبيات التي تم التغلب عليها..


Sublime Text. The text editor you have been looking for

The reason why I didn't use Sublime Text is really really simple, I thought it was commercial and cannot be used for free, read on to find out what changed my mind.. Build 3083

Installing Windows 10 insider on Lumia 630 Dual


I decided since the Windows 10 update was rolling in “waves” that I want to try Windows 10 early on my Nokia Lumia. I installed Windows Insider on the phone and choose the fast ring.