<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<?xml-stylesheet type="text/css" href="http://mathieuallard.ca/tech//"?>


<title type="html">Mathieu Allard's blog</title>
<subtitle type="html"></subtitle>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech/"/>
<link rel="self" type="application/atom+xml" href="http://mathieuallard.ca/tech//atom.xml"/>
<updated>2010-06-16T22:30:24-05:00</updated>
<author>
<name>Mathieu Allard</name>
<uri>http://mathieuallard.ca/tech/</uri>
</author>
<id>http://mathieuallard.ca/tech//</id>
<generator uri="http://nanoblogger.sourceforge.net" version="3.4.1">
NanoBlogger
</generator>

<entry>
<title type="html">Splitting for reading on PDA</title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2009/08/11/splitting_for_reading_on_pda/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2009/08/11/splitting_for_reading_on_pda/index.html</id>
<published>2009-08-11T00:14:20-05:00</published>
<updated>2009-08-11T00:14:20-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 3.0  (Linux)">
	<META NAME="CREATED" CONTENT="20090811;280300">
	<META NAME="CHANGED" CONTENT="20090811;293900">
	<STYLE TYPE="text/css">
	<!--
		@page { margin: 0.79in }
		P { margin-bottom: 0.08in }
		H3 { margin-bottom: 0.08in }
	-->
	</STYLE>
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<H3>Splitting for reading on PDA</H3>
<P STYLE="margin-bottom: 0in">Now that I have a file that I can read
and click on any word for a definition, I found it useful to break a
bigger file into s maller files for reading on my PDA. This worked
for me: 
</P>
<P STYLE="margin-bottom: 0in">[mathieu2@durnik]~/opalescentca/blog/tech$
mkdir principe 
</P>
<P STYLE="margin-bottom: 0in">[mathieu2@durnik]~/opalescentca/blog/tech/$
cp principe.html principe 
</P>
<P STYLE="margin-bottom: 0in">[mathieu2@durnik]~/opalescentca/blog/tech/$
cd principe 
</P>
<P STYLE="margin-bottom: 0in">[mathieu2@durnik]~/opalescentca/blog/tech/principe$
split -C 10000 principe.html</P>
<P STYLE="margin-bottom: 0in">[mathieu2@durnik]~/opalescentca/blog/tech/principe$
rename 's/$/\.html/' *</P>
<P STYLE="margin-bottom: 0in">[mathieu2@durnik]~/opalescentca/blog/tech/principe$
find -exec sed -i 1i&quot;&lt;meta http-equiv=\&quot;Content-Type\&quot;
content=\&quot;text/html;charset=utf-8\&quot; &gt; &lt;html&gt;
&lt;body&gt;&quot; '{}' '&#59;' </P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
</BODY>
</HTML>
-----
</div>
</content>

</entry>
<entry>
<title type="html">Point and click for definition</title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2009/07/31/point_and_click_for_definition/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2009/07/31/point_and_click_for_definition/index.html</id>
<published>2009-07-31T01:30:57-05:00</published>
<updated>2009-07-31T01:30:57-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">

<P STYLE="margin-bottom: 0in">I thought I would share how I quickly
got reading a text with every word pointed to wordreference.com. I
find this useful where I'm reading a text in spanish where I am
missing a lot of vocabulary and want to be able to point and click on
the words I don't know for a definition. This is how I did so very
quickly in Linux. oraculo.txt is a file that I saved as text from
mozilla firefox. I then point my firefox browser to
oraculo-finalu.html and I'm able to easily read my text.</P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in">[mathieu2@durnik]~/Desktop$ iconv
--from-code=ISO-8859-1 --to-code=UTF-8 ./oraculo.txt &gt;
./oraculou.txt <BR>[mathieu2@durnik]~<I>/Desktop$ cat oraculou.txt
|sed 's/</I>$/ 4444/' &gt; oraculou2.txt <BR>[mathieu2@durnik]~<I>/Desktop$
cat oraculou2.txt |sed 's/</I>\w\+/\&lt;a
href\=\&quot;http\:\/\/www\.wordreference\.com\/esfr\/\0\&quot;\&gt;\0\&lt;a\&gt;
/g' &gt; oraculou3.txt <BR>[mathieu2@durnik]~/Desktop$ cat
oraculou3.txt|sed 's/4444/&lt;br&gt;/g' &gt; oraculo-finalu.html 
</P>
<P STYLE="margin-bottom: 0in"><BR>
-----
</div>
</content>

