<?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:blogger='http://schemas.google.com/blogger/2008' 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-7766636040337322363</id><updated>2026-10-18T15:40:17.758-07:00</updated><category term="BOSS GNU/Linux"/><category term="cartoon"/><category term="debian"/><category term="linux"/><category term="drawing"/><category term="command"/><category term="cartoons"/><category term="drawings"/><category term="ubuntu"/><category term="how to"/><category term="package"/><category term="browser"/><category term="install"/><category term="grep"/><category term="india"/><category term="apt-get"/><category term="debian derived linux"/><category term="dpkg"/><category term="how"/><category term="settings"/><category term="tamil"/><category term="android"/><category term="boss"/><category term="driver"/><category term="repository"/><category term="synaptic"/><category term="2012"/><category term="apache2"/><category term="arvind kejriwal"/><category term="configure"/><category term="fun"/><category term="funny"/><category term="google-chrome"/><category term="howto"/><category term="net"/><category term="news"/><category term="printer"/><category term="sachin"/><category term="terminal"/><category term="thamizh"/><category term="twitter"/><category term="2014 lok sabha elections"/><category term="AAP"/><category term="BJP"/><category term="Facebook"/><category term="Freesans"/><category term="Freeserif"/><category term="GUI"/><category term="INR"/><category term="NaMo"/><category term="RBI"/><category term="Raghuram Rajan"/><category term="SR tendulkar"/><category term="USD"/><category term="account"/><category term="add"/><category term="application"/><category term="cat"/><category term="chat"/><category term="computer science"/><category term="computer science and applications"/><category term="cs"/><category term="date"/><category term="deb"/><category term="desktop"/><category term="distro"/><category term="dollar"/><category term="download"/><category term="email"/><category term="enable"/><category term="extensions"/><category term="files"/><category term="find"/><category term="font rendering problem"/><category term="gmail"/><category term="google"/><category term="gtk3"/><category term="icedove"/><category term="ifconfig"/><category term="import"/><category term="irc"/><category term="isro"/><category term="libreoffice"/><category term="log"/><category term="ls"/><category term="lshw"/><category term="lspci"/><category term="migration"/><category term="mount"/><category term="nickname"/><category term="not working"/><category term="odoo"/><category term="pattern"/><category term="pm"/><category term="prime minister"/><category term="question"/><category term="rupee"/><category term="session"/><category term="smart phone"/><category term="tableizer"/><category term="tendulkar"/><category term="ugc"/><category term="ugc-net"/><category term="upgrade"/><category term="version"/><category term="virtualbox"/><category term="windows"/><category term=".crx"/><category term=".ps"/><category term="2013"/><category term="5 state elections"/><category term="9.4"/><category term="Abbreivations"/><category term="Acronyms"/><category term="Bharat Ratna"/><category term="Brother"/><category term="C.N.R. Rao"/><category term="CD/DVD"/><category term="Chess"/><category term="Compiz"/><category term="Congress"/><category term="Digikam"/><category term="Dsubbarao"/><category term="EC"/><category term="EduBOSS"/><category term="Education"/><category term="Election commission"/><category term="GNU Linux"/><category term="GQview"/><category term="HL-2040"/><category term="Intenet"/><category term="International cricket"/><category term="Lingo"/><category term="LokPal"/><category term="PPD"/><category term="RTI"/><category term="RaGa"/><category term="Research"/><category term="Right To Information"/><category term="Science"/><category term="TCP"/><category term="Tamilnadu Government"/><category term="Team India"/><category term="UDP"/><category term="UPA"/><category term="VLC"/><category term="WHO"/><category term="aamirkhan"/><category term="add-on"/><category term="add-ons"/><category term="address"/><category term="adobe"/><category term="age conflict"/><category term="aldiko"/><category term="alsactl"/><category term="analogy"/><category term="andhra pradesh"/><category term="anna hazare"/><category term="anokha"/><category term="anoop"/><category term="application."/><category term="applications"/><category term="apt"/><category term="apt-cdrom"/><category term="apt-xapian-index"/><category term="archive"/><category term="arrahman"/><category term="atom"/><category term="attach"/><category term="attachment"/><category term="australia"/><category term="auto"/><category term="automobile"/><category term="backup"/><category term="bind"/><category term="bitmap font"/><category term="block"/><category term="blog"/><category term="blogger"/><category term="blogspot"/><category term="bootup"/><category term="border"/><category term="broadcom"/><category term="browsing session"/><category term="budget"/><category term="build"/><category term="c"/><category term="calc"/><category term="celebrity"/><category term="changelog"/><category term="chatter"/><category term="chogm"/><category term="chroot"/><category term="coal allocation"/><category term="code of conduct"/><category term="codec"/><category term="colab"/><category term="color picker"/><category term="common man"/><category term="common wealth"/><category term="compiler"/><category term="compose key"/><category term="conf"/><category term="control"/><category term="copyright"/><category term="court"/><category term="create"/><category term="cricket"/><category term="cron"/><category term="crontab"/><category term="cryogenic"/><category term="csv"/><category term="current line"/><category term="cut"/><category term="data"/><category term="database"/><category term="database management system"/><category term="dbms"/><category term="debmirror"/><category term="delhi"/><category term="delicious online bookmark yahoo backup"/><category term="detach"/><category term="details"/><category term="dharna"/><category term="disable"/><category term="display"/><category term="dist-upgrade"/><category term="djang-mathfilters"/><category term="django"/><category term="dot-matrix"/><category term="dpkg-scanpackages"/><category term="drive"/><category term="duplicate"/><category term="edit"/><category term="election"/><category term="empty line"/><category term="english"/><category term="epson"/><category term="epub"/><category term="etc"/><category term="exe file"/><category term="exemption"/><category term="expiration"/><category term="external"/><category term="fatal error"/><category term="fedora"/><category term="feedly"/><category term="file"/><category term="file name"/><category term="filesystem"/><category term="final"/><category term="find packge name"/><category term="firmware"/><category term="flash"/><category term="fodder"/><category term="font"/><category term="food security bill"/><category term="forum"/><category term="free"/><category term="freenode"/><category term="friend"/><category term="fully qualified domain name"/><category term="gdebi"/><category term="gdm"/><category term="gesture search"/><category term="ghost"/><category term="gimp"/><category term="gnome-codec-install"/><category term="god of cricket"/><category term="google chrome"/><category term="google reader"/><category term="google translate"/><category term="governor"/><category term="gpick"/><category term="greader"/><category term="green"/><category term="green robot"/><category term="grsecurity"/><category term="grub"/><category term="grub-install"/><category term="gslv"/><category term="gtk.h"/><category term="hardware"/><category term="head"/><category term="headers"/><category term="helmet"/><category term="hotkeys"/><category term="http"/><category term="https"/><category term="icc"/><category term="identity theft"/><category term="image"/><category term="images"/><category term="imdb"/><category term="implementation"/><category term="ind vs aus"/><category term="indian cricket"/><category term="indian cricket team"/><category term="indigenous"/><category term="inode"/><category term="insert"/><category term="installation"/><category term="installed files"/><category term="intel"/><category term="interface"/><category term="intranet"/><category term="ipl"/><category term="jargon"/><category term="keyboard"/><category term="kidding"/><category term="know"/><category term="lalu"/><category term="language"/><category term="latest"/><category term="layout"/><category term="linuxmint"/><category term="live"/><category term="live install"/><category term="local repository"/><category term="lock"/><category term="login"/><category term="lsmod"/><category term="lsusb"/><category term="mailing list"/><category term="malicious"/><category term="man"/><category term="mangalyan"/><category term="map"/><category term="mars"/><category term="match"/><category term="matching"/><category term="math"/><category term="media player"/><category term="meiyappan"/><category term="micro-httpd"/><category term="microsoft"/><category term="migrate"/><category term="missing plug-in"/><category term="mobile"/><category term="mobile phone"/><category term="modi"/><category term="modification"/><category term="mongodb"/><category term="most spoken"/><category term="mouse"/><category term="mozplugger"/><category term="ms office"/><category term="multimedia"/><category term="multimedia player"/><category term="multiple"/><category term="must have"/><category term="mv"/><category term="n lines"/><category term="narendra modi"/><category term="netizen"/><category term="network"/><category term="new username"/><category term="new year"/><category term="nick"/><category term="nickname already in use"/><category term="nm-applet"/><category term="no sound"/><category term="nokia"/><category term="not opening"/><category term="onion"/><category term="online"/><category term="openoffice"/><category term="opera mini"/><category term="package manager"/><category term="packages"/><category term="paper I"/><category term="paper II"/><category term="partition"/><category term="party"/><category term="patching"/><category term="pattern match"/><category term="pdf"/><category term="petrol"/><category term="pip"/><category term="play"/><category term="player"/><category term="plugins"/><category term="polio"/><category term="political"/><category term="postgresql"/><category term="preferences"/><category term="preprocessor"/><category term="print"/><category term="privacy"/><category term="problem"/><category term="program"/><category term="ps"/><category term="pygtk"/><category term="python"/><category term="python3"/><category term="quick search"/><category term="qwerty"/><category term="rahul gandhi"/><category term="rdbms"/><category term="read"/><category term="recovery"/><category term="regional language"/><category term="register"/><category term="registered"/><category term="remote"/><category term="remove"/><category term="remove character"/><category term="rendering"/><category term="request"/><category term="resolution"/><category term="restore"/><category term="retirement"/><category term="robot"/><category term="root"/><category term="rss"/><category term="rss reader"/><category term="rsyslog"/><category term="sachin ramesh tendulkar"/><category term="samsung"/><category term="sans-serif"/><category term="scam"/><category term="scim"/><category term="scirpt"/><category term="script"/><category term="script-fu"/><category term="scripting"/><category term="scx-4521-NS"/><category term="sed"/><category term="selinux"/><category term="sensex"/><category term="serial"/><category term="server"/><category term="servername"/><category term="services"/><category term="servicetax"/><category term="shell"/><category term="shrink"/><category term="signature"/><category term="signin"/><category term="skype"/><category term="slang"/><category term="smartphone"/><category term="songs"/><category term="sound card"/><category term="source"/><category term="sources.list"/><category term="space"/><category term="speak"/><category term="splash image"/><category term="spreed sheet"/><category term="sqlite"/><category term="srilanka"/><category term="srinivasan"/><category term="ssh"/><category term="sshd_config"/><category term="startup"/><category term="startx"/><category term="string"/><category term="suse"/><category term="symbol"/><category term="synaptic manager"/><category term="syslog"/><category term="table"/><category term="tableize"/><category term="tail"/><category term="takeout"/><category term="tamil blog"/><category term="tamil webpage"/><category term="tamilnadu"/><category term="telungana"/><category term="template"/><category term="test match"/><category term="thetwitcleaner"/><category term="touch pad"/><category term="tr"/><category term="trademark"/><category term="tvs"/><category term="twitter cleaner"/><category term="unetbootin"/><category term="uninstall"/><category term="uninstalled"/><category term="update-grub"/><category term="upload"/><category term="usb installation"/><category term="user"/><category term="username change"/><category term="utter pradesh"/><category term="vanilla kernel"/><category term="vapt"/><category term="varanasi"/><category term="verdict"/><category term="verified account"/><category term="victory"/><category term="video"/><category term="viswanathan anand"/><category term="voicemessage"/><category term="warning"/><category term="web"/><category term="webserver"/><category term="website"/><category term="wifi"/><category term="wiki"/><category term="wikipedia"/><category term="window manager"/><category term="wireless"/><category term="wordpress"/><category term="world chess championship"/><category term="wrestling"/><category term="xchat"/><category term="yahoo mail"/><category term="yahoomail"/><category term="youtube"/><title type='text'>My experience with OpenSource &amp;amp; My Hobbies</title><subtitle type='html'>A Blog for technical Linux, shell, php, mysql, python, OpenSource | Career | Books | Movies</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>126</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-7291008318074525481</id><published>2021-11-23T04:00:00.002-08:00</published><updated>2021-11-23T04:00:31.086-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="attachment"/><category scheme="http://www.blogger.com/atom/ns#" term="chatter"/><category scheme="http://www.blogger.com/atom/ns#" term="disable"/><category scheme="http://www.blogger.com/atom/ns#" term="malicious"/><category scheme="http://www.blogger.com/atom/ns#" term="odoo"/><category scheme="http://www.blogger.com/atom/ns#" term="upload"/><category scheme="http://www.blogger.com/atom/ns#" term="vapt"/><title type='text'>How to disable attachments in chatter module of odoo?</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;br /&gt;The reason to disable attachment may be anything like&lt;br /&gt;&amp;nbsp;1. There is no actual need from client for attachment&lt;br /&gt;&amp;nbsp;2. Server Space constraint/restriction&lt;br /&gt;&amp;nbsp;3. Avoiding malicious file upload (security reson -&amp;nbsp; VAPT observation) etc.,&lt;br /&gt;&lt;br /&gt;To remove add attachment option from chatter module&lt;br /&gt;File : /&amp;lt;your_path_to_odoo&amp;gt;/addons/portal/static/src/xml/portal_chatter.xml&lt;br /&gt;Comment the following line: (In odoo14 - to be precise at line no - 55 )&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;button class=&quot;o_portal_chatter_attachment_btn btn btn-secondary&quot; type=&quot;button&quot; title=&quot;Add attachment&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;i class=&quot;fa fa-paperclip&quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/button&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &amp;lt;button class=&quot;o_portal_chatter_attachment_btn btn btn-secondary&quot; type=&quot;button&quot; title=&quot;Add attachment&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;i class=&quot;fa fa-paperclip&quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/button&amp;gt; --&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;For your reference and perusal screenshots before and after the code block comment.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg__hDJwxO_F3_pvU1zGYGrNjdaXFt1bEQeP8j5EgZuaOsqP3tJ3k3D-KjYCKzZcLv9uMlXl9TKVOgR6bl3enoYgHlSMV-Pt4tsNZ8SyOPOrP8LlUVRLQhxm6fFPrRONNg-Xf52MLUaIl8/s1352/b4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;odoo chatter before comment&quot; border=&quot;0&quot; data-original-height=&quot;317&quot; data-original-width=&quot;1352&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg__hDJwxO_F3_pvU1zGYGrNjdaXFt1bEQeP8j5EgZuaOsqP3tJ3k3D-KjYCKzZcLv9uMlXl9TKVOgR6bl3enoYgHlSMV-Pt4tsNZ8SyOPOrP8LlUVRLQhxm6fFPrRONNg-Xf52MLUaIl8/w640-h150/b4.png&quot; title=&quot;Before commenting attachment code block&quot; width=&quot;640&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Before commenting attachment code block&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgxySgZECd0bKs_sMx9xD0eY6GyGWaA34tv41NUVUg9kIFAN8DMnZmohE13zKluFOMWrXg6FvH40C9StgP8XR1ISTt1FFmF424aPp0ROf0Y1PEXN1I9p3fSqZPqPbF5XRM-6RyDsyhl10/s1349/after.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Odoo image after commenting code&quot; border=&quot;0&quot; data-original-height=&quot;335&quot; data-original-width=&quot;1349&quot; height=&quot;158&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgxySgZECd0bKs_sMx9xD0eY6GyGWaA34tv41NUVUg9kIFAN8DMnZmohE13zKluFOMWrXg6FvH40C9StgP8XR1ISTt1FFmF424aPp0ROf0Y1PEXN1I9p3fSqZPqPbF5XRM-6RyDsyhl10/w640-h158/after.png&quot; title=&quot;chatter module after attachment comment&quot; width=&quot;640&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;chatter module after attachment comment &lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&amp;nbsp;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/7291008318074525481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/7291008318074525481' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/7291008318074525481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/7291008318074525481'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2021/11/how-to-disable-attachments-in-chatter.html' title='How to disable attachments in chatter module of odoo?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg__hDJwxO_F3_pvU1zGYGrNjdaXFt1bEQeP8j5EgZuaOsqP3tJ3k3D-KjYCKzZcLv9uMlXl9TKVOgR6bl3enoYgHlSMV-Pt4tsNZ8SyOPOrP8LlUVRLQhxm6fFPrRONNg-Xf52MLUaIl8/s72-w640-h150-c/b4.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-9040531971408699211</id><published>2021-11-17T23:50:00.000-08:00</published><updated>2021-11-17T23:50:03.374-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="auto"/><category scheme="http://www.blogger.com/atom/ns#" term="expiration"/><category scheme="http://www.blogger.com/atom/ns#" term="implementation"/><category scheme="http://www.blogger.com/atom/ns#" term="odoo"/><category scheme="http://www.blogger.com/atom/ns#" term="python3"/><category scheme="http://www.blogger.com/atom/ns#" term="session"/><title type='text'> Modify/Implement session expiration in odoo (version - 14)</title><content type='html'>&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;The internet deployments of odoo is vulnarable in terms of auto session expiration.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;It is indeed the auto session expiration is implemented in odoo(version-14).&amp;nbsp; But, the session expiration will&amp;nbsp; happen if and only if the inactivity is 7 days (A full week - 60*68*24*7) long.&amp;nbsp; Which is realllly a huge time to auto &lt;br /&gt;&amp;nbsp;expire a session. The following code is responsible for auto session expiration.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;b&gt;File -&amp;gt; /&amp;lt;your_path_to_odoo_source&amp;gt;/odoo-14/odoo/http.py &lt;/b&gt;&lt;br /&gt;&amp;nbsp;Search for &lt;b&gt;&quot;def session_gc&quot;&lt;/b&gt; - (to be precise line number 1164 of odoo-14 version)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;def session_gc(session_store):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if random.random() &amp;lt; 0.001:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # we keep session one week&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #660000;&quot;&gt;#last_week = time.time() - 60*60*24*7 #- old code with 1 week implementation&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #38761d;&quot;&gt;last_10min = time.time() - 60*10 #- new code with 10 min implementation&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for fname in os.listdir(session_store.path):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path = os.path.join(session_store.path, fname)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #660000;&quot;&gt;#if os.path.getmtime(path) &amp;lt; last_week: &lt;/span&gt;&lt;span style=&quot;color: #660000;&quot;&gt;#- old code with 1 week implementation&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #38761d;&quot;&gt;if os.path.getmtime(path) &amp;lt; last_10min: &lt;/span&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;#- new code with 10 min implementation&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; os.unlink(path)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except OSError:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pass&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The above code changed from the actual implementation of 7 days to new implementation of 10 minutes auto session expiry.&lt;/p&gt;&lt;p&gt;Now, restart the odoo for changes to get effect (python3 odoo-bin -c /&amp;lt;your_odoo_odoo-14_path/debian/odoo.conf). &lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/9040531971408699211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/9040531971408699211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/9040531971408699211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/9040531971408699211'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2021/11/modifyimplement-session-expiration-in.html' title=' Modify/Implement session expiration in odoo (version - 14)'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-6162638248701441658</id><published>2021-11-12T03:53:00.000-08:00</published><updated>2021-11-12T03:53:05.156-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache2"/><category scheme="http://www.blogger.com/atom/ns#" term="conf"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="http"/><category scheme="http://www.blogger.com/atom/ns#" term="https"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'> How to redirect http requests to https?</title><content type='html'>&lt;p&gt;&lt;br /&gt;Add the following lines to the /etc/apache2/sites-enabled/000-default.conf file in side &amp;lt;VirtualHost *:80&amp;gt; &amp;lt;/VirtualHost&amp;gt; block (In debian based linux)&lt;br /&gt;&lt;br /&gt;RewriteEngine On&lt;br /&gt;RewriteCond %{HTTPS} !on&lt;br /&gt;RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/6162638248701441658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/6162638248701441658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6162638248701441658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6162638248701441658'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2021/11/how-to-redirect-http-requests-to-https.html' title=' How to redirect http requests to https?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-6875995661975262393</id><published>2021-08-24T05:49:00.002-07:00</published><updated>2021-08-24T05:49:23.408-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="attach"/><category scheme="http://www.blogger.com/atom/ns#" term="colab"/><category scheme="http://www.blogger.com/atom/ns#" term="detach"/><category scheme="http://www.blogger.com/atom/ns#" term="drive"/><category scheme="http://www.blogger.com/atom/ns#" term="files"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><title type='text'>How to attach and detach your drive files to google colab?</title><content type='html'>&lt;p&gt;To attach execute the following&lt;/p&gt;&lt;pre&gt;&lt;code&gt;from google.colab import drive&lt;br /&gt;drive.mount(&#39;/content/drive&#39;)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;p&gt;To Detach execute the following,&lt;/p&gt;&lt;pre&gt;&lt;code&gt;from google.colab import drive
drive.flush_and_unmount()&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/6875995661975262393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/6875995661975262393' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6875995661975262393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6875995661975262393'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2021/08/how-to-attach-and-detach-your-drive.html' title='How to attach and detach your drive files to google colab?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-6335735598828642886</id><published>2019-03-12T05:36:00.002-07:00</published><updated>2019-03-12T05:36:47.826-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Brother"/><category scheme="http://www.blogger.com/atom/ns#" term="driver"/><category scheme="http://www.blogger.com/atom/ns#" term="HL-2040"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="PPD"/><category scheme="http://www.blogger.com/atom/ns#" term="printer"/><title type='text'>How to make Brother HL 2040 printer working under Linux?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;Go to this link -&amp;gt; &lt;a href=&quot;https://www.openprinting.org/printer/Brother/Brother-HL-2040&quot;&gt;https://www.openprinting.org/printer/Brother/Brother-HL-2040&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click on the link &quot;directly download PPD&quot; which is underlined in green colour&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLgbbtOWo9HPR14D2xGhaIIFRh9XVsbuNEXN25LfjQp6EySI_UDwclMpRab39E_b6nDoqZ_F1-EtMvC11Jj0vyem_IkDPg_F8aTt6Daf7mT58QLL7wyZHuzN3rPpMaOXmHEUwuo7edOUs/s1600/Brother-HL-2040.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1003&quot; height=&quot;489&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLgbbtOWo9HPR14D2xGhaIIFRh9XVsbuNEXN25LfjQp6EySI_UDwclMpRab39E_b6nDoqZ_F1-EtMvC11Jj0vyem_IkDPg_F8aTt6Daf7mT58QLL7wyZHuzN3rPpMaOXmHEUwuo7edOUs/s640/Brother-HL-2040.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;PPD for Brother-HL-2040&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;br /&gt;Now in your linux machine (Debian based)&lt;br /&gt;
goto printer settings -&amp;gt; Select the &quot;provide PPD&quot; option -&amp;gt; Browse to the downloaded PPD file and &quot;apply&quot;&lt;br /&gt;&lt;br /&gt;Check with the test print.&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/6335735598828642886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/6335735598828642886' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6335735598828642886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6335735598828642886'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2019/03/how-to-make-brother-hl-2040-printer.html' title='How to make Brother HL 2040 printer working under Linux?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLgbbtOWo9HPR14D2xGhaIIFRh9XVsbuNEXN25LfjQp6EySI_UDwclMpRab39E_b6nDoqZ_F1-EtMvC11Jj0vyem_IkDPg_F8aTt6Daf7mT58QLL7wyZHuzN3rPpMaOXmHEUwuo7edOUs/s72-c/Brother-HL-2040.png" height="72" width="72"/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-1924888635162543558</id><published>2019-03-01T02:19:00.001-08:00</published><updated>2019-03-01T02:19:53.022-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="djang-mathfilters"/><category scheme="http://www.blogger.com/atom/ns#" term="django"/><category scheme="http://www.blogger.com/atom/ns#" term="math"/><category scheme="http://www.blogger.com/atom/ns#" term="pip"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><title type='text'>how to do math operations inside Django template?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. Install &quot;django-mathfilters&quot; package using pip&lt;br /&gt;&amp;nbsp;&amp;nbsp; pip install django-mathfilters&lt;br /&gt;&lt;br /&gt;2. Open settings.py file of your Django project and add&amp;nbsp; &#39;mathfilters&#39; in INSTALLED_APPS section.&lt;br /&gt;&amp;nbsp;&amp;nbsp; After this your settings.py file&#39;s INSTALLED_APPS section will look as follows&lt;br /&gt;&amp;nbsp;&amp;nbsp; INSTALLED_APPS = [&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;django.contrib.admin&#39;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;django.contrib.auth&#39;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;django.contrib.contenttypes&#39;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;django.contrib.sessions&#39;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;django.contrib.messages&#39;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;mathfilters&#39;,&lt;br /&gt;&amp;nbsp;&amp;nbsp; ]&lt;br /&gt;&lt;br /&gt;3. Now you can do the basic math operations like add, sub, mul, div etc., like as follows&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;add - {{ 8|add:4 }}&lt;br /&gt;&amp;nbsp; &amp;nbsp; mul - {{ your_var|mul:2 }}&lt;br /&gt;
&lt;br /&gt;For more details please refer -&amp;gt; &lt;a href=&quot;https://pypi.org/project/django-mathfilters/&quot;&gt;https://pypi.org/project/django-mathfilters/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/1924888635162543558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/1924888635162543558' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1924888635162543558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1924888635162543558'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2019/03/how-to-do-math-operations-inside-django.html' title='how to do math operations inside Django template?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-9042462628490935455</id><published>2019-02-28T22:56:00.001-08:00</published><updated>2019-02-28T22:56:33.666-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="csv"/><category scheme="http://www.blogger.com/atom/ns#" term="import"/><category scheme="http://www.blogger.com/atom/ns#" term="mongodb"/><title type='text'>How to import csv data into mongodb?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
How to import large amount of csv data to mongodb&lt;br /&gt;
mongoimport -d &amp;lt;dbname&amp;gt; -c &amp;lt;collection_name&amp;gt; --type csv --file &amp;lt;/path/to/actual/file.csv&amp;gt; --headerline&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blah&amp;gt; - Replace with your respective values&lt;br /&gt;
&lt;br /&gt;
-d &amp;lt;dbname&amp;gt; - Tells to your mongo server into which database you want to import&lt;br /&gt;
-c &amp;lt;collection_name&amp;gt; - Tells to your mongo server in &amp;lt;dbname&amp;gt; into which collection you want to import&lt;br /&gt;
--type csv - Says it is a csv file&lt;br /&gt;
--file &amp;lt;path&amp;gt; - Give full path to your csv file&lt;br /&gt;
--headerline - if given, uses the first line as field names.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/9042462628490935455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/9042462628490935455' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/9042462628490935455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/9042462628490935455'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2019/02/how-to-import-csv-data-into-mongodb.html' title='How to import csv data into mongodb?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-1082227309162680000</id><published>2018-11-12T04:07:00.000-08:00</published><updated>2018-11-12T04:07:53.341-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gtk3"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="import"/><category scheme="http://www.blogger.com/atom/ns#" term="pygtk"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>How to fix &quot;Use gi.require_version(&#39;Gtk&#39;, &#39;3.0&#39;) before import&quot; error</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Error:&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijo97aStDYGbboO72fnUrzI8tqu5M9zV9igtDcM1XwlD_NzIz9SzXrjQREIpPZA7CpUM_ZwHXlzGEeB76uMfnlkknQ-w4Pvq6FiqHfhW_1NI62tPvPrtU-PEBBAl3SRPF70O5I8ljR2-E/s1600/newipa-client.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;94&quot; data-original-width=&quot;726&quot; height=&quot;81&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijo97aStDYGbboO72fnUrzI8tqu5M9zV9igtDcM1XwlD_NzIz9SzXrjQREIpPZA7CpUM_ZwHXlzGEeB76uMfnlkknQ-w4Pvq6FiqHfhW_1NI62tPvPrtU-PEBBAl3SRPF70O5I8ljR2-E/s640/newipa-client.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;gi.require_version error&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;
Replace the line&lt;br /&gt;
&quot;from gi.repository import Gtk&quot;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
&quot;import gi&lt;br /&gt;gi.require_version(&quot;Gtk&quot;, &quot;3.0&quot;)&lt;br /&gt;from gi.repository import Gtk &quot;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/1082227309162680000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/1082227309162680000' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1082227309162680000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1082227309162680000'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2018/11/how-to-fix-use-girequireversiongtk-30.html' title='How to fix &quot;Use gi.require_version(&#39;Gtk&#39;, &#39;3.0&#39;) before import&quot; error'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijo97aStDYGbboO72fnUrzI8tqu5M9zV9igtDcM1XwlD_NzIz9SzXrjQREIpPZA7CpUM_ZwHXlzGEeB76uMfnlkknQ-w4Pvq6FiqHfhW_1NI62tPvPrtU-PEBBAl3SRPF70O5I8ljR2-E/s72-c/newipa-client.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-1680650672451541093</id><published>2017-07-19T04:48:00.002-07:00</published><updated>2017-07-19T04:48:40.230-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="address"/><category scheme="http://www.blogger.com/atom/ns#" term="BOSS GNU/Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="grep"/><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="ifconfig"/><category scheme="http://www.blogger.com/atom/ns#" term="interface"/><category scheme="http://www.blogger.com/atom/ns#" term="lshw"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="serial"/><title type='text'>How to get the serial number of your network device in linux?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
1. &lt;b&gt;sudo lshw -C network | grep -i serial&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt; lshw&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Command used to list the details of all available hardware in a system.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt; -C&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Option used to specify hardware &quot;class&quot;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; network - We asked &quot;lshw&quot; to list only the network devices.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;grep&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp; - Command used to print lines that matches the given pattern&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt; -i&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Option used to ignore case sensitivity&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt; serial&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Pattern used to fetch the lines that contains the word &quot;serial&quot;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$sudo lshw -C network | grep -i serial&lt;br /&gt;[sudo] password for &lt;username&gt;: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serial: 78:f2:9e:f3:88:e7&lt;/username&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
2. &lt;b&gt;/sbin/ifconfig | grep -i hwaddr or sudo ifconfig | grep -i hwaddr&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;ifconfig&lt;/b&gt;-Command used to configure network devices.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;grep&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Command used to print lines that matches the given pattern&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;-i&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Option used to ignore case sensitivity&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;serial&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp; - Pattern used to fetch the lines that contains the word &quot;serial&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$/sbin/ifconfig | grep -i hwaddr&lt;br /&gt;eth0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link encap:Ethernet&amp;nbsp; HWaddr 78:f2:9e:f3:88:e7&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3. &lt;b&gt;GUI Way&lt;/b&gt;&lt;br /&gt;
Applications -&amp;gt; System Tools -&amp;gt; Settings&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You will land in the following screen &lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwxdMx3vR3l21oDW1aEpQ1l-uHhDtUjKSGM3VdbYvw1YGsFLeq5ZuY8DtVZHHtAUbk18WXR91XjINiZHCUjLjHZYsAiX_c8kpc5huDRgPSF0LICE4SupEQ8H4mvG7ByKoTNg8dgj-b1VA/s1600/settings.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;600&quot; data-original-width=&quot;740&quot; height=&quot;259&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwxdMx3vR3l21oDW1aEpQ1l-uHhDtUjKSGM3VdbYvw1YGsFLeq5ZuY8DtVZHHtAUbk18WXR91XjINiZHCUjLjHZYsAiX_c8kpc5huDRgPSF0LICE4SupEQ8H4mvG7ByKoTNg8dgj-b1VA/s320/settings.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Settings panel&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Click on Network the following window will be open&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxbDzNBTdbG7G4f4kWvmUB49p1f_63QuUR2qieysF6FXHe3-3h2MwvbryVjPH7TYfq_MpFosGS9gPLA8ZGx1-8xAdKe5RSvXARdT_4erMa0Ago10rA871PRU0hhXyyMzmcTMDCOfx-pvw/s1600/network-settings.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;347&quot; data-original-width=&quot;740&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxbDzNBTdbG7G4f4kWvmUB49p1f_63QuUR2qieysF6FXHe3-3h2MwvbryVjPH7TYfq_MpFosGS9gPLA8ZGx1-8xAdKe5RSvXARdT_4erMa0Ago10rA871PRU0hhXyyMzmcTMDCOfx-pvw/s320/network-settings.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Network settings panel&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
The green highlighted part is our interest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;itanywhere-activator&quot; style=&quot;display: none; left: 372px; top: 248px;&quot; title=&quot;Google Translator Anywhere&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/1680650672451541093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/1680650672451541093' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1680650672451541093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1680650672451541093'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2017/07/how-to-get-serial-number-of-your.html' title='How to get the serial number of your network device in linux?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwxdMx3vR3l21oDW1aEpQ1l-uHhDtUjKSGM3VdbYvw1YGsFLeq5ZuY8DtVZHHtAUbk18WXR91XjINiZHCUjLjHZYsAiX_c8kpc5huDRgPSF0LICE4SupEQ8H4mvG7ByKoTNg8dgj-b1VA/s72-c/settings.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-6939439241859679476</id><published>2017-05-05T02:40:00.000-07:00</published><updated>2017-05-23T04:44:18.528-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="date"/><category scheme="http://www.blogger.com/atom/ns#" term="empty line"/><category scheme="http://www.blogger.com/atom/ns#" term="matching"/><category scheme="http://www.blogger.com/atom/ns#" term="multiple"/><category scheme="http://www.blogger.com/atom/ns#" term="pattern"/><category scheme="http://www.blogger.com/atom/ns#" term="remove"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><category scheme="http://www.blogger.com/atom/ns#" term="sed"/><category scheme="http://www.blogger.com/atom/ns#" term="space"/><category scheme="http://www.blogger.com/atom/ns#" term="string"/><title type='text'>6 often needed sed scripts for string processing</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. How to remove all empty lines in a file&lt;br /&gt;
&amp;nbsp; sed -e &#39;/^$/d&#39; filename.txt&lt;br /&gt;
&lt;br /&gt;
2. How to remove the leading empty spaces &lt;br /&gt;
&amp;nbsp; (whitespace only) -&amp;gt; sed -e &#39;s/^[ ]*//&#39; /file/path/filename.txt&lt;br /&gt;
&amp;nbsp; (whitespace and tab \t) -&amp;gt; sed -e &#39;s/^[ \t]*//&#39; /file/path/filename.txt&lt;br /&gt;
&lt;br /&gt;
3. How to add some string to starting of all lines of a file&lt;br /&gt;
&amp;nbsp; sed -e &#39;s/^/string-to-add-at-starting/g&#39; /file/path/filename.txt&lt;br /&gt;
&lt;br /&gt;
4. How to add date to starting of all lines&lt;br /&gt;
&amp;nbsp; sed -e &quot;s/^/$(date) /g&quot; /file/path/filename.txt&amp;nbsp; - Note: The Double quotes.&lt;br /&gt;
&amp;nbsp; Before&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; line in a file&lt;br /&gt;
&amp;nbsp; After&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thu May&amp;nbsp; 4 17:31:58 IST 2017 line in a file&lt;br /&gt;
&lt;br /&gt;
5. How to add formatted date to starting of all lines&lt;br /&gt;
&amp;nbsp; sed -e &quot;s/^/$(date &#39;+%m\/%d\/%Y %H:%M:%S&#39;) /g&quot; /file/path/filename.txt&lt;br /&gt;
&amp;nbsp; Example:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Before&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; line in a file&lt;br /&gt;
&amp;nbsp;&amp;nbsp; After&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05/04/2017 17:30:50 line in a file&lt;br /&gt;
&lt;br /&gt;
6. How to do multiple replace at one go&lt;br /&gt;
&amp;nbsp; sed -e &#39;s/string-to-find1/string-to-replace1/g&#39; -e &#39;s/string-to-find2/string-to-replace2/g&#39; /file/path/filename.txt&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Some More scripts:&lt;/b&gt;&lt;br /&gt;
7. How to remove all contents after pattern match&lt;br /&gt;
&amp;nbsp; sed -e &#39;/pattern/,$d&#39; /path-to/file/filename.txt&lt;br /&gt;
&amp;nbsp; For Ex: To remove all contents after first empty line -&amp;gt; sed -e &#39;/^$/,$d&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. How to remove all contents before pattern match&lt;br /&gt;
&amp;nbsp; sed -e &#39;0,/pattern/d&#39; /path-to/file/filename.txt&lt;br /&gt;
&amp;nbsp; For Ex: To remove all contents before first empty line -&amp;gt; sed -e &#39;0,/^$/d&#39; &lt;br /&gt;
&lt;div class=&quot;itanywhere-activator&quot; style=&quot;display: none;&quot; title=&quot;Google Translator Anywhere&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;itanywhere-activator&quot; style=&quot;display: none; left: 421px; top: 168px;&quot; title=&quot;Google Translator Anywhere&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;itanywhere-activator&quot; style=&quot;display: none;&quot; title=&quot;Google Translator Anywhere&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/6939439241859679476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/6939439241859679476' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6939439241859679476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6939439241859679476'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2017/05/6-often-needed-sed-scripts-for-string-processing.html' title='6 often needed sed scripts for string processing'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-1073509123427979210</id><published>2017-05-03T03:15:00.000-07:00</published><updated>2017-05-03T03:15:30.546-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".ps"/><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="man"/><category scheme="http://www.blogger.com/atom/ns#" term="print"/><category scheme="http://www.blogger.com/atom/ns#" term="shell"/><category scheme="http://www.blogger.com/atom/ns#" term="terminal"/><title type='text'>How to create printable version of a man page..?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Most of us are always feel boring to read man pages in terminal window.  what if we have a printable version of a particular command&#39;s manpage.? Nice isn&#39;t it.. so, how we can create a printable version of a manpage...&lt;br /&gt;
&lt;br /&gt;
Step 1:  Issue the following command in terminal&lt;br /&gt;
$man -t &lt;the_command_you_wish&gt; &amp;gt; destination_file_path.ps&lt;br /&gt;&lt;br /&gt;         Ex:$man -t mkdir &amp;gt; ~/Desktop/mkdir_manpage_printableversion.ps&lt;br /&gt;&lt;br /&gt;Now you got a file named &quot; mkdir_manpage_printableversion.ps &quot; in your Desktop :).  you can now print and use it..&lt;br /&gt;&lt;br /&gt;Note: .ps(Postscript) is the default file type used to print.&amp;nbsp; It can be opened with any PDF viewer and can be printed.&lt;/the_command_you_wish&gt;&lt;br /&gt;
&lt;div class=&quot;itanywhere-activator&quot; style=&quot;display: none;&quot; title=&quot;Google Translator Anywhere&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/1073509123427979210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/1073509123427979210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1073509123427979210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1073509123427979210'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2017/05/how-to-create-printable-version-of-a-man-page.html' title='How to create printable version of a man page..?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-577198511298519741</id><published>2017-03-14T02:39:00.001-07:00</published><updated>2017-03-14T02:39:05.010-07:00</updated><title type='text'>How to edit/Modify/Delete Bookmarks in vinagre?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Vinagre bookmarks are stored in the file vinagre-bookmarks.xml file under /home/&lt;username&gt;/.local/share/vinagre directory.&lt;br /&gt;&lt;br /&gt;As all the bookmarks are stored in single line be bit more cautious before editing, otherwise you will endup mess.&lt;br /&gt;(I Recommend to keep a backup of the file before editing)&lt;br /&gt;&lt;br /&gt;All the bookmarks are starts and ends with &lt;item&gt; &amp;amp; &lt;/item&gt; xml node.&amp;nbsp; So as per your wish do edit/modify the Bookmarks.&lt;br /&gt;
&lt;br /&gt;Example entry in vinagre-bookmarks.xml file:
&lt;xmp&gt;
&lt;item&gt;&lt;item&gt;&lt;protocol&gt;vnc&lt;/protocol&gt;&lt;name&gt;Asset-Mgmt-Client-1&lt;/name&gt;
&lt;host&gt;10.184.48.82&lt;/host&gt;&lt;username&gt;&lt;/username&gt;&lt;port&gt;5915&lt;/port&gt;
&lt;fullscreen&gt;0&lt;/fullscreen&gt;&lt;width&gt;800&lt;/width&gt;&lt;height&gt;600&lt;/height&gt;
&lt;view_only&gt;0&lt;/view_only&gt;&lt;scaling&gt;0&lt;/scaling&gt;&lt;keep_ratio&gt;1&lt;/keep_ratio&gt;
&lt;depth_profile&gt;0&lt;/depth_profile&gt;&lt;lossy_encoding&gt;0&lt;/lossy_encoding&gt;&lt;/item&gt;
&lt;/xmp&gt;
&lt;/username&gt;&lt;br /&gt;
&lt;username&gt;&lt;item&gt;&lt;lossy_encoding&gt;&lt;/lossy_encoding&gt;&lt;/item&gt;&lt;/username&gt;&lt;/div&gt;
&lt;div class=&quot;itanywhere-activator&quot; style=&quot;display: none; left: 456px; top: 337px;&quot; title=&quot;Google Translator Anywhere&quot;&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/577198511298519741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/577198511298519741' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/577198511298519741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/577198511298519741'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2017/03/how-to-editmodifydelete-bookmarks-in.html' title='How to edit/Modify/Delete Bookmarks in vinagre?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-579135158449321570</id><published>2017-01-16T21:41:00.000-08:00</published><updated>2017-01-16T21:41:40.959-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache2"/><category scheme="http://www.blogger.com/atom/ns#" term="fully qualified domain name"/><category scheme="http://www.blogger.com/atom/ns#" term="servername"/><category scheme="http://www.blogger.com/atom/ns#" term="warning"/><title type='text'>How to fix/suppress &quot;apache2: Could not reliably determine the server&#39;s fully qualified domain name, using 127.0.1.1.&quot; warning message?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Warning message Before the fix:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&quot;apache2: Could not reliably determine the server&#39;s fully 
qualified domain name, using 127.0.1.1. Set the &#39;ServerName&#39; directive 
globally to suppress this message&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fix:&amp;nbsp; &lt;/b&gt;&lt;br /&gt;
execute the following command in terminal&lt;br /&gt;
&lt;br /&gt;
echo &quot;ServerName localhost&quot; | sudo tee -a /etc/apache2/apache2.conf&lt;br /&gt;
&lt;br /&gt;
Now restart apache server by executing the following command&lt;br /&gt;
&lt;br /&gt;
sudo /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Message after the fix:&lt;/b&gt;&lt;br /&gt;
[ &lt;span style=&quot;color: lime;&quot;&gt;ok&lt;/span&gt; ] Restarting web server: apache2.&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/579135158449321570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/579135158449321570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/579135158449321570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/579135158449321570'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2017/01/how-to-fixsuppress-apache2-could-not-detarmine-server-fqdn-warning-message.html' title='How to fix/suppress &quot;apache2: Could not reliably determine the server&#39;s fully qualified domain name, using 127.0.1.1.&quot; warning message?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-3995149788205127349</id><published>2017-01-09T01:20:00.000-08:00</published><updated>2017-01-09T01:20:24.380-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="headers"/><category scheme="http://www.blogger.com/atom/ns#" term="images"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><title type='text'>How to resolve &quot;no suitable module for running kernel found&quot; error in virtualbox instalation in debian linux?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. Check wheather you machine is installed with 
&quot;linux-headers-&lt;your-kernel-version&gt;, 
linux-image-&lt;your-kernel-version&gt;&quot;&lt;br /&gt;by issueing the follwing command in terminal.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; $dpkg -l | grep linux&lt;br /&gt;&lt;br /&gt;In my case my kernel version is &quot;3.16.0-4-686-pae&quot; so the output of the above command would be something like as follows,&amp;nbsp; &lt;/your-kernel-version&gt;&lt;/your-kernel-version&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5H2WeHwoRn287pEGGsrUO_T1DvPIdSAMyylvi6sBVLFYbGU12msBS0WnHYj7dd6b3IN0P_LT1gLltjZJeM2QvbzLDx3ziB_4ZpvuJv4SeAyt4ItUY8HTU8lvVFVOXDecM_mDreBxyLSs/s1600/linux-headers.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;missing-linux-headers&quot; border=&quot;0&quot; height=&quot;68&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5H2WeHwoRn287pEGGsrUO_T1DvPIdSAMyylvi6sBVLFYbGU12msBS0WnHYj7dd6b3IN0P_LT1gLltjZJeM2QvbzLDx3ziB_4ZpvuJv4SeAyt4ItUY8HTU8lvVFVOXDecM_mDreBxyLSs/s640/linux-headers.png&quot; title=&quot;missing-linux-headers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Missing linux headers package&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
If you don&#39;t find any linux-headers or linux-images then you must install them first.&lt;br /&gt;&lt;br /&gt;2. To find the your kernel version use the following command&lt;br /&gt;&amp;nbsp; $uname -a&lt;br /&gt;&lt;br /&gt;[ My output -&amp;gt; Linux hostname 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) i686 GNU/Linux ]&lt;br /&gt;&lt;br /&gt;now install the required packages specified in step 1.&lt;br /&gt;&lt;br /&gt;3.&amp;nbsp; Uninstall your previous virutalbox package and reinstall it.&lt;br /&gt;&lt;br /&gt;&amp;nbsp; $sudo apt-get remove --purge virtualbox&lt;br /&gt;&amp;nbsp; $sudo apt-get instlal virtualbox&lt;br /&gt;&lt;br /&gt;4.&amp;nbsp; Restart you machine.&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/3995149788205127349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/3995149788205127349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/3995149788205127349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/3995149788205127349'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2017/01/How-to-resolveno-suitable-module-for-running-kernel-founderror-in-virutalbox-instalation-in-debian-linux.html' title='How to resolve &quot;no suitable module for running kernel found&quot; error in virtualbox instalation in debian linux?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5H2WeHwoRn287pEGGsrUO_T1DvPIdSAMyylvi6sBVLFYbGU12msBS0WnHYj7dd6b3IN0P_LT1gLltjZJeM2QvbzLDx3ziB_4ZpvuJv4SeAyt4ItUY8HTU8lvVFVOXDecM_mDreBxyLSs/s72-c/linux-headers.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-4996926989035912609</id><published>2016-10-19T05:39:00.002-07:00</published><updated>2016-10-19T05:39:47.089-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BOSS GNU/Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="cat"/><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="mount"/><category scheme="http://www.blogger.com/atom/ns#" term="partition"/><category scheme="http://www.blogger.com/atom/ns#" term="terminal"/><title type='text'>How to find filesystem type in linux machine?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There are many ways to find the filesystem of a partition in linux (provided the partition mounted)&lt;br /&gt;
Following are the command line tools run these commands as is in terminal.&lt;br /&gt;
&lt;br /&gt;1.&amp;nbsp; cat /etc/fstab&lt;br /&gt;&lt;br /&gt;2.&amp;nbsp; cat /etc/mtab&lt;br /&gt;&lt;br /&gt;3.&amp;nbsp; mount&lt;br /&gt;&lt;br /&gt;4.&amp;nbsp; df -T&lt;br /&gt;
&lt;br /&gt;
Note:&amp;nbsp; You should know the partition number (like /dev/sda2, /dev/sda4 etc.,) or the partition label (Like mypendrive, 8GB_drive etc.,) or the UUID number.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/4996926989035912609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/4996926989035912609' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/4996926989035912609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/4996926989035912609'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2016/10/how-to-find-filesystem-type-in-linux-machine.html' title='How to find filesystem type in linux machine?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-3513112581714403711</id><published>2016-10-18T02:52:00.002-07:00</published><updated>2016-10-18T02:56:52.349-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="BOSS GNU/Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="flash"/><category scheme="http://www.blogger.com/atom/ns#" term="player"/><category scheme="http://www.blogger.com/atom/ns#" term="youtube"/><title type='text'>Youtube videos not working asking for flash plugin | How to install adobe-flash player in (Debian based)Linux?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
1.&amp;nbsp; Download the adobe-flash player from -&amp;gt; &lt;a href=&quot;https://get.adobe.com/flashplayer/&quot;&gt;https://get.adobe.com/flashplayer/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp; Select &quot;.tar.gz for other linux&quot; then click on &quot;Download now&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Note:&amp;nbsp; If you are using debian or rpm based linux then select your option accordingly.&lt;br /&gt;
&lt;br /&gt;
3.&amp;nbsp; Unpack the download file (Right-click on the file and select -&amp;gt; &quot;Extract here&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; (Note:&amp;nbsp; There will be a readme.txt file inside the extracted directory (like install_flash_player_11_linux.i386).&amp;nbsp; This file contains the detailed instructions for installation for all the flavours of Linux.)&lt;br /&gt;
&lt;br /&gt;
4.&amp;nbsp; copy the &quot;libflashplayer.so&quot; file into following directories&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; a. /usr/lib/flashplugin-nonfree/&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; b. /usr/lib/mozilla/plugins/&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; If you have chromium browser then copy the file into &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; c. /usr/lib/chromium/plugins/&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
5.&amp;nbsp;&amp;nbsp;&amp;nbsp; Test the flash plugin -&amp;gt; Close the browsers (if already opened) then start again. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Now, open youtube and check the videos will play like charm.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/3513112581714403711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/3513112581714403711' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/3513112581714403711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/3513112581714403711'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2016/10/youtube-videos-not-working-asking-for-flash-plugin.html' title='Youtube videos not working asking for flash plugin | How to install adobe-flash player in (Debian based)Linux?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-6983137387123027242</id><published>2016-10-05T04:59:00.002-07:00</published><updated>2016-10-05T05:00:17.144-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BOSS GNU/Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="enable"/><category scheme="http://www.blogger.com/atom/ns#" term="root"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="sshd_config"/><title type='text'>How to enable ssh access for root user in Linux (debian based)?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. Edit the /etc/ssh/sshd_config file as sudo(or root) user&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $sudo vim /etc/ssh/sshd_config&lt;br /&gt;
2. Modify the &quot;PermitRootLogin&quot; value as &quot;yes&quot; under &quot;Authenticaton&quot; Section&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; After editing your sshd_config file&#39;s Authentication section will look like&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlASWGPi5PLzZL0_mhjjGP1MnUUfpm7YZNvkLhgt-5Lld1EBFJ91CJY-mIERSFaHMubqbvZaMn5k3pQzgL5v2W12imEgjIxZpT81YRpUds-oB9iieobw3iL7mv2sxzT99oR-aaCIysziw/s1600/PemitRootLogin_yes-sshd_config.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;sshd_config screen shot &amp;quot;PermitRootLogin yes&amp;quot;&quot; border=&quot;0&quot; height=&quot;117&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlASWGPi5PLzZL0_mhjjGP1MnUUfpm7YZNvkLhgt-5Lld1EBFJ91CJY-mIERSFaHMubqbvZaMn5k3pQzgL5v2W12imEgjIxZpT81YRpUds-oB9iieobw3iL7mv2sxzT99oR-aaCIysziw/s400/PemitRootLogin_yes-sshd_config.png&quot; title=&quot;PermitRootLogin yes&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;h3&gt;
&lt;b&gt;PermitRootLogin yes&lt;/b&gt;&lt;/h3&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
3. Save the changes (esc :wq)&lt;br /&gt;
4. Restart the ssh service&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $sudo /etc/init.d/ssh restart&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
5.&amp;nbsp; Now check root login via ssh from a remote machine&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; (From a another/remote machine)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $ssh root@&lt;ip_address&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;Note:&lt;br /&gt;The parameter PermitRootLogin can take any of the following values namely,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes, without-password, forced-commands-only, no&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;PermitRootLogin&lt;br /&gt;&amp;nbsp;&quot;yes&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp; ssh root login allowed&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&quot;without-password&quot; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; = password authentication is disabled for root.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&quot;forced-commands-only&quot; = root login with public key authentication will be allowed, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; but only if the command option has been specified. All&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; other authentication methods are disabled for root.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&quot;no&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; = root is not allowed to log in.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/ip_address&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/6983137387123027242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/6983137387123027242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6983137387123027242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6983137387123027242'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2016/10/how-to-enable-ssh-access-for-root-user.html' title='How to enable ssh access for root user in Linux (debian based)?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlASWGPi5PLzZL0_mhjjGP1MnUUfpm7YZNvkLhgt-5Lld1EBFJ91CJY-mIERSFaHMubqbvZaMn5k3pQzgL5v2W12imEgjIxZpT81YRpUds-oB9iieobw3iL7mv2sxzT99oR-aaCIysziw/s72-c/PemitRootLogin_yes-sshd_config.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-4037395003326247286</id><published>2015-07-08T04:48:00.001-07:00</published><updated>2017-01-16T21:43:49.468-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ghost"/><category scheme="http://www.blogger.com/atom/ns#" term="irc"/><category scheme="http://www.blogger.com/atom/ns#" term="nickname"/><category scheme="http://www.blogger.com/atom/ns#" term="nickname already in use"/><category scheme="http://www.blogger.com/atom/ns#" term="session"/><title type='text'>How to fix &quot;nickname is already in use&quot; error in irc?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;What causes IRC to throw &quot;&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;nickname is already in use&lt;/span&gt;&quot;:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;1.&amp;nbsp; You are not closed your previous session of IRC chat&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) Trying to login with same nickname in another place/application with&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; existing active connection.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;2.&amp;nbsp; You are internet connectivity disconnected &amp;amp; IRC server not released&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; your session.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;&lt;b&gt;How to fix:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;a) /msg nickserv ghost &amp;lt;your_nickname&amp;gt; &amp;lt;password&amp;gt;&lt;your_nickname&gt; &lt;password&gt;&lt;/password&gt;&lt;/your_nickname&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;b) /msg nickserv &lt;/span&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;&amp;lt;your_nickname&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;b) /msg NickServ identify &lt;/span&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;I_got_disconnected.2C_and_now_my_nickname_is_already_in_use._How_can_I_get_it_back.3F&quot;&gt;&amp;lt;password&amp;gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/4037395003326247286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/4037395003326247286' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/4037395003326247286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/4037395003326247286'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2015/07/how-to-fix-nickname-is-already-in-use-error-irc.html' title='How to fix &quot;nickname is already in use&quot; error in irc?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-6639859961351144959</id><published>2015-07-07T03:44:00.000-07:00</published><updated>2015-07-07T03:48:48.556-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="9.4"/><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="migrate"/><category scheme="http://www.blogger.com/atom/ns#" term="migration"/><category scheme="http://www.blogger.com/atom/ns#" term="postgresql"/><category scheme="http://www.blogger.com/atom/ns#" term="upgrade"/><title type='text'>Migrate Postgresql 9.1 to 9.4 in 4 steps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://commons.wikimedia.org/wiki/File%3APostgresql_elephant.svg&quot; style=&quot;margin-left: auto; margin-right: auto;&quot; title=&quot;By Jeff MacDonald (http://pgfoundry.org/docman/?group_id=1000089) [BSD (http://opensource.org/licenses/bsd-license.php)], via Wikimedia Commons&quot;&gt;&lt;img alt=&quot;Postgresql elephant&quot; height=&quot;200&quot; src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Postgresql_elephant.svg/512px-Postgresql_elephant.svg.png&quot; width=&quot;193&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;By&lt;a href=&quot;http://pgfoundry.org/docman/?group_id=1000089&quot; target=&quot;_blank&quot;&gt; Jeff MacDonald&lt;/a&gt; [&lt;a href=&quot;http://opensource.org/licenses/bsd-license.php&quot; target=&quot;_blank&quot;&gt;BSD&lt;/a&gt;], via Wikimedia Commons&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$pg_lsclusters &lt;/b&gt;- Shows the currently running (online/down) postgres DB&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$sudo pg_ctlcluster 9.1 main stop&lt;/b&gt; - Stops the running postgres 9.1 &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$sudo pg_upgradecluster 9.1 main&lt;/b&gt; - Upgrades(migrates) postgres to newer version(upgrade time depends on the amount of data).&lt;br /&gt;
&lt;br /&gt;
Check whether the upgrade went fine and the newer version of postgres works fine by&lt;br /&gt;
&lt;b&gt;$su postgres&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;postgres@xyz:/$ psql&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;psql (9.4.3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-&amp;nbsp; &lt;/b&gt;Now postgresql upgraded to new version&lt;br /&gt;
&lt;b&gt;Type &quot;help&quot; for help.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;postgres=#\l&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; Check all your databases are available or not&lt;br /&gt;
&lt;b&gt;postgres=#\c&lt;/b&gt; &amp;lt;your_database_name&amp;gt;&amp;nbsp; - Connects to your database &lt;br /&gt;
&lt;b&gt;postgres=#select * from &amp;lt;your_table_name&amp;gt;&lt;/b&gt; - Check the content is same.&lt;br /&gt;
&lt;br /&gt;
Optional: &lt;br /&gt;
&lt;b&gt;$sudo pg_dropcluster 9.1 main&amp;nbsp; &lt;/b&gt;-&amp;nbsp; Do this only, If you really want to drop your old postgres cluster.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/6639859961351144959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/6639859961351144959' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6639859961351144959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6639859961351144959'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2015/07/migrate-postgresql-91-to-94-in-4-steps.html' title='Migrate Postgresql 9.1 to 9.4 in 4 steps'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-8269314947096323023</id><published>2015-06-29T07:48:00.000-07:00</published><updated>2015-07-07T04:57:12.619-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="anokha"/><category scheme="http://www.blogger.com/atom/ns#" term="anoop"/><category scheme="http://www.blogger.com/atom/ns#" term="BOSS GNU/Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="debian derived linux"/><category scheme="http://www.blogger.com/atom/ns#" term="dist-upgrade"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="upgrade"/><title type='text'>How to dist-upgrade BOSS GNU/Linux?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I am user of &lt;i&gt;&lt;b&gt;&lt;a href=&quot;http://bosslinux.in/&quot; target=&quot;_blank&quot;&gt;BOSS GNU/Linux&lt;/a&gt; version 5.0(code name: anokha)&lt;/b&gt;&lt;/i&gt; since a few years and i am content with it.&amp;nbsp; It&#39;s been about a year that the next &lt;i&gt;&lt;b&gt;version 6.0 (code name: anoop)&lt;/b&gt;&lt;/i&gt; is out there for public usage, I am bit afraid to upgrade my machine.&amp;nbsp; There are two reasons for my hesitation,&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp; I am completely adapted(/addicted) to BOSS 5.0, and pretty much comfortable with it.&amp;nbsp; I don&#39;t want to lose my comfortableness.&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp; I afraid to dist-upgrade, which many a time leads to -&amp;gt; at minimum inconsistency &amp;amp; at maximum machine crash.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;So, what made me to upgrade my linux box?&lt;/b&gt;&lt;br /&gt;
It&#39;s been about 2 years since my last bug-fix to &lt;a href=&quot;https://www.libreoffice.org/&quot; target=&quot;_blank&quot;&gt;LibreOffice office suite&lt;/a&gt;.&amp;nbsp; And that FOSS contribution itch starts now again.&amp;nbsp; So, I decide to download &amp;amp; compile the source code LibreOffice in my Linux box.&amp;nbsp; But, Unfortunately when I to do so I end up with the error&lt;br /&gt;
&lt;br /&gt;
&quot;libo/sal/qa/rtl/strings/test_oustring_stringliterals.cxx: In member function ‘void test::oustring::StringLiterals::checkOUStringLiteral1()&quot;&lt;br /&gt;
libo/sal/qa/rtl/strings/test_oustring_stringliterals.cxx:195:48: internal compiler error: Segmentation fault&lt;br /&gt;
&lt;br /&gt;
As the reason pointed out by the LibreOffice developers, I have to use gcc-4.8 or higher version to compile the LibreOffice source.&amp;nbsp; But, It&#39;s not available with BOSS 5.0 (which derived from Debian release wheezy) and the same is with debian also (even backports also don&#39;t have gcc-4.8).&amp;nbsp; This leads to only one solution i.e upgrading the machine.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTcrOeCAIieSah0D1496DsZIsCUHul82_i6ndYWBhEqMgaMYRdRbhzlOepzKeA1E7_BOL98wAIWY4ZnAAse3ERD4kCmPHjFiffVS6fGoh-97vUYIq5D56p6Kh7X-ngWAZ6o2h5QjUFJc8/s1600/bosslinux_logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;BOSS GNU/Linux Logo&quot; border=&quot;0&quot; height=&quot;145&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTcrOeCAIieSah0D1496DsZIsCUHul82_i6ndYWBhEqMgaMYRdRbhzlOepzKeA1E7_BOL98wAIWY4ZnAAse3ERD4kCmPHjFiffVS6fGoh-97vUYIq5D56p6Kh7X-ngWAZ6o2h5QjUFJc8/s400/bosslinux_logo.png&quot; title=&quot;BOSS GNU/Linux Logo&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Now, The steps to dist-upgrade your BOSS GNU/Linux machine.&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;(Note:&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;* First backup all your (important)data, configuration files before proceeding the upgrade your machine. &lt;/i&gt;&lt;br /&gt;
&lt;i&gt;* Ensure you have active internet connection throughout the following process.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;* The process data consuming, it needs about 2.0 GB of data transfer)&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Steps to do in current version with the current repository (in our case BOSS 5.0 anokha)&lt;/b&gt;&lt;br /&gt;
1.&amp;nbsp; update the machine&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $sudo apt-get update&amp;nbsp; &lt;br /&gt;
2.&amp;nbsp; upgrade the machine&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $sudo apt-get upgrade&lt;br /&gt;
3.&amp;nbsp; dist-upgrade the machine&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; $sudo apt-get dist-upgrade &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The steps 2 &amp;amp; 3 must be finished successfully without any errors.&amp;nbsp; If you end-up with errors first fix it, without you can&#39;t proceed.&amp;nbsp; And importantly&lt;br /&gt;
check each time what are the packages going to be removed.&amp;nbsp; If you find anything important shown as going to be removed, be ensure twice with double cautions is it ok to you and then proceed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Steps to do in current version with the target repository (in our case BOSS 6.0 anoop)&lt;/b&gt;&lt;br /&gt;
1.&amp;nbsp; Modify the &quot;/etc/apt/sources.list&quot; to point to the new version&#39;s repository.&amp;nbsp; For our case open &amp;amp; edit the file &quot;/etc/apt/sources.list&quot; file as follows.&lt;br /&gt;
&lt;br /&gt;
$sudo gedit /etc/apt/sources.list &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;existing:&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;deb http://packages.bosslinux.in/boss anokha main contrib non-free&lt;br /&gt;deb-src http://packages.bosslinux.in/boss anokha main contrib non-free&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;After modification: &lt;/b&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;deb http://packages.bosslinux.in/boss anoop main contrib non-free&lt;br /&gt;deb-src http://packages.bosslinux.in/boss anoop main contrib non-free&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
save and exit.&lt;br /&gt;
&lt;br /&gt;
2. update the machine&lt;br /&gt;
&amp;nbsp;&amp;nbsp; $sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
3. Upgrade the machine&lt;br /&gt;
&amp;nbsp;&amp;nbsp; $sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
4.&amp;nbsp; Upgrade the machine&lt;br /&gt;
&amp;nbsp;&amp;nbsp; $sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; In the 3 &amp;amp; 4 th steps be in &amp;amp; around your machine, as the new versions of the packages installed it will prompt for configuration file changes.&amp;nbsp; For example let&#39;s take &quot;postgresql&quot; configuration file.&amp;nbsp; You may be modified it for your previous needs.&amp;nbsp; As the newer version going to be installed you will be prompted with options to keep older configuration file, replace with new etc., give your option accordingly (default &amp;amp; recommended is keeping your old configuration file).&amp;nbsp; Once you crossed all the said steps successfully, machine will prompt for &quot;reboot&quot;, after which you could be landed into newer version of BOSS GNU/Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How to check the upgraded version?&lt;/b&gt;&lt;br /&gt;
$hostnamectl&lt;br /&gt;
output will be something like&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Static hostname: boss&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Icon name: computer-desktop&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chassis: desktop&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Machine ID: 62c6fd7923f0953d60&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Boot ID: 5449ccd6794947cc8309fdff20546b0b&lt;br /&gt;
Operating System:&lt;b&gt; BOSS GNU/Linux 6 (anoop)&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kernel: Linux 3.2.0-4-686-pae&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Kernel Upgrade:&lt;/b&gt;&lt;br /&gt;
From the above output we are sure that the machine is i686 arch so we have to install the newer kernel of same architecture.&amp;nbsp; So, we will find the newer/latest linux kernel available in our repository and install.&amp;nbsp; First let us check the available linux kernels using&lt;br /&gt;
&lt;b&gt;$apt-cache search linux-image&amp;nbsp; &lt;/b&gt;- outputs something like follows&lt;br /&gt;
&lt;i&gt;linux-image-3.16.0-4-586 - Linux 3.16 for older PCs&lt;br /&gt;linux-image-3.16.0-4-686-pae - Linux 3.16 for modern PCs&lt;br /&gt;linux-image-3.16.0-4-686-pae-dbg - Debugging symbols for Linux&amp;nbsp; \ 3.16.0-4-686-pae&lt;br /&gt;linux-image-3.16.0-4-amd64 - Linux 3.16 for 64-bit PCs&lt;br /&gt;linux-image-486 - Linux for older PCs (dummy package)&lt;br /&gt;linux-image-586 - Linux for older PCs (meta-package)&lt;br /&gt;linux-image-686-pae - Linux for modern PCs (meta-package)&lt;br /&gt;linux-image-686-pae-dbg - Debugging symbols for Linux 686-pae configuration (meta-package)&lt;br /&gt;linux-image-amd64 - Linux for 64-bit PCs (meta-package)&lt;br /&gt;linux-image-3.2.0-4-686-pae - Linux 3.2 for modern PCs&lt;br /&gt;linux-headers-3.2.0-4-686-pae - Header files for Linux 3.2.0-4-686-pae&lt;/i&gt;&lt;br /&gt;
The existing kernle is linux-3.2 and we have linux-3.16 in our repository for i686 architecture.&amp;nbsp; So, we could proceed with installation of new kernel&lt;br /&gt;
&lt;b&gt;$sudo apt-get install linux-image-3.16.0-4-686-pae&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now, your machine will prompt you for rebooting.&amp;nbsp; Before rebooting you may consider purging removed packages(optional but recommended).&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Purging removed packages:&lt;/b&gt;&lt;br /&gt;
Purge = (In Linux) Complete removal of a package including configuration files.&amp;nbsp; Many a time a package removed but its configuration files may stay with the machine.&amp;nbsp; To remove those unnecessary configuration files we purging.&lt;br /&gt;
&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;$&lt;/b&gt; &lt;b&gt;dpkg -l | awk &#39;/^rc/ { print $2 }&#39;&amp;nbsp; &lt;/b&gt;- Lists all the removed packages&lt;br /&gt;
&lt;b&gt;$sudo apt-get purge $(dpkg -l | awk &#39;/^rc/ { print $2 }&#39;)&lt;/b&gt; - purge the removed packages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;screen&quot;&gt; &lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/8269314947096323023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/8269314947096323023' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/8269314947096323023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/8269314947096323023'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2015/06/how-to-dist-upgrade-boss-gnulinux.html' title='How to dist-upgrade BOSS GNU/Linux?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTcrOeCAIieSah0D1496DsZIsCUHul82_i6ndYWBhEqMgaMYRdRbhzlOepzKeA1E7_BOL98wAIWY4ZnAAse3ERD4kCmPHjFiffVS6fGoh-97vUYIq5D56p6Kh7X-ngWAZ6o2h5QjUFJc8/s72-c/bosslinux_logo.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-8784245498425618591</id><published>2015-06-22T04:47:00.001-07:00</published><updated>2015-06-22T04:47:57.979-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c"/><category scheme="http://www.blogger.com/atom/ns#" term="compiler"/><category scheme="http://www.blogger.com/atom/ns#" term="current line"/><category scheme="http://www.blogger.com/atom/ns#" term="file name"/><category scheme="http://www.blogger.com/atom/ns#" term="preprocessor"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><title type='text'>How to print the current line and the file name in a c program?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&#39;C&#39; compilers usually define preprocessor macros along with our header file inclusion macro.&amp;nbsp; There are many different useful preprocessor macros available, two of them are __FILE__ &amp;amp; __LINE__.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
__FILE__ -&amp;gt; will be replaced by the executing filename.&lt;br /&gt;
&lt;br /&gt;
__LINE__ -&amp;gt; will be replaced by the current line of execution.&lt;br /&gt;
&lt;br /&gt;
Example program - test.c:&lt;br /&gt;
&lt;br /&gt;
1 #include&lt;stdio .h=&quot;&quot;&gt;&lt;br /&gt;2&amp;nbsp;&lt;/stdio&gt;&lt;br /&gt;
3 int main()&lt;br /&gt;
4 {&lt;br /&gt;5&amp;nbsp; printf(&quot;\n%s\t%d&quot;,__FILE__, __LINE__);&lt;br /&gt;6&amp;nbsp; return 0;&lt;br /&gt;
7 }&lt;br /&gt;
&lt;br /&gt;
while running the above program outputs:&lt;br /&gt;
&lt;b&gt;tst.c &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 5&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/8784245498425618591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/8784245498425618591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/8784245498425618591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/8784245498425618591'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2015/06/print-current-line-n-file-name-in-c-program.html' title='How to print the current line and the file name in a c program?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-1072163462153833623</id><published>2015-05-07T11:13:00.001-07:00</published><updated>2015-05-07T11:13:21.113-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="block"/><category scheme="http://www.blogger.com/atom/ns#" term="BOSS GNU/Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="debian derived linux"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="micro-httpd"/><category scheme="http://www.blogger.com/atom/ns#" term="webserver"/><category scheme="http://www.blogger.com/atom/ns#" term="website"/><title type='text'>How to block websites and show warning page in local machine using webserver?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This post specific to Debian based linux&lt;br /&gt;
&lt;br /&gt;
3 main steps:&lt;br /&gt;
1. Add website entries in the /etc/hosts file&lt;br /&gt;
2. Setup a webserver in local machine&lt;br /&gt;
3. Create files to serve using web server.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;1. Add website entries in /etc/hosts file&lt;/b&gt;&lt;/h4&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Open /etc/hosts file in an editor (as a super user, for normal users the file will open only in readonly mode.).&amp;nbsp; The typical content of the file will looks like &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;i&gt;#Local Machine&lt;br /&gt;127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost&lt;br /&gt;127.0.1.1&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;your_hostname&gt;&lt;br /&gt;&lt;br /&gt;# The following lines are desirable for IPv6 capable hosts&lt;br /&gt;::1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost ip6-localhost ip6-loopback&lt;br /&gt;ff02::1 ip6-allnodes&lt;br /&gt;ff02::2 ip6-allrouters&lt;/your_hostname&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
add your new entries (websites to be blocked) at the bottom of the file like&lt;br /&gt;
&lt;br /&gt;
127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp; twitter.com &lt;br /&gt;
127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp; yahoo.com&lt;br /&gt;
127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp; facebook.com &lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
save and exit.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
2. Setup a webserver in local machine.&lt;/h4&gt;
&lt;br /&gt;
&amp;nbsp; Any webserver can be used for the very purpose which ranges apache, Thin, twiggy, yaws, wbox, webfs, mini-httpd, lighttpd etc.,&amp;nbsp;&amp;nbsp; As we are going to serve only one static webpage, It would be better if we use a very minimal, low foot print server.&lt;br /&gt;
&lt;br /&gt;
I found micro-httpd a optimum one for the purpose.&amp;nbsp; Now, do the following steps in terminal.&lt;br /&gt;
&lt;br /&gt;
#touch /etc/inetd.conf &lt;br /&gt;
&lt;br /&gt;
#sudo apt-get install micro-httpd inetutils-inetd&lt;br /&gt;
&lt;br /&gt;
By default the service directory for the micro-httpd server is &quot;/var/www&quot;.&amp;nbsp; But, if you want to change it, you can do so in the file &quot;/etc/inetd.conf&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
3. Create files to serve using web-server&lt;/h4&gt;
&lt;br /&gt;
Content of a sample warning page.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;lt;html&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;head&amp;gt; &amp;lt;title&amp;gt; Warning page! &amp;lt;/title&amp;gt; &amp;lt;/head&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;body bgcolor=&quot;black&quot;&amp;gt;&lt;br /&gt;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;div align=&quot;center&quot; style=&quot;color: red; margin-top: 25%;&quot;&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;b&amp;gt;&amp;lt;h2&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;Very Sorry!The website you are trying to acces is blocked &amp;lt;/h2&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;/b&amp;gt; &amp;lt;/div&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;/body&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;/html&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
copy paste the above content in a file and save it with the name &quot;index.html&quot; under &quot;/var/www/&quot; directory.&amp;nbsp; Now, reboot your machine then try to access the blocked websites via browser.&amp;nbsp; Now, you can access all the websites for blocked one your browser will show the warning page.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/1072163462153833623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/1072163462153833623' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1072163462153833623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/1072163462153833623'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2015/05/how-to-block-websites-and-show-warning-page.html' title='How to block websites and show warning page in local machine using webserver?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-6862577141827314880</id><published>2015-04-09T04:20:00.000-07:00</published><updated>2015-04-09T04:20:25.087-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browser"/><category scheme="http://www.blogger.com/atom/ns#" term="database management system"/><category scheme="http://www.blogger.com/atom/ns#" term="GNU Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="GUI"/><category scheme="http://www.blogger.com/atom/ns#" term="rdbms"/><category scheme="http://www.blogger.com/atom/ns#" term="sqlite"/><title type='text'>How to Open/Browse sqlite files in Linux?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
What is sqlite?&lt;br /&gt;As per &quot;wikipedia&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQLite is a relational database management system contained in a C programming library. In contrast to other database management systems, SQLite is not a client–server database engine. Rather, it is embedded into the end program.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;Where it is used?&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Browsers,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mobile Operating systems&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mobile Apps,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Web Frame Works like Django, Ruby on Rails etc.,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;In (Debian based)Linux (am Using BOSS GNU/Linux) there are many GUI/CUI applications available to work with sqlite. Few of them are&lt;br /&gt;CUI:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlite&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlite3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;GUI:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlitebrowser (Now renamed as&amp;nbsp; &quot;SQLite Database Browser&quot; or simply DB browser)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqliteman (Download from here &lt;a href=&quot;http://sqliteman.yarpen.cz/&quot;&gt;http://sqliteman.yarpen.cz/&lt;/a&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlitestudio (Download from here &lt;a href=&quot;http://sqlitestudio.pl/&quot;&gt;http://sqlitestudio.pl/&lt;/a&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/6862577141827314880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/6862577141827314880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6862577141827314880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/6862577141827314880'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2015/04/how-to-openbrowse-sqlite-files-in-linux.html' title='How to Open/Browse sqlite files in Linux?'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-3580795610725194465</id><published>2014-12-31T23:12:00.001-08:00</published><updated>2014-12-31T23:12:30.919-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cartoon"/><category scheme="http://www.blogger.com/atom/ns#" term="drawing"/><category scheme="http://www.blogger.com/atom/ns#" term="new year"/><category scheme="http://www.blogger.com/atom/ns#" term="resolution"/><title type='text'>New Year Resolution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
New year Resolution - 2015&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifonp5rqJepMd1hDUajO-yZAB4M7iCOJ3uUDZSFbgchcvPaW-4oiW7ewReYgDmkcWlKAtfmp_7-cEO1KZ6r2k1ZywvpPdiYIx0ZNoLriq1pTGwzpbpGxYxy1ZEHXy9iWzvXnzTGxerwx0/s1600/new_year_resolution.jpg&quot; height=&quot;480&quot; style=&quot;margin-left: auto; margin-right: auto;&quot; width=&quot;640&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;New year Resolution - 2015&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span id=&quot;goog_639853106&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_639853107&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/3580795610725194465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/3580795610725194465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/3580795610725194465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/3580795610725194465'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2014/12/new-year-resolution.html' title='New Year Resolution'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifonp5rqJepMd1hDUajO-yZAB4M7iCOJ3uUDZSFbgchcvPaW-4oiW7ewReYgDmkcWlKAtfmp_7-cEO1KZ6r2k1ZywvpPdiYIx0ZNoLriq1pTGwzpbpGxYxy1ZEHXy9iWzvXnzTGxerwx0/s72-c/new_year_resolution.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7766636040337322363.post-5070676635316900387</id><published>2014-09-25T01:47:00.000-07:00</published><updated>2014-09-25T01:47:22.335-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="india"/><category scheme="http://www.blogger.com/atom/ns#" term="isro"/><category scheme="http://www.blogger.com/atom/ns#" term="mangalyan"/><category scheme="http://www.blogger.com/atom/ns#" term="mars"/><category scheme="http://www.blogger.com/atom/ns#" term="victory"/><title type='text'>Mangalyan - Victory in Maiden attempt :)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
First ever country in the world in its first ever attempt to Mars mission with a victory.&amp;nbsp; Proud to be an Indian.&amp;nbsp; #Mangalyan #Mars #Victory #ISRO #INDIA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNpTG4FIfjNCn-2253-oVcN0DLI-qBtqZNzaemCfiIFg8w2wl5QfNQcOL_de6MojR9hGiWFj5aKr4ILOBxbE59iNp0IR9VmEqqB7DaViW4Fw18-5T-JxwIQK7KicQTvN-aARFpBocFb2I/s1600/mangalyan-virgin-victory.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNpTG4FIfjNCn-2253-oVcN0DLI-qBtqZNzaemCfiIFg8w2wl5QfNQcOL_de6MojR9hGiWFj5aKr4ILOBxbE59iNp0IR9VmEqqB7DaViW4Fw18-5T-JxwIQK7KicQTvN-aARFpBocFb2I/s1600/mangalyan-virgin-victory.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Mangalyan - ISRO&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://karthikeyan2u.blogspot.com/feeds/5070676635316900387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7766636040337322363/5070676635316900387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/5070676635316900387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7766636040337322363/posts/default/5070676635316900387'/><link rel='alternate' type='text/html' href='http://karthikeyan2u.blogspot.com/2014/09/mangalyan-victory-in-maiden-attempt.html' title='Mangalyan - Victory in Maiden attempt :)'/><author><name>Karthikeyan</name><uri>http://www.blogger.com/profile/15272614086212294757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNpTG4FIfjNCn-2253-oVcN0DLI-qBtqZNzaemCfiIFg8w2wl5QfNQcOL_de6MojR9hGiWFj5aKr4ILOBxbE59iNp0IR9VmEqqB7DaViW4Fw18-5T-JxwIQK7KicQTvN-aARFpBocFb2I/s72-c/mangalyan-virgin-victory.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>