Difference between revisions of "Laptop FAQ"

From FreekiWiki
Jump to navigation Jump to search
m (Changed lower case to upper case in first word of the sentence)
Line 1: Line 1:
===Why is the disk imager not working?===
+
{|class="wikitable" style="text-align:center" font-size="90%" border=".05" cellpadding=".4" width=100%  valign="top"
 +
|style="text-align:left" width="20%"|'''Why is the disk imager not working?'''
  
* If the imager can't find the root partition, chances are it is either a bad hard drive (try another drive first) connected improperly, or the little IDE adapter is burned out. They burn out periodically. Check the back of the adapter for burned marks. Ask someone if you are unsure.
+
|style="text-align:left" width=80%| If the imager can't find the root partition, chances are it is either a bad hard drive (try another drive first), an improperly connected hard drive, or the little IDE adapter is burned out. They burn out periodically. Check the back of the adapter for burned marks. Ask someone if you are unsure.
 
+
|-
===How do I fix the 2-inch border screen resolution problem on SONYs?===
+
|style="text-align:left"|'''How do I fix the 2-inch border screen resolution problem on SONYs?'''
 
+
|style="text-align:left"|Open the terminal
$ sudo displayconfig-gtk
+
*Enter'''$ sudo displayconfig-gtk'''
 
+
*Once that is open, click where it says "plug and play". A new window will pop up.  
Once that is open click where it says "plug and play"
+
*The left pane should be generic and the right pane should be '''"LCD Panel 1024x768"'''
 
+
*Then click OK.
A new window will pop up. The left pane should be generic and the right pane should be "LCD Panel 1024x768" then click ok.
+
*Change the resolution in the remaining window down to 1024x768 and click OK.
 
+
*You will have to log out and back in for the fix to take effect.
Then change the resolution in the remaining windown to 1024x768 and click ok.
+
|-
 
+
|style="text-align:left"|'''How to fix the 3 part screen in Dell Inspiron 8000 series in Hardy'''
You will have to log out and back in for the fix to take effect.
+
|style="text-align:left"|Open the terminal  
 
+
*Run '''sudo displayconfig-gtk'''
===How to fix the 3 part screen in Dell Inspiron 8000 series in Hardy===
+
*Select the correct model for Screen 1 (usually the system manufacturer + native resolution)
 
+
*Set the resolution to the monitor's native resolution  
# Log in
+
*Click the OK button  
# Open a terminal
+
*Log out
# Run sudo displayconfig-gtk
+
*Press Ctrl + Alt + F1 to switch to a virtual terminal  
# Select the correct model for Screen 1 (usually the system manufacturer + native resolution)
+
*Run sudo nano /etc/X11/xorg.conf
# Set the resolution to the monitor's native resolution
+
*Find the Virtual line under Section "Screen"  
# Click the OK button
+
*Change the virtual resolution to the native resolution
# Log out
+
*Press Ctrl + O to save, and Ctrl + X to exit.  
# Press Ctrl + Alt + F1 to switch to a virtual terminal
+
*Run sudo /etc/init.d/gdm restart to restart GDM
# Run sudo nano /etc/X11/xorg.conf
+
|-
# Find the Virtual line under Section "Screen"
+
|style="text-align:left"|'''Hibernate problems'''
# Change the virtual resolution to the native resolution
+
|style="text-align:left"|When a hard drive is moved from one laptop to another, hibernate may fail to work. In at least some cases, this is because the drive is being recognized as /dev/sda, rather than /dev/hda.
# Press Ctrl + O to save, and Ctrl + X to exit.
 
# Run sudo /etc/init.d/gdm restart to restart GDM
 
 
 
===Hibernate problems===
 
When a hard drive is moved from one laptop to another, hibernate may fail to work. In at least some cases, this is because the drive is being recognized as /dev/sda, rather than /dev/hda.
 
 
* make sure that the swap partition is a logical partition (not primary) e.g. /dev/sda5
 
* make sure that the swap partition is a logical partition (not primary) e.g. /dev/sda5
 
* make sure that /etc/fstab shows the swap as the correct device.
 
* make sure that /etc/fstab shows the swap as the correct device.
Line 38: Line 34:
 
  # defoptions=resume=/dev/sda5
 
  # defoptions=resume=/dev/sda5
 
* run "sudo update-grub" afterwards  (might need to run "sudo grub-mkdevicemap" first)
 
* run "sudo update-grub" afterwards  (might need to run "sudo grub-mkdevicemap" first)
 
+
|-
===Weirdly large font in login===
+
|style="text-align:left"|'''Weirdly large font in login'''
Login screen looks fine until you put in the username, which is in a huge font (larger than the input field)
+
|style="text-align:left"|Login screen looks fine until you put in the username, which is in a huge font (larger than the input field):This is a bug in the X server which reports the screen size as 289x21 mm.  In the final sense it is something that will be fixed in a future version of X, but for now there is a workaround.  In the "Screen" section of xorg.conf, put in the following line: Option  "DDC" "off"
:This is a bug in the X server which reports the screen size as 289x21 mm.  In the final sense it is something that will be fixed in a future version of X, but for now there is a workaround.  In the "Screen" section of xorg.conf, put in the following line:
+
|-
Option  "DDC" "off"
+
|style="text-align:left"|'''Check the Battery Status'''
 
+
|style="text-align:left"|watch cat /proc/acpi/battery/
===Check the Battery Status===
 
watch cat /proc/acpi/battery/
 
 
Sometimes the remainder of the command is BAT0 or BAT1, sometimes it begins with a "C"  Trial and error will get you there.
 
Sometimes the remainder of the command is BAT0 or BAT1, sometimes it begins with a "C"  Trial and error will get you there.
  
 
You might end up needing to look in "/sys/class/power_supply/BAT0/status" or some such place.
 
You might end up needing to look in "/sys/class/power_supply/BAT0/status" or some such place.
 +
|-
 +
|}
 +
  
 