</entry>
<entry>
<title type="html">Ubuntu 8.10 on the Toshiba u200</title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2009/02/26/ubuntu_8_10_on_the_toshiba_u200/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2009/02/26/ubuntu_8_10_on_the_toshiba_u200/index.html</id>
<published>2009-02-26T16:30:09-05:00</published>
<updated>2009-02-26T16:30:09-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
I just created a new Linux for Laptops entry that I submitted to <a href="http://linux-on-laptops.com"> Linux on Laptops</a><br><br>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <style type="text/css">
div.fineprint {
font-size: x-small;
}
-->
div.navigation-menu {
font-weight:bold;
font-size:small;
}
div.headings
{
font-variant:small-caps;
font-family:Geneva, Arial, Helvetica, sans-serif;
font-weight:bold;
}
  </style><!-- ===================================================================== Linux on Laptops copyright (c) 2006 linux-on-laptops.com
Please contact linuxonlaptops (at) gmail.com for information concerning the intellectual property in this document. ===================================================================== -->
  <meta http-equiv="Content-Type"
 content="text/html; charset=utf-8">
  <meta name="keywords"
 content="linux, laptop, laptops, notebook, notebooks, computer, computers, install, mobile, howto, guide, unix">
  <meta name="description"
 content="Linux on Laptops -- Since 1995, the definitive resource for documentation about installing and running the Linux operating system on laptop and notebook computer hardware.">
  <link rel="shortcut icon"
 href="http://www.linux-on-laptops.com/favicon.ico">
  <base href="http://www.linux-on-laptops.com/">
  <title>Linux on Laptops</title>
</head>
<body>
<table border="0" width="100%">
  <tbody>
    <tr>
      <td width="25%">
      <h1>Linux on Laptops</h1>
      <div align="left">Sponsored by<a
 href="http://www.linuxcertified.com/"> LinuxCertified Inc.</a></div>
      </td>
      <td width="75%"><a
 href="http://www.linuxcertified.com/"><img
 src="linuxcertified-laptop.png" alt="linuxcertified-laptop"
 border="0" hspace="5"></a></td>
    </tr>
  </tbody>
</table>
<hr>
<div class="navigation-menu" align="center">
<table align="center" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td> <a href="http://www.linux-on-laptops.com/">Home
      </a>| <a href="new.html"> New </a>| <a
 href="http://www.linux-on-laptops.com/">
Models </a>| <a href="palmtops.html"> Palmtops </a>|
      <a href="components.html"> Components </a>| <a
 href="forum/">
Discussion </a>| <a href="entry.html"> Submit </a>&nbsp;&nbsp;
      </td>
    </tr>
  </tbody>
</table>
</div>
<hr>
<div align="center">
<h1>Installing&nbsp;Ubuntu Intrepid 8.10 on&nbsp;Toshiba
U200</h1>
<p>Last updated: February 26th, 2009</p>
<p>I would personally recommend the use of this laptop with
Linux, I
have accelerated graphics, power management, wifi and sound working
with it.</p>
</div>
<p>General Hardware Specifications of&nbsp;Toshiba U200:</p>
I borrowed the specs from <a
 href="http://www.notebookreview.com/default.asp?newsID=3136&amp;review=Toshiba+Satellite+U200">here</a>
because I wasn't able to find my laptop on the Toshiba site.
<table style="width: 100%;" border="1">
  <tbody>
    <tr>
      <td width="33%">
      <div class="headings" align="center">Hardware
Components</div>
      </td>
      <td width="33%">
      <div class="headings" align="center">Status
under Linux</div>
      </td>
      <td width="33%">
      <div class="headings" align="center">Notes</div>
      </td>
    </tr>
    <tr>
      <td width="33%"><span name="intelliTxt"
 id="intelliTxt">Processor: <span class="iAs"
 style="border-bottom: 0.075em solid darkgreen; text-decoration: underline; color: darkgreen; background-color: transparent; padding-bottom: 1px;">Intel</span>
