Vietnamen’s Weblog

Time, Chances, Diligence, Intelligence: which is the most important?


leave a comment »


If you has this error:

Firefox is already running, but it not responding. To open a new window, you must first close the existing Firefox process,…”

But there is no firefox processs when you search using: ps -e | grep firefox

The only way is to copy everything in ~/.mozilla and then delete this folder: rm -rf ~/.mozzila

Now, it works.


Error: Cannot find swap device, please try swapon -a.

Correct: If /dev/sda5 is the swap partition, then call the following 2 commands:

$sudo mkswap /dev/sda5
$sudo swapon /dev/sda5




Ubuntu allows you set up more than one desktop windows at a time (right-click on the bottom taskbar and choose Preferences).  There is also such a neat function that allows you to switch from one desktop to another easily. Press Window-E, then right-click on the windows you want.


The displaying font is so disgusted. It looks thinner and there are overlapped sometimes between characters, specially when you zoom the web page in using Ctr-mouse scroll (Ctrl-+). The good solution is to open the page “opera:config”, find User prefs –> disable “Enable Core X fonts“. Restart Opera.



Undo closed tab: Press Ctrl-Z


Error: Swap partition is disabled

Correct: Run  blkid to find the block ID of the swap partition

…:~$ blkid
/dev/sda1: SEC_TYPE=”msdos” LABEL=”DellUtility” UUID=”07D6-061C” TYPE=”vfat”
/dev/sda2: UUID=”ECBCF760BCF7242C” TYPE=”ntfs”
/dev/sda4: LABEL=”DellRestore” UUID=”0000-0000″ TYPE=”vfat”
/dev/sda5: UUID=”CE9480B854D8185A” LABEL=”DATA” TYPE=”ntfs”
/dev/sda6: UUID=”98c56a53-2ac7-4828-af9a-06e2ad05f2c8” TYPE=”swap”
/dev/sda7: UUID=”d3ddddd4-bff3-5bb9-b323-a6c57d0f7272″ TYPE=”ext3″
/dev/sda8: UUID=”d3ddddd4-bff3-5bb9-b323-a6c57d0f7272″ TYPE=”ext3″
Copy this UUID and paste them in the file /etc/fstab on the swap line so that it looks like this

# /dev/sdb5
UUID=98c56a53-2ac7-4828-af9a-06e2ad05f2c8 none swap sw 0 0

Restart the system




Here discuss troubles occurred to the OS:

  1. Top and bottom panel disappear –> Make sure you install gnome-panel

sudo apt-get install –reinstall gnome-panel


gconftool-2 --shutdown
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

  1. If this error happen afterward: OAFIID:GNOME_FastUserSwitchApplet

Make sure you install: sudo aptitude RET, press / (for search) and type user switch RET; it then jump to the package you need to install, press + for selection and press g (for install). Quit with q. Then logout and login again.




If there is such an error when calling: sudo apt-get update

W: GPG error: intrepid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 1234567890ABCDEF

Here is the solution:

$pgp –keyserver –recv  1234567890ABCDEF

$pgp –export –armor 1234567890ABCDEF | sudo apt-key add –

$sudo apt-get update

It works.



Written by vietnamen

Tháng Một 28, 2009 lúc 8:03 chiều

Posted in Tin học

Trả lời

Mời bạn điền thông tin vào ô dưới đây hoặc kích vào một biểu tượng để đăng nhập: Logo

Bạn đang bình luận bằng tài khoản Đăng xuất /  Thay đổi )

Google+ photo

Bạn đang bình luận bằng tài khoản Google+ Đăng xuất /  Thay đổi )

Twitter picture

Bạn đang bình luận bằng tài khoản Twitter Đăng xuất /  Thay đổi )

Facebook photo

Bạn đang bình luận bằng tài khoản Facebook Đăng xuất /  Thay đổi )


Connecting to %s

%d bloggers like this: