ข้ามไปที่เนื้อหาหลัก

Enable Skype icon on Unity notification panel on Ubuntu 13.04

Due to I switch back from Windows to Ubuntu. The most important program for me is "Skype". After I download installation from Skype official website it seems there is no problem at all I am able to installed in by Ubuntu Software Center. The problem  was occurring after I launch Skype and close the main window opens I expect it will be closed and shown the icon on notification panel area. But there is no icon on notification area then I launch Skype application again the windows instance comes up thus I try to log in again, suddenly I get an error message about another instance was already running.
After I search on google a bit I found that Ubuntu 13.04 was removed system tray whitelist feature from its unity. so I found this website to re-enable the whitelist by below instruction.
sudo add-apt-repository ppa:timekiller/unity-systrayfix
sudo apt-get update
sudo apt-get upgrade
After finished installation I do the following steps to add Skype to notification whitelist

Restart unity
ALT + F2 and enter "unity" or logout ubuntu to finish it
Checking if notification whitelist works by below command
gsettings get com.canonical.Unity.Panel systray-whitelist
You suppose to get something like below result comes out
['JavaEmbeddedFrame', 'Wine', 'Update-notifier']
Above result means you successfully install notification whitelist but the only applications was listed above are able to be shown in notification area. so we are going to append Skype in the list by editing in Dconf Editor.
 ['JavaEmbeddedFrame', 'Wine', 'Update-notifier']
Launch Dconf Editor and explore the configuration path to com.canonical.Unity.Panel and you will see the key "systray-whitelist". The default value would be "['JavaEmbeddedFrame', 'Wine', 'Update-notifier']" like we get it by the command line above. Then you append 'Skype' to the list as below picture.

systray-whitelist value in Dconf Editor
If you are command line lover you are able to use this command line
gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Skype']"
Notice: Put the command line in one line because of blogger layout may split it to be display in 2 lines.

Final step is to logout and login Ubuntu.

TIPS: This instruction is not useful only Skype but also useful for another applications those are caused by similar issue.

For another Ubuntu version you can find out more by following the links below

http://askubuntu.com/questions/151112/how-do-i-get-the-skype-status-icon-back-on-panel-tray

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

Alfresco กับการ Search ภาษาไทย

เนื่องด้วยการ Search ถือเป็นหัวใจสำคัญของงาน ECM เลยก็ว่าได้ แต่ Alfresco ณ ปัจจุบันยังไม่รองรับการ Search ด้วยภาษาไทย แต่อย่างว่า Opensource เมื่อเรารู้ว่ามันใช้ Lucene เป็น engine ในการค้นหาเอกสาร เราก็เลยแงะไปยังตัว lucene เองพบว่ามีคนส่ง Patch ในการตัดคำไทย ไปให้กับ lucene เรียบร้อยแล้ว โดยคุณสัมพันธ์นั่นเอง วิธีการ Config ให้ Alfresco ตัดคำไทยได้ผมสรุปออกมาเป็นขั้นตอนได้ดังนี้ครับ ไปเพิ่ม Locale ให้ Alfresco รู้จัก ใน tomcat/shared/classes/alfresco/extension/web-client-config-custom.xml ตรง tag <languages> เพิ่ม <language locale="th_TH">Thai</language> เข้าไป directory: tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model แล้วทำการ copy file dataTypeAnalyzers_fr.properties หรือไฟล์อื่นก็ได้ เปลี่ยนชื่อเป็น dataTypeAnalyzers_th.properties แล้วเปิดไฟล์ขึ้นมาแก้ไขให้เป็น d_dictionary.datatype.d_text.analyzer=org.apache.lucene.analysis.th.ThaiAnalyzer d_dictionary.datatype.d_content.analyzer=org.apache.lucene.analysis.th.ThaiAnalyzer หลังจากนั้นเมื่อทำการ...

Spring Roo vs Grails

Spring Roo หรือ Grails ดี ถ้าต้องเลือกระหว่างสองตัวนี้จะเลือกอะไรดี คำตอบแบ่งออกได้เป็นสองส่วน ส่วนแรกคือภาษาที่ถนัด หากใครเขียน Java อยู่แล้วไม่อยากเปลี่ยนก็ควรจะเลือก Spring Roo หากใครต้องการ magic ที่มากับ Dynamic Language ก็คิดว่าน่าจะใช้ Grails มากกว่า ส่วนที่สองคือ ความเร็วในการพัฒนาเนื่องจาก magic ที่มาจากภาษา Groovy ทำให้เราพัฒนา Application ได้เร็วกว่าภาษา Java (แต่อันนี้ก็แล้วแต่ความถนัก หากถนัด Java มากๆ ก็อาจจะเร็วกว่าก็ได้) แต่ส่วนที่คิดว่าเร็วกว่าแน่ๆ คือมันจะ Generate Method ส่วนใหญ่ให้ในขณะ Runtime เช่น findBookById() ซึ่งจะไม่มีโค้ดในส่วนนี้แต่จะเป็นการ Generate ให้เองจากตัว Framework แต่หากใช้ Spring Roo เราต้องมานั่งเขียน Method ส่วนนี้เอง ข้อดี ข้อเสีย Grails อย่างที่รู้ว่า Groovy นั้นจะ Generate Method ระหว่าง Runtime ให้และยังเป็นภาษา Script แม้จะมีการ Compile ให้เป็น Bytecode ของจาวาแล้วก็ตาม แต่ Performance ก็จะด้อยกว่า Pure Java อยู่ดี Spring Roo จะช้าในช่วง Develop time แต่ขณะ Runtime จะมี Performance ดีกว่า Grails เนื่องจากไม่มีส่วนที่ต้องสร้างขึ้นระหว่าง ...

Vim vs Emacs on Ubuntu Linux

เพิ่งรู้วันนี้เองว่า Vim บน Ubuntu นั้นมันยังไม่พร้อมสำหรับการเขียนโปรแกรม เราจำเป็นต้องทำการลงมันใหม่ก่อนด้วยคำสั่งที่แสนจะเคยชิน sudo apt-get install vim พอดีกำลังจะเลือก ide บน linux ไว้หัดเขียนภาษาซีใน linux ยังลังเลระหว่าง vim กับ emacs เห็นว่ามีสงครามระหว่าง editor สองเจ้านี้ด้วยข้อดีข้อเสียของ แต่ละตัวคือ Vim เป็นแบบ modes คือต้องเลือกว่าจะอยู่ในโหมดแก้ไขหรือว่าโหมดปกติ โหมดแก้ไขก็ได้แก่ i, a, bla bla blah โหลดปกติก็คือกด Esc ออกมา ข้อดีเร็ว ( สมัยตอนที่ยังเป็น Vi นะครับ) ข้อเสียคือสับสนว่าตอนนี้อยู่ในโหมดไหน Emacs เป็นแบบ modeless ถ้าใครนึกภาพไม่ออกก็พวกโปรแกรมแบบ GUI ทั่วไปก็เป็นแบบ modeless เสียเป็นส่วนใหญ่เช่น MS Word คือเราสามารถพิมพ์ข้อความลงไปได้เลย เมื่อต้องการจะใช้คำสั่งอะไรก็กด Ctrl+ เอาแทน ข้อดีคือไม่สับสนว่าอยู่ในโหมดไหน ข้อเสียคือเมื่อต้องการผสมคำสั่งเยอะๆ จะจำได้ไม่หมดเช่น C-x C-c อันนี้แค่คำสั่งเดียวแต่ต้องกดทั้ง Ctrl+x กับ Ctrl+c ถึงจะออกจากโหมดได้