<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux * Screw &#187; ubuntu</title>
	<atom:link href="http://www.linuxscrew.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxscrew.com</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 12:57:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3891</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The easiest way to split and merge pdf files in Ubuntu</title>
		<link>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/</link>
		<comments>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 06:09:17 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1087</guid>
		<description><![CDATA[The easiest way to split, merge or edit pdf files in Ubuntu is to use pdftk utility. This rather old (latest version was released in 2006) but still simple and powerful program can be installed in Ubuntu (Debian or any deb-family Linux distribution) by the following command in terminal:
sudo aptitude install pdftk
(if you run Fedora, [...]]]></description>
			<content:encoded><![CDATA[<p>The easiest way to split, merge or edit pdf files in Ubuntu is to use <a href="http://www.accesspdf.com/pdftk/">pdftk utility</a>. This rather old (latest version was released in 2006) but still simple and powerful program can be installed in Ubuntu (Debian or any deb-family Linux distribution) by the following command in terminal:</p>
<p><code>sudo aptitude install pdftk</code><br />
(if you run Fedora, RedHat or CentOS use this one: <code>sudo yum install pdftk</code>)</p>
<p><strong>Split large pdf into many one-page files:</strong></p>
<p><code>pdftk largepdfile.pdf burst</code></p>
<p>(as the result you will get many small files like pg_0001.pdf, pg_0002.pdf and so on).</p>
<p><strong>Merge files into one PDF file:</strong></p>
<p><code>pdftk *.pdf cat output onelargepdfile.pdf</code></p>
<p>pdftk is extremely powerful and makes it possible to do almost anything with input pdf files. Thus above two commands are just examples showing how to split and merge pdf files in Ubuntu easily.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Split huge files in Ubuntu or any other Linux distro</title>
		<link>http://www.linuxscrew.com/2010/06/16/split-huge-files-using-ubuntu-linux/</link>
		<comments>http://www.linuxscrew.com/2010/06/16/split-huge-files-using-ubuntu-linux/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 15:10:18 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1072</guid>
		<description><![CDATA[Recently I&#8217;ve bought WD TV media player for streaming full HD movies (primarily in 1080p resolution) to my home TV from external storage like usb HDD or ipod classic. You might already know that size of average HD movie rip is more than 4GB (e.g. full HD Avatar movie image is literally 21 GB mkv [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve bought WD TV media player for streaming full HD movies (primarily in <a href="http://en.wikipedia.org/wiki/1080p">1080p</a> resolution) to my home TV from external storage like usb HDD or ipod classic. You might already know that size of average HD movie rip is more than 4GB (e.g. full HD <a href="http://www.imdb.com/title/tt0499549/">Avatar</a> movie image is literally 21 GB mkv file) so it&#8217;s just impossible to store such huge files on any <a href="http://en.wikipedia.org/wiki/File_Allocation_Table">FAT32</a> formatted HDD or ipod. My ipod classic 160 GB is windows formatted so it uses FAT32 filesystem where maximum file size is 4 GB. As far as ipod cannot be formatted into ext3 but still be able to play music (just sweet dreams) I have to <strong>split huge files</strong> to 3.99GB parts and store them to my ipod for later reassemble. When it&#8217;s time to watch the some HD movie stored at ipod it&#8217;s required to assemble those 3.99 GB parts into one solid file, transfer it to media player and then actually watch the movie.</p>
<p>Rather long preface but solution is quite simple. If u run <strong>Ubuntu</strong> you can try <strong><a href="http://lxsplit.sourceforge.net/">lxsplit</a></strong> utility for breaking files into parts (binary packages for other <strong>Linux</strong> distributions as well as source code are available at  lxsplit project&#8217;s <a href="http://lxsplit.sourceforge.net/">homepage</a>.):</p>
<p><code>sudo apt-get install lxsplit</code></p>
<p>In order to split some file in 3.99GB parts use the following command:</p>
<p><code>lxsplit -s /path/to/hugemoviefile.mkv 3999M</code></p>
<p>Depending on size of <em>hugemoviefile.mkv</em> you will get several parts <em>hugemoviefile.mkv.001</em>, <em>hugemoviefile.mkv.002</em> and so on stored in current directory. It means that if you&#8217;re going to store those parts on some external storage like ipod you can do the following:</p>
<p><code>cd /media/ipod/<br />
lxsplit -s /path/to/hugemoviefile.mkv 3999M</code></p>
<p>and hugemoviefile.mkv.001.. will saved in /media/ipod/ directory regardless where hugemoviefile.mkv is located.</p>
<p>Now coming to assembling procedure. It&#8217;s just as easy as splitting:</p>
<p><code>lxsplit -j hugemoviefile.mkv.001</code></p>
<p>Once done you will get <em>hugemoviefile.mkv</em> saved in current directory.</p>
<p><span style="color: #800000;"><em>Have  an interesting article? You&#8217;re welcome to <a href="mailto:artiomix@gmail.comREMOVETHIS">contact me</a> and get  it   published at <a href="http://www.linuxscrew.com">LinuxScrew.com</a>!</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/06/16/split-huge-files-using-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Access to real Cisco routers and switches for free</title>
		<link>http://www.linuxscrew.com/2010/06/09/access-real-cisco-routers-and-switches-for-free/</link>
		<comments>http://www.linuxscrew.com/2010/06/09/access-real-cisco-routers-and-switches-for-free/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 06:54:15 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sites]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1054</guid>
		<description><![CDATA[Preparing for Cisco certification exam and need real equipment required to accomplish all those CCNA or CCNP labs? That&#8217;s not a problem any more. This is due to availability of Packet Tracer for Linux and Community Lab hosted by people behind packetlife.net. As for Packet Tracer it supports Linux natively now &#8212; Cisco offers it [...]]]></description>
			<content:encoded><![CDATA[<p>Preparing for Cisco certification exam and need real equipment required to accomplish all those CCNA or CCNP labs? That&#8217;s not a problem any more. This is due to availability of <a href="http://www.cisco.com/web/learning/netacad/course_catalog/PacketTracer.html">Packet Tracer</a> for Linux and <strong>Community Lab</strong> hosted by people behind <a href="http://www.packetlife.net">packetlife.net</a>. As for Packet Tracer it supports Linux natively now &#8212; Cisco offers it as deb package for Ubuntu or Debian and there is no need to use Wine to get <a href="http://www.linuxscrew.com/2007/10/16/running-cisco-packet-tracer-in-linux/">Packet Tracer working in Linux</a>. Try searching the web for &#8220;packet tracer deb&#8221; and I am sure you&#8217;ll find where to download desired file shortly (we do not share pirated content here).</p>
<p>Anyways sometimes Packet Tracer as like as <a href="http://dynagen.org/">dynamips</a>/<a href="http://www.gns3.net">gns3</a> are not a panacea when it&#8217;s necessary to emulate mid-sized network or test some specific ios features on <strong>real Cisco devices</strong>. There are several options: the first and the easiest one means to buy Cisco device. But we all know that Cisco&#8217;s pricing policy is far away from democratic in application to individual users so even used or refurbished Cisco router/switch will cost enough to think about another option. Second option is to schedule access to <a href="http://packetlife.net/lab/"><strong>Community Lab at packetlife.net</strong></a>. Nice to know the access to it is absolutely free so anyone can get logon to Cisco routers, switches or ASAs once user reached his/her timeslot. Here is the list of hardware you can have access to (there are multiple devices of the same model):</p>
<p><strong><a href="http://www.cisco.com/en/US/products/ps6120/index.html">Cisco ASA 5505</a><br />
<a href="http://www.cisco.com/en/US/products/ps5881/index.html">Cisco 2811</a> (2xWIC-2T)<br />
<a href="http://www.www.cisco.com/en/US/products/ps5875/" class="broken_link" >Cisco 1841</a> (1xWIC-2T)<br />
<a href="http://www.cisco.com/en/US/products/hw/switches/ps646/index.html"> Cisco Catalyst 3550-24</a></strong></p>
<p>Not bad for free lab as for me. The lab is broken into two blocks so user can reserve only one block or both blocks simultaneously. This is to make it possible to access the lab by multiple users simultaneously. Devices are connected to each other according to predefined topology &#8212; see separate diagrams for Ethernet and Serial connections below (they are split to prevent overhead on the graph I guess). All documentation as well as FAQs can be found here: <a href="http://packetlife.net/wiki/packet-life-community-lab/">here</a> and <a href="http://packetlife.net/wiki/community-lab-faq/">here</a>. Thanks to <a href="http://packetlife.net/users/stretch/">Jeremy Stretch</a>.</p>
<p style="text-align: center;"><a href="http://packetlife.net/media/wiki/attachments/6/3/lab_topology_ethernet.png"><img class="aligncenter" title="packetlife community lab ethernet topology" src="/files/lab_topology_ethernet.png" alt="packetlife community lab ethernet topology" /></a></p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><a href="http://packetlife.net/media/wiki/attachments/7/5/lab_topology_serial.png"><img class="aligncenter" title="packetlife community lab serial topology" src="/files/lab_topology_serial.png" alt="packetlife community lab serial topology" /></a></p>
<p>P.S. By the way if you can share any other similar labs allowing people on the web to access Cisco (or some other networking devices) &#8212; you are welcome to share this information here. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/06/09/access-real-cisco-routers-and-switches-for-free/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>radiotray: online radio player for Ubuntu</title>
		<link>http://www.linuxscrew.com/2010/05/19/radiotray-online-radio-player-for-ubuntu/</link>
		<comments>http://www.linuxscrew.com/2010/05/19/radiotray-online-radio-player-for-ubuntu/#comments</comments>
		<pubDate>Wed, 19 May 2010 17:56:22 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1016</guid>
		<description><![CDATA[Just came across smart ubuntu online radio client &#8212; radiotray. As it comes from its name radiotray sits in Ubuntu&#8217;s system tray and just plays online radio (see the screenshot taken on my Ubuntu Lucid Lynx). You can of course stop playing or select different channel (there are four channels coming by default). I found [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="radiotray" src="/files/radiotray.png" alt="radiotray" />Just came across smart <strong>ubuntu online radio</strong> client &#8212; <a href="http://sourceforge.net/projects/radiotray/">radiotray</a>. As it comes from its name <strong>radiotray</strong> sits in Ubuntu&#8217;s system tray and just plays online radio (see the screenshot taken on my Ubuntu Lucid Lynx). You can of course stop playing or select different channel (there are four channels coming by default). I found this utility useful when working as it doesn&#8217;t required to keep in RAM such monster like <a href="http://amarok.kde.org">amarok</a> just for listening the radio. Nice and simple application.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/19/radiotray-online-radio-player-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>youtube-dl: download youtube videos in Ubuntu using command line</title>
		<link>http://www.linuxscrew.com/2010/05/19/youtube-dl-download-youtube-videos-in-ubuntu-using-command-line/</link>
		<comments>http://www.linuxscrew.com/2010/05/19/youtube-dl-download-youtube-videos-in-ubuntu-using-command-line/#comments</comments>
		<pubDate>Wed, 19 May 2010 17:54:01 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1047</guid>
		<description><![CDATA[If you use Ubuntu (or other Linux distribution) and you wish to download some video from youtube.com into .flv file you can try using youtube-dl command line utility. It just downloads videos without any online applications, converters or etc. Type the following command in terminal to get it installed:
sudo apt-get install youtube-dl
Let&#8217;s imagine you would [...]]]></description>
			<content:encoded><![CDATA[<p>If you use <strong>Ubuntu</strong> (or other <strong>Linux</strong> distribution) and you wish to download some <strong>video</strong> from <a href="http://www.youtube.com"><strong>youtube</strong>.com</a> into <a href="http://en.wikipedia.org/wiki/Flash_Video">.flv</a> file you can try using <a href="http://bitbucket.org/rg3/youtube-dl/wiki/Home"><strong><code>youtube-dl</code></strong></a> command line utility. It just downloads videos without any online applications, converters or etc. Type the following command in terminal to get it installed:</p>
<p><code>sudo apt-get install youtube-dl</code><br />
Let&#8217;s imagine you would like to download the following video: <a href="http://www.youtube.com/watch?v=2leg8mUE9rs">http://www.youtube.com/watch?v=2leg8mUE9rs</a> (this is part of Military Parade at Red Square in Russia at 9th of May 2010). Just run <em>youtube-dl</em> download utility as follows:</p>
<p><code>youtube-dl http://www.youtube.com/watch?v=2leg8mUE9rs</code></p>
<p>and in a few minutes you will get 2leg8mUE9rs.flv file that could be viewed using almost any video player like my favorite one <a href="http://en.wikipedia.org/wiki/VLC_media_player">VLC</a>.</p>
<p style="text-align: center;"><img class="aligncenter" title="youtube-dl" src="/files/youtube-dl.png" alt="youtube-dl" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/19/youtube-dl-download-youtube-videos-in-ubuntu-using-command-line/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Windows after Ubuntu Lucid Lynx</title>
		<link>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/</link>
		<comments>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/#comments</comments>
		<pubDate>Thu, 06 May 2010 15:02:17 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1001</guid>
		<description><![CDATA[Sh*t happens. There is no more applications to manage my 6th generation iPod Classic 160 GB under Linux/Ubuntu. I have to install Windows as the second operating system along with newly installed Ubuntu Lucid Lynx (it rocks but this is for another post) to run iTunes.
For rather long time I&#8217;ve been using gtkpod, amarok, banshee, exaile [...]]]></description>
			<content:encoded><![CDATA[<p>Sh*t happens. There is no more applications to manage my <a href="http://en.wikipedia.org/wiki/IPod_classic#Sixth_generation">6th generation </a><strong><a href="http://en.wikipedia.org/wiki/IPod_classic#Sixth_generation">iPod Classic 160 GB</a></strong> under L<strong>inux/<a href="http://www.ubuntu.com">Ubuntu</a></strong>. I have to install <strong>Windows </strong>as the <strong>second operating system</strong> along with newly installed <strong>Ubuntu Lucid Lynx</strong> (it rocks but this is for another post) to run <strong>iTunes</strong>.</p>
<p>For rather long time I&#8217;ve been using <a href="http://www.gtkpod.org">gtkpod</a>, <a href="http://amarok.kde.org">amarok</a>, <a href="http://banshee-project.org/">banshee</a>, <a href="http://www.exaile.org">exaile</a> or <a href="http://projects.gnome.org/rhythmbox/">rhythmbox</a> to sync my ipod under Linux/Ubuntu and load my music collection there. As we all know <del>The Elder Brother</del> <a href="http://www.apple.com">Apple</a> fights with interoperability and makes ipod/iphone users to use <a href="http://en.wikipedia.org/wiki/Itunes">iTunes</a> only. Any other applications that can read/write to ipod data format are prohibited by Apple. This also concerns <a href="http://www.rockbox.org">Rockbox</a> and <a href="http://ipodlinux.sourceforge.net/index.shtml">ipod4linux</a> alternative firmwares &#8212; once Apple encrypted ipod firmware it became impossible to use them. It definitely sucks. At least due to the fact there are millions of Linux users who are real or potential customers of Apple products. Anyways these facts have been discussed in various forums, blogs like <a href="http://mdeslaur.blogspot.com/2009/07/goodbye-apple.html">this</a> and similar but this post about how to install Windows as the second operating system along with Ubuntu or any other Linux.</p>
<p><a href="http://www.linuxscrew.com/wp-content/uploads/2010/05/gparted.png"><img class="alignright" title="gparted example" src="http://www.linuxscrew.com/wp-content/uploads/2010/05/gparted.png" alt="gparted example" width="177" height="121" /></a>The first that we need to do is to <strong>create new partition for Windows</strong> and format it to <strong><a href="http://www.ntfs.com/">NTFS</a></strong>. Exact steps to accomplish this depend on your HDD partition table e.g. there is one large <a href="http://en.wikipedia.org/wiki/Ext3">ext3</a>/<a href="http://en.wikipedia.org/wiki/Ext4">ext4</a> partition for Ubuntu or there are several partitions for various distributions or mount points. Anyway you should use partition manager to create and/or format NTFS partition. I use <a href="http://gparted.sourceforge.net/"><strong>gparted</strong></a>. It is graphical and it just works (use &#8216;<code>sudo apt-get install gparted</code>&#8216; if you run Ubuntu/Debian).</p>
<p>Second you should backup your <strong><a href="http://en.wikipedia.org/wiki/Master_boot_record">MBR</a></strong> record and restore it after Windows installation that silently erases existing bootloader and installs windows one, use &#8220;<code>dd if=/dev/sda of=/mbr.bin bs=446 count=1</code>&#8221; to save MRB into mbr.bin file and &#8220;<code>dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1</code>&#8221; to restore it from file to HDD.</p>
<p>To sum everything up here is the algorithm:</p>
<p>0. <strong>BACKUP ALL YOUR DATA!</strong><br />
1. <strong>Create NTFS partition</strong> using gparted.<br />
2. <strong>Backup MBR</strong> using <em>dd</em> command e.g. &#8220;dd if=/dev/sda of=/mbr.bin bs=446 count=1&#8243; (/dev/sda means your HDD).<br />
3. Boot Windows installation CD and <strong>install it onto newly created NTFS partition</strong>.<br />
4. Boot into Linux live CD  e.g. <a href="http://www.ubuntu.com/GetUbuntu/download">Ubuntu Live CD</a>.<br />
5. <strong>Restore MBR</strong> using <em>dd</em> e.g. &#8220;dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1&#8243;.<br />
6. Reboot.<br />
7. Select Ubuntu in grub menu and boot it.<br />
8. <a href="http://www.cyberciti.biz/faq/grubconf-for-windows-vista-or-xp-dual-boot/">Setup <strong>grup for Windows</strong> booting</a>.</p>
<p>In order to accomplish the last 8th item you should add the following text block to the end of grub config (read <a href="http://www.cyberciti.biz/faq/grubconf-for-windows-vista-or-xp-dual-boot/">this article</a> for detailed information):</p>
<p><code>title Microsoft Windows XP<br />
root (hd0,1)<br />
savedefault<br />
makeactive<br />
chainloader +1</code></p>
<p>Good luck!</p>
<p>P.S. If something goes wrong or you need more details you can take a look at the following article at ubuntu.com: <a href="https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows">Recovering Ubuntu After Installing Windows</a>. It&#8217;s written in rather tangled manner but still informative.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>16 GB encrypted candy file</title>
		<link>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/</link>
		<comments>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/#comments</comments>
		<pubDate>Wed, 05 May 2010 15:01:50 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=994</guid>
		<description><![CDATA[Update: as far as cryptoloop is vulnerable and is not maintained I don&#8217;t recommend using below approach for creating encrypted for for those of you who require strong security. Use truecrypt to create encrypted filesystem within a file instead.
Today it came to my mind that it is time to make sensitive information stored on my [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>Update</strong></span>: as far as <a href="http://www.spiritus-temporis.com/cryptoloop/">cryptoloop</a> is vulnerable and is not maintained I don&#8217;t recommend using below approach for creating encrypted for for those of you who require strong security. Use <a href="http://www.linuxscrew.com/2010/05/08/create-encrypted-filesystem-within-a-file-truecrypt-way/">truecrypt to create encrypted filesystem within a file</a> instead.</p>
<p><img class="alignright" src="/files/passwords.txt.png" alt="passwords.txt" />Today it came to my mind that it is time to make sensitive information stored on my usb flash drive encrypted but still transportable and easy to use. But I don&#8217;t want to have whole my 32 GB usb drive fully encrypted using <em><a href="http://www.truecrypt.org/">truecrypt</a></em> or something similar. It is just toooo slow. I also don&#8217;t want to use <a href="http://en.wikipedia.org/wiki/GNU_Privacy_Guard">GPG</a> for uncompressing files and directories every time I would like to read them and then create new GPG compressed file every time I save changes. This eats too much of my time and system resources. At the same time it is necessary to be able to use  that usb drive under windows, mac, linux whatever (read/write files) but still have my directory structure with <strong>sensitive files encrypted</strong>. Here is the solution: create encrypted <strong>filesystem within a file</strong> named, say, 16GB.candy.bin that could be stored on regular windows formatted usb flash drive and then mounted under Linux <strong>using the password</strong>.</p>
<p>When it becomes necessary I can mount that 16GB.candy.bin as the regular ext3 filesystem with all those stuff like permissions, ownership etc. that is available on ext3 but not in <a href="http://en.wikipedia.org/wiki/File_Allocation_Table">FAT</a> or <a href="http://en.wikipedia.org/wiki/Ntfs">NTFS</a>. On my windows formatted flash drive candy takes only 16 GB so I can use the rest of space to store not so sensitive information like mp3, movies or photos. Moreover I <strong> </strong> on windows or linux to read it.</p>
<p>Let&#8217;s create that 16GB.candy.bin file with encrypted <strong><a href="http://en.wikipedia.org/wiki/Ext3">ext3</a></strong> filesystem (read below explanations below carefully before just to copy/paste commands into CLI):</p>
<p><code>[root@artemn root]# cd /path/to/candy/</p>
<p>[root@artemn root]# modprobe cryptoloop</p>
<p>[root@artemn root]# modprobe aes</p>
<p>[root@artemn root]# dd if=/dev/urandom of=16GB.candy.bin bs=1048576 count=16000</p>
<p>[root@artemn root]# losetup -e aes /dev/loop0 16GB.candy.bin</p>
<p>[root@artemn root]# mkfs.ext3 /dev/loop0</p>
<p>[root@artemn root]# tune2fs -i 0 -c 0 /dev/loop0</code></p>
<p>Here are some points: using above commands we create encrypted file of 16 GB so if you need to have more or less just change &#8220;count=16000&#8243; in <em>dd</em> line. &#8220;count=16000&#8243; means 16GB so &#8220;count=20&#8243; means 20MB. Path &#8216;/path/to/candy/&#8217; is for example only so you should change it to real directory that is able to host encrypted file (16 GB in above example). Command <em>losetup</em> is present in most Linux distributions (btw I recommend <strong><a href="http://www.ubuntu.com">Ubuntu</a> </strong>especially newly released <a href="http://en.wikipedia.org/wiki/Lucid_Lynx#Ubuntu_10.04_LTS_.28Lucid_Lynx.29">Lucid Lynx</a>) but if it is not use your disro&#8217;s packet manager to install it or compile from sources (for super geeks only, <a href="http://en.wikipedia.org/wiki/Stallman">Mr. Stallman</a> if you read this article &#8212; Hello). Reader, you can replace &#8220;/dev/urandom&#8221; in <em>dd</em> line with &#8220;/dev/zero&#8221; that will make that command to finish faster but will lower security level of resulting file (read about <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES</a> for better understanding). You will need to enter the password when running <em>losetup</em> command so make sure it safe and long enough like &#8216;6U2sAsR37Hn8122dGsaPrew1twt&#8217; but not &#8216;abc123&#8242; or &#8216;iloveyou&#8217;.</p>
<p>Once commands are done you will get 16GB.candy.bin containing encrypted ext3 filesystem. You can store this file where ever you want, say, on a flash drive. If you loose it nobody won&#8217;t be able to open it until he (or she!) <a href="http://aceontech.com/2008/03/29/to-crack-17-character-aes-password-100-years-and-1-billion-dollars/">cracked AES encryption</a> (use long passwords to prevent this). As the next step it is required to mount filesystem and store some files/directories in it:</p>
<p><code>[root@artemn root]# mkdir -p /mnt/candy</p>
<p>[root@artemn root]# cd /path/to/candy/</p>
<p>[root@artemn root]# mount -t ext3 -o loop,encryption=aes 16GB.candy.bin /mnt/candy</p>
<p>[root@artemn root]# cd /mnt/candy</p>
<p>[root@artemn root]# #save files, edit them, view or anything you want</p>
<p>[root@artemn root]# cd /</p>
<p>[root@artemn root]# umount /mnt/candy</code></p>
<p>When you unmount 16GB.candy.bin the changes are already saved there so it&#8217;s not required to compress and encrypt anything unlike with GPG.</p>
<p>P.S. This post is inspired by <a href="http://nst.sourceforge.net/nst/docs/user/ch04s04.html">Loopback tricks</a> article. Thanks to the author. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Fastest way to create ramdisk in Ubuntu/Linux</title>
		<link>http://www.linuxscrew.com/2010/03/24/fastest-way-to-create-ramdisk-in-ubuntulinux/</link>
		<comments>http://www.linuxscrew.com/2010/03/24/fastest-way-to-create-ramdisk-in-ubuntulinux/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 12:08:04 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=988</guid>
		<description><![CDATA[I hope many of you will agree that sometimes it&#8217;s really good idea to have some small amount of RAM mounted as a filesystem. It may be necessary when running some bash or perl script that handles, say, thousands of small files so it&#8217;s much more effective not to waste computer resources on reading/writing data [...]]]></description>
			<content:encoded><![CDATA[<p>I hope many of you will agree that sometimes it&#8217;s really good idea to have some small amount of RAM mounted as a filesystem. It may be necessary when running some bash or perl script that handles, say, thousands of small files so it&#8217;s much more effective not to waste computer resources on reading/writing data on hard disk but keep those files directly in memory. This idea is known as <a href="http://en.wikipedia.org/wiki/RAM_disk">Virtual RAM Drive</a> or <strong>ramdisk</strong> and can be setup in <strong>Ubuntu</strong> or almost any other <strong>Linux</strong> distribution using the following commands under root (to become root in Ubuntu use <code>"<strong>sudo -s</strong></code>&#8220;):</p>
<p># <strong>mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk</strong><br />
# <strong>mount -t tmpfs -o size=256M tmpfs /tmp/ramdisk/</strong></p>
<p>where 256M is amount of RAM you wish to allocate for ramdisk. It&#8217;s clear that this value should be <strong>less than amount of free memory</strong> (use &#8220;<code>free -m</code>&#8220;). BTW, if you specify too many MBs for ramdisk Linux will try to allocate it from RAM and then from swap so resulting performance would be very poor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/03/24/fastest-way-to-create-ramdisk-in-ubuntulinux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>GIMP to be removed from Ubuntu?</title>
		<link>http://www.linuxscrew.com/2009/11/19/gimp-to-be-removed-from-ubuntu/</link>
		<comments>http://www.linuxscrew.com/2009/11/19/gimp-to-be-removed-from-ubuntu/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 15:44:09 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=854</guid>
		<description><![CDATA[This could be an outstanding news by its significance. The next version of Ubuntu (Lucid Lynx or Ubuntu 10.04) won&#8217;t include GIMP (GNU Image Manipulation Program) by default due to its user interface that is too complex&#8230; What a #@^*?
Actually complex UI is not the only decision why GIMP should be vanished from Ubuntu so [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="GIMP to be removed from Ubuntu" src="/files/gimp-logo.png" alt="" width="128" height="128" />This could be an outstanding news by its significance. The next version of Ubuntu (Lucid Lynx or <strong>Ubuntu 10.04</strong>) won&#8217;t include <strong>GIMP</strong> (GNU Image Manipulation Program) by default due to its user interface that is too complex&#8230; What a #@^*?</p>
<p>Actually complex UI is not the only decision why GIMP should be vanished from Ubuntu so here is the full list:</p>
<ul>
<li><span style="font-size: small;">the general user doesn&#8217;t use it</span></li>
<li><span style="font-size: small;">its user-interface is too complex</span></li>
<li><span style="font-size: small;">it&#8217;s an application for professionals</span></li>
<li><span style="font-size: small;">desktop users just want to edit photos and they can do that in F-Spot</span></li>
<li><span style="font-size: small;">it&#8217;s a photoshop replacement and photoshop isn&#8217;t included by default in Windows&#8230;</span></li>
<li><span style="font-size: small;">it takes up room on the disc </span></li>
</ul>
<p>(taken from <a href="http://www.omgubuntu.co.uk/2009/11/gimp-to-be-removed-lucid.html">here</a>)</p>
<p>Still sounds like fresh nonsense? What about <a href="http://f-spot.org/">F-Spot</a> as a replacement? Well, an average user most probably claim that above mentioned reasons are true. Maybe that&#8217;s why GIMP already dropped from latest <a href="http://fedoraproject.org/wiki/Releases/12/FeatureList">Fedora 12</a>. But what should do people who use GIMP every day and loves Ubuntu???</p>
<p>Just execute &#8216;<strong>sudo aptitude install gimp</strong>&#8216; <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2009/11/19/gimp-to-be-removed-from-ubuntu/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Top 3 Linux HTML editors</title>
		<link>http://www.linuxscrew.com/2009/07/28/visual-linux-html-editor/</link>
		<comments>http://www.linuxscrew.com/2009/07/28/visual-linux-html-editor/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 14:48:23 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=842</guid>
		<description><![CDATA[This post is dedicated to quality html editors for Linux and Ubuntu operating system in particular. You may think that nowadays nobody uses offline editors as there are so many content management systems (CMS) like Drupal (my favourite one), Wordpress, Joomla etc. which contain embedded visual html editors. But today I made sure myself that [...]]]></description>
			<content:encoded><![CDATA[<p>This post is dedicated to quality <strong>html editors for Linux</strong> and <strong>Ubuntu</strong> operating system in particular. You may think that nowadays nobody uses offline editors as there are so many content management systems (CMS) like <a href="http://www.drupal.org">Drupal</a> (my favourite one), <a href="http://www.wordpress.org">Wordpress</a>, <a href="http://www.joomla.org/">Joomla</a> etc. which contain embedded <strong>visual html editors</strong>. But today I made sure myself that sometimes it&#8217;s real pain to draw a 10&#215;20 table using Wordpress&#8217;s editor&#8230;</p>
<p>Text editors like <em>gedit</em>, <em>emacs</em>, <em>nano</em> or <em>vi</em> will certainly live forever but thankfully there are numerous <strong>visual html editors</strong> for my Ubuntu <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  They are sometimes called <strong>WYSIWYG editors</strong>, it mean &#8220;What You See Is What You Get&#8221;.</p>
<p>1. <strong><a href="http://quanta.kdewebdev.org/">Quanta Plus</a></strong></p>
<p>This is <strong>KDE/Qt visual html editor</strong> available as binary package for numerous Linux distributions<br />
including Debian and Ubuntu. From developers&#8217; site:</p>
<blockquote><p><img class="alignright" title="Quanta Plus Logo" src="http://www.linuxscrew.com/files/Quanta_logo.png" alt="" width="48" height="48" />Quanta Plus is a highly stable and feature rich web development environment.<br />
The vision with Quanta has always been to start with the best architectural<br />
foundations, design for efficient and natural use and enable maximal user<br />
extensibility.</p></blockquote>
<p>In order to install it in Debian/Ubuntu run the following CLI command:</p>
<p><code>sudo apt-get install quanta</code></p>
<p>Fedora, Centos, Redhat users type this:</p>
<p><code>sudo yum install kdewebdev</code></p>
<p>I found Quanta html editor extremely useful, this is just an outstanding application of this<br />
field.</p>
<p>2. <strong><a href="http://bluefish.openoffice.nl/">Bluefish</a></strong></p>
<blockquote><p><img class="alignright" title="Bluefish HTML editor logo" src="http://www.linuxscrew.com/files/bluefish_logo.png" alt="Bluefish HTML editor logo" />Bluefish is a powerful editor targeted towards programmers and webdesigners,<br />
with many options to write websites, scripts and programming code. Bluefish<br />
supports many programming and markup languages, and it focuses on editing<br />
dynamic and interactive websites.</p></blockquote>
<p>I found this really <strong>versatile html editor</strong>. Besides <strong>HTML/CSS</strong> it handles <strong>C</strong>,<br />
<strong>Java, Perl, Python, XML</strong> and others.</p>
<p>Ubuntu and Debian users type:</p>
<p><code>sudo apt-get install bluefish</code></p>
<p>Fedora/Redhat/Centos:</p>
<p><code>sudo yum install bluefish</code></p>
<p>Gentoo:</p>
<p><code>emerge bluefish</code></p>
<p>3. <strong><a href="http://www.screem.org/">Screem</a></strong></p>
<blockquote><p><img class="alignright" title="Screem HTML editor logo" src="http://www.linuxscrew.com/files/screem-logo.png" alt="" width="253" height="64" />SCREEM is a web development environment. It&#8217;s purpose is to increase<br />
productivity when constructing a site, by providing quick access to commonly<br />
used features. While it is written for use with the GNOME desktop environment<br />
in mind it does not specifically require you to be running it, just have the<br />
libraries installed.</p></blockquote>
<p>This is one of the most user-friendly <strong>Gnome HTML editor</strong>. Its simple interface<br />
brings extremely powerfull HTML editor so if like minimalistic design Screem<br />
is your choice.</p>
<p>Update: below is the bottom line from <a href="http://www.linux.com">Linux.com</a>&#8217;s review of <a href="http://linux.com/archive/feature/130601">three Linux HTML editors</a> (Quanta Plus, Blowfish,<br />
Screem). I found that review after I wrote this post.</p>
<blockquote>
<ul>
<li>If you use <a href="http://www.gnome.org">GNOME</a>, use Screem. It&#8217;s a fast, simple, and powerful tool for web editing. However, it does not have the large feature sets that Bluefish and Quanta Plus have, especially for languages other than those directly related to Web page editing.</li>
<li>If you use GNOME and need the more powerful features of Quanta Plus, load the required libraries and run it.</li>
<li>If you use <a href="http://www.kde.org">KDE</a> and want a code editor, choose Quanta Plus. Ignore the WYSIWYG capabilities and take advantage of the tremendous editing capabilities, especially for CSS style sheets.</li>
<li>If you use <a href="http://www.xfce.org">Xfce</a>, Quanta Plus should run fine. Screem would still require loading additional libraries.</li>
<li>Finally, if you use GNOME, find that Screem does not meet all your needs, and you don&#8217;t want to bother with loading the KDE-native Quanta Plus, then load Bluefish. It is nearly as capable as Quanta Plus, but will run well without a lot of fussing with libraries.</li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2009/07/28/visual-linux-html-editor/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