Core Duo
T2300E 1.66 GHz</span></td>
      <td width="33%">Works</td>
      <td width="33%">No special procedure required during
installation.</td>
    </tr>
    <tr>
      <td width="33%"><span name="intelliTxt"
 id="intelliTxt">Display: 12.1" Widescreen TFT XGA with
TruBrite</span></td>
      <td width="33%">Works</td>
      <td width="33%">Select Generic LCD Display in
Installer</td>
    </tr>
    <tr>
      <td width="33%"><span name="intelliTxt"
 id="intelliTxt">Graphics: Intel GMA 950(integrated, 128MB
shared)</span></td>
      <td width="33%">Works</td>
      <td width="33%">Use Xorg i810 driver.</td>
    </tr>
    <tr>
      <td width="33%"><span name="intelliTxt"
 id="intelliTxt">Memory: 2x512MB DDR2 @ 533MHZ</span></td>
      <td width="33%">Works</td>
      <td width="33%">No special procedure required during
installation</td>
    </tr>
    <tr>
      <td width="33%"><span name="intelliTxt"
 id="intelliTxt">Hard-drive: Toshiba Serial-ATA 100GB, 5400RPM</span></td>
      <td width="33%">Works</td>
      <td width="33%">No special procedure required during
installation</td>
    </tr>
    <tr>
      <td width="33%">Integrated Network Card</td>
      <td width="33%">Not Tested.</td>
      <td width="33%">Not tested.</td>
    </tr>
    <tr>
      <td width="33%">Internal 56k Modem</td>
      <td width="33%">Not Tested.</td>
      <td width="33%">Not tested.</td>
    </tr>
    <tr>
      <td width="33%"><span name="intelliTxt"
 id="intelliTxt">Optical-drive: Matshita Super-Multi Double
Layer DVD+/- RW</span></td>
      <td width="33%">Works</td>
      <td width="33%">No special procedure required during
installation</td>
    </tr>
    <tr>
      <td width="33%"><span name="intelliTxt"
 id="intelliTxt">Connectivity: Intel PRO/Wireless 3945ABG</span></td>
      <td width="33%">Works.</td>
      <td width="33%">Use Ubuntu ipw3945 module.<br>
      </td>
    </tr>
    <tr>
      <td width="33%">6 Cell.</td>
      <td width="33%">Works</td>
      <td width="33%">No special procedure required during
installation</td>
    </tr>
    <tr>
      <td style="width: 33%;">Intel High Definition Audio</td>
      <td width="33%">Works</td>
      <td width="33%">
      <p>No special procedure required if using Kernel 2.6.x. </p>
      </td>
    </tr>
    <tr>
      <td>Integrated Card Reader.</td>
      <td>Not tested.</td>
      <td>Not tested.</td>
    </tr>
  </tbody>
</table>
<p>This laptop is operating under Ubuntu Kernel Version
2.6.27-9-generic.</p>
<div class="headings">Basic Installation of [Ubuntu]:</div>
There are plenty of good howtos on how to install Ubuntu. See
http://<br>
<ul>
</ul>
<div class="headings">Configuration Files</div>
<ul>
  <li>/etc/X11/xorg.conf</li>
