<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Hardcore Linux</title>
	<atom:link href="http://hardc0l2e.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hardc0l2e.wordpress.com</link>
	<description>Anything about Ubuntu, Centos, openSuSe and Fedora</description>
	<lastBuildDate>Fri, 27 Jan 2012 06:56:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hardc0l2e.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Hardcore Linux</title>
		<link>http://hardc0l2e.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hardc0l2e.wordpress.com/osd.xml" title="Hardcore Linux" />
	<atom:link rel='hub' href='http://hardc0l2e.wordpress.com/?pushpress=hub'/>
		<item>
		<title>keyboard: can&#8217;t emulate rawmode for keycode 240</title>
		<link>http://hardc0l2e.wordpress.com/2011/12/03/keyboard-cant-emulate-rawmode-for-keycode-240/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/12/03/keyboard-cant-emulate-rawmode-for-keycode-240/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 15:09:12 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[Kernel and Modules]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[keycode 240]]></category>
		<category><![CDATA[lenovo keycode 240]]></category>
		<category><![CDATA[ubuntu keycode 240]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=544</guid>
		<description><![CDATA[Installing fresh Ubuntu 11.10 and check out what Unity and Gnome-shell has to offer, everything works great until I found something..syslog error message appears very frequent: &#8220;keyboard: can&#8217;t emulate rawmode for keycode 240&#8220;.  I remember having this problem in my previous Ubuntu 11.04 installation on my Lenovo z370 laptop, thought it&#8217;s gone back then..but to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=544&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Installing fresh Ubuntu 11.10 and check out what Unity and Gnome-shell has to offer, everything works great until I found something..syslog error message appears very frequent: &#8220;<strong>keyboard: can&#8217;t emulate rawmode for keycode 240</strong>&#8220;.  I remember having this problem in my previous Ubuntu 11.04 installation on my Lenovo z370 laptop, thought it&#8217;s gone back then..but to the point on installing newer kernel which is Linux kernel 3.1.</p>
<p>As I&#8217;m going to compile Linux kernel again to make everything work. I found a much simplier solution. Here&#8217;s how:</p>
<p>1. Install dkms (Dynamic Kernel Module Support Framework)</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; sudo apt-get install dkms </strong></span></pre>
<p>2. Download the ideapad-laptop package which supposed to be fore natty narwhal but still working greate on oneiric.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; cd ~/Downloads
</strong></span>
<span style="color:#800000;"><strong>$&gt; wget https://launchpad.net/~lexical/+archive/ideapad/+build/2529783/+files/ideapad-laptop-dkms_0.1-1ubuntu1~foshan2_all.deb
</strong></span>
<span style="color:#800000;"><strong>$&gt; sudo dpkg -i  ideapad-laptop-dkms_0.1-1ubuntu1~foshan2_all.deb</strong></span></pre>
<p>3. Reboot for everything to work in effect.</p>
<p>4. Done.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/544/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=544&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/12/03/keyboard-cant-emulate-rawmode-for-keycode-240/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
		<item>
		<title>Change Gnome3 Background via script.</title>
		<link>http://hardc0l2e.wordpress.com/2011/10/26/change-gnome3-background-via-script/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/10/26/change-gnome3-background-via-script/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 08:45:31 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[desktop management]]></category>
		<category><![CDATA[gnome3]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[dconf]]></category>
		<category><![CDATA[gnome3 wallpaper]]></category>
		<category><![CDATA[ubuntu wallpaper]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=532</guid>
		<description><![CDATA[Previously using gconftool-2 to replace the current desktop wallpaper via a script (normally a starting bash script). But with Gnome3 its not working anymore. As an alternative or should I say the proper way to do it in Gnome3 is via dconf-tools. Here&#8217;s the sample command via console: $&#62; gsettings list-recursively will list all known [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=532&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Previously using gconftool-2 to replace the current desktop wallpaper via a script (normally a starting bash script). But with Gnome3 its not working anymore. As an alternative or should I say the proper way to do it in Gnome3 is via dconf-tools. Here&#8217;s the sample command via console:</p>
<pre style="padding-left:30px;"><strong><span style="color:#800000;">$&gt; gsettings list-recursively</span></strong></pre>
<p>will list all known schema and keys</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; gsettings list-keys org.gnome.desktop.background</strong></span></pre>
<p>will list all keys under the defined schema.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; gsettings get org.gnome.desktop.background picture-uri</strong></span></pre>
<p>to change the value, enter this command:</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; gsettings set org.gnome.desktop.background picture-uri "file:///path/filename"</strong></span></pre>
<p>Done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/532/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/532/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/532/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/532/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/532/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/532/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/532/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/532/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/532/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/532/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/532/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/532/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/532/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/532/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=532&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/10/26/change-gnome3-background-via-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
		<item>
		<title>Lxpanel freeze after closing LibreOffice document.</title>
		<link>http://hardc0l2e.wordpress.com/2011/09/05/lxpanel-freeze-after-closing-libreoffice-document/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/09/05/lxpanel-freeze-after-closing-libreoffice-document/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 05:47:41 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[desktop management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[lxde]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[lxpanel freeze]]></category>
		<category><![CDATA[lxpanel libreoffice]]></category>
		<category><![CDATA[lxpanel ubuntu 11.04]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=528</guid>
		<description><![CDATA[As of Ubuntu 11.04, the package lxpanel 0.5.6 and Libreoffice 3.3.x, the bug still exist, freezing lxpanel after saving and closing current  ODF files. I suspected lxpanel bug, looking it over the Internet and haven&#8217;t found any confirmation that it actually does the freezing. While seeking answers over the Internet I&#8217;ve found this bug thread: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=528&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As of Ubuntu 11.04, the package lxpanel 0.5.6 and Libreoffice 3.3.x, the bug still exist, freezing lxpanel after saving and closing current  ODF files. I suspected lxpanel bug, looking it over the Internet and haven&#8217;t found any confirmation that it actually does the freezing. While seeking answers over the Internet I&#8217;ve found this bug thread: (<a href="https://bugs.launchpad.net/ubuntu/+source/lxpanel/+bug/800297">click here</a>), which fixes my problem, I&#8217;m not 100% sure it will work on all cases though, but good enough to give it a try.</p>
<p>1. Install the necessary libraries and tools to compile the lxpanel 0.5.8 from  source.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>sudo apt-get install libgtk2.0-dev libmenu-cache1-dev intltool</strong></span></pre>
<p>2.  Download the lxpanel 0.5.8 source from <a href="http://sourceforge.net/projects/lxde/files/LXPanel%20%28desktop%20panel%29/LXPanel%200.5.8/lxpanel-0.5.8.tar.gz/download">here</a>, of check the newest version <a href="http://sourceforge.net/projects/lxde/files/LXPanel%20%28desktop%20panel%29/">here</a>.</p>
<p>3. Compile the source code. Go to the folder of lxpanel source and perform the following command:</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>./configure --prefix=/usr
make
sudo make install</strong></span></pre>
<p>4. Logout the current session or reboot your machine to confirm.</p>
<p>5. Done.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/528/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=528&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/09/05/lxpanel-freeze-after-closing-libreoffice-document/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
		<item>
		<title>Mount All Available CIFS Shares using GVFS</title>
		<link>http://hardc0l2e.wordpress.com/2011/08/17/mount-all-available-cifs-shares-using-gvfs/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/08/17/mount-all-available-cifs-shares-using-gvfs/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 03:53:08 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[CIFS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[gvfs cifs]]></category>
		<category><![CDATA[gvfs script]]></category>
		<category><![CDATA[mount cifs]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=522</guid>
		<description><![CDATA[Here&#8217;s a bash script that will automatically mount all available SAMBA shares that has access permission for the current user.   The script composes of two part: (1) The script itself and (2) the user&#8217;s credentials. But current problem is that the user must store the password to access the SAMBA shares in the keyring [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=522&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a bash script that will automatically mount all available SAMBA shares that has access permission for the current user.   The script composes of two part: (1) The script itself and (2) the user&#8217;s credentials.</p>
<p>But current problem is that the user must store the password to access the SAMBA shares in the keyring before the script runs smoothly. It requires the user to access the any of the permitted shares and store the password permanently to the keyring, then add the script to the Startup Applications(<strong><em>System Settings -&gt; Startup Applications</em></strong>)</p>
<p>Autfile is a simple text file contain the following:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">username = myuser</span>
<span style="color:#0000ff;">password = mypass</span>
<span style="color:#0000ff;">domain = localdomain</span>
<span style="color:#0000ff;">servername = localserver</span></pre>
<p style="padding-left:30px;">
<p>Here&#8217;s the code:</p>
<p><pre class="brush: bash;">
#!/bin/bash
ARGS=&quot;$*&quot;

BASEDIR=&quot;/home/rnartos/.scripts/uicsmb&quot;
OPTYPE=&quot;&quot;
CMDTYPE=&quot;&quot;
FILTERARGS=`echo &quot;$ARGS&quot; | sed 's/ /#/g' | sed 's/-/ -/g'`
AUTHFILE=&quot;$BASEDIR/authfile&quot;
NETBASENAME=&quot;WinShares&quot;



if [ ! -f $AUTHFILE ]; then
   echo &quot;ERROR: neither default or user-defined authfile not exist.&quot;
   exit 0
fi

for CMD in $FILTERARGS; do
   MCMD=`echo $CMD | sed 's/#/ /g'| awk '{print $1}' `

   #umount
   if [ &quot;$MCMD&quot; = &quot;-u&quot; ]; then
      OPTYPE=&quot; -u &quot;
   fi

   #help
   if [ &quot;$CMD&quot; = &quot;-h&quot;  ]; then
     echo &quot;GFVS WinShares - rnartos&quot;
     echo &quot;$0 -u -a &lt;authfile&gt; -h&quot;
     echo &quot;-u umount current shares&quot;
     echo &quot;-a process authentication file&quot;
     echo &quot;-h this help message.&quot;
     exit 0
   fi

   #authfile
   if [ &quot;$MCMD&quot; = &quot;-a&quot;  ]; then
     PCMD=`echo $CMD | sed 's/#/ /g'| awk '{print $2}' `
     if [ &quot;$PCMD&quot; = &quot;&quot;  ]; then
        echo &quot;ERROR:  parameters for -a &lt;authfile&gt;&quot;
     else
         if [ -f $PCMD ]; then
             AUTHFILE=&quot;$PCMD&quot;
         else
           echo &quot;$PCMD authfile not exist.&quot;
           exit 0
         fi
     fi
   fi
done


SERVERNAME=`cat $AUTHFILE | grep servername | sed 's/=//g' | awk '{print $2}'`
DOMAINNAME=`cat $AUTHFILE | grep domain | sed 's/=//g' | awk '{print $2}'`
USERNAME=`cat $AUTHFILE | grep username | sed 's/=//g' | awk '{print $2}'`
PASSWORD=`cat $AUTHFILE | grep password | sed 's/=//g' | awk '{print $2}'`
CHECKMOUNT=`gvfs-mount -l | grep &quot;smb:&quot;`
GETIP=`nmblookup $SERVERNAME | grep -v &quot;query&quot; | awk '{print $1}'`
GETSHARES=`smbclient --debuglevel=0 -A $AUTHFILE -L $SERVERNAME -I $GETIP -g  2&gt;/dev/null | grep &quot;Disk&quot; | sed 's/|/ /g' | awk '{print $2}'`
WINSHARENAME=&quot;$HOME/$NETBASENAME/$DOMAINNAME/$SERVERNAME&quot;

if [ ! -d $WINSHARENAME ];  then
   mkdir -p $WINSHARENAME
fi


for NAMES in $GETSHARES; do

   CHECKSHARE=`smbclient //$SERVERNAME/$NAMES -A $AUTHFILE -c '' 2&gt; /dev/null | grep 'DENIED'`

   if [ &quot;x$CHECKSHARE&quot; = &quot;x&quot; ]; then
     if [ &quot;$OPTYPE&quot; = &quot;&quot; ]; then
         if [ &quot;$CHECKMOUNT&quot; = &quot;&quot;  ]; then
           CMDTYPE=&quot;mounting&quot;
         fi
     else
        CMDTYPE=&quot;umounting&quot;
     fi
     if [ &quot;$CMDTYPE&quot; = &quot;&quot; ]; then
        echo &quot;Shares Already mounted.&quot;
        exit 0
     else
        echo &quot;$CMDTYPE $NAMES&quot;
	if [ &quot;$OPTYPE&quot; = &quot;&quot; ]; then
           gvfs-mount $OPTYPE smb://$SERVERNAME/$NAMES 2&gt; /dev/null
           GVFSNAME=`echo $NAMES | tr '[:upper:]' '[:lower:]'`
           ln -sf &quot;$HOME/.gvfs/$GVFSNAME on $SERVERNAME&quot; $WINSHARENAME/$NAMES
        else
           gvfs-mount $OPTYPE smb://$SERVERNAME/$NAMES 2&gt; /dev/null
        fi
     fi
   fi
done

exit 0 
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/522/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=522&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/08/17/mount-all-available-cifs-shares-using-gvfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
		<item>
		<title>Novell iManager workstation on Ubuntu 11.04</title>
		<link>http://hardc0l2e.wordpress.com/2011/07/19/novell-imanager-workstation-on-ubuntu-11-04/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/07/19/novell-imanager-workstation-on-ubuntu-11-04/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 09:41:23 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[System Admin]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[imanager ubuntu]]></category>
		<category><![CDATA[novell imanager ubuntu]]></category>
		<category><![CDATA[running imanager in ubuntu]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=508</guid>
		<description><![CDATA[Currently unning a Novell eDirectory  LDAP service and wonder how to use iManager on your Ubuntu workstation. Here&#8217;s how: 1. Download the latest iManager Workstation for Linux in Novell Download Center 2. Extract the package (for me usually in $HOME/Desktop) 3. Install the necessary packages and libraries for alien (alien, libstdc++5, gcc), installing alien package [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=508&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Currently unning a Novell eDirectory  LDAP service and wonder how to use iManager on your Ubuntu workstation.</p>
<p>Here&#8217;s how:</p>
<p>1. Download the latest iManager Workstation for Linux in <a href="http://download.novell.com/">Novell Download Center</a></p>
<p>2. Extract the package (for me usually in $HOME/Desktop)</p>
<p>3. Install the necessary packages and libraries for alien (<strong><em>alien, libstdc++5, gcc</em></strong>), installing alien package also includes rpm in the requirements.</p>
<p>4.  Prepare NICI for installation.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; cd  $HOME/Desktop/imanager</strong></span>
<span style="color:#800000;"><strong>$&gt; cd  NICI/linux</strong></span>
<span style="color:#800000;"><strong>$&gt; sudo alien -d --scripts nici.i386.rpm</strong></span>
<span style="color:#800000;"><strong>$&gt; sudo dpkg -i nici_2.7.3-1.01_i386.deb</strong></span></pre>
<p>5. Modify the current  iManager.sh in the bin folder ($HOME/Desktop/imanager/bin) and remove the word  &#8221;function&#8221; in every functions of the script.</p>
<p style="padding-left:30px;">example:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">function CHECK_PERMISSIONS()</span>
<span style="color:#0000ff;">{</span>
<span style="color:#0000ff;"> echo "Test permissions" &gt; $IMANAGER_BIN_NATIVE_DIR/perm.txt</span>
<span style="color:#0000ff;"> ....</span>
<span style="color:#0000ff;">}</span></pre>
<p style="padding-left:30px;">should be</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">CHECK_PERMISSIONS()
{
echo "Test permissions" &gt; $IMANAGER_BIN_NATIVE_DIR/perm.txt
....
}</span></pre>
<p>5.  In the STARTMANAGER() function, remove the CHECK_NICI;</p>
<p>6.  Save the script and do  some test run.</p>
<pre style="padding-left:30px;"><strong><span style="color:#800000;">$&gt; cd $HOME/Desktop/imanager/bin</span></strong>
<strong><span style="color:#800000;">$&gt; ./iManager.sh</span></strong></pre>
<p>7. Done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/508/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=508&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/07/19/novell-imanager-workstation-on-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 11.04 Shutdown and Restart Problem with CIFS</title>
		<link>http://hardc0l2e.wordpress.com/2011/06/30/ubuntu-11-04-shutdown-and-restart-problem-with-cifs/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/06/30/ubuntu-11-04-shutdown-and-restart-problem-with-cifs/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 08:10:06 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[CIFS]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Device]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[System Admin]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Wired & Wireless Network]]></category>
		<category><![CDATA[cifs umount ubuntu 11.04]]></category>
		<category><![CDATA[ubuntu umount cifs before network-manager]]></category>
		<category><![CDATA[wireless cifs bug]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=505</guid>
		<description><![CDATA[UPDATE(07/29/2011): The GRUB thing didn&#8217;t work at all, back to basic trapping signal via upstart scripts in /etc/init/dbus.conf.  I tried it before using /etc/init/network-manager.conf but on Ubuntu 10.10, it&#8217;s not working anymore. Here&#8217;s another test and works for me. 1. Modify the current /etc/init/dbus.conf. $&#62; sudo vi /etc/init/dbus.conf 2. Add a pre-stop script, which looks [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=505&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>UPDATE(07/29/2011): The GRUB thing didn&#8217;t work at all, back to basic trapping signal via upstart scripts in /etc/init/dbus.conf.  I tried it before using /etc/init/network-manager.conf but on Ubuntu 10.10, it&#8217;s not working anymore. Here&#8217;s another test and works for me.</p>
<p>1. Modify the current /etc/init/dbus.conf.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; sudo vi /etc/init/dbus.conf</strong></span></pre>
<p>2. Add a pre-stop script, which looks like this:</p>
<pre><strong><span style="color:#0000ff;">pre-stop script</span></strong>
<strong><span style="color:#0000ff;">       trap "TERM signal" TERM</span></strong>
<strong><span style="color:#0000ff;">      /bin/umount -a -t cifs -l -f</span></strong>
<strong><span style="color:#0000ff;">      trap - TERM</span></strong>
<strong><span style="color:#0000ff;">end script </span></strong></pre>
<p>3. Save the script and have a test.</p>
<p>4. Done.</p>
<p><del><strong>UPDATE(07/28/2011):</strong> Found a better alternative via GRUB, link <a href="http://ubuntuforums.org/showthread.php?t=1741668&amp;page=7">here</a>. Mainly you just need to modify the  /etc/default/grub. Here&#8217;s the details:</del></p>
<p><del>1. Edit the /etc/default/grub</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; sudo vi /etc/default/grub</strong></span></pre>
<p>2. Add &#8220;reboot=pci&#8221; on the GRUB_CMDLINE_LINUX line, it should look something like this:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;"><strong>... GRUB_CMDLINE_LINUX="reboot=pci" ...</strong></span></pre>
<p>3. Update the grub</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; sudo update-grub</strong></span></pre>
<p>&nbsp;</p>
<p></del></p>
<p><del>4. Done</del></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>It&#8217;s an ancient bug (<a href="https://bugs.launchpad.net/ubuntu/lucid/+source/dbus/+bug/211631">here</a>), which still exist in Ubuntu 11.04, or even in other distros. When you got a mounted samba shares before the shutdown or restart process, the machine waits for around 10 minutes before it complete the operation. Very troublesome that&#8217;s why I tried various workaround but none of them  works with Ubuntu 11.04. Not even the /etc/rc6.d/K*  or the upstart /etc/init configurations, nor the old python script I posted before (<a title="Automatically unmount CIFS before Network-Manager Ubuntu 10.04" href="http://hardc0l2e.wordpress.com/2010/05/19/automatically-unmount-cifs-before-network-manager-ubuntu-10-04/">here&#8217;s the link</a>).</p>
<p>After few considerations, I made a desperate workaround, creating a script that triggers before the /sbin/shutdown, /sbin/reboot and /sbin/restart commands.</p>
<p>1. Rename the current shutdown, reboot and restart commands in /sbin.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>#&gt; mv /sbin/shutdown /sbin/shutdown2</strong></span>
<span style="color:#800000;"><strong>#&gt; mv /sbin/reboot /sbin/reboot2</strong></span>
<span style="color:#800000;"><strong>#&gt; mv /sbin/restart /sbin/restart2 </strong></span></pre>
<p>2. Then create scripts with names of the previous commands in /sbin, which contains the following:</p>
<pre style="padding-left:30px;"><strong><span style="color:#0000ff;">#!/bin/sh</span></strong>
<strong><span style="color:#0000ff;">umount -t cifs -a -f -l</span></strong>
<strong><span style="color:#0000ff;">/sbin/shutdown2 $@</span></strong>
<strong><span style="color:#0000ff;">exit 0 </span></strong></pre>
<p>3. Make similar script for <strong>reboot</strong> and <strong>restart</strong> command which also points to <strong>/sbin/reboot2</strong> and <strong>/sbin/restart2</strong>.</p>
<p>4.  Until the dbus implementation of <strong><span style="color:#800000;">stop on deconfiguring-networking </span></strong>comes to Ubuntu 11.04, which I think working with<br />
Ubuntu 11.10 oneiric. I think this is the least workaround that works for me.</p>
<p>5. Done</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/505/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=505&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/06/30/ubuntu-11-04-shutdown-and-restart-problem-with-cifs/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 11.04 Missing Indicators or System Tray Items</title>
		<link>http://hardc0l2e.wordpress.com/2011/06/28/ubuntu-11-04-missing-indicators-or-system-tray-items/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/06/28/ubuntu-11-04-missing-indicators-or-system-tray-items/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 10:20:21 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[desktop management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[ubuntu 11.04 missing indicator]]></category>
		<category><![CDATA[ubuntu indicator missing]]></category>
		<category><![CDATA[unity indicator missing]]></category>
		<category><![CDATA[vuze indicator ubuntu 11.04]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=500</guid>
		<description><![CDATA[GMail Notifier and Vuze are some of my mostly used application, and when I upgraded my previously 10.04 to 11.04 system (Ubuntu), I noticed that some of my currently running application that has system tray icon or indicator gone in the Unity side panel and in the system tray area. Googled it and found this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=500&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>GMail Notifier and Vuze are some of my mostly used application, and when I upgraded my previously 10.04 to 11.04 system (Ubuntu), I noticed that some of my currently running application that has system tray icon or indicator gone in the Unity side panel and in the system tray area. Googled it and found this link: <a href="http://ubuntugenius.wordpress.com/2011/06/25/ubuntu-11-04-fix-show-all-iconsindicators-in-unity-panels-notification-area/">Ubuntu 11.04 Fix:  Show All Icons/Indicators Notification Area</a>.</p>
<p>The quickest way to deal with it is the following:</p>
<p>1.  From console:</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"</strong></span></pre>
<p>2. Then refresh the Unity. Press Alt-F2 and type:</p>
<pre style="padding-left:30px;"> <span style="color:#0000ff;"><strong>unity --replace</strong></span></pre>
<p>3. Done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/500/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=500&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/06/28/ubuntu-11-04-missing-indicators-or-system-tray-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
		<item>
		<title>Inkscape 0.48 Illustrator&#8217;s Cookbook</title>
		<link>http://hardc0l2e.wordpress.com/2011/06/23/inkscape-0-48-illustrators-cookbook/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/06/23/inkscape-0-48-illustrators-cookbook/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 17:58:45 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[Book Reviews]]></category>
		<category><![CDATA[inkscape book]]></category>
		<category><![CDATA[inkscape cookbook]]></category>
		<category><![CDATA[inkscape guide]]></category>
		<category><![CDATA[inkscape packtlib]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=498</guid>
		<description><![CDATA[After reading &#8220;Inkscape 0.48 Essentials for Web Designers&#8220;, I then encountered this book, &#8220;Inkscape 0.48 Illustrator&#8217;s Cookbook&#8221; by Mihaela Jurković, and I must say, this is one of the best book learning this wonderful cross-platform application.   While the first book is mainly more for web designers, this book focuses on broader aspect of Inkscape, from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=498&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Inkscape 0.48 Illustrator's Cookbook" src="https://www.packtpub.com/sites/default/files/imagecache/productview/2664OS_Inkscape%200.48%20Illustrators%20Cookbook.jpg" alt="Inkscape 0.48 Illustrator's Cookbook" width="125" height="152" /><span style="color:#000000;">After reading &#8220;<a title="Inkscape 0.48 Essentials for Web Designers (Book)" href="http://hardc0l2e.wordpress.com/2011/01/12/inkscape-0-48-essentials-for-web-designers-book/">Inkscape 0.48 Essentials for Web Designers</a>&#8220;, I then encountered this book, &#8220;<a href="http://www.packtpub.com/inkscape-048-illustrators-cookbook/book">Inkscape 0.48 Illustrator&#8217;s Cookbook</a>&#8221; by Mihaela Jurković, and I must say, this is one of the best book learning this wonderful cross-platform application.  </span></p>
<p>While the first book is mainly more for web designers, this book focuses on broader aspect of Inkscape, from creating basic objects  to live path effects and guides of using current extensions.  The book are aimed at the beginner with no previous experience of vector graphics design. Throughout  the pages, the book provides fundamental knowledge in details, from getting to know the interface, command short-cuts, up to the keen concepts of  speeding up your workflow.</p>
<p>As with the popularity of  Inkscape  and vector graphics increases , getting the edge of this application is must and &#8220;Inkscape 0.48 Illustrator&#8217;s Cookbook&#8221; delivers it best.</p>
<blockquote><p>Vector graphics are becoming increasingly important at the turn of this decade, now that theWorld Wide Web has begun its transition towards HTML5 technologies. All the major Webbrowsers are striving to conform to the SVG specification, as the attractiveness of scalable, high definition, three-dimensional, and Flash-free Web sites and games is irresistible. Thefuture is bright, but the true outcome will ultimately depend on one decisive factor: user and developer adoption.</p></blockquote>
<p>The best things about this book, is how it guides the reader in doing things with Inkscape, after stating the overview of  the operation, it follows with &#8220;<em>How to do it</em>&#8221; part, which gives the step by step procedure and then goes with &#8220;<em>How it works</em>&#8220;, for the the teaching style is very effective both for starter and experienced Inkscape users.</p>
<p>To sum all up,  &#8221;Inkscape 0.48 Illustrator&#8217;s Cookbook&#8221; is a great tool in learning this vector graphics designer application.  Good for &#8220;want to learn&#8221; and &#8220;want to learn more&#8221; types of people.</p>
<p>Want to know more about the book? Head to this links:</p>
<ul>
<li><a href="http://www.packtpub.com/inkscape-048-illustrators-cookbook/book">Book Details</a></li>
<li><a href="http://www.packtpub.com/toc/inkscape-048-illustrators-cookbook-table-contents">Table of Contents</a></li>
<li><a href="http://www.packtpub.com/sites/default/files/2664OS-Chapter-5-Live-Path-Effects.pdf?utm_source=packtpub&amp;utm_medium=free&amp;utm_campaign=pdf">Sample Chapters</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/498/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=498&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/06/23/inkscape-0-48-illustrators-cookbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>

		<media:content url="https://www.packtpub.com/sites/default/files/imagecache/productview/2664OS_Inkscape%200.48%20Illustrators%20Cookbook.jpg" medium="image">
			<media:title type="html">Inkscape 0.48 Illustrator&#039;s Cookbook</media:title>
		</media:content>
	</item>
		<item>
		<title>DropBox Like using Lsyncd</title>
		<link>http://hardc0l2e.wordpress.com/2011/06/18/dropbox-like-using-lsyncd/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/06/18/dropbox-like-using-lsyncd/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 08:39:56 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[dropbox like]]></category>
		<category><![CDATA[oss dropbox]]></category>
		<category><![CDATA[rsync dropbox]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=476</guid>
		<description><![CDATA[I have several notebooks that is connected to our File Server via OpenVPN, the problem is sometimes the connection from and to the server is slow and problematic, cannot browse files or takes to long to upload or download things, and the idea of DropBox like application or tool will eventually fix things around those [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=476&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have several notebooks that is connected to our File Server via OpenVPN, the problem is sometimes the connection from and to the server is slow and problematic, cannot browse files or takes to long to upload or download things, and the idea of DropBox like application or tool will eventually fix things around those problems.</p>
<p>I found this old link &#8220;<strong>How to build your own dropbox clone</strong> &#8221; (<a href="http://fak3r.com/geek/howto-build-your-own-open-source-dropbox-clone/">link here</a>) and gives me an idea on howtos.</p>
<p>The key tool is lsyncd (<a href="http://lsyncd.googlecode.com">http://lsyncd.googlecode.com</a>)</p>
<blockquote><p><em>Lsyncd watches a local directory trees event monitor interface (inotify). It aggregates and combines events for a few seconds and then spawns one (or more) process(es) to synchronize the changes. By default this is rsync. Lsyncd is thus a light-weight live mirror solution that is comparatively easy to install not requiring new filesystems or blockdevices and does not hamper local filesystem performance.</em></p></blockquote>
<p>Here&#8217;s  the details:</p>
<p>1.  From you current Ubuntu Desktop, install rsync and other necessary packages.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; apt-get install rsync libxml2-dev build-essential lua5.1</strong></span></pre>
<p>2. Then download the lsyncd souce code and compile.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; wget http://lsyncd.googlecode.com/files/lsyncd-2.0.4.tar.gz</strong></span>
<span style="color:#800000;"><strong>$&gt; tar xvfz  lsyncd-2.0.4.tar.gz</strong></span>
<span style="color:#800000;"><strong>$&gt; cd lsyncd-2.0.4 $&gt; sudo -s</strong></span>
<span style="color:#800000;"><strong>#&gt; ./configure </strong></span>
<span style="color:#800000;"><strong>#&gt; make; make install</strong></span></pre>
<p>3. Then create a configuration file in your $HOME/.config/lsyncd path called lsyncd.lua</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; mkdir -p  ~/.config/lsyncd</strong></span>
<span style="color:#800000;"><strong>$&gt; vi ~/.config/lsyncd/lsyncd.lua</strong></span></pre>
<p>4.  The content as follows:</p>
<p><pre class="brush: bash;">
sync{default.rsyncssh, source=&quot;/home/username/mybox&quot;, host=&quot;server.localdomain&quot;, targetdir=&quot;mybox/&quot;, rsyncOps=&quot;-ltus&quot;}
</pre></p>
<p>5.  Save the file, and before the sync test, make sure you have a passwordless ssh session to the given host, if not, follow this steps:</p>
<p>On your Desktop/client:</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; ssh-keygen -N '' -f  ~/.ssh/id_dsa</strong></span></pre>
<p>On paraphrase prompt, just press ENTER, then the following (note: REMOTE_SERVER is the ssh server host)</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt;  cat ~/.ssh/id_rsa.pub | ssh REMOTE_SERVER 'cat - &gt;&gt; ~/.ssh/authorized_keys2' $&gt; ssh REMOTE_SERVER 'chmod 700 .ssh' </strong></span></pre>
<p><span class="Apple-style-span" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13px;line-height:19px;white-space:normal;">Then have a test</span></p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; ssh REMOTE_SERVER</strong></span></pre>
<p>6. When all are successfully done, create your preferred name for the sync folder, mine.. I just called it &#8220;mybox&#8221;. It should have the path as follows:</p>
<p style="padding-left:30px;"><strong><span style="color:#0000ff;">/home/username/mybox</span></strong><br />
<strong><span style="color:#0000ff;">server.mydomain.local:~/mybox</span></strong></p>
<p>7.  All are set and ready to go, test the lsyncd.</p>
<pre style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; lsyncd -nodaemon ~/.config/lsycnd/lsycnd.lua</strong></span></pre>
<p>8. Populate the local folder and watch the remote ssh server for changes.</p>
<p>9. Done.</p>
<p>Note: This is currently a definitely Linux workaround, haven&#8217;t tried it in other OS (using cygwin on Windows).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/476/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=476&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/06/18/dropbox-like-using-lsyncd/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
		<item>
		<title>VT1708/A workaround for Ubuntu 10.10</title>
		<link>http://hardc0l2e.wordpress.com/2011/04/25/vt1708a-workaround-for-ubuntu-10-10/</link>
		<comments>http://hardc0l2e.wordpress.com/2011/04/25/vt1708a-workaround-for-ubuntu-10-10/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 05:57:17 +0000</pubDate>
		<dc:creator>hardc0l2e</dc:creator>
				<category><![CDATA[Kernel and Modules]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[vt1708 fix]]></category>
		<category><![CDATA[vt1708/a no sound]]></category>
		<category><![CDATA[vt1708/a ubuntu]]></category>

		<guid isPermaLink="false">http://hardc0l2e.wordpress.com/?p=472</guid>
		<description><![CDATA[I got this old mainboard (ASUS M2V-MX SE) which I need to install a newer version of Ubuntu (10.10 in this case) from previously 8.04.  Decided to have a clean install and found that there&#8217;s a current bug in kernel regarding the VIA VT1708/A audio card. Here&#8217;s what I&#8217;ve found in the net https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/664785 After [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=472&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got this old mainboard (ASUS M2V-MX SE) which I need to install a newer version of Ubuntu (10.10 in this case) from previously 8.04.  Decided to have a clean install and found that there&#8217;s a current bug in kernel regarding the VIA VT1708/A audio card. Here&#8217;s what I&#8217;ve found in the net</p>
<p><a href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/664785">https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/664785</a></p>
<p>After few minutes of searching for possible solution, finally I&#8217;ve  found one that works:</p>
<p><a href="https://bugzilla.kernel.org/show_bug.cgi?id=16921#c5">https://bugzilla.kernel.org/show_bug.cgi?id=16921#c5</a></p>
<p>Here&#8217;s how:</p>
<p>1. Modify your grub default boot options</p>
<p style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; sudo vi /etc/default/grub</strong></span></p>
<p>2. Add &#8220;pci=use_crs&#8221; on your current grub option, which looks like this:</p>
<p style="padding-left:30px;"><strong><span style="color:#0000ff;">GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet splash pci=use_crs&#8221;</span></strong></p>
<p>3. Then update your grub.</p>
<p style="padding-left:30px;"><span style="color:#800000;"><strong>$&gt; sudo update-grub</strong></span></p>
<p>4. Reboot and done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardc0l2e.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardc0l2e.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hardc0l2e.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hardc0l2e.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hardc0l2e.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hardc0l2e.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hardc0l2e.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hardc0l2e.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hardc0l2e.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hardc0l2e.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hardc0l2e.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hardc0l2e.wordpress.com/472/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hardc0l2e.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hardc0l2e.wordpress.com/472/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardc0l2e.wordpress.com&amp;blog=7202209&amp;post=472&amp;subd=hardc0l2e&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardc0l2e.wordpress.com/2011/04/25/vt1708a-workaround-for-ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/893c0b7e147bd583a9c57aacac340622?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">hardc0l2e</media:title>
		</media:content>
	</item>
	</channel>
</rss>
