<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-33096520</id><updated>2012-01-28T05:41:52.707+01:00</updated><category term='configuration'/><category term='fluxbox'/><title type='text'>:wq! (dabeul iou quiou bang)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-33096520.post-824996043681518399</id><published>2011-12-27T07:28:00.003+01:00</published><updated>2011-12-27T07:28:34.112+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fluxbox'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><title type='text'>gtk and other graphical configuration under fluxbox</title><content type='html'>For some reasons, after a fresh install of &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;fluxbox&lt;/span&gt; and fine tuning of the configuration, I had one issue with the icons set and font size in most of the applications.&lt;br /&gt;&lt;br /&gt;I solved the problem by using a simple tool (not in command line, for once, in order to get the preview of the modifications): &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;lxappearance&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In few actions, I got what I need, icons are now back in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;thunar&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-9K1JLtl4dk4/Tvlk2dwHwtI/AAAAAAAABJg/AT2h8dkHVS8/s1600/lxappearance.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="262" src="http://4.bp.blogspot.com/-9K1JLtl4dk4/Tvlk2dwHwtI/AAAAAAAABJg/AT2h8dkHVS8/s320/lxappearance.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I post this as a note for my next install and it might help others.&lt;br /&gt;&lt;br /&gt;links :&lt;br /&gt;&lt;a href="http://fluxbox.org/"&gt;http://fluxbox.org/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://thunar.xfce.org/"&gt;http://thunar.xfce.org/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/lxde/files/LXAppearance/"&gt;http://sourceforge.net/projects/lxde/files/LXAppearance/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-824996043681518399?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/824996043681518399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=824996043681518399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/824996043681518399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/824996043681518399'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2011/12/gtk-and-other-graphical-configuration.html' title='gtk and other graphical configuration under fluxbox'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-9K1JLtl4dk4/Tvlk2dwHwtI/AAAAAAAABJg/AT2h8dkHVS8/s72-c/lxappearance.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-777277202928445369</id><published>2011-12-08T15:09:00.001+01:00</published><updated>2011-12-08T16:23:51.067+01:00</updated><title type='text'>The end of the X movie</title><content type='html'>That's it, &lt;br /&gt;&lt;br /&gt;I finally got my X server configured correctly, with a neat dual screen set-up ! This is a good sign, an evidence : &lt;span style="font-family: courier new;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;~$cat .bash_history | grep xorg | wc -l&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;...&lt;/span&gt;returns "only" 22 entries today...&lt;br /&gt;&lt;br /&gt;I have been struggling with the beast for almost two years now. And yes, I have read the manual and all the $*%ø tutorials on the topic; with no hope. I even gave up my free mind an downloaded the nvidia closed driver, tried the graphical configuration interface with very limited results. After hours of trials and errors, could eventually get the $£µ%ù dual screen working until the next reboot...&lt;br /&gt;&lt;br /&gt;Finally, I moved again (my last post was also about moving 3 years ago), while unpacking in the new flat, I found the nice and brand new screen VGA cable and I had a flash, damn it !&lt;br /&gt;&lt;br /&gt;My&amp;nbsp; video card is a nvidia geforce 5700 FX (from mathusalem), with a double output, a DVI plug and an standard analog VGA plug. I have a huyndai 17' L70S imagequest, plugged on the VGA and a LG 24' plugged as DVI. There was the problem ! The %µù*$^&amp;nbsp; DVI was switching to sleep mode and the £ù*%µ driver would eventually forget about it, simply considering it was disconnected and somehow switching only on the VGA screen, ... This is the reason why I could get it working but during limited time and in awkward circumstances.&lt;br /&gt;&lt;br /&gt;It took time, but I had finally the idea to come back to the old school analog cables and bought a DVI_to_VGA plug and connected the two screens as VGA. Do you know what ? It worked like a charm in few minutes.&lt;br /&gt;&lt;br /&gt;I choose the "separate X screen" configuration instead of a real dual screen. I prefer to have two independent X screen, to allocate applications and to have proper screen calibration set-up (through the nvidia-settings application).&lt;br /&gt;&lt;br /&gt;As a result, my first screen &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;:0:0&lt;/span&gt; is in 1900x1080 and the screen &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;:0:1&lt;/span&gt; is in 1280x1024.&lt;br /&gt;I am not using Xinerama (I don't need to extend some applications from one screen to another.&lt;br /&gt;&lt;br /&gt;Screen &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;:0:0&lt;/span&gt; is the wide and new one for photo editing and work, the smaller one &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;:0:1&lt;/span&gt; is for monitoring, parallel videos, music player, chat, etc...&lt;br /&gt;&lt;br /&gt;Bellow is my file, quite simple indeed, probably not perfectly optimised, but it works !&lt;br /&gt;&lt;br /&gt;Next post is about my awsome nerdy conky configuration...&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;~$ cat /etc/X11/xorg.conf&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;# relative positions of the two screens, my big screen (screen 0), has absolute position x,y of 1280,0&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;# screen 1, is located on the left of screen 0&lt;br /&gt;Section "ServerLayout"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Layout0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Screen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; "Screen0" 1280 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Screen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; "Screen1" LeftOf "Screen0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InputDevice&amp;nbsp;&amp;nbsp;&amp;nbsp; "Keyboard0" "CoreKeyboard"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InputDevice&amp;nbsp;&amp;nbsp;&amp;nbsp; "Mouse0" "CorePointer"&lt;br /&gt;EndSection&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;# I disabled Xinerama, I didn't want to extend my desktop on a large virtual screen, I prefer to keep separated screens, it's also better for calibration I think &lt;br /&gt;Section "ServerFlags"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Xinerama" "0"&lt;br /&gt;EndSection&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;# mouse stuff, I hate mac, and yes 3 buttons is cool, I wish I had more&lt;br /&gt;Section "InputDevice"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # generated from default&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Mouse0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Driver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "mouse"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Protocol" "auto"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Device" "/dev/psaux"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Emulate3Buttons" "no"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ZAxisMapping" "4 5"&lt;br /&gt;EndSection&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;# need to type, this is not an iPad !&lt;br /&gt;Section "InputDevice"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # generated from default&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Keyboard0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Driver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "kbd"&lt;br /&gt;EndSection&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;# wide screen, main screen&lt;br /&gt;Section "Monitor"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # HorizSync source: edid, VertRefresh source: edid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Monitor0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VendorName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Unknown"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ModelName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LG C243"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HorizSync&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30.0 - 83.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VertRefresh&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 56.0 - 75.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "DPMS"&lt;br /&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&lt;br /&gt;# smaller screen, side screen&lt;br /&gt;Section "Monitor"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # HorizSync source: edid, VertRefresh source: edid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Monitor1"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VendorName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Unknown"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ModelName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "IQT L70S"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HorizSync&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31.0 - 79.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VertRefresh&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60.0 - 75.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "DPMS"&lt;br /&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&lt;br /&gt;#video card for the first screen, first output&lt;br /&gt;Section "Device"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Videocard0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Driver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nvidia"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VendorName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "NVIDIA Corporation"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BoardName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "GeForce FX 5700"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BusID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "PCI:1:0:0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Screen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&lt;br /&gt;#video card for the second screen, second output&lt;br /&gt;Section "Device"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Videocard1"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Driver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nvidia"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VendorName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "NVIDIA Corporation"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BoardName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "GeForce FX 5700"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BusID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "PCI:1:0:0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Screen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&lt;br /&gt;# allocation to video cards to screen, depth and meta modes, kind of auto mode, it works like this, I will not fine tune more...&lt;br /&gt;Section "Screen"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Screen0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Videocard0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Monitor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Monitor0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultDepth&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TwinView" "0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TwinViewXineramaInfoOrder" "CRT-0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "metamodes" "CRT-0: nvidia-auto-select +0+0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubSection&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Display"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Depth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndSubSection&lt;br /&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;# allocation to video cards to screen, depth and meta modes, kind of auto mode, it works like this, I will not fine tune more...&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;Section "Screen"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Screen1"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Videocard1"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Monitor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Monitor1"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DefaultDepth&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TwinView" "0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "metamodes" "CRT-1: nvidia-auto-select +0+0"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubSection&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Display"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Depth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndSubSection&lt;br /&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-777277202928445369?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/777277202928445369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=777277202928445369' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/777277202928445369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/777277202928445369'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2011/12/end-of-x-movie.html' title='The end of the X movie'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-6112621535450498349</id><published>2009-01-25T07:09:00.001+01:00</published><updated>2009-01-25T07:11:00.635+01:00</updated><title type='text'>Desperated</title><content type='html'>New job, new computer, new phone... windows mobile, windows XP... my linux box is in the boat, will get it in one month...Arg&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-6112621535450498349?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/6112621535450498349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=6112621535450498349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/6112621535450498349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/6112621535450498349'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2009/01/desperated.html' title='Desperated'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-2343081629182350299</id><published>2008-03-05T10:09:00.002+01:00</published><updated>2008-03-05T10:15:51.603+01:00</updated><title type='text'>New machine in town...</title><content type='html'>So my trustful old laptop from the lab is going to be sent down the drain... Well, can't say I'll cry as I've been using the thing for 3 years and the pas 4 months without a working lcd.&lt;br /&gt;A new machine is currently being built and shipped my way by, ekk, Dell again. Cannot change it, IT policy from my university, that sucks but we cannot do anything about it. Or at least I prefer to put the fight on double booting rather than on machine type.&lt;br /&gt;And I fought...&lt;br /&gt;And I won the right of having a double boot on the damned new machine, if and only if, they provide no support whatsoever for me. Hell! You touch the freebsd partition of my machine and you are a leaving the lab in a body bag, that's how I care about your support!!&lt;br /&gt;&lt;br /&gt;So... Dell D430. That what it's going to be...&lt;br /&gt;Freebsd 7.0 is going to be installed on it by me.&lt;br /&gt;I managed to get them to partition the HD in 3 separate bits: one for XP (and *not* Vista which is somehow a good thing as I heard...), one fat32 for data so I can access it from both side, and the last one empty.&lt;br /&gt;&lt;br /&gt;We'll see how it turns out...&lt;br /&gt;Can't wait to test freebsd 7.0!!! More soon then...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-2343081629182350299?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/2343081629182350299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=2343081629182350299' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/2343081629182350299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/2343081629182350299'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2008/03/new-machine-in-town.html' title='New machine in town...'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-5254480799785751832</id><published>2008-03-01T19:27:00.002+01:00</published><updated>2008-03-01T19:46:48.338+01:00</updated><title type='text'>eeepc powered</title><content type='html'>&lt;span style="font-family: arial;"&gt;Ok, sometimes I often like to buy stuffs which are not really useful, but this time, I promise, I might have bought the most necessary device... A damn small linux powered laptop...A5 size, 4G of disk, 300€.&lt;br /&gt;&lt;br /&gt;The computer is delivered with a custom Xandros distribution which is really optimised for this material, the boot time is really short and the CPU / RAM strong enough to run googlearth, gimp, inkscape, firefox and vim (ah ah).&lt;br /&gt;&lt;br /&gt;Nevertheless, I must have played less than ten minutes with the easy mode interface and switch to the "advanced" interface which is kde (beark). After two weeks, i've decided to install fluxbox which was really easy (xandros is debian based and apt-get install was my friend). After I have optimised the screen usage as this computer screeen is only 7''.&lt;br /&gt;&lt;br /&gt;I had to install few extensions for firefox (little-fox theme and fullscreen extension) and then I have reduced the menu fonts by editing the userChrome.css and change to a smaller size the fonts.&lt;br /&gt;&lt;br /&gt;/home/user/.mozilla/firefox/95olpcar.default/chrome&gt; vim userChrome.css&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After this, I played a lot with the fluxbox themes, and decided to customise the "Lait" theme and reduce all the fonts and borders to the minimum.&lt;br /&gt;&lt;br /&gt;Ok, this post is not really detailed, it was just a short message from the free world. I happy about this new toy but a little bit desperate when I read the blogs and forum about the eeepc, it seems some guys are willing to install windows on it...wtf..but what for?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-5254480799785751832?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/5254480799785751832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=5254480799785751832' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/5254480799785751832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/5254480799785751832'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2008/03/eeepc-powered.html' title='eeepc powered'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-6470506974154085573</id><published>2008-02-15T22:36:00.002+01:00</published><updated>2008-02-15T22:45:42.263+01:00</updated><title type='text'>Saving time ?</title><content type='html'>&lt;span style="font-family:arial;"&gt;Good to be back, long time without post here !&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Damn day, I have 30 000 thousands text files and I need quickly to change some informations contained in the files. In fact I have to update some dates in these files....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Some time it's longer to think about about to do it a clever way than doing by brute force !&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Option one&lt;/span&gt;&lt;span style="font-family:arial;"&gt; : if I was a windows user I would open file by file, I would use MS word for this and then use the replace function, type each time the text to find and to replace&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;Option two &lt;/span&gt;&lt;span style="font-family:arial;"&gt;: back home, log on linux and in two minutes refresh my sed basic knowledge a make a script&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;Option three&lt;/span&gt;&lt;span style="font-family:arial;"&gt; : why not having more fun with sed and vim ??? Why? Because vi is rigolo !!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the Option 3 :&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;for i in *.txt; do  vim -c '%s/08\/02\/07/22\/02\/07/g' -c 'wq!' $i; done&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Done !&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-6470506974154085573?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/6470506974154085573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=6470506974154085573' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/6470506974154085573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/6470506974154085573'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2008/02/saving-time.html' title='Saving time ?'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-8813741835625915656</id><published>2007-09-14T06:29:00.000+02:00</published><updated>2007-10-04T06:35:31.168+02:00</updated><title type='text'>Coming back from the dead. A FAT32’s story.</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;I’ve forgotten why but it appears that I still had an old FAT32 partition on my (windows) computer (primary is NTFS). Last week, it crashed taking down all my photos, DL, and so on at the same time :) (Since Murphy’s law is the great rule that unified them all, let’s say I’d never heard of such things as backup !) The only things left was this dull message : The disk in drive D is not formatted. Do you want to format it now ? - NO !&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Sadly when it comes to windows, software often rimes with money (or with astalathings – you’re evil !). Fortunately, I found TestDisk(1) which, one more time, prove that there IS a true god out there on the internet. Bless the GNU God.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;This nice tool try to reconstruct the boot sector (look in the advanced menu) and find the root directory. I suggest that you let it find the root directory by itself if the first candidate seems not valid (use Abort, it’ll look for the best match).&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;If it succeeded, you can check the validity of its solution with List and write a brand new boot sector. Life can be beautiful, isn’t it !&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Tools:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;(1) http://www.cgsecurity.org/wiki/TestDisk&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-8813741835625915656?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/8813741835625915656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=8813741835625915656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/8813741835625915656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/8813741835625915656'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2007/09/coming-back-from-dead-fat32s-story.html' title='Coming back from the dead. A FAT32’s story.'/><author><name>Azathotep</name><uri>http://www.blogger.com/profile/02812031765277015340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-3765956118636111696</id><published>2007-09-14T06:25:00.000+02:00</published><updated>2007-09-14T06:29:45.255+02:00</updated><title type='text'>Virtualisation 2. The free world’s revenge.</title><content type='html'>&lt;span style="font-family: arial;" lang="EN-GB"&gt;Some time has passed since the last time I build a virtual box from scratch with vmware… Now, time has come to use some pretty GNU stuff: VirtualBox(1) is all you need.&lt;/span&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Before anything else, I have to warn you that despite being outrageously easy to install, I only used it has a client with NAT configuration. Has I’ve seen on the web, you can configure it with host interface. It seems only a little bit more tiresome than vmware configuration.&lt;/span&gt;&lt;/p&gt;    &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Like I’d said, it’s really easy : download VirtualBox (1.5), Download the ISO image of your preferred OS (I’d choose the Debian Etch.)&lt;/span&gt;&lt;/p&gt;      &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Step 1: Basic installation (with X)&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Step 2: Installation of the guest additions.&lt;br /&gt;Download the kernel header files, the default gcc version (which appears to be the one needed to recompile the kernel). Mount guest additions ISO image and run the installation script.&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;span style="font-family: arial;"&gt;Step 3: Pb…&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;- I had to change the X configuration file manually to enable the new video driver in the Device section : Driver&lt;/span&gt; &lt;span style="font-family: arial; font-style: italic;"&gt;“vboxvideo”&lt;/span&gt;&lt;span style="font-family: arial;"&gt;. (In fact, I do not remember if I’ve done this by editing this file or by running a dpkg-reconfigure xserver-xorg command)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;span style="font-family: arial;"&gt;- Once done, I loose the mouse cursor (but the mouse was still active). This time, you really had to edit xorg.conf and change the InputDevice’s driver to&lt;/span&gt; &lt;span style="font-family: courier new;"&gt;“&lt;span style="font-family: arial; font-style: italic;"&gt;vboxmouse&lt;/span&gt;”&lt;span style="font-family: arial;"&gt;. It seems to be a known bug.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Step 4: Enjoy.&lt;/span&gt;&lt;/p&gt;      &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Tools:&lt;br /&gt;(1) http://www.virtualbox.org/&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-3765956118636111696?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/3765956118636111696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=3765956118636111696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/3765956118636111696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/3765956118636111696'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2007/09/virtualisation-2-free-worlds-revenge.html' title='Virtualisation 2. The free world’s revenge.'/><author><name>Azathotep</name><uri>http://www.blogger.com/profile/02812031765277015340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-9071107039829592339</id><published>2007-03-20T09:33:00.000+01:00</published><updated>2007-03-20T09:56:40.513+01:00</updated><title type='text'>Virtualization</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Let’s face it : windows is still the best OS for doing pretty cheap/bad things in the minimum amount of effort (non exhaustive list : printing document on a un-collaborative shared printer, making a presentation (Powerpoint rules !), and so on.) Nonetheless, when it comes to serious computing you’ll want a real partner ! Someone you had faith in, like a unix/linux box ! You can do it&lt;span style=""&gt;  &lt;/span&gt;a) with efficiency b) with panache&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-weight: bold;"&gt;A) The vmware approach&lt;/span&gt; ( some variation might reside on the dark side of the legal frontier) &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;span style="" lang="EN-US"&gt;&lt;/span&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;- Solution 1&lt;/span&gt; (maximal efficiency - require a registration step): &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;          &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Tools of the trade&lt;/span&gt; (I had to stop reading hacker’s stories):&lt;br /&gt;vmware player (free) : &lt;/span&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;" lang="EN-US"&gt;http://www.vmware.com/products/player/&lt;/span&gt;&lt;br /&gt;&lt;span style="" lang="EN-US"&gt;vmware workstation (evaluation copy) :&lt;span style=""&gt; &lt;/span&gt;http://www.vmware.com/download/ws/ and http://www.vmware.com/download/ws/eval.html&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;br /&gt;Note: currently there is the beta 6 out there for testing purpose here : http://register.vmware.com/content/beta/ws/registration.html&lt;/span&gt;&lt;br /&gt;Your unix/linux installation cd&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Here are the process for a Debian Sarge (Note : I had to choose the default 2.4 kernel to install vmtool or I had to cope with compilation pb - and no time to solve them.)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step a.&lt;/span&gt; install workstation, create a new virtual guest&lt;span style=""&gt;  &lt;/span&gt;(at least 256Mo of RAM) with bridged network if your on a lan with a dhcp server somewhere or nat if you want a stealth mode :). Choose a adequate storage space you can not alter it afterward (3-4 Go for a functional debian). Fortunately, vmware is smart enough to adapt the size of the corresponding file to what is really needed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step b.&lt;/span&gt; insert the install cd &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step c.&lt;/span&gt; boot your new guest and follow the installation process. Install the kernel headers (if you do this after this step use : apt-get install kernel-headers-`uname -r`).&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step d.&lt;/span&gt; install X. choose the vmware drivers for the screen. The mouse is an ibm/ps2 (/dev/psaux). Choose 24 bits 1280x1024 and lower resolutions. Here is a sample of my X11 configuration file prior to vmtools:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;                                                                        &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="" lang="EN-US"&gt;Section "InputDevice"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Identifier&lt;span style=""&gt;            &lt;/span&gt;"Generic Keyboard"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Driver&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"keyboard"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"CoreKeyboard"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"XkbRules"&lt;span style=""&gt;            &lt;/span&gt;"xfree86"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"XkbModel"&lt;span style=""&gt;    &lt;/span&gt;"pc105"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"XkbLayout"&lt;span style=""&gt;    &lt;/span&gt;"fr"&lt;/span&gt;&lt;br /&gt;EndSection&lt;br /&gt;Section "InputDevice"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;Identifier&lt;span style=""&gt;            &lt;/span&gt;"Configured Mouse"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Driver&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"mouse"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"CorePointer"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"Device"&lt;span style=""&gt;           &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"/dev/input/mice"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"Protocol"&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"ImPS/2"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"Emulate3Buttons"&lt;span style=""&gt;            &lt;/span&gt;"true"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"ZAxisMapping"&lt;span style=""&gt;         &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"4 5"&lt;/span&gt;&lt;br /&gt;EndSection&lt;br /&gt;Section "Device"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;Identifier&lt;span style=""&gt;            &lt;/span&gt;"VMWare Inc [VMWare SVGA II] PCI Display Adapter"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Driver&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"vmware"&lt;/span&gt;&lt;br /&gt;EndSection&lt;br /&gt;Section "Monitor"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Identifier&lt;span style=""&gt;           &lt;/span&gt;"Écran générique"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="" lang="EN-US"&gt;HorizSync&lt;span style=""&gt;        &lt;/span&gt;28-50&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;VertRefresh&lt;span style=""&gt;      &lt;/span&gt;43-75&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"DPMS"&lt;br /&gt;EndSection&lt;br /&gt;Section &lt;/span&gt;"&lt;span style="" lang="EN-US"&gt;Screen&lt;/span&gt;"&lt;br /&gt;&lt;span style="" lang="EN-US"&gt;…&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;SubSection "Display"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;Depth&lt;span style=""&gt;   &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;24&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;Modes&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"1280x1024" "800x600" "640x480"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;&lt;!--[if !supportEmptyParas]--&gt;&lt;!--[if !supportEmptyParas]--&gt;&lt;!--[if !supportEmptyParas]--&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-size:100%;"&gt;EndSubSection&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step e.&lt;/span&gt; once the installation is complete, choose to install vmtools (this option is available in one of the menu. Once actuve it create a CD) [it improves the graphic performance and so on. It is not mandatory but it’s way cool !)&lt;span style=""&gt;  &lt;/span&gt;See http://www.vmware.com/support/ws55/doc/new_guest_tools_ws.html   for additional détails. Mount the CD; find the vmtoolsxxx.tar.gz; gunzip; untar; launch the installer. It will compile vmtools for your kernel. A sample of X11 post installation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;                      &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;Section "Monitor"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Identifier&lt;span style=""&gt;           &lt;/span&gt;"Écran générique"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="" lang="DE"&gt;HorizSync&lt;span style=""&gt;        &lt;/span&gt;1-10000&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;VertRefresh&lt;span style=""&gt;      &lt;/span&gt;1-10000&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;Option&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;"DPMS"&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-size:100%;"&gt;ModeLine "800x600" 100 800 900 1000 1100 600 700 800 900&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;ModeLine "1280x768" 100 1024 1100 1200 1300 768 800 900 1000&lt;br /&gt;#&lt;span style=""&gt;            &lt;/span&gt;ModeLine "1280x1024" 100 1280 1300 1400 1500 800 900 1000 1100&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;ModeLine "1280x1024" 135 1280 1312 1416 1664 1024 1027 1030 1064&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;ModeLine "1600x1200" 100 1600 1700 1800 1900 1050 1100 1200 1300&lt;br /&gt;EndSection&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Use the rest of your evaluation period to install other guests OS :)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step f.&lt;/span&gt; When your done uninstall workstation and install vwmplayer instead.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Job complete !&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The only purposes of the workstation was to a) create all the file requested to install the guest OS b) provide vmtools. Solution 2 get rid of a). Note : it seems that keeping vmtools after step f is legal (I’ve read somewhere that vmtools comes from vmware server which if freely available). . . &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;- Solution 2:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Tools of the trade&lt;/span&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Qemu : “a generic open source machine emulator and virtualizer” http://fabrice.bellard.free.fr/qemu/&lt;br /&gt;Qemu Accelerator module : same url&lt;br /&gt;vmtools (if you consider that keeping it when using the player is legal) : http://taltan.free.fr/index/2007/02/06/61-vmware-tool-toujours-sur-la-main&lt;br /&gt;vmplayer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;The goal is to build all the files needed by vmplayer without workstation. The process comes form i) http://johnbokma.com/mexit/2005/10/26/vmware-player-windows-xp.html, ii)  http://cri.ch/linux/docs/sk0020.html, iii) http://www.hackaday.com/2005/10/24/how-to-vmware-player-modification &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Step a. create a storage file with qemu :&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;font-family:courier new;font-size:100%;"  &gt;&lt;code&gt;&lt;span lang="EN-US"&gt;qemu-img.exe create -f vmdk &lt;storage&gt;.vmdk 4G&lt;/storage&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;                                                                                  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Step b. Create a file &lt;name&gt;.vmk like this one :&lt;br /&gt;&lt;span style="font-size:100%;"&gt;config.version = "8"&lt;br /&gt;virtualHW.version = "3"&lt;br /&gt;#scsi0.present = "TRUE"&lt;br /&gt;ide0:0.present = "TRUE"&lt;br /&gt;ide0:0.filename = "Rheas.vmdk"&lt;br /&gt;memsize = "256"&lt;br /&gt;MemAllowAutoScaleDown = "FALSE"&lt;br /&gt;#scsi0:0.present = "TRUE"&lt;br /&gt;#scsi0:0.fileName = "Rheas.vmdk"&lt;br /&gt;ide1:0.present = "TRUE"&lt;br /&gt;ide1:0.fileName = "D:\Tmp\master.rheas3.0.iso"&lt;/span&gt;&lt;/name&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;ide1:0.deviceType = "cdrom-image"&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=";font-family:&amp;quot;;"  lang="EN-US"&gt;#ide1 :0.fileName= "auto detect"&lt;br /&gt;#ide1:0.deviceType = "cdrom-raw"&lt;br /&gt;#ide1:0.autodetect = "TRUE"&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  lang="EN-US" &gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=";font-family:&amp;quot;;"  lang="EN-US"&gt;floppy0.present = "FALSE"&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:100%;"&gt;ethernet0.present = "TRUE"&lt;br /&gt;&lt;/span&gt;usb.present = "TRUE"&lt;br /&gt;sound.present = "TRUE"&lt;br /&gt;sound.virtualDev = "es1371"&lt;br /&gt;sound.fileName = "-1"&lt;br /&gt;sound.autodetect = "TRUE"&lt;br /&gt;displayName = "RedHat2004"&lt;br /&gt;guestOS = "other24xlinux"&lt;br /&gt;nvram = "Other Linux 2.4.x kernel.nvram"&lt;br /&gt;scsi0:0.redo = ""&lt;br /&gt;ethernet0.addressType = "generated"&lt;br /&gt;uuid.location = "56 4d 9e 34 6d 2f 6b 75-1f be 02 0c 1b a0 e2 7d"&lt;br /&gt;uuid.bios = "56 4d 9e 34 6d 2f 6b 75-1f be 02 0c 1b a0 e2 7d"&lt;br /&gt;ide1:0.autodetect = "TRUE"&lt;br /&gt;tools.remindInstall = "TRUE"&lt;br /&gt;ethernet0.generatedAddress = "00:0c:29:a0:e2:7d"&lt;br /&gt;ethernet0.generatedAddressOffset = "0"&lt;br /&gt;ide1:0.startConnected = "TRUE"&lt;br /&gt;tools.syncTime = "FALSE"&lt;br /&gt;ethernet0.connectionType = "bridged"&lt;br /&gt;checkpoint.vmState = "Other Linux 2.4.x kernel.vmss"&lt;br /&gt;ide0:0.redo = ""&lt;/span&gt;&lt;!--[if !supportEmptyParas]--&gt;&lt;!--[if !supportEmptyParas]--&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Pay attention to &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;a)the ide1:0 if you want to install your OS from an ISO or from an real CD.&lt;br /&gt;&lt;!--[if !supportEmptyParas]--&gt;b)the guestOS must belong to the list describe in ii) but I suspect that this info is not utterly important.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Next steps. follow solution 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;B) The free way : qemu&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;Qemu : “a generic open source machine emulator and virtualizer” http://fabrice.bellard.free.fr/qemu/&lt;br /&gt;Qemu Accelerator module : same url&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;          &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step a.&lt;/span&gt; Install both qemu and the accelerator (download the source package and execute the .inf)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step b.&lt;/span&gt;&lt;!--[if !supportEmptyParas]--&gt; enable the accelerator with the command : net start kqemu&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step c.&lt;/span&gt; create a storage file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-size:100%;"&gt;qemu-img create –f qcow &lt;storagefile&gt;.img &lt;size&gt;G&lt;/size&gt;&lt;/storagefile&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step b.&lt;/span&gt; Launch qemu&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-size:100%;"&gt;qemu.exe -L . -cdrom "\\.\F:" -hda debian_sarge.img -m 256 -boot d -net nic -net user -redir tcp:5555:10.0.2.15:80 -redir tcp:5556:10.0.2.15:8080&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;This command tells qemu to boot with the cdrom (you can also specify an iso file) and redirect all the outgoing connections for port 80 and 8080. This way you’ll be able to download all the requested files during installation and surf the web after that ! 10.0.2.15 is the default ip returned by the qemu dhcp server. (Note : I use 8080 since I’m behind an http proxy which is listening to incoming connections on this port)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="" lang="EN-US"&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step c.&lt;/span&gt; If you have to reboot from the hard drive you should stop qemu, and change the -boot parameter from d to c (you can keep the cdrom image if you had to).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Step d.&lt;/span&gt; Configure X11. Use the PS/2 with /dev/psaux for the mouse and the cirrus driver for the video (screen : Hsync 30-70 Vrefresh 50-160 option DPMS) I tried 1280x960 but I think&lt;span style=""&gt;  &lt;/span&gt;I’m stuck with 800x600.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="" lang="EN-US"&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;A brief note:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style=""&gt; &lt;/span&gt;I had to admit that I prefer vmplayer due to it’s flexibility and ease of use:&lt;br /&gt;- the 1280x1024 screen,&lt;br /&gt;- switch full screen with ctrl/alt/return (I don’t remember how but it is possible to make the upper toolbar dockable… the trick is to switch to full screen then find the key combination (like CTRL+ALT) to call the host OS pointer but not exiting the full screen mode ! Then click on the pushpin … that’s all !&lt;br /&gt;- access your usb pen with one click+mount and it’s done&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;and so on.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Final advice n°1:&lt;/span&gt; do not forget to set up a samba client with a windows shared folder (setting a server might look better but do not forget all the possible windows’ delay when the OS try to access your directory and your virtual machine is off (like when you configure an auto-connect shared folder)).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="" lang="EN-US"&gt;&lt;span style="font-weight: bold;"&gt;Final advice n°2&lt;/span&gt;: do not forget to alter the smb.conf ! Particularly:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p  class="MsoNormal" style="font-family:courier new;"&gt;&lt;span style="" lang="EN-US"&gt;domain master = no&lt;br /&gt;local master = no&lt;br /&gt;preferred master = no&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;span  lang="EN-US" style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family: arial;font-family:arial;font-size:100%;"  &gt;&lt;span lang="EN-US"&gt;I forgot this step and saw 2 sys admins came into my office searching for the owner of the station who continually usurp the domain master browser :(&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-9071107039829592339?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/9071107039829592339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=9071107039829592339' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/9071107039829592339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/9071107039829592339'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2007/03/virtualization.html' title='Virtualization'/><author><name>Azathotep</name><uri>http://www.blogger.com/profile/02812031765277015340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-4429010445358320295</id><published>2007-01-14T18:58:00.000+01:00</published><updated>2007-01-14T19:07:52.656+01:00</updated><title type='text'>It's been a long time...</title><content type='html'>I've been moving... many things have changed in my life, I've been struggling ?&lt;br /&gt;&lt;br /&gt;The point is that I had no time these days to nerd on my computer (soledad). Since I am living in Dijon, I have been using Gnome and Mandriva 2007, arg! I know some guys (to be precise, mainly one who is not far from here) who could die from an heart attack reading this...&lt;br /&gt;&lt;br /&gt;Today, after 45 minutes of running around the Lac de &lt;a href="http://maps.google.fr/?ie=UTF8&amp;z=16&amp;amp;ll=47.327538,4.996955&amp;spn=0.008261,0.013175&amp;amp;t=k&amp;om=1"&gt;Kyr&lt;/a&gt;, I decided to bring my linux box back to a normal life and to build a fresh e17 2007 cvs !&lt;br /&gt;&lt;br /&gt;200&lt;span style="font-weight: bold;"&gt;7&lt;/span&gt; will be e1&lt;span style="font-weight: bold;"&gt;7&lt;/span&gt; year !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-4429010445358320295?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/4429010445358320295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=4429010445358320295' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/4429010445358320295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/4429010445358320295'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2007/01/its-been-long-time.html' title='It&apos;s been a long time...'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-116188395383449031</id><published>2006-10-26T19:20:00.000+02:00</published><updated>2006-10-26T19:32:38.353+02:00</updated><title type='text'>1... 2... Daaaaaaaashhhhhhhh!!!</title><content type='html'>Hej, it's been a while... How are yall doin'?&lt;br /&gt;Mmmm soory I'm getting my US english back on track before going to Boston next week... Anyway, enuf said 'bout my life...&lt;br /&gt;&lt;br /&gt;Recently I got a pretty annoying little problem. Some asshole, sorry, I meant some windows user thought it was nice to start a file name by "- ". Come on dude!!!&lt;br /&gt;"- foo -" is NOT a good name for a file.&lt;br /&gt;It is bad, in the sens of contrary to good! It is evil!!! Imagine the whole world as you know it collapsing in a trashing curse, life being wipe clean by tempest of acidic rainy winds... sort of...&lt;br /&gt;Bad!&lt;br /&gt;&lt;br /&gt;OK. So how does a Unix guy get around that a rename it, mv-it I should say, into something more reasonable, such as foo.txt for instance. Because - is the option thingy, see.&lt;br /&gt;&lt;br /&gt;Easy when you know the trick, like swallowing a burning spear or a sharp curvy  sword. Yes, if you know the damn trick!!!!&lt;br /&gt;OK, ok, here it is: start the name of the file by ./ (telling basicaly that you want to act in the present directory, which actually is what you want...) so that you get something like &lt;span style="font-style: italic;"&gt;mv ./-\ foo\ -.txt foo.txt&lt;/span&gt; and there you are.&lt;br /&gt;&lt;br /&gt;I hate you, windows guy... but there is always, *always*, ALWAYS a solution in our Unix command line world...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-116188395383449031?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/116188395383449031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=116188395383449031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116188395383449031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116188395383449031'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/10/1-2-daaaaaaaashhhhhhhh.html' title='1... 2... Daaaaaaaashhhhhhhh!!!'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-116098438295742746</id><published>2006-10-16T09:17:00.000+02:00</published><updated>2006-10-16T09:39:42.966+02:00</updated><title type='text'>Setbacks in Debian land</title><content type='html'>Another 'reminder' post :&lt;br /&gt;Allright, you're ready to install a Debian distro right from the internet... Things are going well until the program chooses the lan to install itself instead of your standard pppoe ADSL connection! Meaning either you didn't read the info displayed or your modem response to DHCP Discover  is privileged... (probably both of them)&lt;br /&gt;&lt;br /&gt;Ok, stay calm and wait for the end of the procedure.&lt;br /&gt;pppoeconf will not be sufficient to save the day. You'll have to edit the /etc/network/interfaces, comment out 'iface eth0 inet dhcp' and add 'iface eth0 inet ppp provider &lt;dsl-provider&gt;. Bring up eth0... That's all :)&lt;br /&gt;&lt;br /&gt;Ref: &lt;a href="http://www.debian.org/doc/manuals/reference/ch-gateway.en.html"&gt;take a look at 10.6.1.6&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-116098438295742746?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/116098438295742746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=116098438295742746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116098438295742746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116098438295742746'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/10/setbacks-in-debian-land.html' title='Setbacks in Debian land'/><author><name>Azathotep</name><uri>http://www.blogger.com/profile/02812031765277015340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-116055111942099475</id><published>2006-10-11T09:01:00.000+02:00</published><updated>2006-10-11T10:23:05.116+02:00</updated><title type='text'>Chasing Orpie</title><content type='html'>Severe brain damage caused by windows left me naked with my debian box.&lt;br /&gt;&lt;br /&gt;A. Statements :&lt;br /&gt;Where have they put my calc.exe ?&lt;br /&gt;aka No I don't feel miserable enough to use expr !&lt;br /&gt;aka I don't want to use my cell phone either&lt;br /&gt;aka besides, I don't want to compute square root with the basic operands with the previous methods&lt;br /&gt;&lt;br /&gt;B. Encounter deep inside the land of the lost packages.&lt;br /&gt;The first google rule stress that thou shall not seek in vain (at least with no time constraint). Imagine that you meet someone whose very first words are "Because the equals key is for the weak". How could you refrain yourself from falling in love ? Let's face it, the world would never be the same anymore.&lt;br /&gt;&lt;br /&gt;By the way, Orpie is a command line scientific calculator using the RPN notation and a visual stack. The chances are high that you could snob all your coworker just like during the hp48 days! (Remember ? When you were  the only one willing to lend his/her calculator knowing the awful truth. The world were divided between 2 classes : those who would/could not understand how to use it and those who already own one. Ah! Life were so simple back there!)&lt;br /&gt;&lt;br /&gt;Help yourself, go and compile it ! &lt;a href="http://www.eecs.umich.edu/%7Epelzlpj/orpie/"&gt;It's here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-116055111942099475?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/116055111942099475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=116055111942099475' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116055111942099475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116055111942099475'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/10/chasing-orpie.html' title='Chasing Orpie'/><author><name>Azathotep</name><uri>http://www.blogger.com/profile/02812031765277015340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-116050544980324047</id><published>2006-10-10T20:29:00.000+02:00</published><updated>2006-10-10T22:18:49.373+02:00</updated><title type='text'>The infamous John Smith, the stream ripper...</title><content type='html'>Some time ago, Longwei shared with us how to record an episode of some monument (he said so) of the French TV in order to go out and have some beer with friends (&lt;a href="http://wqbang.blogspot.com/2006/08/have-beer-and-dont-miss-plus-belle-la.html"&gt;there&lt;/a&gt;)...&lt;br /&gt;Today I was confronted to almost the same issue: some friends of mine are doing a radio show in France on RadioCampusGrenoble, while I am willing to go and juggle in the juggling gathering her, in Copenhagen. The beauty of Internet let me stream the show, albeit at the correct time...&lt;br /&gt;&lt;br /&gt;So. Here we go again, the same in color! Or rather the same without image.&lt;br /&gt;To hear the stream I just connect to the website of the radio and use any kind of software which can do that (&lt;span style="font-style: italic;"&gt;BeepMediaPlayer&lt;/span&gt; on Cafetière for example), to record it on a mp3 or rather ogg file we need something else, in the name of &lt;span style="font-style: italic;"&gt;Streamripper&lt;/span&gt;... Sounds like a serial killer to me but it might be because I listen to too much deathmetal.&lt;br /&gt;&lt;br /&gt;Then it is the same cooking:&lt;br /&gt;- do a script with the correct parameterss&lt;br /&gt;- edit correctly your cron table&lt;br /&gt;- go out and toss some stuff in the air, try to catch it again or run faster than gravity bring it back...&lt;br /&gt;&lt;br /&gt;Here comes the script:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    #!/bin/sh&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;  #duration in seconds&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        $TIME=$1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    /usr/local/bin/streamripper http://live.campusgrenoble.org:9000/rcg112.m3u -l $TIME -a -A -m 15&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here comes my cron table:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    30 21 * * * /home/hern42/scripts/rcg.sh 5400&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I know it is some sort of a rip-off Longwei's fantastic work but, hey, his script didn't work out of the box for my radio show...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-116050544980324047?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/116050544980324047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=116050544980324047' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116050544980324047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116050544980324047'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/10/infamous-john-smith-stream-ripper.html' title='The infamous John Smith, the stream ripper...'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-116030634032602294</id><published>2006-10-08T12:45:00.000+02:00</published><updated>2006-10-08T13:19:00.396+02:00</updated><title type='text'>Writing in Chinese ? 写汉语？</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/4780/3631/1600/scim.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/4780/3631/320/scim.png" alt="" border="0" /&gt;&lt;/a&gt;This post is more a post-it that a post !&lt;br /&gt;Each time I upgrade my system or I install it again, I always forget how to configure the chinese input!&lt;br /&gt;&lt;br /&gt;It's more than easy in fact, only few stuffs need to be installed and configure.&lt;br /&gt;&lt;br /&gt;The best method for Chinese input is definitively scim, so first I need to install scim, scim-tables and scim-pinyin. Scim can also be used for other exotic languages, from japanese to tibetan. Scim is easy to use and very similar to popular input methods used in China with in Microsoft windows.&lt;br /&gt;&lt;br /&gt;Once installed, I just had to modifiy my .i18n file in my home directory by adding four lines wich are used by X depending on the window you want to type in (GTK, QT or basic X). More information can be found on this &lt;a href="http://www.h4.dion.ne.jp/%7Eapricots/scim-anthy/howto.html"&gt;website&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;GTK_IM_MODULE=scim&lt;br /&gt;QT_IM_MODULE=scim&lt;br /&gt;XIM_PROGRAM="scim -d"&lt;br /&gt;XMODIFIERS=@im=SCIM&lt;br /&gt;&lt;/pre&gt;Then, after I restart my windows manager and once back in, in order to switch from french/english/chinese I just have to use CRTL+SPACE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-116030634032602294?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/116030634032602294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=116030634032602294' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116030634032602294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/116030634032602294'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/10/writing-in-chinese.html' title='Writing in Chinese ? 写汉语？'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115952125789262833</id><published>2006-09-29T11:13:00.000+02:00</published><updated>2006-09-29T11:14:17.903+02:00</updated><title type='text'>Upgrading frenzy</title><content type='html'>&lt;style&gt;!--   @page { size: 21cm 29.7cm; margin: 2cm }   P { margin-bottom: 0.21cm }  --&gt;  &lt;/style&gt;  &lt;p style="margin-bottom: 0cm;"&gt;It's no secret, not that the stars are falling from the sky, but that updating your freeBSD box is a quasi trivial matter thanks to the fantastic port system and the non the less fantastic &lt;span style="font-style: italic;"&gt;portupgrade&lt;/span&gt; command (ahhh &lt;span style="font-style: italic;"&gt;portupgrade portupgrade&lt;/span&gt;, at least as good as &lt;span style="font-style: italic;"&gt;man man&lt;/span&gt;, one of my favourite commands!!!).&lt;br /&gt;&lt;br /&gt;But what to upgrade is another issue...&lt;br /&gt;Fortunately the port and package systems provide us with nice tools for that. Especially &lt;span style="font-style: italic;"&gt;pkg_version&lt;/span&gt; which gives us indications on if ports are older, newer or at the same "age" that the one on the root tree... Provided you update your tree dutifully with a good round of &lt;span style="font-style: italic;"&gt;cvsup&lt;/span&gt;. You do that before trying to upgrade, don't you? It would be like not checking if you have gained 10 Kilos before going and buying a new pair of trousers...&lt;br /&gt;&lt;br /&gt;The problem is that there is typically way to much ports and that way too much of them are in no need of upgrading... Once you played a little with &lt;span style="font-style: italic;"&gt;pkg_version&lt;/span&gt; you know how to communicate with it, or more accurately how it communicates with you, meaning spiting out a &gt; or a &lt; a =" depending" style="font-style: italic;"&gt;pkg_version -v | grep \&lt; | less&lt;/span&gt; and that should do it, allowing you to browse through the list of things that may need a good kick in the basement... (the \ before the &lt; is to prevent the shell to interpret it as a feeding of file, of course...)&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;As I am approximately as lazy as longwei I am working on a script to compare for me the version numbers and tell me what *really* needs to be upgraded, but my coding/scripting is going down the drain at the moment due to a lack of free time (or an excess of activities, about the same in the end).&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;Don't forget to &lt;span style="font-style: italic;"&gt;portugrade portugrade&lt;/span&gt;, heh!?&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115952125789262833?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115952125789262833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115952125789262833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115952125789262833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115952125789262833'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/09/upgrading-frenzy_29.html' title='Upgrading frenzy'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115948280884550164</id><published>2006-09-29T00:23:00.000+02:00</published><updated>2006-09-29T00:40:28.806+02:00</updated><title type='text'>Portable carnivale ?</title><content type='html'>My ipaq rx3715 a great PDA but its screen is only 320x200. This is not a big problem nevertheless when I watch some Carnival episodes on it , as my files are encoded in divx 640x480 the rendering is too slow. Here is a minimalistic command line to reencode these video files. I am not fully satisfied of the options, but at least, it gives a 200Mo files for 1 hours of videa with a pretty good quality and smooth rendering.&lt;br /&gt;&lt;ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mencoder carnivale-1_09.avi -vf scale=320:-2 -sws 1 -oac mp3lame -lameopts cbr:br=128 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=600 -o carnivale-1_09_PDA.avi&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;It takes 5 to 10 minutes to process a file. For your information, shame on me, I am using windows mobile and TCPMP (&lt;a href="http://www.corecoded.com/index.php"&gt;The Core Pocket Media Player&lt;/a&gt;) as video player. I should be able soon to switch to linux, but that's another &lt;a href="http://handhelds.org/moin/moin.cgi/HpIpaqRX3715"&gt;story&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115948280884550164?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115948280884550164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115948280884550164' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115948280884550164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115948280884550164'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/09/portable-carnivale.html' title='Portable carnivale ?'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115938647296492437</id><published>2006-09-27T21:14:00.000+02:00</published><updated>2006-09-29T00:23:04.846+02:00</updated><title type='text'>Use MapJon and move to Dijon !</title><content type='html'>Hmmm (this is the only meaningful introduction that I was able to find for this post),&lt;br /&gt;&lt;br /&gt;I've heard that it seems that I am moving to dijon. It seems also that I have to look for a flat.&lt;br /&gt;Last time I had this stupid idea was in 1999 and at this "age" only few adds were available on internet. But today, especially today, as I am back to Paris after some days away, my email is full of adds with obscure streets name such as "Rue le Gouz-Gerland" or "Rue Jacotot". It also seems that there are no metro stations in this city and consequently no ways to refer to these stations in order to decide whether or not the flat is in a nice place and it's usefull to have a look to the details.&lt;br /&gt;&lt;br /&gt;Today, after three cut (mouse highlight) and paste (middle click) in the &lt;a href="http://maps.google.fr"&gt;http://maps.google.fr&lt;/a&gt;  I already feel tired.&lt;br /&gt;&lt;br /&gt;That's why I have created (adapted from existing stuffs) the most useful "piece of software" of the day, which is called "MapJon" like Map Dijon !&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;What is it ?&lt;/li&gt;&lt;/ul&gt;It's a simple Mozilla firefow bookmarklet in javascript, the source is :&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;javascript:q = "" + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (!q) q = prompt("You didn't select  street name in Dijon, please type it here:", ""); if (q!=null) window.open("&lt;br /&gt;http://maps.google.fr/maps?f=q&amp;hl=fr&amp;amp;q=dijon+"+escape(q)+&lt;br /&gt;"&amp;ie=UTF8&amp;amp;z=15&amp;om=1&amp;amp;iwloc=A"); void 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;How to install it ?&lt;/li&gt;&lt;/ul&gt;You simply have to create a new bookmark in the mozilla-firefox bookmark toolbar and call it MapJon, then you edit its properties copy the source above and paste it as the bookmark url.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;How to use it ?&lt;/li&gt;&lt;/ul&gt;You simply highlight the damn street name your looking for in dijon and then you click in the bookmark bar on the MapJon and then you will see in a new window a google map pointing to this street.&lt;br /&gt;&lt;br /&gt;As I am lazy, the next step I'm sure will be to add a keyboard shortcut or a menu entry in the right click menu with a firefox extension.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115938647296492437?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115938647296492437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115938647296492437' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115938647296492437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115938647296492437'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/09/use-mapjon-and-move-to-dijon.html' title='Use MapJon and move to Dijon !'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115806211418632286</id><published>2006-09-12T13:28:00.000+02:00</published><updated>2006-09-12T13:55:38.440+02:00</updated><title type='text'>/me is getting a hell of a lot of trouble just to stay nerdy...</title><content type='html'>I am using (also) a MacBook. And today I'll talk about a newbie experience to figure out some of the Mac stuff.&lt;br /&gt;&lt;p style="margin-bottom: 0cm;"&gt;I am heavily using ghoul (the name of this whitish stylish machine... don't ask...) as a *NIX box, mainly on terminal (but with nice real transparency, you become snobbish really fast when you have a real transparent terminal!) and using X11 and darwinports extensively to use as much as I can the same applications... That could be debated further but I am risking the stake if too many Mac user read that...&lt;br /&gt;&lt;br /&gt;Adium is a nice counterpart for Gaim, nothing to say about that...&lt;br /&gt;But real nerds use irc so irc-ing I was... And to do some irc-ing, I chose to try on Macirssi, which is a gui implementation of the console irssi (that I also installed through darwinports but I'll get to that later...). Who says "gui and Mac" says "good and thoughtful", usually... But not here, I mean, not completely...&lt;br /&gt;Why not to use the port of Xchat is a good question, it is supposed to be quite buggy, that is what I was told, I didn't experience it myself (but maybe I'll try it soon)&lt;br /&gt;&lt;br /&gt;Anyway I had to relearn all the console irc commands, so I guess I'll post them here in order to have the really useful ones at hand:&lt;br /&gt;/CONNECT server (for example, irc.europnet.org where we lurk...)&lt;br /&gt;/JOIN #channel (for example #BOP, where indeed we lurk...)&lt;br /&gt;/NICK foo to change your nick from what it was to foo, or more probably for toto to toto_away or toto_eats&lt;br /&gt;&lt;br /&gt;/AWAY I am gone to put some powder on my nose&lt;br /&gt;/QUIT Arg here they come to get me!!!&lt;br /&gt;are also quite useful...&lt;br /&gt;&lt;br /&gt;and there is also&lt;br /&gt;/ME is putting a finger up is nose&lt;br /&gt;/MSG The_other Hi I want to talk to you without all the others to see that I will be making a fool of myself and try to invite you for a game of tic-tac-toe, wink wink...&lt;br /&gt;&lt;br /&gt;All that is fair and square, but I also tried to send and receive some files, fool that I am!&lt;br /&gt;That's a bit trickier, first because it is in the server tab and not in the channel tab, then because I never used before the command lines for that (I was sending the file from my freeBSD box cafetière, using Xchat2)&lt;br /&gt;/DCC SEND nick_of_the_other foo.txt to, well, send foo.txt to the other guy way down there...&lt;br /&gt;/DCC GET yournick to, err, get the offered file&lt;br /&gt;&lt;br /&gt;Well, with all that, I can survive...&lt;br /&gt;But there is another problem, the one of those funny characters, such as accents in French and å, ø and other thingies such as æ in Danish... Not that I use a lot of Danish but I don't have a lot of ways of trying to impress people, do I? Unfortunately the command /charset utf-8 seems to be inefficient in Macirssi and I still haven't found not what I am looking for but a way to get around that... It seems to be a bug because you can specify in the preferences your charset and putting it on utf-8 didn't solve anything. Damn it.&lt;br /&gt;And trying the console version (I told you it would come) was a complete failure, I couldn't even start to connect to a server... I haven't said my last word on that!&lt;br /&gt;&lt;br /&gt;And now for something completely different... Ciao.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115806211418632286?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115806211418632286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115806211418632286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115806211418632286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115806211418632286'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/09/me-is-getting-hell-of-lot-of-trouble.html' title='/me is getting a hell of a lot of trouble just to stay nerdy...'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115736090129442461</id><published>2006-09-04T10:52:00.000+02:00</published><updated>2006-09-04T11:10:17.883+02:00</updated><title type='text'>Me and a bottle of Wine.</title><content type='html'>Let's face it, running W2K on an old Celeron 1Ghz 256Mo to do some dev things (especially Java) is usually one of the best ways to summon my nemesis: Your system lacks virtua&lt;br /&gt;l memory + infernal swapping mode ON. Damn it!&lt;br /&gt;&lt;br /&gt;Phase One : Preserving the integrity (or trying to do so)&lt;br /&gt;Damn Small Linux (DSL) saved my day a couple of time by allowing me to backup the MBR [1](turning on your office PC with the non bootable disk welcome message might be a stre&lt;br /&gt;ssing situation  the fact that this is entirely due to my own silliness is totally irrelevant here :) !).&lt;br /&gt;&lt;br /&gt;dd if=/dev/hda of=backup_mbr count=1 bs=512&lt;br /&gt;&lt;br /&gt;Phase Two: Trying to be casual&lt;br /&gt;Debian ('cause I'm not sufficiently desperate to opt for a FreeBSD distro right now ... but who knows !)&lt;br /&gt;[Enter Sarge] The installation process ran smooth[3]. At least until I want to disable X at startup.&lt;br /&gt;&lt;br /&gt;update-rc.d stop xdm 6 5 4 3 2 1. leads to nowhere for mysterious reasons. This is not the case with:&lt;br /&gt;&lt;br /&gt;update-rc.d remove -f xdm&lt;br /&gt;So much for X.&lt;br /&gt;&lt;br /&gt;Phase Three: Did I miss something?&lt;br /&gt;[Enter Boss] What's your opinion on the last mail from M.Yellow? [waiting for an immediate reaction]&lt;br /&gt;[Me  not so casual] Well ... [su reboot ... choosing the I'm on a really top urgent thing right now approach and looking annoyed ] I have not read it yet ...&lt;br /&gt;[... 2' ... Enter W2K ... 2' ... Enter Lotus] ...&lt;br /&gt;&lt;br /&gt;Phase Four: Bring me some Wine!&lt;br /&gt;Yes I know, running Lotus Notes should be definitively prohibited. Unfortunately one must not rely too much on common sense here.&lt;br /&gt;&lt;br /&gt;A quick glance at Wine puts me into a quantum state:&lt;br /&gt;- Waouw this is it! Let's try it...&lt;br /&gt;- No binary for Sarge. No time (nor skills) to do a backport myself. Let's transform my linux's partition into freespace for M$.&lt;br /&gt;&lt;br /&gt;A few nano seconds later I was upgrading to the unstable distro [2] :)&lt;br /&gt;&lt;br /&gt;Next, I changed the /etc/atpt/sources.list to include links to wine packages (no need to set the preference file as no prior packages was in conflict [4]). A cp -r of my M$ n&lt;br /&gt;otes directory and I prostrate myself before my desk.&lt;br /&gt;&lt;br /&gt;There is a god somewhere!&lt;br /&gt;&lt;br /&gt;Final thoughts.&lt;br /&gt;I'd wished I've been stealthy during all theses steps but with downloads exceending the Go the chance is that I won my place on a blacklist... (Just one week after having rec&lt;br /&gt;eived a mail which politely reminds us of the network's good practices. How funny!)&lt;br /&gt;&lt;br /&gt;Notes &amp;amp; References :&lt;br /&gt;[1] Some people also backup the partition's table with :&lt;br /&gt;sfdisk -d /dev/hda &gt; backup_pt&lt;br /&gt;[2] do not forget to install debian with kernel 2.6 BEFORE upgrading to unstable.&lt;br /&gt;[3] In the initial installation process if you set up your clock with funny values do not forget the hwclock command (perfect with ntpdate).&lt;br /&gt;[4] The first time I tried to install wine apt-get was unable to locate wine. I still don't know why so I downloaded the files manually and installed them with dpkg -i (good&lt;br /&gt;luck with the dependencies :()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115736090129442461?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115736090129442461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115736090129442461' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115736090129442461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115736090129442461'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/09/me-and-bottle-of-wine.html' title='Me and a bottle of Wine.'/><author><name>Azathotep</name><uri>http://www.blogger.com/profile/02812031765277015340</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115721805296028026</id><published>2006-09-02T19:03:00.000+02:00</published><updated>2006-09-02T19:27:32.966+02:00</updated><title type='text'>About a script, chinesetape2ogg</title><content type='html'>Last year, during an attempt of ogg enconding of my father old Blues Vinyls I wrote a script in order to encode on the fly sound from the line in of my sound card.&lt;br /&gt;&lt;br /&gt;It worked well until today when I tried again with some chinese lessons on a tape bought in Shanghai . Maybe because I am not a surfer, I gave my old aiwa walkman to a friend. Consequently, I have no other means than converting these lesson to ogg in order to enjoy mobile chinese lessons on my &lt;a href="http://www.iops.co.kr/company/product_mfp.htm"&gt;Iops&lt;/a&gt; !&lt;br /&gt;&lt;br /&gt;Here was the old script :&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;#!/bin/sh&lt;br /&gt;mkfifo lak7.wav&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;oggenc -b 190 lak7.wav -o lak7.ogg &amp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sox -t ossdsp -w -s -c 2 /dev/dsp -r 44100 -c  2 -f lak7.wav&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;The idea is to create a fifo file, then encode on the fly this file which is feeded by &lt;a href="http://www.blogger.com/%27http://sox.sourceforge.net/%27"&gt;sox&lt;/a&gt;  listening to the output of the mixer.  You launch the script and do a CTRL + C to stop it.&lt;br /&gt;It worked until now, but today, with short recordings, the results were awfull when I tried to listen to the resulting ogg file. Just like if it was played in low motion !&lt;br /&gt;&lt;br /&gt;I found the solution and my mistake &lt;a href="http://www.blogger.com/%27http://hektor.umcs.lublin.pl/%7Emikosmul/computing/tips/audio-recording.html%27"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In fact, there problem comes from the fact that I end the recording by sending SIGINT (CTRL+C). But, this is received by oggenc and then its parent (sox) is receiving a SIGPIPE and terminates. As a result, the end of stream marker of the off file is missing which seems to be a problem on my short chinese lessons. In order to solve this, the web site above propose to trap SIGINT in order to send it to sox.&lt;br /&gt;&lt;br /&gt;Here is the proposed script  (rec is the sox frontend)&lt;br /&gt;&lt;ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;trap cleanup INT&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;(&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;    trap "" INT&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;    exec rec -t raw -c 2 -w -r 44100 - | oggenc -r -B 16 -C 2 -R 44100 -q 5 -o "$file_name" - ;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;)&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115721805296028026?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115721805296028026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115721805296028026' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115721805296028026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115721805296028026'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/09/about-script-chinesetape2ogg.html' title='About a script, chinesetape2ogg'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115714924797653246</id><published>2006-09-02T00:20:00.000+02:00</published><updated>2006-09-02T00:20:52.536+02:00</updated><title type='text'>Toward FreeBSD Step #3</title><content type='html'>I had a long and strange day at work.&lt;br /&gt;&lt;br /&gt;Some hard nerding back home should help me to get rid of it!&lt;br /&gt;&lt;br /&gt;On my "light" &amp; console mode freeBSD brand new installation I tried to mount my Linux partitions (ext3) where I have all my personnal data (140G).&lt;br /&gt;&lt;br /&gt;It seems there is no native way of having read/write on a ext3 filesystem.&lt;br /&gt;&lt;br /&gt;Seems I have to recompile the kernel with ext2fs option... but in this case I still won't have ext3 journalised behavior, my files will be mounted as ext2 without journal...&lt;br /&gt;&lt;br /&gt;So what? Will there be a "Toward freeBSD #4" ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115714924797653246?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115714924797653246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115714924797653246' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115714924797653246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115714924797653246'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/09/toward-freebsd-step-3.html' title='Toward FreeBSD Step #3'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115695616231771924</id><published>2006-08-30T18:26:00.000+02:00</published><updated>2006-08-30T20:15:10.463+02:00</updated><title type='text'>Reload me up, Scotty!!</title><content type='html'>Mysql, php and phpMyAdmin is some sort of a power trio, they don't play heavy rock but they do rock!&lt;br /&gt;&lt;br /&gt;Except that it took me 2 days and 3 minutes (the 3 saving-my-life-and-sanity minutes were on a gtalk with longwei, a specialist, he did *all* the mistakes before me...) to be able to add a user with the right privileges to some tables... It took me the same 2 days and 3 minutes to be able and get to kick off the awfully insecure "root/no password" connection and have a normal user with a password, all that because of what?&lt;br /&gt;&lt;br /&gt;All that because of what?&lt;br /&gt;&lt;br /&gt;All that because you have to push the "upload mysql" button (or the equivalent in command line: &lt;span style="font-style: italic;"&gt;mysql_reload(MYSQL *mysql)&lt;/span&gt; &lt;code class="literal"&gt;&lt;/code&gt;if you are doing it in a xterm somewhere lost in the matrix) for your changes to be taken into account. You dumb stupid piece of worthless dungworm crap!!!&lt;br /&gt;&lt;br /&gt;So now I can start designing my wonderful php websites, with user interface and sessionning and everything. By the way, not to forget to say it somewhere, php is secure by default, so you cannot pass variables in urls (like in &lt;span style="font-style: italic;"&gt;foo.php?var=bar&amp;var_bis=foobar&lt;/span&gt;) unless you specifically ask for it.&lt;br /&gt;Meaning you have to edit the &lt;span style="font-style: italic;"&gt;php.ini&lt;/span&gt; somewhere (/usr/local/etc/ for freeBSD users, the hell if I know where it is if you use something else...) and put &lt;span style="font-style: italic;"&gt;register_globals=On&lt;/span&gt; where it should be!!! Fortunately I already did the mistake several times before, so I didn't lose *so* much time with it...&lt;br /&gt;&lt;br /&gt;[sigh]&lt;br /&gt;It is a hard 'prentice_nerd life...&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;For the not-so nerd, the pun in the title is from Star Trek (the first TV serie where they wear pyjamas...). "Beam me up, Scotty!" was the original line... But as I am not a nerd in the Star Trek way, it is also and most importantly a song from grindcore band from Belgium: &lt;span style="font-weight: bold;"&gt;Agathocles&lt;/span&gt;, on the album &lt;span style="font-style: italic;"&gt;Humarrogance&lt;/span&gt; from 1997, those were the days...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115695616231771924?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115695616231771924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115695616231771924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115695616231771924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115695616231771924'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/reload-me-up-scotty.html' title='Reload me up, Scotty!!'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115668660554769187</id><published>2006-08-27T15:20:00.000+02:00</published><updated>2006-08-27T15:50:05.566+02:00</updated><title type='text'>The Cursed scanner of Doom and Death, from the fire legions of Hell...</title><content type='html'>I had a few troubles with my MacBook (namely Ghoul, after naming it Zombie to be laughed at by a friend of mine, a mean friend of mine, who told me she didn't know I was such a big fan of the Cranberries, damnit) and my Epson F3200 scanner. This scanner is my (well, one of my...) arch-enemy, it is responsible for many sleepless drunky nights... Anyway, apart from being obviously spawned by hellish creatures to torture me, it is a great scanner and it does good what it is supposed to do, scanning negatives... when it does it.&lt;br /&gt;&lt;br /&gt;I thought he on a Mac it should be piece of cake to use that, what with Mac being the instrument of choice for all graphic designers, digitalphotographers and other artistic beings... Yes. But...&lt;br /&gt;&lt;br /&gt;I bought the scanner in january this year, I bought Ghoul (shutup Charlotte!!) in august this year. In the mean time Mac had gone to Intel architecture, the install CD in the scanner box was still on a previous incarnation of osX... And no, I didn't think about upgrading that on the Net before cursing all my ancestors (and a few more) because I was such a loser, etc.&lt;br /&gt;&lt;br /&gt;So...&lt;br /&gt;I went to espon.com and fiddled around a bit to get the new version of the F3200 stuff, made for the Intel Macs. I installed it after another swearing part (because it comes in a .sit file for which I didn't have the extractor, and I had to install that as well, jeez, why not a good old tar.gz huh ?...) and now, thanks to the help of a third party software: SilverFast (something german, it ought to be good, or at least square!), I can start again my scanning activities... Oh joy!&lt;br /&gt;&lt;br /&gt;After one test scan I wanted to edit the picture with the Gimp, which I installed courtesy of DarwinPorts, only to be yelled at by the Ghoul... Somehow even if I was running X11 (as I always do, hey, don't look at me that way!!) the display thingy option bugger didn't seem to fit... I was saved by a BSDist and add the following line in the .profile file:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    export DISPLAY=:0 gimp&lt;br /&gt;&lt;/span&gt;And now all is well and the sheeps are well garded (doesn't make any sense?, it's OK, it is a french idiom).&lt;br /&gt;&lt;br /&gt;Sometimes I think, but most of the time it's too late...&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115668660554769187?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115668660554769187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115668660554769187' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115668660554769187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115668660554769187'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/cursed-scanner-of-doom-and-death-from.html' title='The Cursed scanner of Doom and Death, from the fire legions of Hell...'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115668007722808988</id><published>2006-08-27T13:54:00.001+02:00</published><updated>2006-08-27T15:19:25.723+02:00</updated><title type='text'>Toward FreeBSD Step #2</title><content type='html'>Finally, at 1am I had (thanks Arno) the bright idea to have a look in my motherboard box (hidden somewhere in the mess where i never go) and I found the power plug for my hard disk.&lt;br /&gt;&lt;br /&gt;I did the install from ftp, everything ran smooth...until reboot...I have a back partition table... in fact I did a wonderful mistake where I created the &lt;a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html"&gt;Slices&lt;/a&gt;... Next time I will read the docs, hmmm, but it was late !&lt;br /&gt;&lt;br /&gt;After a second try this morning, I was impressed by the speed of the boot sequence (of course I've only few stuff installed) and I finally log on my new freeBSD box.&lt;br /&gt;&lt;br /&gt;Next step is the install of Xorg and other stuff as well as final configuration.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115668007722808988?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115668007722808988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115668007722808988' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115668007722808988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115668007722808988'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/toward-freebsd-step-2_27.html' title='Toward FreeBSD Step #2'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115662246273062651</id><published>2006-08-26T21:48:00.000+02:00</published><updated>2006-08-26T22:02:13.386+02:00</updated><title type='text'>Toward FreeBSD Step #1</title><content type='html'>Today was a nice and windy August-sounds-March day... I got up early, downloaded the FreeBSD install CD.&lt;br /&gt;&lt;br /&gt;I had a bike ride to the Chinese computer market and bought a new hard disk to put BSD, got a 300G for 80Â in SATA II. Ok my motherboard will only run it in SATA1 but, it was cheaper in II than SATA I.&lt;br /&gt;&lt;br /&gt;Everything was fine, except &lt;a href="http://www.rueducommerce.fr/Ordinateurs-Peripheriques/Cables-Integration/Cables-d-alimentation/RueDuCommerce/370872-Adaptateur-d-alimentation-pour-disque-dur-Serial-ATA.htm" target="_blank"&gt;that&lt;/a&gt;! And of course, I am not in Shanghai, it's 10pm, no way to find a shop open!&lt;br /&gt;&lt;br /&gt;Here is the conclusion of the first step on my way toward FreeBSD, I am stuck on a &lt;span style="text-decoration: line-through;"&gt;hardware&lt;/span&gt; brainware problem...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115662246273062651?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115662246273062651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115662246273062651' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115662246273062651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115662246273062651'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/toward-freebsd-step-1.html' title='Toward FreeBSD Step #1'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115644192426570308</id><published>2006-08-24T19:35:00.000+02:00</published><updated>2006-08-25T00:00:42.300+02:00</updated><title type='text'>Contacts and film rolls</title><content type='html'>Once we have scanned many film rolls, it's great to have web pages with thumbnails and browsing features. for this, &lt;a href="http://bins.sautret.org/"&gt;Bins&lt;/a&gt; is your friend ! It's a command line web album generator. It's great, easy to use with nice templates... The scrip bellow is useless, it's a just a batch for bins album generation on resized pictures (with convert command from &lt;a href="http://www.imagemagick.org"&gt;imagemagick&lt;/a&gt;) copied to my www directory.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;div style="text-align: left;"&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;br /&gt;[barth@localhost script_images]$ cat make_web_bins.sh&lt;br /&gt;#!/bin/sh&lt;br /&gt;export LANGUAGE=en_GB:en_GB.UTF-8:en&lt;br /&gt;cd $1&lt;br /&gt;mkdir tmp&lt;br /&gt;for i in `ls *.jpg | grep -v _s.jpg`&lt;br /&gt;do&lt;br /&gt;dest=${i%.jpg}_s.jpg&lt;br /&gt;if [ ! -s $dest ]; then&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;  convert  -geometry 60% $i $dest&lt;/span&gt;&lt;br /&gt; echo $dest&lt;br /&gt;fi&lt;br /&gt;done&lt;br /&gt;mv *_s.jpg tmp&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0); font-weight: bold;"&gt;bins tmp web_nb$1 -s joi&lt;/span&gt;&lt;br /&gt;rm -rf ~/public_html/photosweb/photos/web_nb$1&lt;br /&gt;mv web_nb$1 ~/public_html/photosweb/photos&lt;br /&gt;rm -rf tmp&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/ul&gt;&lt;br /&gt;Bellow an example of the result.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/4780/3631/1600/contact_sml.png"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger/4780/3631/320/contact_sml.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115644192426570308?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115644192426570308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115644192426570308' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115644192426570308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115644192426570308'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/contacts-and-film-rolls.html' title='Contacts and film rolls'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115636249929908657</id><published>2006-08-23T21:07:00.000+02:00</published><updated>2006-08-23T21:48:19.403+02:00</updated><title type='text'>Scan ta face</title><content type='html'>Hmmm, I've just bought a new scanner, a 250€ Epson Perfection 4490 to replace my old Epson 1240U Photo. Was it a good idea ?&lt;br /&gt;&lt;br /&gt;First, as some readers might wonder why I am choosing Espon again? There is only one answer, Epson, through &lt;a href="http://www.avasys.jp/english/linux_e/dl_scan.html"&gt;Avasis&lt;/a&gt; release open source drivers for most of its scanners.&lt;br /&gt;&lt;br /&gt;Ok, after 2 minutes of web search and a quick   &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;rpm -Uvh iscan-2.1.0-1.c2.i386.rpm&lt;/span&gt;&lt;/span&gt;, here I am for an unprofessional test.&lt;br /&gt;&lt;br /&gt;I've took a negative film, black and white and realised two series of scans. 1200 dpi and 2400 dpi with and without unsharp mask on both scanners.&lt;br /&gt;&lt;br /&gt;No comments !&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1240U @ 1200dpi&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger/4780/3631/320/old_1200.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;4490 @ 1200dpi&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger/4780/3631/320/new_1200.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1240U @ 1200dpi + Unsharp&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger/4780/3631/320/old_1200_sharp.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;4490 @ 1200dpi + Unsharp&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger/4780/3631/320/new_1200_sharp.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1240U @ 2400dpi&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger/4780/3631/320/old_2400.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;4490 @ 2400dpi&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger/4780/3631/320/new_2400.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1240U @ 2400dpi + Unsharp&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger/4780/3631/320/old_2400_sharp.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;4490 @ 2400dpi + Unsharp&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger/4780/3631/320/new_2400_sharp.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115636249929908657?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115636249929908657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115636249929908657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115636249929908657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115636249929908657'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/scan-ta-face.html' title='Scan ta face'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115626797515320236</id><published>2006-08-22T18:03:00.000+02:00</published><updated>2006-08-22T22:22:36.523+02:00</updated><title type='text'>Have a beer and don't miss "Plus belle la vie"</title><content type='html'>How nerding can save your brain and help you to loose few brain cells ?&lt;br /&gt;&lt;br /&gt;In 1998 was launched one of the best ever french TV serie, the unforgetable "&lt;a href="http://www.imdb.com/title/tt0169420/"&gt;Cap des pins&lt;/a&gt;".  Unfortunately, this was stopped quickly and we, poor frenchies, had to wait until 2004 to discover "&lt;a href="http://plus-belle-la-vie.france3.fr/"&gt;Plus belle la vie&lt;/a&gt;", its best sucessor.&lt;br /&gt;&lt;br /&gt;Unfortunately it's on air every week day on France 3 TV channel at 8:20 pm which is not a reasonable time, even for a nerd stuck to his keyboard, especially when one of the several Arnaud of mine is offering a beer, "there", out in the real world.&lt;br /&gt;&lt;br /&gt;So what, miss a beer or miss this delicious inside black hole, result of 30 minutes of brain tv wash ?&lt;br /&gt;&lt;br /&gt;And someone invented recordings....&lt;br /&gt;&lt;br /&gt;You need :&lt;br /&gt;&lt;ol&gt;&lt;li&gt;a somehow TV capable device with composite output and sound output&lt;br /&gt;&lt;/li&gt;&lt;li&gt;a video card with a composite input and sound card with line input&lt;br /&gt;&lt;/li&gt;&lt;li&gt;a physical friend and a beer waiting for you outside&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mplayerhq.hu"&gt;mencoder&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;How to proceed :&lt;br /&gt;&lt;br /&gt;A/ Create a nice script to record and encode the Tv output. It takes as input the name of output and recording duration. Mencoder is fun and uses nice parameters uh!&lt;br /&gt;&lt;ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[barth@localhost scripts]$ cat record_tv.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#!/bin/sh&lt;br /&gt;if test -z "$2"; then echo "usage: record_tv.sh outputfile durationinsecond"; exit; fi&lt;br /&gt;&lt;br /&gt;#name of output&lt;br /&gt;NAME=$1&lt;br /&gt;&lt;br /&gt;#Duration in seconds&lt;br /&gt;TIME=$2&lt;br /&gt;&lt;br /&gt;#Where to put the stuff&lt;br /&gt;OUTDIR="/home/barth/videos/tv_recordings/"&lt;br /&gt;OUT="$OUTDIR/$NAME"&lt;br /&gt;&lt;br /&gt;mencoder -tv norm=0:input=1:driver=v4l2 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts cbr:br=64  -vf pp=lb -endpos $TIME -o $OUT tv:// &gt; /dev/null&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;Just one comment, take car to redirect the output of mencoder to /dev/null or a file. This is necessary otherwise, the next step won't work (seems cron doesn't like verbosity)&lt;br /&gt;&lt;br /&gt;B/ Edit your &lt;a href="http://www.tech-geeks.org/contrib/mdrone/cron&amp;amp;crontab-howto.htm"&gt;crontab&lt;/a&gt; to launch recording script on time and during 45 minutes (2700 seconds)&lt;br /&gt;&lt;ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[barth@localhost scripts]$ crontab -e&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;=&gt; This opens a nice vi, where we can edit le jobs to be launched!&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;20 20 * * * /home/barth/softwares/scripts/record_tv.sh  plusbellelavie.avi 2700&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Check the crontab by&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[barth@localhost scripts]$ crontab -l&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;C/ Don't forget to set up you mixer setup&lt;br /&gt;&lt;br /&gt;D/ Select the right TV channel on TV set and go out !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115626797515320236?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115626797515320236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115626797515320236' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115626797515320236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115626797515320236'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/have-beer-and-dont-miss-plus-belle-la.html' title='Have a beer and don&apos;t miss &quot;Plus belle la vie&quot;'/><author><name>Long Wei</name><uri>http://www.blogger.com/profile/07860800396425250046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115616456048711828</id><published>2006-08-21T14:48:00.000+02:00</published><updated>2006-08-21T14:49:20.496+02:00</updated><title type='text'>The B-Team almost complete</title><content type='html'>Apparently everything works fine and the &lt;span style="font-style: italic;"&gt;:wq!&lt;/span&gt; team is almost complete...&lt;br /&gt;There is going to be some serious nerding going on!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115616456048711828?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115616456048711828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115616456048711828' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115616456048711828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115616456048711828'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/b-team-almost-complete.html' title='The B-Team almost complete'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-33096520.post-115615721975312850</id><published>2006-08-21T12:46:00.000+02:00</published><updated>2006-08-21T12:46:59.763+02:00</updated><title type='text'>First post on :wb!</title><content type='html'>And let there be light!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33096520-115615721975312850?l=wqbang.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wqbang.blogspot.com/feeds/115615721975312850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=33096520&amp;postID=115615721975312850' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115615721975312850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33096520/posts/default/115615721975312850'/><link rel='alternate' type='text/html' href='http://wqbang.blogspot.com/2006/08/first-post-on-wb.html' title='First post on :wb!'/><author><name>hern42</name><uri>http://www.blogger.com/profile/12685223564965359003</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://hern42.googlepages.com/freebsd-logo-red.png'/></author><thr:total>1</thr:total></entry></feed>