</ul>
<span style="font-family: Geneva,Arial,Helvetica,sans-serif;">#
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 xorg.conf manual page.<br>
# (Type "man 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>
#&nbsp;&nbsp; sudo dpkg-reconfigure -phigh xserver-xorg<br>
<br>
Section "Files"<br>
EndSection<br>
<br>
Section "InputDevice"<br>
&nbsp;&nbsp;&nbsp; Identifier&nbsp;&nbsp;&nbsp;
"Generic Keyboard"<br>
&nbsp;&nbsp;&nbsp; Driver&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "kbd"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "CoreKeyboard"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "XkbRules"&nbsp;&nbsp;&nbsp;
"xorg"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "XkbModel"&nbsp;&nbsp;&nbsp;
"pc104"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
"XkbLayout"&nbsp;&nbsp;&nbsp; "us"<br>
EndSection<br>
<br>
Section "InputDevice"<br>
&nbsp;&nbsp;&nbsp; Identifier&nbsp;&nbsp;&nbsp;
"Configured Mouse"<br>
&nbsp;&nbsp;&nbsp; Driver&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "mouse"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "CorePointer"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "Device"&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "/dev/input/mice"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "Protocol"&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "ImPS/2"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
"ZAxisMapping"&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "4 5"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
"Emulate3Buttons"&nbsp;&nbsp;&nbsp; "true"<br>
EndSection<br>
<br>
Section "InputDevice"<br>
&nbsp;&nbsp;&nbsp; Identifier&nbsp;&nbsp;&nbsp;
"Synaptics Touchpad"<br>
&nbsp;&nbsp;&nbsp; Driver&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "synaptics"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
"SendCoreEvents"&nbsp;&nbsp;&nbsp; "true"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "Device"&nbsp;&nbsp;&nbsp;
&nbsp;&nSection<br>
<br>
Section "Monitor"<br>
&nbsp;&nbsp;&nbsp; Identifier&nbsp;&nbsp;&nbsp;
"Generic Monitor"<br>
&nbsp;&nbsp;&nbsp; Option&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "DPMS"<br>
EndSection<br>
<br>
Section "Screen"<br>
&nbsp;&nbsp;&nbsp; Identifier&nbsp;&nbsp;&nbsp;
"Default Screen"<br>
&nbsp;&nbsp;&nbsp; Device&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller"<br>
&nbsp;&nbsp;&nbsp; Monitor&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "Generic Monitor"<br>
&nbsp;&nbsp;&nbsp;
DefaultDepth&nbsp;&nbsp;&nbsp; 24<br>
&nbsp;&nbsp;&nbsp; SubSection "Display"<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
Modes&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
"1280x800"<br>
&nbsp;&nbsp;&nbsp; EndSubSection<br>
EndSection<br>
<br>
Section "ServerLayout"<br>
&nbsp;&nbsp;&nbsp; Identifier&nbsp;&nbsp;&nbsp;
"Default Layout"<br>
&nbsp;&nbsp;&nbsp; Screen&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; "Default Screen"<br>
&nbsp;&nbsp;&nbsp;
InputDevice&nbsp;&nbsp;&nbsp; "Generic Keyboard"<br>
&nbsp;&nbsp;&nbsp;
InputDevice&nbsp;&nbsp;&nbsp; "Configured Mouse"<br>
<br>
# Uncomment if you have a wacom tablet<br>
#&nbsp;&nbsp;&nbsp;
InputDevice&nbsp;&nbsp;&nbsp;&nbsp;
"stylus"&nbsp;&nbsp;&nbsp; "SendCoreEvents"<br>
#&nbsp;&nbsp;&nbsp;
InputDevice&nbsp;&nbsp;&nbsp;&nbsp;
"cursor"&nbsp;&nbsp;&nbsp; "SendCoreEvents"<br>
#&nbsp;&nbsp;&nbsp;
InputDevice&nbsp;&nbsp;&nbsp;&nbsp;
"eraser"&nbsp;&nbsp;&nbsp; "SendCoreEvents"<br>
&nbsp;&nbsp;&nbsp;
InputDevice&nbsp;&nbsp;&nbsp; "Synaptics Touchpad"<br>
EndSection<br>
<br>
<br>
</span>
<div class="headings">More Specific Information. Specific
stuff such as:</div>
<ul>
  <li>df -hl</li>
</ul>
Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Size&nbsp; Used Avail Use% Mounted on<br>
/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
109G&nbsp; 101G&nbsp; 1.7G&nbsp; 99% /<br>
tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
501M&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;
501M&nbs; /sys/kernel/security<br>
binfmt_misc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;
-&nbsp; /proc/sys/fs/binfmt_misc<br>
gvfs-fuse-daemon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;
-&nbsp; /home/mathieu2/.gvfs<br>
<ul>
  <li>lspci</li>
</ul>
<br>
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)<br>
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)<br>
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)<br>
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br>
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br>
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)<br>
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br>
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br>
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br>
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br>
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br>
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br>
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br>
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)<br>
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)<br>
03:08.0 Ethernet controller: Intel Corporation PRO/100 VE Network Connection (rev 02)<br>
03:0b.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller<br>
03:0b.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller<br>
03:0b.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)<br>
03:0b.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller<br>

