https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Gagliol&feedformat=atomThinkWiki - User contributions [en]2024-03-29T09:41:46ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=35523User:Gagliol2008-01-07T01:37:08Z<p>Gagliol: Removing all content from page</p>
<hr />
<div></div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/menu.lst&diff=33243User:Gagliol/menu.lst2007-09-19T16:19:28Z<p>Gagliol: Undo revision 24238 by Gagliol (Talk)</p>
<hr />
<div>My {{path|/boot/grub/menu.lst}}<br />
<br />
Relevant modifications:<br />
<br />
* set the root for Windoze<br />
* two Linux entries, one with wireless disabled, one with wireless enabled<br />
<br />
# menu.lst - See: grub(8), info grub, update-grub(8)<br />
# grub-install(8), grub-floppy(8),<br />
# grub-md5-crypt, /usr/share/doc/grub<br />
# and /usr/share/doc/grub-doc/.<br />
<br />
## default num<br />
# Set the default entry to the entry number NUM. Numbering starts from 0, and<br />
# the entry number 0 is the default if the command is not used.<br />
#<br />
# You can specify 'saved' instead of a number. In this case, the default entry<br />
# is the entry saved with the command 'savedefault'.<br />
default 0<br />
<br />
## timeout sec<br />
# Set a timeout, in SEC seconds, before automatically booting the default entry<br />
# (normally the first entry defined).<br />
timeout 10<br />
<br />
## hiddenmenu<br />
# Hides the menu by default (press ESC to see the menu)<br />
#hiddenmenu<br />
<br />
# Pretty colours<br />
color cyan/blue white/blue<br />
<br />
## password ['--md5'] passwd<br />
# If used in the first section of a menu file, disable all interactive editing<br />
# control (menu entry editor and command-line) and entries protected by the<br />
# command 'lock'<br />
# e.g. password topsecret<br />
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/<br />
# password topsecret<br />
<br />
#<br />
# examples<br />
#<br />
# title Windows 95/98/NT/2000<br />
# root (hd0,0)<br />
# makeactive<br />
# chainloader +1<br />
#<br />
# title Linux<br />
# root (hd0,1)<br />
# kernel /vmlinuz root=/dev/hda2 ro<br />
#<br />
<br />
#<br />
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST<br />
<br />
### BEGIN AUTOMAGIC KERNELS LIST<br />
## lines between the AUTOMAGIC KERNELS LIST markers will be modified<br />
## by the debian update-grub script except for the default options below<br />
<br />
## DO NOT UNCOMMENT THEM, Just edit them to your needs<br />
<br />
## ## Start Default Options ##<br />
## default kernel options<br />
## default kernel options for automagic boot options<br />
## If you want special options for specifiv kernels use kopt_x_y_z<br />
## where x.y.z is kernel version. Minor versions can be omitted.<br />
## e.g. kopt=root=/dev/hda1 ro<br />
# kopt=root=/dev/hda5 ro <br />
<br />
## default grub root device<br />
## e.g. groot=(hd0,0)<br />
# groot=(hd0,0)<br />
<br />
## should update-grub create alternative automagic boot options<br />
## e.g. alternative=true<br />
## alternative=false<br />
# alternative=true<br />
<br />
## should update-grub lock alternative automagic boot options<br />
## e.g. lockalternative=true<br />
## lockalternative=false<br />
# lockalternative=false<br />
<br />
## altoption boot targets option<br />
## multiple altoptions lines are allowed<br />
## e.g. altoptions=(extra menu suffix) extra boot options<br />
## altoptions=(recovery mode) single<br />
# altoptions=(recovery mode) single<br />
<br />
## nonaltoption boot targets option<br />
## This option controls options to pass to only the<br />
## primary kernel menu item.<br />
## You can have ONLY one nonaltoptions line<br />
# nonaltoptions=quiet splash<br />
<br />
## controls how many kernels should be put into the menu.lst<br />
## only counts the first occurence of a kernel, not the<br />
## alternative kernel options<br />
## e.g. howmany=all<br />
## howmany=7<br />
# howmany=all<br />
<br />
## should update-grub create memtest86 boot option<br />
## e.g. memtest86=true<br />
## memtest86=false<br />
# memtest86=true<br />
<br />
## ## End Default Options ##<br />
<br />
title Ubuntu, kernel 2.6.12-9-386<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda5 ro quiet splash module ipw2100 disable=1<br />
initrd /initrd.img-2.6.12-9-386<br />
savedefault<br />
boot<br />
<br />
title Ubuntu, kernel 2.6.12-9-386 WIFI<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda5 ro quiet splash module ipw2100 disable=0<br />
initrd /initrd.img-2.6.12-9-386<br />
savedefault<br />
boot<br />
<br />
<br />
title Ubuntu, kernel 2.6.12-9-386 (recovery mode)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda5 ro single<br />
initrd /initrd.img-2.6.12-9-386<br />
boot<br />
<br />
title Ubuntu, memtest86+<br />
root (hd0,0)<br />
kernel /memtest86+.bin<br />
boot<br />
<br />
### END DEBIAN AUTOMAGIC KERNELS LIST<br />
<br />
# This is a divider, added to separate the menu items below from the Debian<br />
# ones.<br />
title Other operating systems:<br />
root<br />
<br />
<br />
# This entry automatically added by the Debian installer for a non-linux OS<br />
# on /dev/hda2<br />
title Microsoft Windows XP Professional<br />
root (hd0,1)<br />
savedefault<br />
chainloader +1</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/boot.ini&diff=33242User:Gagliol/boot.ini2007-09-19T16:18:16Z<p>Gagliol: Undo revision 24236 by Gagliol (Talk)</p>
<hr />
<div>My windows' {{path|boot.ini}}. I had to replace partition(1) with partition(2)<br />
as i moved it to the second primary partition.<br />
<br />
[boot loader]<br />
timeout=30<br />
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
[operating systems]<br />
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/interfaces&diff=33241User:Gagliol/interfaces2007-09-19T16:17:09Z<p>Gagliol: Undo revision 24235 by Gagliol (Talk)</p>
<hr />
<div>This is my {{path|/etc/network/interfaces}} file:<br />
<br />
# This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
<br />
# The loopback network interface<br />
auto lo<br />
iface lo inet loopback<br />
<br />
# This is a list of hotpluggable network interfaces.<br />
# They will be activated automatically by the hotplug subsystem.<br />
# I think I had to add 'script grep' to have ethernet ifup'd automatically <br />
mapping hotplug<br />
script grep<br />
map eth1<br />
<br />
# The primary network interface<br />
iface eth1 inet dhcp<br />
<br />
#Wireless<br />
iface eth0 inet dhcp<br />
allow-hotplug eth1<br />
allow-hotplug eth0</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=33240User:Gagliol2007-09-19T16:16:38Z<p>Gagliol: Undo revision 24234 by Gagliol (Talk) either I cut everything and forgot, or somebody knows my pass..</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy).<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. At least that's what I thought at the time but it's probably wrong, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [[http://thunk.org/tytso/linux/t40.html#winxp-fat|here]]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries. This is only audible in a very silent room, where a plug is normally available anyway, so I guess I will keep it like this.. <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/xorg.conf&diff=33239User:Gagliol/xorg.conf2007-09-19T16:16:01Z<p>Gagliol: Undo revision 24237 by Gagliol (Talk)</p>
<hr />
<div>This is my {{path|/etc/X11/xorg.conf}}<br />
<br />
# /etc/X11/xorg.conf (xorg X Window System server configuration file)<br />
#<br />
# This file was generated by dexconf, the Debian X Configuration tool, using<br />
# values from the debconf database.<br />
#<br />
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.<br />
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)<br />
#<br />
# This file is automatically updated on xserver-xorg package upgrades *only*<br />
# if it has not been modified since the last upgrade of the xserver-xorg<br />
# package.<br />
#<br />
# If you have edited this file but would like it to be automatically updated<br />
# again, run the following command:<br />
# sudo dpkg-reconfigure -phigh xserver-xorg<br />
<br />
Section "Files"<br />
FontPath "/usr/share/X11/fonts/misc"<br />
FontPath "/usr/share/X11/fonts/cyrillic"<br />
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"<br />
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"<br />
FontPath "/usr/share/X11/fonts/Type1"<br />
FontPath "/usr/share/X11/fonts/CID"<br />
FontPath "/usr/share/X11/fonts/100dpi"<br />
FontPath "/usr/share/X11/fonts/75dpi"<br />
# paths to defoma fonts<br />
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"<br />
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "GLcore"<br />
Load "i2c"<br />
Load "bitmap"<br />
Load "ddc"<br />
Load "dri"<br />
Load "extmod"<br />
Load "freetype"<br />
Load "glx"<br />
Load "int10"<br />
Load "type1"<br />
Load "vbe"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Generic Keyboard"<br />
Driver "kbd"<br />
Option "CoreKeyboard"<br />
Option "XkbRules" "xorg"<br />
Option "XkbModel" "pc104"<br />
Option "XkbLayout" "us"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ImPS/2"<br />
Option "Buttons" "7"<br />
Option "Emulate3Buttons" "on"<br />
Option "Emulate3Timeout" "100"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelButton" "2"<br />
Option "EmulateWheelTimeout" "500"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
#Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "ATI Technologies, Inc. Radeon Mobility 9000 (M6 LY)"<br />
Driver "ati"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "Generic Monitor"<br />
Option "DPMS"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Device "ATI Technologies, Inc. Radeon Mobility 9000 (M6 LY)"<br />
Monitor "Generic Monitor"<br />
DefaultDepth 24<br />
SubSection "Display"<br />
Depth 1<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 4<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 8<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 15<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 16<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 24<br />
Modes "1024x768"<br />
EndSubSection<br />
EndSection<br />
<br />
Section "ServerLayout"<br />
Identifier "Default Layout"<br />
Screen "Default Screen"<br />
InputDevice "Generic Keyboard"<br />
InputDevice "Configured Mouse"<br />
EndSection<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/menu.lst&diff=24238User:Gagliol/menu.lst2006-08-17T10:07:48Z<p>Gagliol: </p>
<hr />
<div></div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/xorg.conf&diff=24237User:Gagliol/xorg.conf2006-08-17T10:06:56Z<p>Gagliol: </p>
<hr />
<div></div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/boot.ini&diff=24236User:Gagliol/boot.ini2006-08-17T10:06:15Z<p>Gagliol: </p>
<hr />
<div></div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/interfaces&diff=24235User:Gagliol/interfaces2006-08-17T10:05:49Z<p>Gagliol: </p>
<hr />
<div></div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24234User:Gagliol2006-08-17T10:05:20Z<p>Gagliol: </p>
<hr />
<div></div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24209User:Gagliol2006-08-17T00:20:16Z<p>Gagliol: /* My thinkpad */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy).<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. At least that's what I thought at the time but it's probably wrong, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [[http://thunk.org/tytso/linux/t40.html#winxp-fat|here]]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries. This is only audible in a very silent room, where a plug is normally available anyway, so I guess I will keep it like this.. <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24208User:Gagliol2006-08-17T00:19:36Z<p>Gagliol: /* My thinkpad */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU), bought used. <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy).<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. At least that's what I thought at the time but it's probably wrong, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [[http://thunk.org/tytso/linux/t40.html#winxp-fat|here]]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries. This is only audible in a very silent room, where a plug is normally available anyway, so I guess I will keep it like this.. <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24207User:Gagliol2006-08-17T00:18:16Z<p>Gagliol: /* Current issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. At least that's what I thought at the time but it's probably wrong, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [[http://thunk.org/tytso/linux/t40.html#winxp-fat|here]]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't as {{key|Fn}} combinations are interpreted by the BIOS)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries. This is only audible in a very silent room, where a plug is normally available anyway, so I guess I will keep it like this.. <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24206User:Gagliol2006-08-17T00:14:18Z<p>Gagliol: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. At least that's what I thought at the time but it's probably wrong, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it, AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net, see for example [[http://thunk.org/tytso/linux/t40.html#winxp-fat|here]]: after install/restore, Windows filesystem is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24205User:Gagliol2006-08-17T00:09:39Z<p>Gagliol: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. At least that's what I thought at the time but it's probably wrong, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it,<br />
AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net,<br />
see for example [[http://thunk.org/tytso/linux/t40.html#winxp-fat|here]]: after install/restore, Windows partition is actually FAT32, and it's converted to NTFS only at the first run. This is useful as FAT is better supported by Linux.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24204User:Gagliol2006-08-16T23:57:55Z<p>Gagliol: </p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. At least that's what I thought at the time but it's probably wrong, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it,<br />
AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net: after install/restore, Windows partition is actually FAT32, and it's converted to NTFS only at the first run.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24195User:Gagliol2006-08-16T19:16:54Z<p>Gagliol: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition. At least that's what I thought at the time but it's probably wrong, see [[How_to_setup_boot_loaders#Installing_GRUB_to_a_partitions_boot_sector|here]]. Anyway, I wanted to keep Linux in front, as I plan to remove windoze completely, and the first part of the disk should be faster.<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it,<br />
AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net: after install/restore, Windows partition is actually FAT32, and it's converted to NTFS only at the first run.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24193User:Gagliol2006-08-16T19:06:22Z<p>Gagliol: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' [[User:Gagliol/boot.ini|boot.ini]]:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it,<br />
AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net: after install/restore, Windows partition is actually FAT32, and it's converted to NTFS only at the first run.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/boot.ini&diff=24192User:Gagliol/boot.ini2006-08-16T19:05:15Z<p>Gagliol: </p>
<hr />
<div>My windows' {{path|boot.ini}}. I had to replace partition(1) with partition(2)<br />
as i moved it to the second primary partition.<br />
<br />
[boot loader]<br />
timeout=30<br />
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
[operating systems]<br />
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24191User:Gagliol2006-08-16T19:04:40Z<p>Gagliol: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition<br />
* Windows would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windows, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windows, at the end of the disk, before the rescue partition. Copy windows there. <br />
* Modify windows' {{path|boot.ini}}:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windows in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
{{NOTE|My windows partition is a FAT32. This is because, after restoring it,<br />
AND BEFORE ever starting it, I renamed the file <windows-dir>/system32/convert.exe. I found this info somewhere on the net: after install/restore, Windows partition is actually FAT32, and it's converted to NTFS only at the first run.}}<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24190User:Gagliol2006-08-16T18:54:30Z<p>Gagliol: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition<br />
* Windoze would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windoze, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windoze, at the end of the disk, before the rescue partition. Copy windoze there. <br />
* Modify windows {{path|boot.ini}}:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windoze in [[User:Gagliol/menu.lst|GRUB menu]]. See also [[How_to_setup_boot_loaders#GRUB_configuration|here]].<br />
<br />
My current partition table according to fdisk:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/boot.ini&diff=24189User:Gagliol/boot.ini2006-08-16T18:49:00Z<p>Gagliol: </p>
<hr />
<div>My windoze {{path|boot.ini}}. I had to replace partition(1) with partition(2)<br />
as i moved it to the second primary partition.<br />
<br />
[boot loader]<br />
timeout=30<br />
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
[operating systems]<br />
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24188User:Gagliol2006-08-16T18:46:29Z<p>Gagliol: /* Configuration files */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition<br />
* Windoze would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windoze, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windoze, at the end of the disk, before the rescue partition. Copy windoze there. <br />
* Modify windows {{path|boot.ini}}:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windoze in [[User:Gagliol/menu.lst|GRUB menu]]<br />
<br />
My current partition table:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
* [[User:Gagliol/xorg.conf|xorg.conf]]<br />
* [[User:Gagliol/interfaces|interfaces]]<br />
* GRUB's [[User:Gagliol/menu.lst|menu.lst]]<br />
* Windoze [[User:Gagliol/boot.ini|boot.ini]]<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24187User:Gagliol2006-08-16T18:43:53Z<p>Gagliol: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[How_to_setup_boot_loaders#GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition<br />
* Windoze would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windoze, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windoze, at the end of the disk, before the rescue partition. Copy windoze there. <br />
* Modify windows {{path|boot.ini}}:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windoze in [[User:Gagliol/menu.lst|GRUB menu]]<br />
<br />
My current partition table:<br />
<br />
Disk /dev/hda: 36.8 GB, 36825459200 bytes<br />
255 heads, 63 sectors/track, 4477 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
<br />
Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 6 48163+ 83 Linux<br />
/dev/hda2 3651 4477 6642877+ b W95 FAT32<br />
/dev/hda3 7 249 1951897+ 82 Linux swap / Solaris<br />
/dev/hda4 250 3650 27318532+ 5 Extended<br />
/dev/hda5 250 3650 27318501 83 Linux<br />
<br />
Partition table entries are not in disk order<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
*[[User:Gagliol/xorg.conf|xorg.conf]]<br />
*[[User:Gagliol/interfaces|interfaces]]<br />
*[[User:Gagliol/menu.lst|GRUB menu.lst]]<br />
<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24186User:Gagliol2006-08-16T18:37:38Z<p>Gagliol: /* Installation issues */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition<br />
* Windoze would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windoze, it will rewrite the MBR anyway) <br />
<br />
My solution (DO IT AT YOUR OWN RISK):<br />
* Create a new primary partition for Windoze, at the end of the disk, before the rescue partition. Copy windoze there.<br />
* Modify windows {{path|boot.ini}}:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windoze in [[User:Gagliol/menu.lst|GRUB menu]]<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
*[[User:Gagliol/xorg.conf|xorg.conf]]<br />
*[[User:Gagliol/interfaces|interfaces]]<br />
*[[User:Gagliol/menu.lst|GRUB menu.lst]]<br />
<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24185User:Gagliol2006-08-16T18:36:08Z<p>Gagliol: /* Post-install configuration */</p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition<br />
* Windoze would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windoze, it will rewrite the MBR anyway) <br />
<br />
My solution:<br />
* Create a new primary partition for Windoze, at the end of the disk, before the rescue partition. Copy windoze there.<br />
* Modify windows {{path|boot.ini}}:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windoze in [[User:Gagliol/menu.lst|GRUB menu]]<br />
<br />
==Post-install configuration==<br />
<br />
* (I think I) modified [[User:Gagliol/interfaces|interfaces]] to enable hotplugging the ethernet cable<br />
<br />
==Configuration files==<br />
<br />
*[[User:Gagliol/xorg.conf|xorg.conf]]<br />
*[[User:Gagliol/interfaces|interfaces]]<br />
*[[User:Gagliol/menu.lst|GRUB menu.lst]]<br />
<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/interfaces&diff=24184User:Gagliol/interfaces2006-08-16T18:31:17Z<p>Gagliol: </p>
<hr />
<div>This is my {{path|/etc/network/interfaces}} file:<br />
<br />
# This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
<br />
# The loopback network interface<br />
auto lo<br />
iface lo inet loopback<br />
<br />
# This is a list of hotpluggable network interfaces.<br />
# They will be activated automatically by the hotplug subsystem.<br />
# I think I had to add 'script grep' to have ethernet ifup'd automatically <br />
mapping hotplug<br />
script grep<br />
map eth1<br />
<br />
# The primary network interface<br />
iface eth1 inet dhcp<br />
<br />
#Wireless<br />
iface eth0 inet dhcp<br />
allow-hotplug eth1<br />
allow-hotplug eth0</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24183User:Gagliol2006-08-16T18:30:31Z<p>Gagliol: </p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Installation issues==<br />
<br />
I first installed [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy). I wanted<br />
to keep Windoze, just in case I needed it (but I never use it ;) ), and keep<br />
the [[Hidden Protected Area|hidden protected area]], and be able to reach it at startup, just in case I sell the laptop back at some point. My problem was that:<br />
* [[GRUB|GRUB]] has to be installed either in the [[Master Boot Record|MBR]] or in the first partition<br />
* Windoze would only work being on the first partition (AFAIK)<br />
* Putting GRUB in the MBR would overwrite the original setup/recovery tools (AFAIK - Note: if you do this, and later manage to start Windoze, it will rewrite the MBR anyway) <br />
<br />
My solution:<br />
* Create a new primary partition for Windoze, at the end of the disk, before the rescue partition. Copy windoze there.<br />
* Modify windows {{path|boot.ini}}:<br />
{{cmduser|diff /windows/boot.ini /windows/boot.ini~}}<br />
3c3<br />
< default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS<br />
---<br />
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS<br />
5c5<br />
< multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
---<br />
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect<br />
* Set root partition to (hd0,1) for Windoze in [[User:Gagliol/menu.lst|GRUB menu]]<br />
<br />
==Post-install configuration==<br />
<br />
<br />
==Configuration files==<br />
<br />
*[[User:Gagliol/xorg.conf|xorg.conf]]<br />
*[[User:Gagliol/interfaces|interfaces]]<br />
*[[User:Gagliol/menu.lst|GRUB menu.lst]]<br />
<br />
<br />
==Current issues and open questions== <br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/menu.lst&diff=24181User:Gagliol/menu.lst2006-08-16T18:28:07Z<p>Gagliol: </p>
<hr />
<div>My {{path|/boot/grub/menu.lst}}<br />
<br />
Relevant modifications:<br />
<br />
* set the root for Windoze<br />
* two Linux entries, one with wireless disabled, one with wireless enabled<br />
<br />
# menu.lst - See: grub(8), info grub, update-grub(8)<br />
# grub-install(8), grub-floppy(8),<br />
# grub-md5-crypt, /usr/share/doc/grub<br />
# and /usr/share/doc/grub-doc/.<br />
<br />
## default num<br />
# Set the default entry to the entry number NUM. Numbering starts from 0, and<br />
# the entry number 0 is the default if the command is not used.<br />
#<br />
# You can specify 'saved' instead of a number. In this case, the default entry<br />
# is the entry saved with the command 'savedefault'.<br />
default 0<br />
<br />
## timeout sec<br />
# Set a timeout, in SEC seconds, before automatically booting the default entry<br />
# (normally the first entry defined).<br />
timeout 10<br />
<br />
## hiddenmenu<br />
# Hides the menu by default (press ESC to see the menu)<br />
#hiddenmenu<br />
<br />
# Pretty colours<br />
color cyan/blue white/blue<br />
<br />
## password ['--md5'] passwd<br />
# If used in the first section of a menu file, disable all interactive editing<br />
# control (menu entry editor and command-line) and entries protected by the<br />
# command 'lock'<br />
# e.g. password topsecret<br />
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/<br />
# password topsecret<br />
<br />
#<br />
# examples<br />
#<br />
# title Windows 95/98/NT/2000<br />
# root (hd0,0)<br />
# makeactive<br />
# chainloader +1<br />
#<br />
# title Linux<br />
# root (hd0,1)<br />
# kernel /vmlinuz root=/dev/hda2 ro<br />
#<br />
<br />
#<br />
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST<br />
<br />
### BEGIN AUTOMAGIC KERNELS LIST<br />
## lines between the AUTOMAGIC KERNELS LIST markers will be modified<br />
## by the debian update-grub script except for the default options below<br />
<br />
## DO NOT UNCOMMENT THEM, Just edit them to your needs<br />
<br />
## ## Start Default Options ##<br />
## default kernel options<br />
## default kernel options for automagic boot options<br />
## If you want special options for specifiv kernels use kopt_x_y_z<br />
## where x.y.z is kernel version. Minor versions can be omitted.<br />
## e.g. kopt=root=/dev/hda1 ro<br />
# kopt=root=/dev/hda5 ro <br />
<br />
## default grub root device<br />
## e.g. groot=(hd0,0)<br />
# groot=(hd0,0)<br />
<br />
## should update-grub create alternative automagic boot options<br />
## e.g. alternative=true<br />
## alternative=false<br />
# alternative=true<br />
<br />
## should update-grub lock alternative automagic boot options<br />
## e.g. lockalternative=true<br />
## lockalternative=false<br />
# lockalternative=false<br />
<br />
## altoption boot targets option<br />
## multiple altoptions lines are allowed<br />
## e.g. altoptions=(extra menu suffix) extra boot options<br />
## altoptions=(recovery mode) single<br />
# altoptions=(recovery mode) single<br />
<br />
## nonaltoption boot targets option<br />
## This option controls options to pass to only the<br />
## primary kernel menu item.<br />
## You can have ONLY one nonaltoptions line<br />
# nonaltoptions=quiet splash<br />
<br />
## controls how many kernels should be put into the menu.lst<br />
## only counts the first occurence of a kernel, not the<br />
## alternative kernel options<br />
## e.g. howmany=all<br />
## howmany=7<br />
# howmany=all<br />
<br />
## should update-grub create memtest86 boot option<br />
## e.g. memtest86=true<br />
## memtest86=false<br />
# memtest86=true<br />
<br />
## ## End Default Options ##<br />
<br />
title Ubuntu, kernel 2.6.12-9-386<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda5 ro quiet splash module ipw2100 disable=1<br />
initrd /initrd.img-2.6.12-9-386<br />
savedefault<br />
boot<br />
<br />
title Ubuntu, kernel 2.6.12-9-386 WIFI<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda5 ro quiet splash module ipw2100 disable=0<br />
initrd /initrd.img-2.6.12-9-386<br />
savedefault<br />
boot<br />
<br />
<br />
title Ubuntu, kernel 2.6.12-9-386 (recovery mode)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda5 ro single<br />
initrd /initrd.img-2.6.12-9-386<br />
boot<br />
<br />
title Ubuntu, memtest86+<br />
root (hd0,0)<br />
kernel /memtest86+.bin<br />
boot<br />
<br />
### END DEBIAN AUTOMAGIC KERNELS LIST<br />
<br />
# This is a divider, added to separate the menu items below from the Debian<br />
# ones.<br />
title Other operating systems:<br />
root<br />
<br />
<br />
# This entry automatically added by the Debian installer for a non-linux OS<br />
# on /dev/hda2<br />
title Microsoft Windows XP Professional<br />
root (hd0,1)<br />
savedefault<br />
chainloader +1</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24177User:Gagliol2006-08-16T17:27:01Z<p>Gagliol: </p>
<hr />
<div>== My thinkpad ==<br />
<br />
IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
==Configuration files==<br />
<br />
*[[User:Gagliol/xorg.conf|xorg.conf]]<br />
*[[User:Gagliol/interfaces|interfaces]]<br />
<br />
==Current issues and open questions==<br />
<br />
* How can I switch {{key|Fn}} and {{key|Ctrl}} keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24172User:Gagliol2006-08-16T17:16:30Z<p>Gagliol: </p>
<hr />
<div>IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
Configuration files:<br />
<br />
*[[User:Gagliol/xorg.conf|xorg.conf]]<br />
*[[User:Gagliol/interfaces|interfaces]]<br />
<br />
Current issues and open questions:<br />
<br />
* How can I switch Fn and Ctrl keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. See the "InputDevice" section in my [[User:Gagliol/xorg.conf|xorg.conf]]<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|Hissing sound]] when on batteries <br />
<br />
* Untested: <br />
** Irda<br />
** modem<br />
** IEEE 1394<br />
** Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24171User:Gagliol2006-08-16T17:06:27Z<p>Gagliol: </p>
<hr />
<div>IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
Configuration files:<br />
<br />
*[[User:Gagliol/xorg.conf|xorg.conf]]<br />
*[[User:Gagliol/interfaces|interfaces]]<br />
<br />
Current issues and open questions:<br />
<br />
* How can I switch Fn and Ctrl keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. This is the corresponding section in {{path|xorg.conf}}:<br />
<br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ImPS/2"<br />
Option "Buttons" "7"<br />
Option "Emulate3Buttons" "on"<br />
Option "Emulate3Timeout" "100"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelButton" "2"<br />
Option "EmulateWheelTimeout" "500"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
EndSection<br />
<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|hissing sound]] when on batteries <br />
<br />
* Untested: Irda<br />
<br />
* Untested: modem<br />
<br />
* Untested: IEEE 1394<br />
<br />
* Untested: Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/interfaces&diff=24170User:Gagliol/interfaces2006-08-16T17:05:58Z<p>Gagliol: </p>
<hr />
<div>This is my {{path|/etc/network/interfaces}} file:<br />
<br />
# This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
<br />
# The loopback network interface<br />
auto lo<br />
iface lo inet loopback<br />
<br />
# This is a list of hotpluggable network interfaces.<br />
# They will be activated automatically by the hotplug subsystem.<br />
# I think I had to add 'script grep' to have ethernet ifup'd automatically <br />
mapping hotplug<br />
script grep<br />
map eth1<br />
<br />
# The primary network interface<br />
iface eth1 inet dhcp<br />
<br />
#Wireless<br />
iface eth0 inet dhcp<br />
allow-hotplug eth1<br />
allow-hotplug eth0</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol/xorg.conf&diff=24169User:Gagliol/xorg.conf2006-08-16T16:59:39Z<p>Gagliol: </p>
<hr />
<div>This is my {{path|/etc/X11/xorg.conf}}<br />
<br />
# /etc/X11/xorg.conf (xorg X Window System server configuration file)<br />
#<br />
# This file was generated by dexconf, the Debian X Configuration tool, using<br />
# values from the debconf database.<br />
#<br />
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.<br />
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)<br />
#<br />
# This file is automatically updated on xserver-xorg package upgrades *only*<br />
# if it has not been modified since the last upgrade of the xserver-xorg<br />
# package.<br />
#<br />
# If you have edited this file but would like it to be automatically updated<br />
# again, run the following command:<br />
# sudo dpkg-reconfigure -phigh xserver-xorg<br />
<br />
Section "Files"<br />
FontPath "/usr/share/X11/fonts/misc"<br />
FontPath "/usr/share/X11/fonts/cyrillic"<br />
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"<br />
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"<br />
FontPath "/usr/share/X11/fonts/Type1"<br />
FontPath "/usr/share/X11/fonts/CID"<br />
FontPath "/usr/share/X11/fonts/100dpi"<br />
FontPath "/usr/share/X11/fonts/75dpi"<br />
# paths to defoma fonts<br />
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"<br />
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "GLcore"<br />
Load "i2c"<br />
Load "bitmap"<br />
Load "ddc"<br />
Load "dri"<br />
Load "extmod"<br />
Load "freetype"<br />
Load "glx"<br />
Load "int10"<br />
Load "type1"<br />
Load "vbe"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Generic Keyboard"<br />
Driver "kbd"<br />
Option "CoreKeyboard"<br />
Option "XkbRules" "xorg"<br />
Option "XkbModel" "pc104"<br />
Option "XkbLayout" "us"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ImPS/2"<br />
Option "Buttons" "7"<br />
Option "Emulate3Buttons" "on"<br />
Option "Emulate3Timeout" "100"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelButton" "2"<br />
Option "EmulateWheelTimeout" "500"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
#Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "ATI Technologies, Inc. Radeon Mobility 9000 (M6 LY)"<br />
Driver "ati"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "Generic Monitor"<br />
Option "DPMS"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Device "ATI Technologies, Inc. Radeon Mobility 9000 (M6 LY)"<br />
Monitor "Generic Monitor"<br />
DefaultDepth 24<br />
SubSection "Display"<br />
Depth 1<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 4<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 8<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 15<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 16<br />
Modes "1024x768"<br />
EndSubSection<br />
SubSection "Display"<br />
Depth 24<br />
Modes "1024x768"<br />
EndSubSection<br />
EndSection<br />
<br />
Section "ServerLayout"<br />
Identifier "Default Layout"<br />
Screen "Default Screen"<br />
InputDevice "Generic Keyboard"<br />
InputDevice "Configured Mouse"<br />
EndSection<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24168User:Gagliol2006-08-16T16:51:58Z<p>Gagliol: </p>
<hr />
<div>IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
Current issues and open questions:<br />
<br />
* How can I switch Fn and Ctrl keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button. For the moment I'm using button 2 to scroll, and emulating 2=1+3 to paste. This is the corresponding section in {{path|xorg.conf}}:<br />
<br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "ImPS/2"<br />
Option "Buttons" "7"<br />
Option "Emulate3Buttons" "on"<br />
Option "Emulate3Timeout" "100"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelButton" "2"<br />
Option "EmulateWheelTimeout" "500"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
EndSection<br />
<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|hissing sound]] when on batteries <br />
<br />
* Untested: Irda<br />
<br />
* Untested: modem<br />
<br />
* Untested: IEEE 1394<br />
<br />
* Untested: Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24167User:Gagliol2006-08-16T16:33:21Z<p>Gagliol: </p>
<hr />
<div>IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
Current issues and open questions:<br />
<br />
* How can I switch Fn and Ctrl keys? (I guess I can't)<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|hissing sound]] when on batteries <br />
<br />
* Untested: Irda<br />
<br />
* Untested: modem<br />
<br />
* Untested: IEEE 1394<br />
<br />
* Untested: Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=24165User:Gagliol2006-08-16T16:14:37Z<p>Gagliol: </p>
<hr />
<div>IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
Current issues and open questions:<br />
<br />
* How can I switch Fn and Ctrl keys?<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* [[Problem with high pitch noises|hissing sound]] when on batteries <br />
<br />
* Untested: Irda<br />
<br />
* Untested: modem<br />
<br />
* Untested: IEEE 1394<br />
<br />
* Untested: Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=Problem_with_high_pitch_noises&diff=24164Problem with high pitch noises2006-08-16T16:10:24Z<p>Gagliol: /* Affected Models */</p>
<hr />
<div>Information on strange high pitch, low volume noises emitted by ThinkPads.<br />
<br />
==Problem description==<br />
Even though ThinkPads are known as very silent notebooks, they tend to emit different, mostly high pitch noises in certain circumstances. The noises are of low volume and hence not realized by everyone or at least tolerated by most people. However, there are those with "bat like ears" that hear them and might be annoyed by that.<br />
<br />
==Affected Models==<br />
Noises have been experienced in the following situations:<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
|-<br />
! style="vertical-align:top;background-color:#DDDDDD;" | situation<br />
! style="vertical-align:top;background-color:#DDDDDD;" | noise description<br />
! style="vertical-align:top;background-color:#DDDDDD;" | affected models<br />
|-<br />
| style="vertical-align:top;" |<br />
Plugged into AC / running at high CPU frequency<br />
| style="vertical-align:top;" |<br />
soft crackling, buzzing noise<br />
| style="vertical-align:top;" |<br />
*{{T41}}<br />
**2379-DJU<br />
|-<br />
| style="vertical-align:top;" |<br />
ThinkPad suspended to RAM<br />
| style="vertical-align:top;" |<br />
constant high pitch noise<br />
| style="vertical-align:top;" |<br />
*{{T42p}}<br />
|-<br />
| style="vertical-align:top;" |<br />
ThinkPad connected to power and switched off, with battery fully charged<br />
| style="vertical-align:top;" |<br />
constant high pitch noise<br />
| style="vertical-align:top;" |<br />
*{{T41p}}<br />
**2373-GHG<br />
|-<br />
| style="vertical-align:top;" |<br />
moving windows or just the mouse in xorg<br />
| style="vertical-align:top;" |<br />
strange noise like a rapid series of very short high pitch noises adding to a constant kind of whistling (only as long as the movement goes)<br />
| style="vertical-align:top;" |<br />
*{{T41p}}<br />
**2373-GHG<br />
|-<br />
| style="vertical-align:top;" |<br />
Thinkpad connected to power or working on battery, also when suspended to RAM<br />
| style="vertical-align:top;" |<br />
High pitch noise also when HD is powered down.<br />
| style="vertical-align:top;" |<br />
*{{T23}}<br />
**2647-DG4<br />
*{{X24}}<br />
**2662-MWG<br />
|-<br />
| style="vertical-align:top;" |<br />
Thinkpad connected to power battery charged less than 60%<br />
| style="vertical-align:top;" |<br />
High pitch noise till battery is charged more than 60%.<br />
| style="vertical-align:top;" |<br />
*{{T41p}}<br />
**2373-GEG<br />
|-<br />
| style="vertical-align:top;" |<br />
Constantly, if AC connected<br />
| style="vertical-align:top;" |<br />
High pitched, low volume constant noise.<br />
| style="vertical-align:top;" |<br />
*{{T40}}<br />
**2373-88U<br />
|-<br />
| style="vertical-align:top;" |<br />
When the CPU freq jumps up to 1Ghz or above, or when the laptop is in suspend mode<br />
| style="vertical-align:top;" |<br />
Constant high pitched<br />
| style="vertical-align:top;" |<br />
*{{R50}}<br />
**1829-6DM<br />
|-<br />
| style="vertical-align:top;" |<br />
(May come from harddisk.)<br />
| style="vertical-align:top;" |<br />
continuous, intermittent, low volume, high pitched<br />
| style="vertical-align:top;" |<br />
*{{600X}}<br />
|-<br />
| style="vertical-align:top;" |<br />
ACPI puts the processor into the C3 or C4 power saving states (i.e., the system is idle).<br />
| style="vertical-align:top;" |<br />
High-pitched crackling noise.<br />
| style="vertical-align:top;" |<br />
*{{X41}}<br />
*{{T43}}<br />
**2686-DGU<br />
*{{T43p}}<br />
*{{T21}}<br />
|-<br />
| style="vertical-align:top;" |<br />
Cpufreqd (or powernowd etc.) slows down the processor, for exemple at the end of an heavy task.<br />
| style="vertical-align:top;" |<br />
High-pitched crackling noise.<br />
| style="vertical-align:top;" |<br />
*{{T42}}<br />
|-<br />
| style="vertical-align:top;" |<br />
When on battery<br />
| style="vertical-align:top;" |<br />
Almost inaudible screeching sound, or sometimes beeping (when wifi is on)<br />
| style="vertical-align:top;" |<br />
*{{R52}}<br />
**1858-A11<br />
*{{T43}}<br />
**2686-DGU<br />
*{{x60}}<br />
*{{x31}}<br />
**2673-CBU<br />
<br />
|-<br />
| CPU is used much AND laptop is on AC power AND the TFT panel is enabled.<br />
| Screetching high pitch noise, like a million crickets<br />
| <br />
* {{X41}}<br />
<br />
|-<br />
| Network is pluged in and networkload is ~100%.<br />
| low volume highfreq. pitch noise from left speaker or cpu.<br />
|<br />
*{{Z60}}<br />
|}<br />
<br />
==Affected Operating Systems==<br />
All, though Linux appears especially susceptible.<br />
<br />
==Possible sources==<br />
<br />
* '''CPU activity:''' On some models the noise is triggered by certain CPU power states or activity patterns (as proven [http://www.wisdom.weizmann.ac.il/~tromer/acoustic here]).<br />
* '''Graphics processor:''' In some models from the T2x era, e.g. the {{T23}}, the problem was related to the graphics circuitry and occured especially or only while making use of DirectDraw functions. IBM was able to fix it through a BIOS upgrade.<br />
* '''Hard disk:''' On some ThinkPads the processor and hard disk are adjacent and produce similar noise. For example, in the {{X41}} the sound generated by the hard disk is likely to be loudest at the vent.<br />
<br />
==Status==<br />
<br />
The problem is highly specific to operating system, model and even individual machines. There is no universal solution, but on most machines one of the following will reduce or eliminate the noise (possibly at some cost in power consumption).<br />
<br />
==Solutions for CPU-triggered noise==<br />
<br />
===Limit ACPI CPU power states===<br />
<br />
There are four ACPI CPU power states, called C1 through C4. Often only the extreme power saving modes C4 or C3 produce the noise, so the noise can be stopped by insructing the Linux ACPI code to use only lower modes.<br />
<br />
To forbid the ACPI driver from using C4 (this fixed the problem with on some ThinkPad {{T43}}, {{T43p}} and {{T41}}):<br />
* If the ACPI processor component is compiled as built-in (<tt>CONFIG_ACPI_PROCESSOR=y</tt>):<br />
**Pass the {{bootparm|max_cstate|3}} kernel argument.<br />
* If the ACPI processor component is loaded as a module (<tt>CONFIG_ACPI_PROCESSOR=m</tt> and <tt>processor</tt> shows in the output of {{cmdroot|lsmod}}), do either of:<br />
** Pass the {{bootparm|processor.max_cstate|3}} kernel argument (this does not work in Ubuntu 5.10 with default kernel).<br />
** Add <code>options processor max_cstate=3</code> to {{path|/etc/modprobe.conf}} (or {{path|/etc/modprobe.conf.local}}, or {{path|/etc/modprobe.d/...}}, depending on your system) (this does not work in Ubuntu 5.10 with default kernel).<br />
** {{cmdroot|echo 3 > /sys/module/processor/parameters/max_cstate}} (this can be changed in runtime for experimentation). (If may need to be set again upon resume from suspend, e.g., in the wakeup script.)<br />
** (On Ubuntu 5.10, the default kernel uses <code>processor</code> as a module. Unfortunately, the script loading it, {{path|/etc/init.d/acpid}}, ignores the <code>options processor max_cstate=3</code> setting in {{path|/etc/modprobe.d/<my file>}}. As a solution for this specific problem, add the line <code>echo 2 > /sys/module/processor/parameters/max_cstate</code> directly to {{path|/etc/init.d/acpid}}, at the end of the function <code>load_modules()</code>, immediately after the line <code>echo "$PRINTK" > /proc/sys/kernel/printk</code>.)<br />
<br />
To also forbid the C3 state, replace "<tt>3</tt>" with "<tt>2</tt>" above (this fixed the problem on some ThinkPad {{X40}}, {{X41}}, and {{R52}}):<br />
<br />
Note that these options affect power consumption when the CPU is idle. For example, here are the power consumption figures on a ThinkPad {{T43}}:<br />
* {{bootparm|processor.max_cstate|4}}: 15160mW (default, noisy)<br />
* {{bootparm|processor.max_cstate|3}}: 15770mW (660mW higher, silent)<br />
* {{bootparm|processor.max_cstate|2}}: 16100mW (2940mW higher, silent)<br />
<br />
See the [http://thinkwiki.org/wiki?title=Talk:Problem_with_high_pitch_noises discussion page] for further information and success reports.<br />
<br />
*Jakob Schou Pedersen: Editing the file {{path|/etc/init.d/acpid}} as described above (the last solution) worked on my T43 :-)<br />
<br />
===Turn off CPU power saving in in BIOS===<br />
<br />
Go into the BIOS and turn off the power saving processor feature that puts it into idle mode. (This worked on a ThinkPad {{T43}}, {{T21}} and {{X60s}}.)<br />
<br />
===Disable ACPI CPU power states===<br />
<br />
Completely disable CPU ACPI power states. Discussion:<br />
<br />
*From Martin Steigerwald: I made the observation that I get at least less high pitch noises on my {{T23}} when I do not use the two ACPI modules "processor" and "thermal" (depends on the first one). I have no clue, why. Anyone with similar experiences?<br />
:Omar Yasin: I've got a {{R52}} and when I load the same ACPIO modules the high pitch noises are not as loud but I can still hear them.<br />
*Niko Ehrenfeuchter: I'm experiencing the same here on my {{X24}}. Removing the "processor" module also stops the pitch noise, which does ONLY occur when setting the CPU to maximum speed (using cpufreq). On low speed it's completely silent, even having loaded the processor module.<br />
<br />
*Rolf Adelsberger: I can confirm this: the high pitch noise is only remarkable (at least with my ears ;-) ) if the processor speed is set to maximum frequency.<br />
<br />
*Stefan Baums: My {{X41}} produced a high-pitched crackle from the processor vent on the left. Changing HZ did nothing, and the 'processor' module could not easily be removed from the system (Ubuntu 5.04). What solved the problem for me was adding {{bootparm|idle|halt}} to the boot command line. Unfortunately, this solution only lasts until the first hibernation or suspend - when the computer ({{X41}}) resumes, the high-pitched crackle is back.<br />
<br />
* The {{bootparm|idle|halt}} solution combined with setting <code>#define HZ 100</code> in the kernel fixes the problem on a {{T43}}.<br />
<br />
* jhatch: {{bootparm|idle|halt}} plus <code>#define HZ 100</code> also worked on my {{T43}}. It still reverts back to noisy after a suspend/resume though. This needs to be fixed...<br />
<br />
===Change the timer interrupt frequency===<br />
<br />
Change the "HZ" kernel constants to alter the frequency of timer interrupts. Discussion:<br />
<br />
{{NOTE|The timer interrupt frequency (HZ) in current Linux kernels is directly tied to the kernel task scheduler. Lower frequencies provide larger time-slices and thus also higher latencies (which may kill latency-sensitive applications like audio processing). 100Hz ended up as the recommended "server" setting (because it increases disk/CPU throughput in a latency-insensitive environment). Higher frequencies are better for latency-sensitive applications, and improve desktop responsivity at the cost of less processor throughput. 1000Hz ended up as the recommended "desktop" setting.}}<br />
<br />
*Andreas Karnahl: i've read in several forums it has something to do with the "idle"-state (or "C3") of the processor. There is a frequency called "timer interrupt" (or so mething like that). Since kernel 2.6x it is set to 1000 Hz by default (compared to 100 Hz in Kernel 2.4x). The exact reason i don't know, but it is safe to change this frequency to 100 Hz in kernel 2.6x (by the way, windows up to XP uses 100 Hz by default).<br />Just do the following:<br /><br />
: In {{path|[path to kernel-sources]/include/asm-i386/param.h}} find the line<br />
:: <code>#define HZ 1000</code><br />
: and change the value of HZ to 100: <br />
:: <code>#define HZ 100</code><br />
:Then recompile the kernel.<br />After i changed it on my ThinkPad {{A30}} (under SuSE 9.2 and 9.3) and recompiling the kernel the high pitch noise is gone away.<br />
<br />
* Omar Yasin: Worked on my {{R52}}, thanks.<br />
<br />
* [[User:Thinker|Thinker]]: In modern kernels this constant is in the kernel configuration {{kernelconf|CONFIG_HZ|Processor type and features||Timer Frequency|||||}}.<br />
<br />
===Prevent idling===<br />
<br />
Indirectly avoid power saving states by making sure the CPU is rarely idle:<br />
<br />
* Paul RIVIER: Here is a really simple workaround. C3 / C4 states are mainly called when the cpu freq is higher than required, for example if your cpufreqd is lazy to slow down the frequency but quick to raise it. That is why I use powernowd with the builtin "passive" mode, which is lazy for raising frequency, but quick to go back to the lowest. Now I don't hear them as often as before, as I avoid C3/C4 states at high frequency.<br />
<br />
* The problem also occurs on my {{X41}} with 2.6.11. Setting up [[How to make use of Dynamic Frequency Scaling|frequency scaling]] with the <code>ondemand</code> governor makes things a lot better, as the processor does not stay with the maximum frequency when in idle mode. It can be still heard sometimes, though.<br />
<br />
* On a {{T43}} the noise was gone after dropping cpufreqd and switching to the ondemand governor - maybe because of the high sampling rate? (used the default: 10ms)<br />
<br />
===Change the processor voltage===<br />
<br />
Reducing the processor voltage (when possible) may decrease or eliminate the noise. On one ThinkPad {{T43}}, [[Pentium M undervolting and underclocking|undervolting the Pentium M processor]] eliminated the high-pitched noise. Compared to the other solutions this has the benefit of lower power consumption, both due to the undervolting itself and because there is no need to forbid high APCI CPU power saving modes.<br />
<br />
==Other solutions==<br />
<br />
===Disable UltraBay===<br />
*Naheed Vora: My {{T41}} (2373-268) started to give high pitch noise ocassionally, when I upgraded to 2.6.11 kernel. I tried to unload lot of modules but finally figured out that disabling bay stops the noise. If you have [[ibm-acpi]], do (need a cleaner solution): {{cmduser|echo eject >/proc/acpi/ibm/bay}} .<br />
<br />
===Disable IrDA===<br />
*Mike Perry: I was able to cure an intermittent high-pitched whine on both my {{X24}} and {{X40}} by disabling the Infrared port.<br />
<br />
===Disable the Linuxant Modem Driver===<br />
*Joern Heissler: I made another experience. I played around with linuxant conexant [[Modem Devices|modem]] drivers. After loading them I got some noise on my {{T42p}}.<br />
<br />
===Media Player paused===<br />
*Eilif Muller: On my {{R52}} the high-pitched noises go away if I load XMMS, play something then pause it.<br />
*Jacob: On my {{T43}} DGU it goes away if I open mplayerc.exe and press play then pause it. This is the high-pitched noise that only shows up when I'm on battery.<br />
<br />
''I'd guess that the above tip works as when xmms or similar is running, it is uncompressing compressed audio/video, which is a processor intensive action. Keeping this paused means that the app won't 'let go' of the processor, forcing it to stay up and running, which stops it entering the higher powersave modes.''<br />
<br />
===Upgrade BIOS===<br />
On a ThinkPad [[X60s]], [[BIOS_Upgrade|upgrading the BIOS]] to version 1.06 eliminated the high pitch noise when running on battery.</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=22241User:Gagliol2006-05-12T18:42:06Z<p>Gagliol: </p>
<hr />
<div>IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
Current issues and open questions:<br />
<br />
* How can I switch Fn and Ctrl keys?<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button<br />
<br />
* Wireless<br />
<br />
* {{key|Fn}}{{key|F7}} does not work<br />
<br />
* Untested: Irda<br />
<br />
* Untested: modem<br />
<br />
* Untested: IEEE 1394<br />
<br />
* Untested: Parallel port</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=User:Gagliol&diff=22240User:Gagliol2006-05-12T18:37:21Z<p>Gagliol: </p>
<hr />
<div>IBM ThinkPad: {{X31}} (2673-CBU) <br />
<br />
Currently running: [http://www.kubuntu.org/ Kubuntu] 5.10 (Breezy)<br />
<br />
Current issues and open questions:<br />
<br />
* How can I switch Fn and Ctrl keys?<br />
<br />
* Enable scrolling and keep functionality of mouse 2 button<br />
<br />
* Untested: Irda<br />
<br />
* Untested: modem</div>Gagliolhttps://www.thinkwiki.org/w/index.php?title=How_to_get_special_keys_to_work&diff=22232How to get special keys to work2006-05-12T14:32:55Z<p>Gagliol: /* NumLock */</p>
<hr />
<div>==Overview==<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
! key !! standard function !! tools supporting key{{footnote|1}} !! configurability{{footnote|2}} !! remarks<br />
|-<br />
| {{key|Fn}} || - || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || on release without completed key combination<br />
|-<br />
| {{key|Fn}}{{key|F1}} || - || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|F2}} || lock screen || [[#ibm-acpi events|ibm-acpi]] || full || in models from T/X/Z 60 onwards<br />
|-<br />
| {{key|Fn}}{{key|F3}} || blank screen || [[#ibm-acpi events|ibm-acpi]], [[thinkpad-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|F4}} || suspend to ram || [[#ibm-acpi events|ibm-acpi]], [[thinkpad-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|F5}} || switch bluetooth || [[#ibm-acpi events|ibm-acpi]], [[thinkpad-acpi]] || full || in models starting from 2002<br />
|-<br />
| {{key|Fn}}{{key|F6}} || - || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|F7}} || switch display || [[#ibm-acpi events|ibm-acpi]], [[thinkpad-acpi]], [[#tpb configuration|tpb]] || additional actions || <br />
|-<br />
| {{key|Fn}}{{key|F8}} || toggle display expansion || [[#ibm-acpi events|ibm-acpi]], [[thinkpad-acpi]], [[#tpb configuration|tpb]] || additional actions ||<br />
|-<br />
| {{key|Fn}}{{key|F9}} || eject from dock || [[#ibm-acpi events|ibm-acpi]], [[thinkpad-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|F10}} || - || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|F11}} || - || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|F12}} || hibernate || [[#ibm-acpi events|ibm-acpi]], [[thinkpad-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|Pos1}} || brightness up || [[#ibm-acpi events|ibm-acpi]], [[#tpb configuration|tpb]] || additional actions ||<br />
|-<br />
| {{key|Fn}}{{key|End}} || brightness down || [[#tpb configuration|tpb]] || additional actions ||<br />
|-<br />
| {{key|Fn}}{{key|PageUp}} || toggle thinklight || [[#tpb configuration|tpb]] || additional actions ||<br />
|-<br />
| {{key|Fn}}{{key|Space}} || toggle zoom || [[#tpb configuration|tpb]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|Ins}} || - || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|Del}} || - || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| {{key|Fn}}{{key|Backspace}} || - || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| {{key|NumLock}} || - || [[#xmodmap configuration|xmodmap]] || make working ||<br />
|-<br />
| {{key|Windows}} || - || [[#xmodmap configuration|xmodmap]] || remapping ||<br />
|-<br />
| {{ibmkey|Access IBM|#495988}} or {{ibmkey|ThinkPad|#494949}} || help application || [[#tpb configuration|tpb]] || full ||<br />
|-<br />
| {{ibmkey|Home|#494949}} || open web browser || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || only {{A30}}, {{A30p}}, {{A31}}, {{A31p}} and ext. keyboards<br />
|-<br />
| {{ibmkey|Search|#494949}} || open search application || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || only {{A30}}, {{A30p}}, {{A31}}, {{A31p}} and ext. keyboards<br />
|-<br />
| {{ibmkey|Mail|#494949}} || open mail application || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || only {{A30}}, {{A30p}}, {{A31}}, {{A31p}} and ext. keyboards<br />
|-<br />
| {{ibmkey|Favorites|#494949}} || open favorites || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || only {{A30}}, {{A30p}}, {{A31}}, {{A31p}} and ext. keyboards<br />
|-<br />
| {{ibmkey|Reload|#494949}} || reload web page || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || only {{A30}}, {{A30p}}, {{A31}}, {{A31p}} and ext. keyboards<br />
|-<br />
| {{ibmkey|Abort|#494949}} || abort loading page || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || only {{A30}}, {{A30p}}, {{A31}}, {{A31p}} and ext. keyboards<br />
|-<br />
| {{ibmkey|Backward|#494949}} || previous page || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || ext. keyboards and ThinkPads starting from 2002<br />
|-<br />
| {{ibmkey|Forward|#494949}} || next page || [[#xmodmap configuration|xmodmap]], [[#tpb configuration|tpb]] || full || ext. keyboards and ThinkPads starting from 2002<br />
|-<br />
| {{ibmkey|Volume up|#494949}} || volume up || [[#tpb configuration|tpb]] || additional actions ||<br />
|-<br />
| {{ibmkey|Volume down|#494949}} || volume down || [[#tpb configuration|tpb]] || additional actions ||<br />
|-<br />
| {{ibmkey|Volume mute|#494949}} || mute volume || [[#tpb configuration|tpb]] || additional actions ||<br />
|-<br />
| {{ibmkey|Power|#494949}} || shutdown || [[#ibm-acpi events|ibm-acpi]] || full || triggered on pressing 3secs, but notebook goes off on 5sec press<br />
|-<br />
| Display lid || blank screen || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| Ultrabay lid || announce ultrabay change || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| Dock eject || eject from dock || [[#ibm-acpi events|ibm-acpi]] || full ||<br />
|-<br />
| {{ibmkey|Tablet power|#494949}} || shutdown || [[#ibm-acpi events|ibm-acpi]] || full || triggered on pressing 3secs, but notebook goes off on 5sec press<br />
|-<br />
| {{ibmkey|Tablet orientation|#494949}} || rotates screen || [[#Mapping keys with setkeycodes|setkeycodes]] || full ||<br />
|-<br />
| {{ibmkey|Tablet shortcut|#494949}} || shortcut menu || [[#Mapping keys with setkeycodes|setkeycodes]] || full ||<br />
|-<br />
| {{ibmkey|Tablet Esc|#494949}} || esc key || [[#Mapping keys with setkeycodes|setkeycodes]] || full ||<br />
|-<br />
| {{ibmkey|Tablet Enter|#494949}} || enter key || [[#mapping keys with setkeycodes|setkeycodes]] || full ||<br />
|-<br />
| {{ibmkey|Tablet Up|#494949}} || up key || [[#Mapping keys with setkeycodes|setkeycodes]] || full ||<br />
|-<br />
| {{ibmkey|Tablet Down|#494949}} || down key || [[#Mapping keys with setkeycodes|setkeycodes]] || full ||<br />
|-<br />
| {{ibmkey|Tablet (unlabeled)|#494949}} || down key || [[#Mapping keys with setkeycodes|setkeycodes]] || full ||<br />
|}<br />
<br />
==Triggering key events==<br />
===ibm-acpi events===<br />
Some of the following events require a {{cmdroot|echo enable,0xffff >/proc/acpi/ibm/hotkey}} in order to make acpi able to get information on them. These events can be used to [[How to configure acpid|configure acpid]].<br />
<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
|+ events triggered by [[ibm-acpi]] for {{path|/etc/acpi/events}} files. <br />
! key !! event<br />
|-<br />
| {{key|Fn}}{{key|F1}} || ibm/hotkey HKEY 00000080 00001001<br />
|-<br />
| {{key|Fn}}{{key|F2}} || ibm/hotkey HKEY 00000080 00001002<br />
|-<br />
| {{key|Fn}}{{key|F3}} || ibm/hotkey HKEY 00000080 00001003<br />
|-<br />
| {{key|Fn}}{{key|F4}} || ibm/hotkey HKEY 00000080 00001004<br />
|-<br />
| {{key|Fn}}{{key|F5}} || ibm/hotkey HKEY 00000080 00001005<br />
|-<br />
| {{key|Fn}}{{key|F6}} || ibm/hotkey HKEY 00000080 00001006<br />
|-<br />
| {{key|Fn}}{{key|F7}} || ibm/hotkey HKEY 00000080 00001007<br />
|-<br />
| {{key|Fn}}{{key|F8}} || ibm/hotkey HKEY 00000080 00001008<br />
|-<br />
| {{key|Fn}}{{key|F9}} || ibm/hotkey HKEY 00000080 00001009<br />
|-<br />
| {{key|Fn}}{{key|F10}} || ibm/hotkey HKEY 00000080 0000100a<br />
|-<br />
| {{key|Fn}}{{key|F11}} || ibm/hotkey HKEY 00000080 0000100b<br />
|-<br />
| {{key|Fn}}{{key|F12}} || ibm/hotkey HKEY 00000080 0000100c<br />
|-<br />
| {{key|Fn}}{{key|Backspace}} || ibm/hotkey HKEY 00000080 0000100d<br />
|-<br />
| {{key|Fn}}{{key|Ins}} || ibm/hotkey HKEY 00000080 0000100e<br />
|-<br />
| {{key|Fn}}{{key|Del}} || ibm/hotkey HKEY 00000080 0000100f<br />
|-<br />
| {{key|Fn}}{{key|Pos1}} || ibm/hotkey HKEY 00000080 00001010<br />
|-<br />
| {{ibmkey|Power|#494949}} || button/power PWRF 00000080 xxxxxxxx<br />
|-<br />
| Display lid || button/lid LID 00000080 xxxxxxxx<br />
|-<br />
| Ultrabay eject || ibm/bay MSTR 00000003 00000000<br />
|-<br />
| Ultrabay inserted || ibm/bay MSTR 00000001 00000000<br />
|-<br />
| Dock eject || ibm/dock GDCK 00000003 00000001<br />
|}<br />
<br />
===tpb configuration===<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
|+ configuration keywords for [[tpb]] (to put in {{path|/etc/tpbrc}})<br />
! key !! config keyword<br />
|-<br />
| {{ibmkey|Access IBM|#495988}} or {{ibmkey|ThinkPad|#494949}} || THINKPAD<br />
|-<br />
| {{ibmkey|Home|#494949}} || HOME<br />
|-<br />
| {{ibmkey|Search|#494949}} || SEARCH<br />
|-<br />
| {{ibmkey|Mail|#494949}} || MAIL<br />
|-<br />
| {{ibmkey|Favorites|#494949}} || FAVORITES<br />
|-<br />
| {{ibmkey|Reload|#494949}} || RELOAD<br />
|-<br />
| {{ibmkey|Abort|#494949}} || ABORT<br />
|-<br />
| {{ibmkey|Backward|#494949}} || BACKWARD<br />
|-<br />
| {{ibmkey|Forward|#494949}} || FORWARD<br />
|-<br />
| {{key|Fn}} || FN<br />
|-<br />
| {{key|Fn}}{{key|Space}} || CALLBACK (zoom on/off)<br />
|-<br />
| {{key|Fn}}{{key|PageUp}} || CALLBACK (thinklight on/off)<br />
|-<br />
| {{key|Fn}}{{key|F7}} || CALLBACK (display lcd/crt/both)<br />
|-<br />
| {{key|Fn}}{{key|F8}} || CALLBACK (expand on/off)<br />
|-<br />
| {{key|Fn}}{{key|Home}} || CALLBACK (brightness <percent>)<br />
|-<br />
| {{key|Fn}}{{key|End}} || CALLBACK (brightness <percent>)<br />
|-<br />
| {{ibmkey|Volume up|#494949}} || CALLBACK (volume <percent>)<br />
|-<br />
| {{ibmkey|Volume down|#494949}} || CALLBACK (volume <percent>)<br />
|-<br />
| {{ibmkey|Volume mute|#494949}} || CALLBACK (mute on/off)<br />
|}<br />
<br />
To all parameter keywords should be assigned the full path to the executables supposed to be started on key press.<br />
The exectable provided for the CALLBACK keyword should take the parameters given in parentheses and act according to them.<br />
If you want to use xmodmap for the HOME, SEARCH, MAIL, FAVORITES, RELOAD, ABORT, BACKWARD, FORWARD and FN keys you should<br />
provide a <tt>XEVENTS=off</tt> in your {{path|/etc/tpbrc}}.<br />
<br />
For Debian users, tpb is started from {{path|/etc/X11/Xsession.d/90tpb}}.<br />
<br />
===xmodmap configuration===<br />
xmodmap enables you to edit the modifier map and keymap tables that are used to translate keycodes into keysyms.<br />
Understood? Well, basically it allows you to give the X server a dictionary for the translation of keycodes like "97" into more human readable synonyms like "Home". This way xmodmap allows you to make the special keys of your keyboard known to X applications.<br />
<br />
To discover the keycode that a certain keypress produces, use the tool {{cmduser|xev}} <br />
<br />
Usually you should write your keycode-keysym associations into the file {{path|~/.Xmodmap}}. This file is usually read by the X session startup scripts of your system, so that the mappings automatically get included everytime you run the X server.<br />
<br />
The {{path|~/.Xmodmap}} lines for our purpose are in the form of<br />
keycode <keycode> = <keysym><br />
<br />
Load the assocation using the command<br />
<br />
{{cmduser|xmodmap ~/.Xmodmap}} <br />
<br />
(some configurations do this automatically upon X startup).<br />
<br />
The following table shows the keycodes generated by the ThinkPad special keys and sensible keysyms to assign them to.<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
|+ keycodes and recommended keysyms<br />
! key !! keycode !! keysym<br />
|-<br />
| {{ibmkey|Backward|#494949}} || 234 || XF86Back or F19<br />
|-<br />
| {{ibmkey|Forward|#494949}} || 233 || XF86Forward or F20<br />
|-<br />
| {{ibmkey|Home|#494949}} || 178 || XF86HomePage<br />
|-<br />
| {{ibmkey|Search|#494949}} || 229 || XF86Search<br />
|-<br />
| {{ibmkey|Mail|#494949}} || 236 || XF86Mail<br />
|-<br />
| {{ibmkey|Favorites|#494949}} || 230 || XF86AddFavorite or XF86Favorites<br />
|-<br />
| {{ibmkey|Reload|#494949}} || 231 || XF86Reload<br />
|-<br />
| {{ibmkey|Abort|#494949}} || 232 || XF86Stop<br />
|-<br />
| {{key|Fn}} || 227 || F35<br />
|}<br />
<br />
<br />
Note: if you are running [[tpb]] you might need to add the line <tt>XEVENTS=off</tt> into your tpbrc to stop it from grabbing the key events and allow them to get through to X instead.<br />
<br />
Note: XF86Forward and XF86Back do not work correctly in Firefox. You may want to map them to F19 and F20 instead if you use Firefox.<br />
<br />
=====Using Caps Lock as Super L (Windows key)=====<br />
You can easily use Caps Lock as Win key by adding the following in your ~/.Xmodmap:<br />
! No Caps Lock<br />
clear lock<br />
! Caps Lock as Win key<br />
add mod4 = Caps_Lock<br />
=====NumLock=====<br />
On the ThinkPad {{T21}}, {{R51}}, {{T43}}, {{T30}}, {{X31}} and possibly other models, X does not recognize the keycode for {{key|NumLk}} = {{key|Shift}}+{{key|ScrLk}}. To fix this, add the following to {{path|~/.Xmodmap}} or {{path|/etc/X11/Xmodmap}} and run <tt>xmodmap</tt>:<br />
keycode 77 = Num_Lock<br />
<br />
===Mapping keys with setkeycodes===<br />
You can use the setkeycodes command to remap certain keys. I.e. you can use {{cmdroot|setkeycodes 6e 109 6d 104 69 28 6b 1}} to map the Tablets Up and Down keys to the standard PageUp and PageDown keys and Tablet Escape and Enter to their respective keys.<br />
<br />
The following table shows the keycodes generated by the ThinkPad keys.<br />
{| border="1" cellspacing="0" cellpadding="2"<br />
|+ keycodes<br />
! key !! keycode<br />
|-<br />
| {{ibmkey|Tablet orientation|#494949}} || 0x6d<br />
|-<br />
| {{ibmkey|Tablet Shortcut|#494949}} || 0x6e<br />
|-<br />
| {{ibmkey|Tablet Esc|#494949}} || 0x6b<br />
|-<br />
| {{ibmkey|Tablet Enter|#494949}} || 0x69<br />
|-<br />
| {{ibmkey|Tablet Up|#494949}} || 0x68<br />
|-<br />
| {{ibmkey|Tablet Down|#494949}} || 0x6c<br />
|-<br />
| {{ibmkey|Tablet (unlabeled)|#494949}} || 0x67<br />
|}<br />
<br />
==Example Applications==<br />
===Web Browsers===<br />
====Firefox====<br />
To have firefox make use of the browser keys you need to modify one of its files{{footnote|3}}.<br />
To do this you will first need to extract it from the {{path|browser.jar}} archive. Do...<br />
<br />
:{{cmdroot|cd <firefox-directory>/chrome}}<br /><br />
:{{cmdroot|unzip browser.jar}}<br />
<br />
The file of interest is {{path|content/browser/browser.xul}}. Edit it...<br />
:{{cmdroot|vi content/browser/browser.xul}}<br />
<br />
Look for the '''<keyset id="mainKeyset">''' section and add the following lines within...<br />
<key id="goBackKb" keycode="VK_F19" command="Browser:Back" /><br />
<key id="goForwardKb" keycode="VK_F20" command="Browser:Forward" /><br />
Now save the file and repackage the {{path|browser.jar}} archive...<br />
:{{cmdroot|zip -rD0 browser.jar content/browser/}}<br />
<br />
That's it.<br />
<br />
{{HINT|Another interesting Page on Firefox is http://dqd.com/~mayoff/notes/thinkpad/dqdnavkeys/ It uses different key mappings (F19 resp. F20) but a ready [http://dqd.com/~mayoff/notes/thinkpad/dqdnavkeys/dqdnavkeys-1.2.xpi .xpi] is provided which is pretty comfortable. However, this xpi file does not install on Firefox 1.5.}}<br />
<br />
{{HINT|You can also use the [http://extensionroom.mozdev.org/more-info/keyconfig keyconfig] extension to configure custom keys. This extension works with Firefox 1.5.}}<br />
<br />
====Konqueror====<br />
KDE allows you set key mappings for KDE applications (Go to KMenu > System > Control Center > Regional & Accessibility > Keyboard Shortcuts). By default (at least in KDE 3.5), XF86Back and XF86Forward are set as alternatives to Alt-Left and Alt-Right, and are mapped to KDE Back and Forward navigation actions. <br />
<br />
If you use Konqueror as your only browser, you only need to set up {{path|~/.Xmodmap}} as described [[#xmodmap configuration|above]] to assign ThinkPad back/forward keys to the symbols XF86Back/XF86Forward. This also make these keys work for other KDE applications such as Quanta Plus, KPackage and so on (not all KDE applications honor this setting, e.g. KDE help system doesn't).<br />
<br />
If you want to use Firefox, however, the above settings do not work. You will have to map ThinkPad back/forward keys to F19/F20 as described [[#Firefox|above]], and change KDE navigation key settings to use F19/F20 instead of the default.<br />
<br />
====Opera====<br />
However this isn't a simple configration file, you can set your browser manually.<br /><br />
Go to <i>Tool > Settings > Mouse and keyboard > Keyboard settings > Edit > Browser Window</i>. There add F19 - Back and F20 - Forward. Now you can surf using your TP keys ;-)<br />
<br />
===Window Managers===<br />
====fvwm====<br />
To get the {{ibmkey|Forward|#494949}} and {{ibmkey|Backward|#494949}} keys to cycle through pages in the virtual desktop, add this to your {{path|~/.fvwmrc}}:<br />
Key XF86Back A A Scroll -100000 0<br />
Key XF86Forward A A Scroll +100000 0<br />
If you use multiple virtual desktops, you could instead use the keys to flip between them by using GotoDesk.<br />
<br />
====fluxbox====<br />
To get the keys to cycle through pages in the virtual desktop, add this to your {{path|~/.fluxbox/keys}}:<br />
None F19 :PrevWorkspace<br />
None F20 :NextWorkspace<br />
<br />
====pekwm configuration====<br />
You can make the two browser keys switch workspaces in pekwm, by adding the following two lines to the {{path|~/.pekwm/keys}} file:<br />
KeyPress = "Mod1 XF86Back" { Actions = "GoToWorkspace prev" }<br />
KeyPress = "Mod1 XF86Forward" { Actions = "GoToWorkspace next" }<br />
<br />
====pwm====<br />
Another example how to use these two keys to switch between pwm tabs. These two lines should be added to {{path|~/.pwm/keys-default.conf}} or {{path|/etc/pwm/keys-default.conf}}:<br />
kbind "Back", "switch_rot", -1<br />
kbind "Forward", "switch_rot", 1<br />
<br />
====icewm====<br />
Some applications use {{key|Ctrl}}{{key|Left}} and {{key|Ctrl}}{{key|Right}} to set the cursor to the beginning of the previous / next word. In icewm, though, they're bound to previous / next workspace. Change these two options in {{path|~/.icewm/preferences}} to bind those to {{ibmkey|Forward|#494949}} and {{ibmkey|Backward|#494949}}: (Provided you assigned keysyms F19 and F20 with xmodmap)<br />
# "Previous workspace" shortcut<br />
KeySysWorkspacePrev="F19"<br />
# "Next workspace" shortcut<br />
KeySysWorkspaceNext="F20"<br />
<br />
===Other Uses===<br />
====Console tools configuraton====<br />
To make the {{ibmkey|Forward|#494949}} and {{ibmkey|Backward|#494949}} keys useful in console, add this to your keymap ({{path|/etc/console/boottime.kmap.gz}} in {{Debian}}):<br />
keycode 158 = Decr_Console<br />
keycode 159 = Incr_Console<br />
<br />
==External Sources==<br />
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51537 IBMs page on configuring the ThinkPad buttons (ThinkPad, Access IBM, Mail, Search, and Home buttons) under Linux]<br />
*[http://dqd.com/~mayoff/notes/thinkpad/dqdnavkeys/ Rob Mayoffs page on using IBM Keyboard Navigation Keys in Linux Mozilla and Firefox]<br />
*[http://snarfed.org/space/thinkpad+keys+in+firefox Ryan Barretts blog article about using the browser keys in Firefox]<br />
<br />
{{footnotes|<br />
#if there are more than one tool listed, one is sufficient<br />
#'full' means you can completely reassign any action to be triggered by the key, 'additional actions' means you can trigger actions in addition to the standard function of the key, which can not be changed.<br />
#Thanks go to Ryan Barrett for writing the [http://snarfed.org/space/thinkpad+keys+in+firefox little howto] on [http://snarfed.org/space/start his blog].<br />
}}</div>Gagliol