Friday, April 1, 2011

KDE 4.6 Graphics Glitches / Screen Refresh Bug Fix for Intel/GMA VGA Card

The redraw of many widgets when using the KWin doesn’t work correctly:

  1. In Firefox if I scroll down the page, the page is not redraw correctly. I have to move the mouse all over the page to remove the broken text.
  2. Shell window is not updated properly

If you have experience these symptoms with KDE 4.6 under Ubuntu 10.10 Maverick Meerkat with an Intel graphics card, then there is a quick fix:

sudo add-apt-repository ppa:glasen/intel-driver sudo apt-get update && sudo apt-get upgrade

It fixed it for me at least.
My intel graphics card on Asus U35JC:

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Sources:
KDE Forum

Ubuntuku.org

Copied Verbatim from KDE 4.6 screen refresh bug fix for intel graphics card!

Friday, March 25, 2011

How to Upgrade to Firefox 4.0 for Ubuntu

To upgrade Ubuntu to Firefox 4.0, click Applications > Accessories > Terminal then type:

sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update ; sudo apt-get upgrade

Enjoy!

Monday, March 7, 2011

Fixing "(EE) Intel(0): No kernel modesetting drivers detected" on Intel GMA 945G

A computer in one Tuneeca muslim fashion office is a Intel i945 system with Intel GMA 945G (Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) ) graphics card that doesn't work out-of-the-box in Ubuntu 10.10 Maverick Meerkat.

X window system / desktop crashes/cannot start with the /var/log/Xorg.0.log log file as follows:

[     6.966] (WW) Falling back to old probe method for vesa
[     6.966] (WW) Falling back to old probe method for fbdev
[     6.966] (II) Loading sub module "fbdevhw"
[     6.966] (II) LoadModule: "fbdevhw"
[     6.967] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[     6.967] (II) Module fbdevhw: vendor="X.Org Foundation"
[     6.967]    compiled for 1.9.0, module version = 0.0.2
[     6.967]    ABI class: X.Org Video Driver, version 8.0
[     6.967] (EE) open /dev/fb0: No such file or directory
[     6.986] (EE) intel(0): No kernel modesetting driver detected.
[     6.986] (II) UnloadModule: "intel"
[     6.986] (EE) Screen(s) found, but none have a usable configuration.
[     6.986]
Fatal server error:
[     6.986] no screens found

It's possible to skip the problem by using vesa Driver. However there is a much better solution.

After trying many things, from boot options: i915.modeset=1, i915.modeset=0, nomodeset. It turns out the problem is ACPI.

Solution is adding acpi=force to the GRUB2 boot options.

Edit /etc/default/grub by running:

sudo nano /etc/default/grub

and change:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

into:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"

Then run:

sudo update-grub

Restart and now X desktop should work, and the PC is much faster (than with ACPI disabled).

References:

The lspci output:

00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

Wednesday, December 15, 2010

Fixing org.freedesktop.DBus.Error.ServiceUnknown KDE applications error on Ubuntu

Lately I've been frustrated by ALL of my KDE applications not working on Ubuntu 10.10 Maverick Meerkat.

KNode, K3b, Dolphin, nothing.... All of those apps do not work on my laptop.

The error messages are very similar:

$ knode
<unknown program name>(6965)/: Communication problem with  "knode" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.knode was not provided by any .service files" "

After searching through the Internet (and found nothing), I found the solution:

sudo rm -rf /var/tmp/kdecache-*

This will remove all folders beginning with '/var/tmp/kdecache-'

Now my KDE apps start just fine. :-)

It probably was a permission problem. :-P

Monday, December 6, 2010

Ubuntu Repository List for Indonesia (IIX)

ubuntu-logo
When you’re in Indonesia and wanted to update your Ubuntu linux, sometimes it is necessary to get the updates from a Local repository since it’ll be much faster.

You can edit the repository from the terminal by typing command :

gksudo gedit /etc/apt/sources.lst


Or just use whatever text editor you like using the root / superuser privileges to edit/etc/apt/sources.lst

So, here is an IIX (Indonesia Internet Exchange) repository list for Ubuntu and its descendants.

### Kambing University of Indonesia (Telkom, Indosat, OpenIXP, INHERENT)
deb http://kambing.ui.edu/ubuntu karmic main restricted universe multiverse
deb-src http://kambing.ui.edu/ubuntu karmic main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu karmic-updates main restricted universe multiverse
deb-src http://kambing.ui.edu/ubuntu karmic-updates main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu karmic-security main restricted universe multiverse
deb-src http://kambing.ui.edu/ubuntu karmic-security main restricted universe multiverse

### CBN Mirror (OpenIXP)
deb http://ubuntu.cbn.net.id/Ubuntu karmic main restricted universe multiverse
deb-src http://ubuntu.cbn.net.id/Ubuntu karmic main restricted universe multiverse
deb http://ubuntu.cbn.net.id/Ubuntu karmic-updates main restricted universe multiverse
deb-src http://ubuntu.cbn.net.id/Ubuntu karmic-updates main restricted universe multiverse
deb http://ubuntu.cbn.net.id/Ubuntu karmic-security main restricted universe multiverse
deb-src http://ubuntu.cbn.net.id/Ubuntu karmic-security main restricted universe multiverse

### Komo VLSM (OpenIXP)
deb http://komo.vlsm.org/ubuntu karmic main restricted universe multiverse
deb-src http://komo.vlsm.org/ubuntu/ karmic main restricted universe multiverse
deb http://komo.vlsm.org/ubuntu karmic-updates main restricted universe multiverse
deb-src http://komo.vlsm.org/ubuntu karmic-updates main restricted universe multiverse
deb http://komo.vlsm.org/ubuntu karmic-security main restricted universe multiverse
deb-src http://komo.vlsm.org/ubuntu karmic-security main restricted universe multiverse