<br>
<br>
  <li>cat cpuinfo</li>
<br>
processor	: 0<br>
vendor_id	: GenuineIntel<br>
cpu family	: 6<br>
model		: 14<br>
model name	: Genuine Intel(R) CPU           T2250  @ 1.73GHz<br>
stepping	: 8<br>
cpu MHz		: 800.000<br>
cache size	: 2048 KB<br>
physical id	: 0<br>
siblings	: 2<br>
core id		: 0<br>
cpu cores	: 2<br>
apicid		: 0<br>
initial apicid	: 0<br>
fdiv_bug	: no<br>
hlt_bug		: no<br>
f00f_bug	: no<br>
coma_bug	: no<br>
fpu		: yes<br>
fpu_exception	: yes<br>
cpuid level	: 10<br>
wp		: yes<br>
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts pni monitor est tm2 xtpr<br>
bogomips	: 3457.97<br>
clflush size	: 64<br>
power management:<br>
<br>
processor	: 1<br>
vendor_id	: GenuineIntel<br>
cpu family	: 6<br>
model		: 14<br>
model name	: Genuine Intel(R) CPU           T2250  @ 1.73GHz<br>
stepping	: 8<br>
cpu MHz		: 800.000<br>
cache size	: 2048 KB<br>
physical id	: 0<br>
siblings	: 2<br>
core id		: 1<br>
cpu cores	: 2<br>
apicid		: 1<br>
initial apicid	: 1<br>
fdiv_bug	: no<br>
hlt_bug		: no<br>
f00f_bug	: no<br>
coma_bug	: no<br>
fpu		: yes<br>
fpu_exception	: yes<br>
cpuid level	: 10<br>
wp		: yes<br>
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts pni monitor est tm2 xtpr<br>
bogomips	: 3458.00<br>
clflush size	: 64<br>
power management:<br>
<br>


<br>
<br>
<br>
<div class="headings">Some Pictures of the Laptop <br>
<br>
<a href="http://mathieuallard.ca/tech/images/toshiba/dsc01484.html">
<img
 src="http://mathieuallard.ca/tech/images/toshiba/dsc01484--thumb.jpg"
 alt="dsc01484" height="100" width="150"></a><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01485.html"><img
 src="http://mathieuallard.ca/tech/images/toshiba/dsc01485--thumb.jpg"
 alt="dsc01485" height="100" width="150"></a><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc014c01488" height="100" width="150"></a><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01489.html"><img
 src="http://mathieuallard.ca/tech/images/toshiba/dsc01489--thumb.jpg"
 alt="dsc01489" height="100" width="150"></a><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01490.html">
<img
 src="http://mathieuallard.ca/tech/images/toshiba/dsc01490--thumb.jpg"
 alt="dsc01490" height="100" width="150"></a><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01491.html"><img
 src="http://mathieuallard.ca/tech/images/toshiba/dsc01491--thumb.jpg"
 alt="dsc01491" height="100" width="150"></a>
<h3>Images By Name:</h3>
<ul>
  <li><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01484.html">dsc01484</a></li>
  <li><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01485.html">dsc01485</a></li>
  <li><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01486.html">dsc01486</a></li>
  <li><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01487.html">dsc01487</a></li>
  <li><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01488.html">dsc01488</a></li>
  <li><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01489.html">dsc01489</a></li>
  <li><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01490.html">dsc01490</a></li>
  <li><a
 href="http://mathieuallard.ca/tech/images/toshiba/dsc01491.html">dsc01491</a></li>
</ul>
<ul>
  <li>e-mail address mathieu at mathieuallard.ca<br>
  </li>
</ul>
<br>
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-7264279107295610";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript" src="show_ads.js">
</script></div>
<hr>
<table border="0" width="100%">
  <tbody>
    <tr>
      <td width="50%">
      <p>Linux on Laptops is copyright © 2005
linux-on-laptops.com <a href="privacy.html">Privacy
Stateme  <p>Contact us at linuxonlaptops (at) gmail.com</p>
      </td>
      <td width="50%">
      <div align="center"><a href="advertise.html">Advertise
