Month: November 2015 (Page 1 of 2)

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 Ubuntu  14.04 LTS which is supposedly supported until late 2019.

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.

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!

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!

 

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

A strange bug

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!

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

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


 

 التحسينات التي تم ملاحظتها

  • تم تطوير الواجهة بشكل كبير، وتم تحسين العناصر المرئية.
  • لم يعد الموقع ينهار تحت الضغط لاستعمال المطورين الكابتشا “Captcha” لمنع الطلبات العشوائية وتحميل الموقع الزائد (الكابتشا هي خليط الأحرف والأرقام العشوائي الموجودة بالصورة).
صورة لواجهة منظومة حجز الجوازات

تطور ملحوظ في شكل المنظومة
  • تم أيضا تعديل الرابط (لا يزال يتبع مشروع الرقم الوطني والمشاريع التابعة له) لكن الرابط القديم لن يتمم عملية التسجيل.

بالإمكان الإطلاع على الرابط الجديد من هنا.

  • تم تعديل المنظومة لتحجز ل 60.000 ستين ألف رقم وطني معاً قبل أن تقفل الحجز، هذا يبدو معقولا..

 

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

 

 

الوضع الحالي

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

 

شكل يوضح أيام العطلات والعمل بفروع الجوازات
أيام العمل والعطل بالجوازات
  • موعد تسليم الجواز بعد التصوير غير معلوم.

لم أتمكن من حجز موعد حتى الآن، الأمر أفضل قليلا من الشهر الماضي، لكن لا زالت الأمور غير واضحة.

سأقوم بتدوين أي تطورات، بانتظار تعليقاتكم.

للإطلاع على الجزء الثالث اضغط هنا.

« Older posts