[[Category:Laptops]]
 
[[Category:Laptops]]

Revision as of 10:10, 8 February 2010

Why is the disk imager not working? If the imager can't find the root partition, chances are it is either a bad hard drive (try another drive first), an improperly connected hard drive, or the little IDE adapter is burned out. They burn out periodically. Check the back of the adapter for burned marks. Ask someone if you are unsure.
How do I fix the 2-inch border screen resolution problem on SONYs? Open the terminal
  • Enter$ sudo displayconfig-gtk
  • Once that is open, click where it says "plug and play". A new window will pop up.
  • The left pane should be generic and the right pane should be "LCD Panel 1024x768"
  • Then click OK.
  • Change the resolution in the remaining window down to 1024x768 and click OK.
  • You will have to log out and back in for the fix to take effect.
How to fix the 3 part screen in Dell Inspiron 8000 series in Hardy Open the terminal
  • Run sudo displayconfig-gtk
  • Select the correct model for Screen 1 (usually the system manufacturer + native resolution)
  • Set the resolution to the monitor's native resolution
  • Click the OK button
  • Log out
  • Press Ctrl + Alt + F1 to switch to a virtual terminal
  • Run sudo nano /etc/X11/xorg.conf
  • Find the Virtual line under Section "Screen"
  • Change the virtual resolution to the native resolution
  • Press Ctrl + O to save, and Ctrl + X to exit.
  • Run sudo /etc/init.d/gdm restart to restart GDM
Hibernate problems When a hard drive is moved from one laptop to another, hibernate may fail to work. In at least some cases, this is because the drive is being recognized as /dev/sda, rather than /dev/hda.
  • make sure that the swap partition is a logical partition (not primary) e.g. /dev/sda5
  • make sure that /etc/fstab shows the swap as the correct device.
  • in /boot/grub/menu.lst make sure that there is the following line.
# defoptions=resume=/dev/sda5
  • run "sudo update-grub" afterwards (might need to run "sudo grub-mkdevicemap" first)
Weirdly large font in login Login screen looks fine until you put in the username, which is in a huge font (larger than the input field):This is a bug in the X server which reports the screen size as 289x21 mm. In the final sense it is something that will be fixed in a future version of X, but for now there is a workaround. In the "Screen" section of xorg.conf, put in the following line: Option "DDC" "off"
Check the Battery Status watch cat /proc/acpi/battery/

Sometimes the remainder of the command is BAT0 or BAT1, sometimes it begins with a "C" Trial and error will get you there.

You might end up needing to look in "/sys/class/power_supply/BAT0/status" or some such place.