on
linux-on-laptops.com</a></div>
      </td>
    </tr>
    <tr>
      <td colspan="2">
      <p align="center"> <a
 href="http://jigsaw.w3.org/css-validator/"> <img
 style="border: 0pt none ; width: 88px; height: 31px;" src="vcss"
 alt="Valid CSS!"> </a> <a
 href="http://validator.w3.org/check?uri=referer"><img
 src="valid-html401" alt="Valid HTML 4.01!" border="0"
 height="31" width="88"></a> <a
 href="http://www.linux-on-laptops.com/"><img
 src="linux-on-laptops.gif" alt="Linux on Laptops"
 border="0" height="36" width="110"> </a></p>
      </td>
    </tr>
  </tbody>
</table>
<div class="fineprint">No Warranties: This information is
provided "as
is" without any warranty, condition, or representation of any kind,
either express or implied, including but not limited to, any warranty
respecting non-infringement, and the implied warranties of conditions
of merchantability and fitness for a particular purpose. All logos or
trademarks on this site are the property of their respective owner. In
no event shall linux-laptop.net, linux-on-laptops.com, or any
directors, trustees, associates, or employees thereof be liable for any
direct, indirect, special, incidental, consequential or other damages
howsoever caused whether arising in contract, tort, or otherwise,
arising out of or in connection with the use or performance of the
information contained on this web site.</div>
</div>
</body>
</html>
-----
</div>
</content>

</entry>
<entry>
<title type="html">Making .svi files for Samsung YP-T9 Under Linux </title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2008/03/25/making__svi_files_for_samsung_yp-t9_under_linux/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2008/03/25/making__svi_files_for_samsung_yp-t9_under_linux/index.html</id>
<published>2008-03-25T00:35:55-05:00</published>
<updated>2008-03-25T00:35:55-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
This is my configuration information: I've got a Samsung Y9-T9JB, more specifically YP-T9JBQB/XAC Firmware
version, 1.80 US released date 2007.06.08 <br>
I tried software called svi coder to make files that would be compatible with my YP-T9 but this was unsuccessful. After getting in touch with the developper, the reason this software does not work is that there is some metadata in the file that is unknown that is needed to make the devices operate properly.
<br>
The only solution that I was able to find to be able to convert files that would work on the device was to install the Samsung Media Studio application with WINE. This was not a straightforward process under Linux. This is what I had to do:
<br>
1) install wine (version 0.9.46) <br>
2) run winecfg and configure your wine machine to act like windowsXP<br>
2) install ie6setup.exe <br>
3) install a version of windows media player from the cd that came with the device (i had to do this because the microsoft website now make you certify your version of windows) <br>
4) install using wine 20050205175658671_MediaStudio5_5132.exe (I downloaded this from the Samsung Website)<br>
5) install from the Program Files\Samsung\Samsungapplication folder the free codecs package <br>
<br>
-----
</div>
</content>

</entry>
<entry>
<title type="html">Spanish text linking to wordreference.com from french/spanish translation </title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2007/12/11/spanish_text_linking_to_wordreference_com_from_frenchspanish_translation/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2007/12/11/spanish_text_linking_to_wordreference_com_from_frenchspanish_translation/index.html</id>
<published>2007-12-11T03:46:20-05:00</published>
<updated>2007-12-11T03:46:20-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
I wanted to link every word from a text I was reading to the website wordreference.com for a spanish/french tranlsaiton so that I could click on unknown words instead of having to cut and paste every time. This is roughly what I did:
<br>
<pre id="line38">cp Homero\ -\ La\ Odisea.txt Homero\ -\ La\ Odisea.html<span
 class="start-tag"></span><br>cat Homero\ -\ La\ Odisea.txt|sed 's/$/4444/' &gt; Homero\ -\ La\ Odisea2.txt<span
 class="start-tag"></span><br>cat Homero\ -\ La\ Odisea2.txt|sed 's/\w\+/\&lt;<span
 class="start-tag">a</span><span
 class="attribute-name"> href\</span>=<span
 class="attribute-value">\"http\:\/\/www\.wordreference\.com\/esfr\/\0\"\</span>&gt;\0\&lt;<span
 class="start-tag">a\</span>&gt; /g' &gt; Homero\ -\ La\ Odisea3.txt<span
 class="start-tag"></span><br>cat Homero\ -\ La\ Odisea3.txt|sed 's/4444/&lt;<span
 class="start-tag">br</span>&gt;/g' <span
 class="start-tag"></span><br></pre>