### IndikaNet (OpenIXP)
deb http://ubuntu.indika.net.id/ karmic main restricted universe multiverse
deb-src http://ubuntu.indika.net.id/ karmic main restricted universe multiverse
deb http://ubuntu.indika.net.id/ karmic-updates main restricted universe multiverse
deb-src http://ubuntu.indika.net.id/ karmic-updates main restricted universe multiverse
deb http://ubuntu.indika.net.id/ karmic-security main restricted universe multiverse
deb-src http://ubuntu.indika.net.id/ karmic-security main restricted universe multiverse

### ITB (Network ITB & Inherent) – FTP only
deb ftp://ftp.itb.ac.id/pub/ubuntu karmic main restricted universe multiverse
deb-src ftp://ftp.itb.ac.id/pub/ubuntu karmic main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu karmic-updates main restricted universe multiverse
deb-src ftp://ftp.itb.ac.id/pub/ubuntu karmic-updates main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu karmic-security main restricted universe multiverse
deb-src ftp://ftp.itb.ac.id/pub/ubuntu karmic-security main restricted universe multiverse

### UGM (Inherent)
deb http://repo.ugm.ac.id/ubuntu karmic main restricted universe multiverse
deb http://repo.ugm.ac.id/ubuntu karmic-updates main restricted universe multiverse
deb http://repo.ugm.ac.id/ubuntu karmic-security main restricted universe multiverse

### FOSS-ID (Telkom)
deb http://dl2.foss-id.web.id/ubuntu karmic main restricted universe multiverse
deb-src http://dl2.foss-id.web.id/ubuntu karmic main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu karmic-updates main restricted universe multiverse
deb-src http://dl2.foss-id.web.id/ubuntu karmic-updates main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu karmic-security main restricted universe multiverse
deb-src http://dl2.foss-id.web.id/ubuntu karmic-security main restricted universe multiverse

### ITS (Inherent)
deb http://mirror.its.ac.id/ubuntu karmic main restricted universe multiverse
deb http://mirror.its.ac.id/ubuntu karmic-updates main restricted universe multiverse
deb http://mirror.its.ac.id/ubuntu karmic-security main restricted universe multiverse

### Buaya (Inherent)
deb http://buaya.klas.or.id/ubuntu karmic main restricted universe multiverse
deb http://buaya.klas.or.id/ubuntu karmic-updates main restricted universe multiverse
deb http://buaya.klas.or.id/ubuntu karmic-security main restricted universe multiverse

### UNEJ (OpenIXP, Telkom)
deb http://mirror.unej.ac.id/ubuntu karmic main restricted universe multiverse
deb-src http://mirror.unej.ac.id/ubuntu karmic main restricted universe multiverse
deb http://mirror.unej.ac.id/ubuntu karmic-updates main restricted universe multiverse
deb-src http://mirror.unej.ac.id/ubuntu karmic-updates main restricted universe multiverse
deb http://mirror.unej.ac.id/ubuntu karmic-security main restricted universe multiverse
deb-src http://mirror.unej.ac.id/ubuntu karmic-security main restricted universe multiverse

You don’t need to use all of them, and honestly, you’d better not use all of them. Use the most stable, up to date, and closest to you since it will be faster that way. For later use, you may write down everything on your sources.lst though, and put comment to the lists that you don’t use.

And don’t forget to update your apt after the change.

sudo apt-get update


Many thanks to these mirror providers, I hope more will follow to spread the delicate of freedom :
KambingCBN NetKomoIndika NetITBUGMFOSS-IDITSBuayaUNEJ

Contact us if one of the mirror is broken without us noticing. We’ll make the updates accordingly.

source : insomnity

Taken from: RubahNakal

Saturday, November 27, 2010

How to Install Adobe Flash Plugin for Mozilla Firefox in Ubuntu 10.10 (Maverick Meerkat)

How to Install Adobe Flash Player Plugin for Mozilla Firefox in Ubuntu 10.10 (Maverick Meerkat) steps are as follows:

  1. Run Applications > Ubuntu Software Center
  2. Search for "adobe flash"
  3. Click Adobe Flash Plugin 10 or Adobe Flash Installer, then click Install button.
    (If both are shown, choose Adobe Flash Plugin 10)
After download & installation finishes, restart Firefox and now you can watch YouTube videos, play games on Facebook, etc.

Note: You must be connected to the Internet to install.

Monday, November 15, 2010

How to Restore GNOME/Ubuntu/Nautilus Default Folder Icons

I was also looking for this. Turned out to be pretty simple. (if you know where to look, of course.. and that's the hard part)

1. Delete the file "$HOME/.config/user-dirs.dirs"
2. Run "xdg-user-dirs-update"

For reference, here's a "proper" user-dirs.dirs file:

# This file is written by xdg-user-dirs-update# If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported.# XDG_DESKTOP_DIR="$HOME/Desktop"XDG_DOWNLOAD_DIR="$HOME/Downloads"XDG_TEMPLATES_DIR="$HOME/Templates"XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_DOCUMENTS_DIR="$HOME/Documents"XDG_MUSIC_DIR="$HOME/Music"XDG_PICTURES_DIR="$HOME/Pictures"XDG_VIDEOS_DIR="$HOME/Videos"

Solution from: ubuntuforums