Wednesday, March 30, 2011

Fix apport problem when upgrade Ubuntu

May be meet this report like :
Errors were encountered while processing:
apport
cups
apport-gtk


To fix this problem:
sudo update-rc.d -f apport remove
sudo gedit /etc/init.d/apport
- Add "exit 0" right after script declarations... turns out to be line 17 or 18.
sudo apt-get update
sudo apt-get --reinstall install apport

Wednesday, March 9, 2011

Solve "Monitor is unkown and messed up" problems

Signs : messed up monitorresolution and "Unknown monitor" messages when open "Monitor Preferences"
Fix :
- Use cvt 1280 1024 60 command to generate modeline configuration for xrandr command after
The results looks like :
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync

Copy everything on the second line after “Modeline ” and then add that as a new mode :
xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync"

then add mode to proper monitor:
xrandr —addmode VGA1 “1280x1024_60.00”

With VGA1 is VGA port (can replace with "default")
Now, open "Monitor Preferences" to change resolutions