<pre id="line47">cat Homero\ -\ La\ Odisea3.txt|sed 's/4444/&lt;<span
 class="start-tag">br</span>&gt;/g' &gt; Homero\ -\ La\ Odisea4.html<span
 class="start-tag"></span><br>split -l 25 Homero\ -\ La\ Odisea4.html<br>rename 's/$/\.html' x*<br>find . -iname '*.html'|cut -b3- |sed "s/^/\"/"|sed 's/$/\"/'|xargs perl -pi -e 's/charset=iso-8859-1/charset=utf-8/'<br><br><br><span
 class="start-tag"></span></pre>
 <br>
Missing in the post is a step where I prepended a header to every .html file. I cut the files in smaller pieces to make it easier on the browser.
 The <a href="http://opalescent.ca/blog/homer/"> link to the final product </a> is up.
-----
</div>
</content>

</entry>
<entry>
<title type="html">Gusty Upgrade</title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2007/11/18/gusty_upgrade/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2007/11/18/gusty_upgrade/index.html</id>
<published>2007-11-18T05:26:38-05:00</published>
<updated>2007-11-18T05:26:38-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
I just upgraded to Ubuntu Gusty a few days ago... This prompted me to play with new window managers and I'm very much impressed with the work that has been done with XFCE (4.4.1 is the version of my panel). It is lightweight and does everything that I need to get done with a window manager with a very small memory footprint. This window manager and my little dual core toshiba is meaning a very fast and stable setup.
-----
</div>
</content>

</entry>
<entry>
<title type="html">Toshiba U200</title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2007/10/08/toshiba_u200/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2007/10/08/toshiba_u200/index.html</id>
<published>2007-10-08T14:43:06-05:00</published>
<updated>2007-10-08T14:43:06-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>New Laptop</title>
</head>
<body>
So I upgraded <a href="http://opalescent.ca/Toshiba%20U200%20Ubuntu%20Feisty.html"> laptop </a> recently, installed Linux on it and I'm waiting for Linux for Laptops to put it up on their site. -----
-----
</div>
</content>

</entry>
<entry>
<title type="html">New Partition and Filesystem Setup</title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2007/09/05/new_partition_and_filesystem_setup/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2007/09/05/new_partition_and_filesystem_setup/index.html</id>
<published>2007-09-05T20:19:17-05:00</published>
<updated>2007-09-05T20:19:17-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
I have just completed the implementation of my new partition setup for my 40 gigabyte Acer Laptop. I had a chronic shortage of space, and a home directory that was mostly archives so I decided to compress my /home using squafs and liberated a number of gigs that way. I also compressed user. Squashfs is read only, so to get around not being to write to /home and /usr, I created unionfs entries where if any files are added to /home and /usr, they are actually added on a separate filesystem.
<br>
An unintended consequence to this is that I have more security in the preservation in the files in my /home. By creating a squashfs disk image, I now have a static backup of the home directory, static backups were not part of my backup regime prior to this, I simply copied my entire filesystem using rsync. I did this because it was simple, but it put my files at risk in the event where they would become corrupted or if I accidentily deleted a branch of files which would be automatically deleted in my backup.
<br>
The other major alteration that I made to my setup was to re-encrypt all of the partitions on my filesystem. Luckily, Ubuntu now bundles cryptsetup in its initrds which made my filesystem encryption much easier. I wanted to scramble all of the filesystems on my disk and wanted to scramble even the root. To encrypt the root I had to make a custom initrd that allows me to decrypt the root. The custom initrd also contains the necessary key to decrypt the filesystem. I used <a href="http://opalescent.ca/blog/archives/2006/08/#e2006-08-06T17_25_31.txt"> my old notes </a> as to how to setup the encrypted block devices and setup the initrd necessary to encrypt the drive. I now carry the laptop key much like I would carry a car key in the form of a mini-cd.
<br>
Making your own grub cd is very easy, instructions can be found <a href="http://www.gnu.org/software/grub/manual/html_node/Making-a-GRUB-bootable-CD-ROM.html"> here </a>
<br>
This is the relevant sections of my resulting fstab:
<br><br>
//begin fstab//<br>
# <file system> <mount point>   <type>  <options>       <dump>  <pass><br>
proc            /proc           proc    defaults        0       0<br>
/dev/mapper/root       /               ext3    defaults,user_xattr,errors=remount-ro 0       1<br>
/dev/mapper/swap	none	swap	sw	0	0<br>
/dev/cdrom /media/cdrom0   udf,iso9660 user,noauto     0       0<br>
/dev/mapper/home	/mnt/home	squashfs	auto	0	0<br>
/dev/mapper/usr 	/mnt/usr	squashfs	auto					0	0<br>
none		/home		unionfs 	dirs=/home/=rw:/mnt/home=ro,auto	0	0<br>
none		/usr/		unionfs		dirs=/usr/=rw:/mnt/usr=ro,auto		0	0<br>
//end fstab//<br>
I now have a much more secure albeit much slower and more complicated setup in my Linux laptop.
-----
</div>
</content>

