<?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-5795431388529549409</id><updated>2011-07-07T13:23:14.291-07:00</updated><category term='firefox'/><category term='socks 5'/><category term='Picasa'/><category term='addons'/><category term='HowTO'/><category term='synaptics touchpad HardyHeron Kubuntu Ubuntu'/><category term='Kubuntu'/><category term='kde kubuntu inkscape howto'/><category term='orbit'/><category term='Proxy'/><category term='tsocks'/><category term='tunnel'/><category term='download manager'/><category term='Ubuntu'/><category term='ltsp ubuntu'/><category term='mozilla'/><category term='wine'/><category term='Theme'/><category term='Style'/><title type='text'>Tech Tips for everyone</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>techblogger</name><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><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5795431388529549409.post-1718133185099072873</id><published>2008-10-17T21:37:00.000-07:00</published><updated>2008-10-17T21:57:16.678-07:00</updated><title type='text'>Configure iptables to bypass the ttl=1 set by ISP</title><content type='html'>I've just got a cheap 24hours internet account where my ISP sets a ttl = 1 which prevents it from sharing with multiple computers at a time. Which cannot stop me from using the mighty iptables and live a peaceful life. Here is a quick tip as to set up an internet connection sharing and at the same time change the ttl values.&lt;br /&gt;&lt;br /&gt;A fancy ascii connection structure&lt;br /&gt;&lt;br /&gt;LanComputer (A, 192,168.1.100) ------&gt; gateway(B, eth1 192.168.1.1)&lt;br /&gt;&lt;br /&gt;gateway(B, ppp0 public ip) ------------&gt; ISP (internet)&lt;br /&gt;&lt;br /&gt;Here are the magic lines&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;$ sudo iptables -t nat -A POSTROUTING -j MASQUERADE&lt;br /&gt;$ sudo iptables -A FORWARD -i ppp0 -o eth1 -s 192.168.1.0/24 -m state --state NEW -j ACCEPT&lt;br /&gt;$ sudo iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;$ sudo iptables -t mangle -A PREROUTING -j TTL --ttl-inc 1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Also for internet connection sharing make sure the ip forwarding is setup. Here is the command.&lt;br /&gt;&lt;pre&gt;$sudo sh -c "echo 1 &gt; /proc/sys/net/ipv4/ip_forward"&lt;/pre&gt;More on internet connection sharing is available at https://help.ubuntu.com/community/Internet/ConnectionSharing&lt;br /&gt;&lt;br /&gt;Now someone needs to test this with openwrt or ddwrt.&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-1718133185099072873?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/1718133185099072873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=1718133185099072873' title='34 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/1718133185099072873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/1718133185099072873'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/10/configure-iptables-to-bypass-ttl1-set.html' title='Configure iptables to bypass the ttl=1 set by ISP'/><author><name>techblogger</name><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>34</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5795431388529549409.post-1958153864826214485</id><published>2008-09-05T23:52:00.000-07:00</published><updated>2008-09-06T00:21:48.259-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='addons'/><category scheme='http://www.blogger.com/atom/ns#' term='mozilla'/><title type='text'>My favorite Firefox Extentions</title><content type='html'>Extentions that i cannot live without in firefox.&lt;br /&gt;&lt;br /&gt;1) Adblock Plus&lt;br /&gt;Blocks all the adds, just couldn't live without it.&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/1865&lt;br /&gt;&lt;br /&gt;2) delicious bookmarks&lt;br /&gt;Synchronizes all my bookmarks with del.icio.us. There is offline storage of bookmark which opens in a sidebar. Its really helpful.&lt;br /&gt;http://delicious.com/help/quicktour/firefox&lt;br /&gt;&lt;br /&gt;3) Downthemall&lt;br /&gt;Helpful for quick and easy download. Supports resume and multiple part download. I rarely use an external downloader now.&lt;br /&gt;http://www.downthemall.net&lt;br /&gt;&lt;br /&gt;4)  Firebug&lt;br /&gt;Extremely helpful for debugging websites. If you are a webdeveloper then this is a must install addon. Helps to debug http requests, inspect DOM, modify CSS on the fly and lots of other features.&lt;br /&gt;http://www.getfirebug.net&lt;br /&gt;&lt;br /&gt;5) Fast Dial&lt;br /&gt;When you open a new tab or a new window, it shows you a the thumbnail display of the websites you add to it. Its like a shortcut to most frequently used website. Extremely helpful.&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/5721&lt;br /&gt;&lt;br /&gt;6) Wikia Search Extension&lt;br /&gt;Google isn't the only search engine. Now wikia is in my view a good open source alternative with user feedback option. You can add submit websites by a single Submit button. Also there is feature of rating as well.&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/8267&lt;br /&gt;&lt;br /&gt;7) Zotero&lt;br /&gt;Saves your notes and research links inside your browser. Also it has option to sync your notes online. Helpful when you are doing lots of researches.&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/3504&lt;br /&gt;&lt;br /&gt;8) Tabs open relative&lt;br /&gt;When google chrome was released, i loved its feature of opening new tab right beside the old tab. No more scrolling to the end of the tab list. Saves a lot of time and ease of use.&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/1956&lt;br /&gt;&lt;br /&gt;9) Tab duplicate&lt;br /&gt;Duplicates the current tab. Helpful sometimes although i dont use it too much.&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/28&lt;br /&gt;&lt;br /&gt;10) Switch Proxy&lt;br /&gt;Save a list of proxies. It then can be used as a minimalistic interface to switch between proxies. Very easy to use.&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/125&lt;br /&gt;&lt;br /&gt;Lots more useful addons available at https://addons.mozilla.org&lt;br /&gt;&lt;br /&gt;Cheers all&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-1958153864826214485?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/1958153864826214485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=1958153864826214485' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/1958153864826214485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/1958153864826214485'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/09/my-favorite-firefox-extentions.html' title='My favorite Firefox Extentions'/><author><name>techblogger</name><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-5795431388529549409.post-1365908980671327537</id><published>2008-07-21T06:50:00.000-07:00</published><updated>2008-07-21T07:01:39.087-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='synaptics touchpad HardyHeron Kubuntu Ubuntu'/><title type='text'>Disable touchpad temporarily in HardyHeron Kubuntu/Ubuntu</title><content type='html'>This has been bugging me for a long time. Everytime i start typing a long paragraph, the cursor would randomly move to a different section of the paragraph messing up my typing.&lt;br /&gt;&lt;br /&gt;Since the ksynaptics and gsynaptics have been removed from the HardyHeron repositories, i found these two really nice command line tools.&lt;br /&gt;&lt;br /&gt;The syndaemon and the synclient programs&lt;br /&gt;&lt;br /&gt;But first, before using those two command, we have to allow other programs to share the memory of the touchpad, this can be done by editing the &lt;span style="font-family: courier new;"&gt;/etc/X11/xorg.conf&lt;/span&gt; file. Look for a section called Synaptic Touchpad&lt;br /&gt;&lt;br /&gt;Originally i had the section like this&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Section "InputDevice"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Identifier      "Synaptics Touchpad"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Driver          "synaptics"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Option          "SendCoreEvents"        "true"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Option          "Device"                "/dev/psaux"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Option          "Protocol"              "auto-dev"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Option          "HorizEdgeScroll"       "0"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I had to add an extra line &lt;span style="font-weight: bold; font-family: courier new;"&gt;Option    "SHMConfig"  "on"&lt;/span&gt; so that my new configuration now looks like&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Section "InputDevice"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Identifier      "Synaptics Touchpad"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Driver          "synaptics"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Option          "SendCoreEvents"        "true"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Option          "Device"                "/dev/psaux"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Option          "Protocol"              "auto-dev"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Option          "HorizEdgeScroll"       "0"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        &lt;span style="font-weight: bold;"&gt;Option          "SHMConfig"             "on"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;EndSection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now the syndaemon tool is really nice that it lest you modify the touchpad parameters.&lt;br /&gt;Check out&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ syndaemon --help &lt;/span&gt;&lt;br /&gt;for more info on it.&lt;br /&gt;&lt;br /&gt;To automatically start syndaemon when KDE starts, i had to make a script and save it in &lt;span style="font-family: courier new;"&gt;~/.kde/Autostart&lt;/span&gt; folder, so i did&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ vim ~/.kde/Autostart/syndaemon.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/bin/syndaemon -d -i 0.8 -t&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and save the file.&lt;br /&gt;&lt;br /&gt;the &lt;span style="font-weight: bold;"&gt;-d&lt;/span&gt; means run in background, &lt;span style="font-weight: bold;"&gt;-i 0.8&lt;/span&gt; means disable the touchpad for 0.8seconds and the &lt;span style="font-weight: bold;"&gt;-t&lt;/span&gt; means Only disable tapping and scrolling, not mouse movements. Ofcourse more information can be viewed from &lt;span style="font-weight: bold; font-family: courier new;"&gt;man syndaemon&lt;/span&gt; or &lt;span style="font-family: courier new; font-weight: bold;"&gt;syndaemon --help&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Logout and Login again, Happy typing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-1365908980671327537?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/1365908980671327537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=1365908980671327537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/1365908980671327537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/1365908980671327537'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/07/disable-touchpad-temporarily-in.html' title='Disable touchpad temporarily in HardyHeron Kubuntu/Ubuntu'/><author><name>techblogger</name><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-5795431388529549409.post-519431890431298173</id><published>2008-06-10T06:27:00.000-07:00</published><updated>2008-06-10T06:30:20.637-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kde kubuntu inkscape howto'/><title type='text'>Inkscape - Getting Alt+Click work on Linux</title><content type='html'>In linux, Alt+Click is reserved by the window manager, atleast default KDE reserves it to move windows.&lt;br /&gt;&lt;br /&gt;To disable it, go to Control Center &gt; Desktop &gt; Window Behavior &gt; Window Actions&lt;br /&gt;and change Modifier Key + Left Button = Nothing,&lt;br /&gt;&lt;br /&gt;Problem should be solved.&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;http://wiki.inkscape.org/wiki/index.php/FAQ#How_to_make_Alt.2Bclick_and_Alt.2Bdrag_work_on_Linux.3F&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-519431890431298173?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/519431890431298173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=519431890431298173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/519431890431298173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/519431890431298173'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/06/inkscape-getting-altclick-work-on-linux.html' title='Inkscape - Getting Alt+Click work on Linux'/><author><name>techblogger</name><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-5795431388529549409.post-4641746889474728552</id><published>2008-05-19T08:37:00.000-07:00</published><updated>2008-11-12T18:30:55.918-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='socks 5'/><category scheme='http://www.blogger.com/atom/ns#' term='tsocks'/><category scheme='http://www.blogger.com/atom/ns#' term='tunnel'/><title type='text'>Socks Tunneling, Muaaah....</title><content type='html'>ssh has this very cool feature called dynamic port forwarding which acts as a SOCKS 5 proxy.&lt;br /&gt;&lt;br /&gt;When I am in a bandwidth limited network (usually my university has not so good international connection, plus my home isp sucks), i connect to my server which is in NPIX through ssh and forward a local port in my machine to act as a socks proxy.&lt;br /&gt;&lt;br /&gt;I then configure firefox to use the particular proxy and browsing becomes pleasent.&lt;br /&gt;&lt;br /&gt;Until now I hadn't thought about using any other application other than firefox, I use downthemall to download files so that was sufficient.&lt;br /&gt;&lt;br /&gt;Yesterday while updating my system, i needed to forward synaptic through the tunnel. Since synaptic only supports http proxy and not socks proxy, i was going nuts.&lt;br /&gt;&lt;br /&gt;Thanks to tsocks, that problem has been solved.&lt;br /&gt;&lt;br /&gt;Through tsocks, you can forward all the network activity of a program through a socks proxy, so just running synaptic or apt-get after tsocks means using the alternative bandwidth that we get :-) .&lt;br /&gt;&lt;br /&gt;The whole system is as belows.&lt;br /&gt;&lt;br /&gt;a) Connecting to a remote server and opening a socks proxy in local machine&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;bibek@godzilla:~$ ssh bibek@10.1.1.2 -D 1080&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;bibek@10.1.1.2's password:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Linux chichekServer 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;The programs included with the Ubuntu system are free software;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;the exact distribution terms for each program are described in the&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;individual files in /usr/share/doc/*/copyright.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;applicable law.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;To access official Ubuntu documentation, please visit:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;http://help.ubuntu.com/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Last login: Mon May 19 17:43:14 2008 from 10.1.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;bibek@chichekServer:~$&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;godzilla is my main server and chichekServer is my remote machine, through godzilla i logged into chichekServer and during that time, opened port 1080 in my local machine,&lt;br /&gt;&lt;br /&gt;All i need now is to put the socks proxy name in firefox as below&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lB8E0-H-yWA/SDGnEERmvaI/AAAAAAAAAnY/BckKqsIWbGg/s1600-h/snapshot4.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_lB8E0-H-yWA/SDGnEERmvaI/AAAAAAAAAnY/BckKqsIWbGg/s400/snapshot4.png" alt="" id="BLOGGER_PHOTO_ID_5202122732898532770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Time to install tsocks in my home machine&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;bibek@godzilla:~$ sudo aptitude install tsocks&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Configure tsocks to use localhost:1080 as proxy server&lt;br /&gt;the last three lines of /etc/tsocks.conf are&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;server = 127.0.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Server type defaults to 4 so we need to specify it as 5 for this one&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;server_type = 5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# The port defaults to 1080 but I've stated it here for clarity&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;server_port = 1080&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now lets use tsocks to tunnel apt-get&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;bibek@godzilla:~$ tsocks apt-get install kde4 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This should tunnel your application through the socks proxy. If you want to tunnel any other application just put tsocks in front of it.&lt;br /&gt;&lt;br /&gt;This way we the benefit is we can tunnel even p2p applications through the socks proxy, which isn't possible through normal http proxies.&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-4641746889474728552?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/4641746889474728552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=4641746889474728552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4641746889474728552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4641746889474728552'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/05/socks-tunneling-muaaah.html' title='Socks Tunneling, Muaaah....'/><author><name>techblogger</name><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://2.bp.blogspot.com/_lB8E0-H-yWA/SDGnEERmvaI/AAAAAAAAAnY/BckKqsIWbGg/s72-c/snapshot4.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5795431388529549409.post-7358048078785956443</id><published>2008-03-31T11:04:00.000-07:00</published><updated>2008-03-31T11:08:38.833-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ltsp ubuntu'/><title type='text'>Ubuntu ltsp-server-standalone</title><content type='html'>I nearly pulled all my hairs, the thin client was successfully getting ip from dhcpd but wasn't loading the kernel&lt;br /&gt;&lt;br /&gt;The problem was with tftpd, which wasn't starting as it was supposed to :(&lt;br /&gt;i tried&lt;br /&gt;sudo dpkg-reconfigure tftpd-hpa&lt;br /&gt;but no luck&lt;br /&gt;&lt;br /&gt;the problem was there was no entry in the /etc/inetd.conf file&lt;br /&gt;&lt;br /&gt;so i added the line at the end&lt;br /&gt;tftp dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;&lt;br /&gt;and restart, client boots successfully :) Hurrah!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-7358048078785956443?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/7358048078785956443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=7358048078785956443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/7358048078785956443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/7358048078785956443'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/03/ubuntu-ltsp-server-standalone.html' title='Ubuntu ltsp-server-standalone'/><author><name>techblogger</name><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-5795431388529549409.post-4288496886142850177</id><published>2008-03-26T23:33:00.000-07:00</published><updated>2008-03-26T23:46:55.572-07:00</updated><title type='text'>Setup of a local LAN svn server</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;span style="font-family: courier new;"&gt;In this article I will show you how to setup a local LAN svn server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;It assumes that you have all the tools already installed in your main server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;First lets create a new svn repository&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ svn create /home/user/SVNREPO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;This creates our local SVNREPO folder, we will have to add projects on it&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre style="font-family: courier new;" class="screen"&gt;&lt;span style="font-size:100%;"&gt;$ mkdir tmpdir&lt;br /&gt;$ cd tmpdir&lt;br /&gt;$ mkdir projectA&lt;br /&gt;$ mkdir projectA/trunk&lt;br /&gt;$ mkdir projectA/branches&lt;br /&gt;$ mkdir projectA/tags&lt;br /&gt;$ mkdir projectB&lt;br /&gt;$ mkdir projectB/trunk&lt;br /&gt;$ mkdir projectB/branches&lt;br /&gt;$ mkdir projectB/tags&lt;br /&gt;…&lt;br /&gt;$ svn import . file:///home/user/SVNREPO --message 'Initial repository layout'&lt;br /&gt;Adding         projectA&lt;br /&gt;Adding         projectA/trunk&lt;br /&gt;Adding         projectA/branches&lt;br /&gt;Adding         projectA/tags&lt;br /&gt;Adding         projectB&lt;br /&gt;Adding         projectB/trunk&lt;br /&gt;Adding         projectB/branches&lt;br /&gt;Adding         projectB/tags&lt;br /&gt;…&lt;br /&gt;Committed revision 1.&lt;br /&gt;$ cd ..&lt;br /&gt;$ rm -rf tmpdir&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There goes our project layout.&lt;br /&gt;&lt;br /&gt;Now to access the svn through LAN, we'd use the svnserve command&lt;br /&gt;Assuming our main server is 192.168.0.1, here is what we do&lt;br /&gt;&lt;br /&gt;In server&lt;br /&gt;$ svnserve -d -r /home/user/SVNREPO&lt;br /&gt;&lt;br /&gt;And to authenticate our users so that to track of who changed what&lt;br /&gt;we'll change the /home/user/SVNREPO/conf/svnserve.conf file&lt;br /&gt;&lt;br /&gt;Uncomment these lines /home/user/SVNREPO/conf/svnserve.conf&lt;br /&gt;[general]&lt;br /&gt;anon-access = read&lt;br /&gt;auth-access = write&lt;br /&gt;password-db = passwd&lt;br /&gt;&lt;br /&gt;And to add the authentication information in new file&lt;br /&gt;/home/user/SVNREPO/conf/passwd&lt;br /&gt;&lt;br /&gt;[users]&lt;br /&gt;username=password&lt;br /&gt;username2=password2&lt;br /&gt;&lt;br /&gt;And we're done!!&lt;br /&gt;&lt;br /&gt;To import a project&lt;br /&gt;svn import . svn://192.168.0.1/projectA/trunk&lt;br /&gt;&lt;br /&gt;Enter username and password as asked&lt;br /&gt;&lt;br /&gt;To checkout an existing project&lt;br /&gt;svn co svn://192.168.0.1/projectA/trunk projectALocal&lt;br /&gt;&lt;br /&gt;Good day&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-4288496886142850177?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/4288496886142850177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=4288496886142850177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4288496886142850177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4288496886142850177'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/03/setup-of-local-lan-svn-server.html' title='Setup of a local LAN svn server'/><author><name>techblogger</name><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-5795431388529549409.post-4782173250154523803</id><published>2008-02-12T18:14:00.000-08:00</published><updated>2008-11-12T18:30:56.064-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Style'/><category scheme='http://www.blogger.com/atom/ns#' term='Theme'/><category scheme='http://www.blogger.com/atom/ns#' term='Kubuntu'/><title type='text'>KDE Look (Human 7.04 Color Scheme)</title><content type='html'>I've finally found a look for KDE that looks pretty enough and standard upon whole Ubuntu Desktop.&lt;br /&gt;&lt;br /&gt;I installed &lt;span style="font-weight: bold;"&gt;Polyster&lt;/span&gt; style&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;sudo aptitude install kde-style-polyester&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and then put the Human Color Scheme&lt;br /&gt;http://www.kde-look.org/content/show.php/Human+7.04?content=65116&lt;br /&gt;&lt;br /&gt;and it now looks like this&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lB8E0-H-yWA/R7JUqmRT_II/AAAAAAAAAbw/VD0hN5Kutz0/s1600-h/kdestyle_polyster_screen1.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_lB8E0-H-yWA/R7JUqmRT_II/AAAAAAAAAbw/VD0hN5Kutz0/s400/kdestyle_polyster_screen1.jpg" alt="" id="BLOGGER_PHOTO_ID_5166284813351779458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then, to get similar interface across whole GTK (GNOME) applications, I installed gtk-qt-engine and all gtk applications have a kde-ish look&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;sudo aptitude install gtk-qt-engine&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Add it with nuvola Theme available at http://www.kde-look.org/content/show.php/nuvoX?content=38467 and I get a very satisfying desktop. &lt;]:-)&lt;br /&gt;Cheers All&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-4782173250154523803?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/4782173250154523803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=4782173250154523803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4782173250154523803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4782173250154523803'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/02/kde-look-human-704-color-scheme.html' title='KDE Look (Human 7.04 Color Scheme)'/><author><name>techblogger</name><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://2.bp.blogspot.com/_lB8E0-H-yWA/R7JUqmRT_II/AAAAAAAAAbw/VD0hN5Kutz0/s72-c/kdestyle_polyster_screen1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5795431388529549409.post-739203460447381760</id><published>2008-01-24T08:31:00.000-08:00</published><updated>2008-01-24T08:37:55.341-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Proxy'/><category scheme='http://www.blogger.com/atom/ns#' term='HowTO'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Picasa'/><title type='text'>Picasa on Linux and proxy setting</title><content type='html'>Its been quite a while Google Released Versions for Linux, and few months back, they released 2.7 version beta for people to test on.&lt;br /&gt;Im so impressed, now that Picasa on Linux finally supports web albums, easy one click upload. (Not really one click but still).&lt;br /&gt;&lt;br /&gt;2.7 is fairly stable with minor issues but unnoticable.&lt;br /&gt;&lt;br /&gt;Its been quite a while i've tried searching for a proxy setting in picas. Reading through the manual, found out Picasa uses the default Proxy setting in the Internet Explorer.&lt;br /&gt;&lt;br /&gt;Since there isn't a easier way to setup proxy server through wine, google had a tutorial btw.&lt;br /&gt;&lt;br /&gt;http://picasa.google.com/linux/faq.html#31 &lt;&lt; FAQ for Picasa Linux&lt;br /&gt;&lt;span style="font-size:-1;"&gt;       /opt/picasa/bin/wrapper regedit &lt;&lt; picasa wine executable to open up register&lt;br /&gt;&lt;br /&gt;The proxy settings are as in this page http://www.pctools.com/guides/registry/detail/292/&lt;br /&gt;&lt;br /&gt;Cheers All&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/5795431388529549409-739203460447381760?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/739203460447381760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=739203460447381760' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/739203460447381760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/739203460447381760'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2008/01/picasa-on-linux-and-proxy-setting.html' title='Picasa on Linux and proxy setting'/><author><name>techblogger</name><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-5795431388529549409.post-3675548023005110997</id><published>2007-12-19T07:45:00.000-08:00</published><updated>2007-12-19T08:03:20.495-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wine'/><category scheme='http://www.blogger.com/atom/ns#' term='download manager'/><category scheme='http://www.blogger.com/atom/ns#' term='orbit'/><title type='text'>Download Manager For Linux</title><content type='html'>I've tested a lot of download manager for linux,&lt;br /&gt;aria, d4x, Multiget and the firefox downthemall,&lt;br /&gt;&lt;br /&gt;my best experience is Orbit download manager+WINE, can be downloaded from &lt;a href="http://www.orbitdownloader.com"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Works great. No worries!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-3675548023005110997?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/3675548023005110997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=3675548023005110997' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/3675548023005110997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/3675548023005110997'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2007/12/download-manager-for-linux.html' title='Download Manager For Linux'/><author><name>techblogger</name><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-5795431388529549409.post-7920276062075305557</id><published>2007-12-13T04:55:00.000-08:00</published><updated>2007-12-13T05:10:15.151-08:00</updated><title type='text'>Proftpd Anonymous Configuration</title><content type='html'>Although i recently installed gproftpd which provides a graphical interface to manage proftpd, the following configuration is for the proftpd&lt;br /&gt;&lt;br /&gt;First make a user which maps to the anonymous, (this is needed because the files being written/uploaded to the server needs an owner and we thus create the user and its alais anonymous.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;sudo adduser ftpuser, or through Gnome/KDE's GUI interface.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;This should create the skeleton directory and stuffs. We will share /home/ftpuser/ftpshared folder as a public folder, make sure its writable.&lt;br /&gt;&lt;br /&gt;Put the following code at the bottom of proftpd.conf, in xampp it can be found in /opt/lampp/etc/proftpd.conf&lt;br /&gt;&lt;br /&gt;&amp;lt;Anonymous /home/ftpuser/ftpshared&amp;gt;&lt;br /&gt;User ftpuser&lt;br /&gt;Group ftpuser&lt;br /&gt;UserAlias anonymous ftpuser&lt;br /&gt;AllowOverwrite off&lt;br /&gt;AuthUsingAlias On&lt;br /&gt;AnonRequirePassword Off&lt;br /&gt;&amp;lt;Limit STOR CWD XCWD CDUP MKD READ WRITE DIRS&amp;gt;&lt;br /&gt;  AllowAll&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;&amp;lt;Limit DELE&amp;gt;&lt;br /&gt;  DenyAll&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;&amp;lt;Limit LOGIN&amp;gt;&lt;br /&gt;  AllowAll&lt;br /&gt;&amp;lt;/Limit&amp;gt;&lt;br /&gt;DisplayLogin /home/ftpuser/ftpshared/welcome.msg&lt;br /&gt;&amp;lt;/Anonymous&amp;gt;&lt;br /&gt;&lt;br /&gt;The allowed methods are written in caps within the Limit tag as attributes, the configuration i've done is greedy configuration, ie it allows to read and write but doesnot allow to delete any of the files or folders.&lt;br /&gt;&lt;br /&gt;Also create a file /home/ftpuser/ftpshared/welcome.msg and put your welcome message inside it. We're done!!&lt;br /&gt;&lt;br /&gt;Cheers!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-7920276062075305557?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/7920276062075305557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=7920276062075305557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/7920276062075305557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/7920276062075305557'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2007/12/proftpd-anonymous-configuration.html' title='Proftpd Anonymous Configuration'/><author><name>techblogger</name><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-5795431388529549409.post-7480761472120494377</id><published>2007-12-13T04:40:00.001-08:00</published><updated>2007-12-13T04:54:42.691-08:00</updated><title type='text'>Mount a folder inside another folder (Binding)</title><content type='html'>I'll show you how to mount a folder residing somewhere in a filesystem to another folder.&lt;br /&gt;&lt;br /&gt;Its a line command,&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo mount -o bind /sourcefolderurl /destinationfolderurl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Done! Now where is it useful?&lt;br /&gt;I ran into this problem during my ftp server setup,&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ftp://myserver&lt;/span&gt; mapped to file system &lt;span style="font-weight: bold;"&gt;/media/sda7/ftpshared&lt;/span&gt;, ie &lt;span style="font-weight: bold;"&gt;ftp://myserver/a.mp3&lt;/span&gt; mapped to &lt;span style="font-weight: bold;"&gt;/media/sda7/ftpshared/a.mp3. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But i also had to share /opt/cache/apt/archives (all the .deb files) within the ftp server, creating symbolic links wasn't working since proftpd worked in a chrooted environment, thus this was a good solution.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo mount -o bind /opt/cache/apt/archives/ /media/sda7/ftpshared/archives&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To automatically mount the folder, make an entry in&lt;span style="font-weight: bold;"&gt; /etc/fstab&lt;/span&gt; file at the very end,&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/var/cache/apt/archives /media/sda7/ftpshared/archives auto bind,gid=46,defaults 0 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And on every boot, the folder is automatically mounted.&lt;br /&gt;&lt;br /&gt;Cheers!!&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-7480761472120494377?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/7480761472120494377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=7480761472120494377' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/7480761472120494377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/7480761472120494377'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2007/12/mount-folder-inside-another-folder.html' title='Mount a folder inside another folder (Binding)'/><author><name>techblogger</name><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-5795431388529549409.post-1284229839191207104</id><published>2007-12-09T02:29:00.000-08:00</published><updated>2007-12-13T05:24:51.994-08:00</updated><title type='text'>Edubuntu Setup Tips and Tricks</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Update: We new have a separate LTSP related blog for Nepali Deployments, check it out &lt;a href="http://elibrary-ltsp.blogspot.com/"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A) &lt;/span&gt;&lt;br /&gt;The usplash was giving resolution problem.&lt;br /&gt;It was fixed by changing the /etc/usplash.conf file and setting&lt;br /&gt;&lt;span style="font-size:85%;"&gt;cat /etc/usplash.conf&lt;/span&gt;&lt;br /&gt;xres=640&lt;br /&gt;yres=480&lt;br /&gt;&lt;br /&gt;Nice!!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;B)&lt;/span&gt;&lt;br /&gt;Now originally the client were successfully logging in, but after sometime they stopped working, it was strange but after debugging and following links below, i found that edubuntu and sabayon (gnomes configuration editor, or sth...)&lt;br /&gt;&lt;br /&gt;The discussion links have been posted here&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;exactly my problem&lt;br /&gt;&lt;/span&gt;https://lists.ubuntu.com/archives/edubuntu-users/2007-June/001199.html&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;then it forwarded to sth ssh related, update ltsp ssh keys&lt;/span&gt;&lt;br /&gt;https://lists.ubuntu.com/archives/edubuntu-users/2007-June/001202.html&lt;br /&gt;&lt;br /&gt;in the last link, there was option to simply remove sabayon and well guess what? it worked perfectly!!!&lt;br /&gt;sudo aptitude remove sabayon&lt;br /&gt;&lt;br /&gt;I was glad that there wasn't much dependencies related with sabayon.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;B.1)HowEVER!!&lt;br /&gt;&lt;/span&gt;I reinstalled sabayon watching so many cool stuffs about it on the net. All i needed to do was to add the users/client to the profile and done!!&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;C)&lt;br /&gt;&lt;/span&gt;The server was giving problems with bad gdm login screen, was fixed easily by reconfiguring the x-server&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;sudo dpkg-reconfigure -phigh xserver-xorg&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;D) Local USB Mount missing!!&lt;/span&gt;&lt;br /&gt;Asked about it in #edubuntu in freenode.net and got this link&lt;br /&gt;&lt;span style="font-size:85%;"&gt;https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/160420&lt;/span&gt;&lt;br /&gt;and scanning for the fix, got to this place,&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;http://article.gmane.org/gmane.linux.terminal-server.general/22270&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The modifications i made as mentioned in the mailing list above are&lt;br /&gt;a) comment out&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;env['DISPLAY'] = 'localhost:10.0' to  # env['DISPLAY'] = 'localhost:10.0' in &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/usr/sbin/ltspfsmounter&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;b) in file /opt/ltsp/i386/usr/share/ldm/rc.d/S10-delayed-mounter,&lt;br /&gt;add a -X line to ssh connection string like this&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ssh -X -S ${LDM_SOCKET} ${LDM_SERVER} "/usr/sbin/ltspfsmounter ${DIR} add"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;c) finally update the ltsp image by executing&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; sudo ltsp-update-image &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-1284229839191207104?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/1284229839191207104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=1284229839191207104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/1284229839191207104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/1284229839191207104'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2007/12/edubuntu-setup-tips-and-tricks.html' title='Edubuntu Setup Tips and Tricks'/><author><name>techblogger</name><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-5795431388529549409.post-3336795733024666226</id><published>2007-12-07T06:02:00.000-08:00</published><updated>2007-12-07T06:14:52.837-08:00</updated><title type='text'>Recover Grub using Ubuntu Live CD</title><content type='html'>If you have lost grub after install Windows and cannot boot Linux then this tip will help you restore grub and the boot Linux.&lt;br /&gt;&lt;br /&gt;What we need?&lt;br /&gt;Ubuntu Live CD&lt;br /&gt;&lt;br /&gt;Steps&lt;br /&gt;a) boot from Ubuntu Live CD&lt;br /&gt;b) Open terminal&lt;br /&gt;Applications &gt; Accessories &gt; Terminal&lt;br /&gt;&lt;br /&gt;c) You will see the gnome terminal,Now we need to enter grub. In the terminal type&lt;br /&gt;sudo grub&lt;br /&gt;&lt;br /&gt;d) Now you will see a different prompt called grub&gt;&lt;br /&gt;Everycommand below will be typed in the grub&gt; menu.&lt;br /&gt;We need to find the root device, that contains the GRUB's first and second boot files&lt;br /&gt;grub&gt; find /boot/grub/stage1&lt;br /&gt;(hd0,0)&lt;br /&gt;&lt;br /&gt;Note that your output might be different depending upon the partition where u install linux, example say (hd0,6) or (hd1,5). When (hd0,0) is mentioned below, replace it with the output that u see here.&lt;br /&gt;&lt;br /&gt;e) grub&gt; root (hd0,0)&lt;br /&gt;&lt;br /&gt;f) grub&gt; setup (hd0)&lt;br /&gt;&lt;br /&gt;g) now restart your computer and you should see your old grub screen, and your linux should work as well.&lt;br /&gt;&lt;br /&gt;Cheers&lt;br /&gt;Reference:&lt;br /&gt;1) LINUX COOKBOOK by Carla Schroder&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-3336795733024666226?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/3336795733024666226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=3336795733024666226' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/3336795733024666226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/3336795733024666226'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2007/12/recover-grub-using-ubuntu-live-cd.html' title='Recover Grub using Ubuntu Live CD'/><author><name>techblogger</name><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-5795431388529549409.post-4764994052545952515</id><published>2007-11-26T02:36:00.000-08:00</published><updated>2007-11-26T03:04:16.641-08:00</updated><title type='text'>Alternative Ways to login to gmail</title><content type='html'>Besides the normal way of logging in to gmail, there are alternative ways to sign in.&lt;br /&gt;&lt;br /&gt;The ones i know of are html view and mobile view. Why this is necessary is during peak hours in college or when u are at home and just want to check ur email quickly, this is extremely useful.&lt;br /&gt;&lt;br /&gt;To access the html version of gmail, use this link.&lt;br /&gt;&lt;br /&gt;http://mail.google.com/mail/?ui=html&lt;br /&gt;&lt;br /&gt;To access the mobile version of gmail, use this link.&lt;br /&gt;&lt;br /&gt;http://m.gmail.com&lt;br /&gt;&lt;br /&gt;They are extremely fast way to access gmail, but feature wize, its no match to gmail's ajax interface.&lt;br /&gt;&lt;br /&gt;Do check them out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-4764994052545952515?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/4764994052545952515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=4764994052545952515' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4764994052545952515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4764994052545952515'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2007/11/alternative-ways-to-login-to-gmail.html' title='Alternative Ways to login to gmail'/><author><name>techblogger</name><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-5795431388529549409.post-2281402954970572542</id><published>2007-11-20T06:59:00.000-08:00</published><updated>2007-11-20T07:29:45.794-08:00</updated><title type='text'>Minimal Installation of Ubuntu</title><content type='html'>I like ubuntu because the best part of it is the availability of applications on the main, universe and multiverse repos and the ease at which you can install them. Also applications just work!! in Ubuntu.&lt;br /&gt;&lt;br /&gt;But since i own a P3 700mHz PC, a whole gnome desktop or kde desktop would cripple the system unable to run eclipse(my fav ide) and other dev stuffs.&lt;br /&gt;&lt;br /&gt;For this i use &lt;span style="font-weight: bold;"&gt;Openbox+fbpanel&lt;/span&gt;, which makes a great combination.&lt;br /&gt;I also install Ubuntu the commandline way, which gives me very much flexibility withouth the whole ubuntu default packages.&lt;br /&gt;&lt;br /&gt;Here is how i do it usually&lt;br /&gt;&lt;br /&gt;a) put the DVD version of the kubuntu and boot from it.&lt;br /&gt;b) select install a command line system&lt;br /&gt;c) go on with the installer until we have a good commandline system working.&lt;br /&gt;d) now its time to pull up custom picked packages from the dvd. The following packages should be enough to have xserver working&lt;br /&gt;1) sudo apt-cdrom add&lt;br /&gt;This will add ur dvd to apt&lt;br /&gt;2) sudo aptitude install kdm&lt;br /&gt;3) sudo aptitude install ttf-indic language-pack-ne firefox xorg upsplash kwin konqueror kdecore kubuntu-default-settings kubuntu-artwork-usplash amarok pidgin kaffeine libxine1-ffmpeg sun-java krusader msttcorefonts gnome-icon-theme k3b kpdf gwenview openbox openbox-themes fbpanel kde-systemsettings kmix kate&lt;br /&gt;&lt;br /&gt;Will take some time to install, i wonder if ur video card driver is installed, should be install, paitience&lt;br /&gt;&lt;br /&gt;kdm should load fine and u can select openbox as ur default session.&lt;br /&gt;&lt;br /&gt;initally u will only see a blank screen possibly with kubuntu wallpaper, right click and u will see openbox menu. No to integrate fbpanel into it, we will write 2 linex in openbox config&lt;br /&gt;&lt;br /&gt;4) Right click and exit, load a session in kde and check ur home&lt;br /&gt;bibek@monster:~$ cd ~/.config/openbox/&lt;br /&gt;&lt;br /&gt;5) if there is a file called autostart.sh modify it else create it&lt;br /&gt;bibek@monster:~$ kate ~/.config/openbox/autostart.sh&lt;br /&gt;inside autostart.sh, i have these 2 lines&lt;br /&gt;&lt;br /&gt;(sleep 2 &amp;amp;&amp;amp; fbpanel) &amp;amp;&lt;br /&gt;(sleep 2 &amp;amp;&amp;amp; kmix) &amp;amp;&lt;br /&gt;&lt;br /&gt;Save and exit&lt;br /&gt;this will run fbpanel and kmix after ur openbox, logout of ur kde session and log in in openbox session, there should be fbpanel and kmix both.&lt;br /&gt;&lt;br /&gt;To make ur work even easier, u can define openbox short cuts as i've defined them,&lt;br /&gt;Inside /home/username/.config/openbox u should see a rc.xml file which has configurations for openbox. Open the file for editing and search for&lt;br /&gt;Now before  paste the following code. Read the code the understand what they will do, makes my day to day life much easier.&lt;br /&gt;&lt;br /&gt;&lt;!-- custom shortcuts --&gt;&amp;lt;!-- custom shortcuts --&amp;gt;&lt;br /&gt;    &amp;lt;keybind key="W-F12"&amp;gt;&lt;br /&gt;      &amp;lt;action name="Execute"&amp;gt;&lt;br /&gt;        &amp;lt;execute&amp;gt;firefox&amp;lt;/execute&amp;gt;&lt;br /&gt;      &amp;lt;/action&amp;gt;&lt;br /&gt;    &amp;lt;/keybind&amp;gt;&lt;br /&gt;    &amp;lt;keybind key="W-F11"&amp;gt;&lt;br /&gt;      &amp;lt;action name="Execute"&amp;gt;&lt;br /&gt;        &amp;lt;execute&amp;gt;xterm&amp;lt;/execute&amp;gt;&lt;br /&gt;      &amp;lt;/action&amp;gt;&lt;br /&gt;    &amp;lt;/keybind&amp;gt;&lt;br /&gt;    &amp;lt;keybind key="W-F10"&amp;gt;&lt;br /&gt;      &amp;lt;action name="Execute"&amp;gt;&lt;br /&gt;        &amp;lt;execute&amp;gt;pidgin&amp;lt;/execute&amp;gt;&lt;br /&gt;      &amp;lt;/action&amp;gt;&lt;br /&gt;    &amp;lt;/keybind&amp;gt;&lt;br /&gt;    &amp;lt;keybind key="W-F9"&amp;gt;&lt;br /&gt;      &amp;lt;action name="Execute"&amp;gt;&lt;br /&gt;        &amp;lt;execute&amp;gt;/home/bibek/bin/eclipse/eclipse&amp;lt;/execute&amp;gt;&lt;br /&gt;      &amp;lt;/action&amp;gt;&lt;br /&gt;    &amp;lt;/keybind&amp;gt;&lt;br /&gt;    &amp;lt;keybind key="W-F8"&amp;gt;&lt;br /&gt;      &amp;lt;action name="Execute"&amp;gt;&lt;br /&gt;        &amp;lt;execute&amp;gt;krusader&amp;lt;/execute&amp;gt;&lt;br /&gt;      &amp;lt;/action&amp;gt;&lt;br /&gt;    &amp;lt;/keybind&amp;gt;&lt;br /&gt;    &amp;lt;keybind key="W-F7"&amp;gt;&lt;br /&gt;      &amp;lt;action name="Execute"&amp;gt;&lt;br /&gt;        &amp;lt;execute&amp;gt;amarok&amp;lt;/execute&amp;gt;&lt;br /&gt;      &amp;lt;/action&amp;gt;&lt;br /&gt;    &amp;lt;/keybind&amp;gt;&lt;br /&gt;    &amp;lt;keybind key="W-F6"&amp;gt;&lt;br /&gt;      &amp;lt;action name="Execute"&amp;gt;&lt;br /&gt;        &amp;lt;execute&amp;gt;kaffeine&amp;lt;/execute&amp;gt;&lt;br /&gt;      &amp;lt;/action&amp;gt;&lt;br /&gt;    &amp;lt;/keybind&amp;gt;&lt;br /&gt;    &amp;lt;!-- end of custom shortcuts --&amp;gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-2281402954970572542?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/2281402954970572542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=2281402954970572542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/2281402954970572542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/2281402954970572542'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2007/11/minimal-installation-of-ubuntu.html' title='Minimal Installation of Ubuntu'/><author><name>techblogger</name><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-5795431388529549409.post-4757244266489206013</id><published>2007-11-20T06:36:00.000-08:00</published><updated>2007-11-23T06:09:10.397-08:00</updated><title type='text'>HOWTO Install Counter Strike Source in Linux</title><content type='html'>This post is to help you install counter strike (cracked one which we get in copied cds) in linux. It will also serve as a reference for me for later installations.&lt;br /&gt;&lt;br /&gt;I have installed ubuntu gusty gibbon and the wine package that comes with it. &lt;span style="font-weight: bold;"&gt;do not install the new package from wine's dev repo&lt;/span&gt; coz that wasted my 2hrs of debugging time.&lt;br /&gt;&lt;br /&gt;Steps&lt;br /&gt;a) install wine in linux&lt;br /&gt;bibek@monster:~$ sudo aptitude install wine&lt;br /&gt;&lt;br /&gt;b) create urself a wine folder&lt;br /&gt;bibek@monster:~$ winecfg&lt;br /&gt;&lt;br /&gt;this will openup a configuration window. Close it up and everything should be alright&lt;br /&gt;&lt;br /&gt;c) Install cs bu runnig the installer&lt;br /&gt;bibek@monster:~$ cd cs&lt;br /&gt;bibek@monster:~/cs$ wine setup.exe&lt;br /&gt;&lt;br /&gt;After the installation is finished, we need to install gecko, which is required by cs to run&lt;br /&gt;&lt;br /&gt;d) Run this in command line and it will download the gecko for wine,&lt;br /&gt;bibek@monster:~/cs$ wine iexplore http://www.google.com&lt;br /&gt;&lt;br /&gt;When u do this for the first time, it will download the gecko engine, after installations u should see google.com, next time u do this, i till directly load www.google.com&lt;br /&gt;Gecko is used to load HTML components through wine, google on it 4 more info&lt;br /&gt;&lt;br /&gt;e) We also need the mfc42.dll file from windows installation,&lt;br /&gt;bibek@monster:~/cs$ cp /media/sda1/windows/system32/mfc42.dll /home/bibek/.wine/drive_c/windows/system32/&lt;br /&gt;&lt;br /&gt;f) Finally we need the tahoma font, copy tahoma.ttf from windowsdrive\windows\fonts\tahoma.ttf to /home/usernamehere/.wine/drive_c/windows/fonts/tahoma.ttf&lt;br /&gt;bibek@monster:~/cs$ cp /media/sda1/windows/Fonts/tahoma.ttf /home/bibek/.wine/drive_c/windows/fonts/&lt;br /&gt;&lt;br /&gt;g) reboot wine&lt;br /&gt;bibek@monster:~/cs$ wineboot&lt;br /&gt;&lt;br /&gt;h) now we're ready to run cs&lt;br /&gt;bibek@monster:~/cs$ cd ~/.wine/drive_c/Program\ Files/Valve/Counter\ Strike\ Source\ Final/&lt;br /&gt;bibek@monster:~/.wine/drive_c/Program Files/Valve/Counter Strike Source Final$  wine hl2.exe -steam -console -game cstrike&lt;br /&gt;&lt;br /&gt;And ur game should run without any problems.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NOTE&lt;br /&gt;&lt;/span&gt;Running hl2.exe directly through wine will give error so make sure to pass the additional arguements as mentioned above in step g)&lt;br /&gt;Following error is given&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Unable to get IFileSystem interface from filesystem factory&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Bugs please put in comments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5795431388529549409-4757244266489206013?l=hamrotechtips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamrotechtips.blogspot.com/feeds/4757244266489206013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5795431388529549409&amp;postID=4757244266489206013' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4757244266489206013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5795431388529549409/posts/default/4757244266489206013'/><link rel='alternate' type='text/html' href='http://hamrotechtips.blogspot.com/2007/11/howto-install-counter-strike-source-in.html' title='HOWTO Install Counter Strike Source in Linux'/><author><name>techblogger</name><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></feed>
