Showing posts with label kde4. Show all posts
Showing posts with label kde4. Show all posts

Tuesday, February 10, 2009

Plasma crash ใน KDE 4.1

เพิ่งเจอปัญหา Plasma ใน KDE 4.1 crash ทุกครั้ง หลังจาก restart เล่นเอา boot ไม่ขึ้น นึกว่าต้อง install ใหม่ซะแล้ว (ว่าจะลง Ubuntu แทนที่ Kubuntu ซะเลย โทษฐานขาด ๆ เกิน ๆ)

วิธีแก้ปัญหา คือ ไปลบไฟล์ configuration ของ Plasma ทิ้ง ซึ่งจะอยู่ต่างกันไปในแต่ละ version ใน Interpid จะย้ายมาอยู่ที่ directory ~/.kde แล้ว ในขณะที่ version ก่อนหน้าจะอยู่ที่ ~/.kde4 ไฟล์ที่ว่าก็คึอ ~/.kde/share/config/plasma-appletrc และ ~/.kde/share/config/plasmarc

แปลงเป็น คำสั่งบน shell
rm ~/.kde/share/config/plasma-appletrc
rm ~/.kde/share/config/plasmarc

หลังจากนั้นก็ restart หรือ reset x-server ด้วยการ Ctrl-Alt-Bkspace plasma ก็จะกลับมา ทำงานได้ แต่ setting ที่เคยทำเอาไว้ก็จะหายไปหมด แต่ก็ยังดีกว่าลงใหม่

Sunday, December 28, 2008

Bluetooth กับ KDE 4.1

หล้งจากที่ upgrade Kubuntu เป็น Intrepid Ibex ไปได้ไม่นานก็เจอปัญหาที่ไม่คิดว่าจะไม่เจอ เ้ท่าที่ค้นเจอ ก็มาจากสาเหตุ ที่ Ubuntu upgrade bluez-utils จาก version 3 ไปเป็น 4 ทำให้ kbluetooth เดิมใช้ไม่ได้อีกต่อไป และเครื่องมือสำหรับ bluetooth ที่จะทำงานได้บน KDE4 ก็ยังไม่มี ทำให้การใช้งาน bluetooth บน Kubuntu เป็นอัมพาตไปโดยปริยาย แม้แต่การ pair กับอุปกรณ์ชิ้นอื่น ๆ (https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/280997)

เนื่องจากในขณะนี้ยังไม่มีเครื่องมือบน KDE4 ตัวใดที่ยังไม่สามารถใช้งาน bluetooth ได้ จึงต้องพึ่งเครื่องมือบน GNOME แทน โดยการติดตั้ง gnome-bluetooth

apt-get install bluez-gnome

แล้วก็ run tray application โดย run

bluetooth-applet

ก็จะปรากฏ tray icon ขึ้นบน tray panel ของ KDE ซึ่งจะสามารถทำการ pair กับอุปกรณ์ bluetooth ชิ้นอื่น ๆ และสามารถทำการเชื่อมต่อได้แล้ว

ที่มา: launchpad, ubuntuforums