</entry>
<entry>
<title type="html">Gimp and scripts</title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2007/06/26/gimp_and_scripts/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2007/06/26/gimp_and_scripts/index.html</id>
<published>2007-06-26T22:08:37-05:00</published>
<updated>2007-06-26T22:08:37-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
I've always wanted to figure out how to run the gimp in batch mode. I wanted to be able to use the gimp "posterize" option because I found that it worked better than the option -posterize that comes with the Imagemagick package. The material that I was posterizing was scanned text. The files were 3 megs per file and all that was on these image files was mostly plain text. After the gimp posterizing process, the files went from ~3megs to ~100kb.
<br>
Turns out scripting in the gimp is fairly easy. I used the following link as a base for what I wanted to do:
<br>
<a href="http://www.gimp.org/tutorials/Basic_Batch/"> http://www.gimp.org/tutorials/Basic_Batch/</a>
<br>
and the following page to look at some syntax:
<br>
<a href=""> http://adrian.gimp.org/scripts/test.scm</a>
<br>
In the following folder folder ~/.gimp-2.2/scripts I placed the file posterize.scm with the following contents:<br>
<br>

 (define (posterize filename posterfactor)<br>
   (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))<br>
          (drawable (car (gimp-image-get-active-layer image))))<br>
(gimp-message "gimp-posterize img layer" posterfactor)<br>
(gimp-posterize drawable posterfactor)<br>
     (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename)<br>
     (gimp-image-delete image)))<br>
<br>
Then with one find command, I was able to posterize all ~400 files that I had in the folder that I was using.<br>
find -iname '*.png' -exec   gimp -i -b '(posterize "{}" 2)' '(gimp-quit 0)' ';'
<br>
After much processing time, I saved myself quite a bit of disk space.
-----
</div>
</content>

</entry>
<entry>
<title type="html">Udev Problem</title>
<author>
<name>Mathieu Allard</name>
</author>
<link rel="alternate" type="text/html" href="http://mathieuallard.ca/tech//archives/2007/05/25/udev_problem/index.html"/>

<id>http://mathieuallard.ca/tech//archives/2007/05/25/udev_problem/index.html</id>
<published>2007-05-25T12:31:33-05:00</published>
<updated>2007-05-25T12:31:33-05:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
Since my upgrade to Ubuntu Feisty, I am having trouble with udev: <br>
Specifically, I am getting messages such as these:<br>
--<br>
[45887.989000] device-mapper: table: 254:3: linear: dm-linear: Device lookup failed<br>
[45887.989000] device-mapper: ioctl: error adding target to table<br>
<br>

--<br>

I currently boot my Ubuntu using a mini cd that has a kernel, initrd and the tools necessary to decrypt and boot my encrypted swap and root. This problem with udev has only started since my upgrade to feisty.<br>


The kernel version that I am using is 2.6.18 with some patches that I needed to apply for my last laptop to be able to read sd cards.<br>


Furthermore, if I don't kill udevd, it eats up my cpu ressources and spits out messages as described above.<br>


Any advice would be appreciated.<br>
-----
</div>
</content>

</entry>

</feed>
