<?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>gHacks technology news &#187; Tutorials Basic</title> <atom:link href="http://www.ghacks.net/category/tutorials-basic/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 20 Mar 2010 22:12:33 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Tweak your Ubuntu with Ubuntu Tweak</title><link>http://www.ghacks.net/2010/03/20/tweak-your-ubuntu-with-ubuntu-tweak/</link> <comments>http://www.ghacks.net/2010/03/20/tweak-your-ubuntu-with-ubuntu-tweak/#comments</comments> <pubDate>Sat, 20 Mar 2010 01:25:05 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[software]]></category> <category><![CDATA[desktop configuration]]></category> <category><![CDATA[linux desktop]]></category> <category><![CDATA[tweak]]></category> <category><![CDATA[ubuntu]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23845</guid> <description><![CDATA[In a recent article (&#8220;Greenie Linux: A distribution for all users&#8220;) I mentioned a tool (used in Greenie Linux) called Ubuntu Tweak. This tool allows the user to make certain tweaks to your Ubuntu desktop that aren&#8217;t readily available in the default Ubuntu desktop. This tool allows you to make both desktop and system configurations [...]]]></description> <content:encoded><![CDATA[<p>In a recent article (&#8220;<a title="Greenie Linux: A distribution for all users" href="http://www.ghacks.net/2010/03/18/greenie-linux-a-distribution-for-all-users/" target="_blank">Greenie Linux: A distribution for all users</a>&#8220;) I mentioned a tool (used in Greenie Linux) called <a title="Ubuntu Tweak" href="http://ubuntu-tweak.com/" target="_blank">Ubuntu Tweak</a>. This tool allows the user to make certain tweaks to your Ubuntu desktop that aren&#8217;t readily available in the default Ubuntu desktop. This tool allows you to make both desktop and system configurations &#8211; all in one easy to use application. Ubuntu Tweak is an open source application (licensed under the GPL) that is ready for you to use and enjoy.</p><p>In this article I will show you how to install Ubuntu Tweak and how easy it is to tweak your Ubuntu desktop to your hearts content.</p><p><span id="more-23845"></span><strong>Installation</strong></p><p>You might be tempted to install the version included in Synaptic. Be warned, that version is older than the latest stable version on the web site. I highly recommend you download the latest version and install from that. Just click the Download button on the front page, which will open up the GDebi installation tool. Okay that installation, enter your password, and Ubuntu Tweak will install. Simple as that.</p><p>Of course, if you prefer, you can add the repos to your <strong>/etc/apt/sources.list</strong> file. Before you do this add the repository key with the command: <em>sudo apt-key adv &#8211;recv-keys &#8211;keyserver keyserver.ubuntu.com FE85409EEAB40ECCB65740816AF0E1940624A220</em> and then add the repo with the command <em>sudo add-apt-repository ppa:tualatrix/ppa. </em>Once you have done that enter the following commands:</p><p><em>sudo apt-get update</em></p><p><em>sudo apt-get install ubuntu-tweak</em></p><p>You are now ready to start tweaking.</p><p><strong>Features</strong></p><p>Ubuntu Tweak offers the following features:</p><ul><li>Basic System Information(Distribution, Kernel, CPU, Memory, etc.)</li><li>GNOME Session Control</li><li>Easy addition of Auto Start Programs</li><li>Quick installation of popular applications</li><li>Third-party sources for keeping applications up-to-date</li><li>Package and cache clean up (to free disk space)</li><li>Show/Hide/Edit Splash screen</li><li>Show/Hide desktop icons or Mounted Volumes</li><li>Show/Hide/Rename Computer, Home, Trash or Network icon</li><li>Tweak Metacity Window Manager&#8217;s style and behaviour</li><li>Compiz Fusion settings</li><li>Screen Edge Settings</li><li>Window Effect Settings</li><li>Menu Effect Settings</li><li>Quicker access your favourite applications</li><li>GNOME Panel Settings</li><li>Nautilus Settings</li><li>Advanced Power Management Settings</li><li>System Security Settings</li><li>And other tweaks in the works!</li></ul><p>That&#8217;s quite a number of tweaks. Now let&#8217;s take a look at how the tweaks are handled.</p><p><strong>Usage</strong></p><div id="attachment_23847" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/ubuntu_tweak_main.png"><img class="size-medium wp-image-23847 " src="http://www.ghacks.net/wp-content/uploads/2010/03/ubuntu_tweak_main-500x291.png" alt="" width="300" height="175" /></a><p class="wp-caption-text">Figure 1</p></div><p>When you fire up Ubuntu Tweak you will be treated to a nice, simple user interface (see Figure 1).  If you don&#8217;t want to be treated to the Welcome screen every time you open the tool, you can click on Preferences and select which &#8220;tweak&#8221; you would like to set as your &#8220;welcome&#8221; window.</p><p>Ubuntu Tweak is set up so that some configurations happen in real time (So when you click a check box or select from a drop down, the configuration is immediately applied), whereas some require the click on an</p><div id="attachment_23849" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/ubuntu_tweak_nautilus.png"><img class="size-medium wp-image-23849 " src="http://www.ghacks.net/wp-content/uploads/2010/03/ubuntu_tweak_nautilus-500x291.png" alt="" width="300" height="175" /></a><p class="wp-caption-text">Figure 2</p></div><p>Apply button.  In Figure 2 I have the Nautilus Settings window open. This was a good configuration to illustrate some options that aren&#8217;t easy to find. Here you can see the ability to open Nautilus with root privileges. Not something you would want to use carelessly (or in an insecure setting), but it&#8217;s still a feature not easily found.  There is no actual configuration setting for this. In order to open Nautilus as the root user you would have to open it using the command <em>sudo nautilus</em>. Of course, I don&#8217;t really recommend setting this option as it can be a security risk (if the wrong person gets their fingers on your machine). This was just to illustrate what Ubuntu Tweak can do.</p><p><strong>Final thoughts</strong></p><p>Spend some time going through Ubuntu Tweak. You will find TONS of handy configurations that would take quite a bit longer to track down without this tool.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/20/tweak-your-ubuntu-with-ubuntu-tweak/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Understanding Samba security modes</title><link>http://www.ghacks.net/2010/03/17/understanding-samba-security-modes/</link> <comments>http://www.ghacks.net/2010/03/17/understanding-samba-security-modes/#comments</comments> <pubDate>Wed, 17 Mar 2010 11:22:55 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Knowledge]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[software]]></category> <category><![CDATA[samba]]></category> <category><![CDATA[security mode]]></category> <category><![CDATA[SMB]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23744</guid> <description><![CDATA[If you have read any of the Samba content here on Ghacks you probably will have noticed that within the smb.conf configuration file a line that begins with security =.  This is a very important part of Samba setup and generally the section that gives users the most problems. Although the security mode would seem [...]]]></description> <content:encoded><![CDATA[<p>If you have read any of the <a title="Samba content" href="http://www.ghacks.net/index.php?s=samba" target="_blank">Samba content</a> here on Ghacks you probably will have noticed that within the <strong>smb.conf</strong> configuration file a line that begins with <em>security =. </em> This is a very important part of Samba setup and generally the section that gives users the most problems. Although the security mode would seem fairly straight-forward<em>, </em>it is certainly worth explaining.</p><p>In this article I will discuss what the security mode feature does and what the different modes are. By the end of this article there should be no confusion as to which mode your Samba setup should use.</p><p><span id="more-23744"></span><strong>What are security modes?</strong></p><p>I like to think of security modes as a means to inform the server just how a client will authenticate. You know about authentication from many sources. You can authenticate at a local level, as part of a domain, using Active Directory, and more. How you authenticate is generally dictated by your IT department (or by yourself if you are personal or home user). Because of the different types of authentication, Samba needs a way to know how this authentication is going to happen.</p><p>Now, from a Windows perspective (and the reason why Samba exists) there are only two types of security level: Share level and User level. But because Windows has multiple ways of authentication Samba needs to break the user level down further. So, as far as Samba is concerned, these <em>levels</em> are called <em>modes </em>and there are five modes: user, share, domain, ADS, and server. Let&#8217;s take a look at each of these.</p><p><strong>user</strong></p><p>The <em>security = user</em> mode is really the easiest to understand. From the Samba server perspective, the only things that matter (with regard to user mode) is <em>username/password</em> and the name of the client machine. This mode works very simply: If the Samba server accepts the <em>username/password</em> of the client then that client is able to mount shares on the server.</p><p><strong>share</strong></p><p>The <em>security = share </em> mode the client will authenticate itself against a share on the Samba server. Unlike user, when <em>security = share</em> authenticates against a share, that means that client only has access to that share. When using this mode the client sends a password along with each share request. If the password authenticates, the client has access to the share. If not, no access is granted. The authentication process is like this:</p><ol><li>The client sends a session setup request that includes a valid username.</li><li>Samba records this username.</li><li>Client issues a tree connection request and the share the client wishes to connect with.</li><li>The users password is the then checked against the username. If password matches, the client is given access.</li></ol><p><strong>domain</strong></p><p>The <em>security = domain</em> provides a means for storing all username/passwords in a centralized, shared account. This account is then shared between domain controllers. So when Samba uses this mode of security it has a domain security trust account and forces all authentication requests to be passed through the domain controller. When using this mode the configuration requires a second parameter. So the configuration will look like:</p><p>security = domain</p><p>workgroup = DOMAIN_NAME</p><p>You also have to join the domain using the <em>net rpc join -U ADMINISTRATOR%PASSWORD</em> command. Where ADMINISTRATOR is the name of the administrator account and PASSWORD is the password for that account.</p><p><strong>ads</strong></p><p>As you might expect, this is the Active Directory mode. Samba added ADS functionality at release 3. Using ADS mode is only possible if the Active Directory server is run in native mode. When running in ADS mode Samba will need NT-compatible authentication data &#8211; in other words Kerberos. So your Samba server will need to have a working Kerberos system installed. When using ADS mode, your Samba configuration adds another line like so:</p><p>realm = YOUR.KERBEROS.REALM</p><p>security = ADS</p><p><strong>server</strong></p><p>The last mode is <em>security = server</em>. This mode is generally not used any more because it basically sends username/password authentication to another machine. If this other machine is down, there will be no authentication. This mode presents numerous problems, which is why it is often not used. One of the more serious problems is that once a connection to the password server is made, that connection can be left open for extended periods of time &#8211; thus a severe security issue.</p><p><strong>Final thoughts</strong></p><p>Now you should have a better understanding of the security modes for Samba. Which do you prefer? Which modes are you locked down to within your company? Samba is a very flexible tool that can be used in many different environments. Hopefully Ghacks is helping you to implement Samba more easily.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/17/understanding-samba-security-modes/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Connect to a Samba share from OS X</title><link>http://www.ghacks.net/2010/03/16/connect-to-a-samba-share-from-os-x/</link> <comments>http://www.ghacks.net/2010/03/16/connect-to-a-samba-share-from-os-x/#comments</comments> <pubDate>Mon, 15 Mar 2010 23:14:03 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[finder]]></category> <category><![CDATA[samba]]></category> <category><![CDATA[smb.conf]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23712</guid> <description><![CDATA[Here on Ghacks I&#8217;ve worked to cover Samba from numerous angles (check out the Samba Topic on Ghacks). I want to build on that topic by helping you to connect to a Samba share from within the OS X operating system. And just in case your Samba install is not set up, or just not [...]]]></description> <content:encoded><![CDATA[<p>Here on Ghacks I&#8217;ve worked to cover Samba from numerous angles (check out the <a title="Samba On Ghacks" href="http://www.ghacks.net/index.php?s=samba" target="_blank">Samba Topic on Ghacks</a>). I want to build on that topic by helping you to connect to a Samba share from within the OS X operating system. And just in case your Samba install is not set up, or just not quite right, I will offer up an easy to use <strong>smb.conf</strong> file that should help you get things rolling.</p><p>For this installation I will using Samba on a Debian server. Nothing really special, but it is on a fairly secure internal network (So I won&#8217;t really touch on security in this article). With that said, let&#8217;s begin.</p><p><span id="more-23712"></span><strong>smb.conf</strong></p><p>First let me show you a simple, easy to use, <strong>smb.conf</strong> file. This file should be placed in <strong>/etc/samba/ </strong>AFTER you back up your current <strong>/etc/samba/smb.conf </strong>file with the command <em>cp /etc/samba/smb.conf /etc/samba/smb.conf.bak</em>. Once you have that done, open up <strong>/etc/samba/smb.conf</strong>, delete the contents of that file, and insert the following:</p><p>﻿[global]<br /> netbios name = <strong>NETBIOS_NAME</strong><br /> workgroup = <strong>WORKGROUP</strong><br /> security = user<br /> encrypt passwords = yes<br /> smb passwd file = /etc/samba/smbpasswd<br /> interfaces = <strong>192.168.1.1/8</strong><br /> <code><strong><span style="font-weight: normal">[</span>SHARE</strong>]<br /> comment = <strong>COMMENT</strong><br /> path = <strong>/PATH/TO/SHARE</strong><br /> writeable = yes<br /> create mode = 0750<br /> locking = yes</code></p><p>Where everything in <strong>BOLD</strong> is user/network specific.</p><p><strong>Passwords and users</strong></p><p>Now of course you have to add users and add passwords for them. Do the following:</p><p><em>sudo smbpasswd -L -a <strong>USERNAME</strong></em></p><p>Where <strong>USERNAME </strong>is the actual name of the user you want to add. You will be prompted to create a password and retype said password.</p><p>Now enable the user with the command:</p><p><em>sudo smbpasswd -L -e <strong>USERNAME</strong></em></p><p>Again, where <strong>USERNAME </strong>is the actual user name you want to add.</p><p>Now restart Samba with the command:</p><p><em>/etc/init.d/samba restart</em></p><p><strong>Connect from OS X</strong></p><div id="attachment_23713" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/mac_samba.png"><img class="size-medium wp-image-23713 " src="http://www.ghacks.net/wp-content/uploads/2010/03/mac_samba-500x264.png" alt="" width="300" height="158" /></a><p class="wp-caption-text">Figure 1</p></div><p>And now to the heart of the matter. How do you connect to your Samba server from OS X? Here&#8217;s how. The first step is to open up the Finder. Once the finder window is open click the &lt;Apple&gt;k key combination which will bring up the window you see in Figure 1.</p><p>If this is your first time to connect to this Samba server from your Mac, you won&#8217;t see the servers listed&#8230;you will have to manually enter them. As you can see, in Figure 1, the address to enter is in the form: <em>smb://IP_ADDRESS_OF_SERVER. </em></p><div id="attachment_23714" class="wp-caption alignright" style="width: 276px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/mac_samba3.png"><img class="size-full wp-image-23714 " src="http://www.ghacks.net/wp-content/uploads/2010/03/mac_samba3.png" alt="" width="266" height="213" /></a><p class="wp-caption-text">Figure 2</p></div><p>Once you enter the IP address hit the Connect button and you will be prompted to select the SMB/CIFS share you want to connect to. After you do this the authentication window will open (see Figure 2). In this window you will be required to enter the Samba credentials for the Samba server.</p><div id="attachment_23715" class="wp-caption alignleft" style="width: 208px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/mac_samba4.png"><img class="size-full wp-image-23715" src="http://www.ghacks.net/wp-content/uploads/2010/03/mac_samba4.png" alt="" width="198" height="179" /></a><p class="wp-caption-text">Figure 3</p></div><p>Upon authentication to the Samba Server the Share will mount and appear in your Finder as you see in Figure 3 (only the share name will be different). You can now navigate this share as you would any folder.</p><p><strong>Disconnecting from the share</strong></p><p>Once you are finished using the share you can unmount the share by clicking the upward pointing arrow associated with the share listing in Finder. Of course you can leave this share mounted until you reboot the machine. I would suggest umounting the share before your reboot or shutdown.</p><p><strong>Final thoughts</strong></p><p>Mac and Linux do play well together. Hopefully you have found connecting to a Samba server as simple as nearly any other task in OS X.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/16/connect-to-a-samba-share-from-os-x/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>What Is WMPSideShowGadget.exe?</title><link>http://www.ghacks.net/2010/03/15/what-is-wmpsideshowgadget-exe/</link> <comments>http://www.ghacks.net/2010/03/15/what-is-wmpsideshowgadget-exe/#comments</comments> <pubDate>Mon, 15 Mar 2010 09:25:06 +0000</pubDate> <dc:creator>Martin</dc:creator> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[lcd]]></category> <category><![CDATA[logitech g15]]></category> <category><![CDATA[windows media player]]></category> <category><![CDATA[windows sideshow]]></category> <category><![CDATA[wmplayer]]></category> <category><![CDATA[WMPSideShowGadget.exe]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23694</guid> <description><![CDATA[I just noticed on my new computer system that two Windows Media Player related processes where running on it even though Windows Media Player was not running at all. The two processes were WMPSideShowGadget.exe and wmplayer.exe both running on a Windows 7 Professional 64-bit system. A quick search on the Internet revealed that the WMPSideShowGadget.exe process [...]]]></description> <content:encoded><![CDATA[<p>I just noticed on my new computer system that two Windows Media Player related processes where running on it even though Windows Media Player was not running at all. The two processes were WMPSideShowGadget.exe and wmplayer.exe both running on a Windows 7 Professional 64-bit system.</p><p>A quick search on the Internet revealed that the WMPSideShowGadget.exe process enables Windows Media Player information to be displayed on Sideshow capable devices. Windows Sideshow basically transfers information from the PC to another display that can either be integrated into a computer or only remotely linked to it.</p><p><span id="more-23694"></span>The only possible device that could have triggered the WMPSideShowGadget.exe was the Logitech G15 keyboard which uses an LCD display to show information whenever compatible applications are running on the PC.</p><p><img src="http://www.ghacks.net/wp-content/uploads/2010/03/wmpsideshowgadgetexe-500x329.jpg" alt="" title="wmpsideshowgadgetexe" width="500" height="329" class="alignnone size-medium wp-image-23695" /></p><p>The easiest way to disable WMPSideShowGadget.exe and wmplayer.exe from running is to go into the Windows Control Panel. Locate Hardware and Sound > Windows SideShow in the Control Panel. This should display a screen that looks like the following.</p><p><img src="http://www.ghacks.net/wp-content/uploads/2010/03/windows_sideshow_settings-499x191.jpg" alt="" title="windows sideshow settings" width="499" height="191" class="alignnone size-medium wp-image-23697" /></p><p>Uncheck the checkboxes next to the Windows Media Player entry (and every other entry that you do not need). This should immediately kill the two processes which can be checked by pressing Ctrl Shift Esc to open the Windows Task Manager.</p><p>Logitech G15 users might also want to check the device&#8217;s settings by opening the Logitech LCD Manager which lists a number of programs that are also automatically started with Windows. This includes LCD Pop3 Monitor and RSS Reader. All of those applications use computer memory even if they are not being used at all. It is recommended to disable the programs that are not needed to free up computer memory and speed up startup time of the operating system. A reboot is required before the changes take effect.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/15/what-is-wmpsideshowgadget-exe/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Docky: Another OS X-like Doc</title><link>http://www.ghacks.net/2010/03/14/docky-another-os-x-like-doc/</link> <comments>http://www.ghacks.net/2010/03/14/docky-another-os-x-like-doc/#comments</comments> <pubDate>Sun, 14 Mar 2010 13:52:41 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[dock]]></category> <category><![CDATA[dock bar]]></category> <category><![CDATA[GNOME]]></category> <category><![CDATA[GNOME Do]]></category> <category><![CDATA[panel]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23681</guid> <description><![CDATA[OS X users love their Dock..and with good reason. Not only is it a handy way to launch applications, it&#8217;s also rather stylish. I have covered a tool that had a similar look and feel before (see my article &#8220;Avant Window Navigator: OS-X like dock on Linux desktop&#8220;) and although that tool served it&#8217;s purpose [...]]]></description> <content:encoded><![CDATA[<p>OS X users love their Dock..and with good reason. Not only is it a handy way to launch applications, it&#8217;s also rather stylish. I have covered a tool that had a similar look and feel before (see my article &#8220;<a title="AWN" href="http://www.ghacks.net/2009/08/12/avant-window-navigator-os-x-dock-on-linux-desktop/" target="_blank">Avant Window Navigator: OS-X like dock on Linux desktop</a>&#8220;) and although that tool served it&#8217;s purpose well, at times it could be a bit buggy.</p><p><a title="Docky" href="http://do.davebsd.com/wiki/Docky" target="_blank">Docky</a> is a little bit different. Docky is really nothing more than a front-end for Gnome Do (for more information on GNOME Do, check out my article &#8220;<a title="GNOME Do" href="http://www.ghacks.net/2009/09/21/dont-search-do-with-gnome-do/" target="_blank">Don&#8217;t search, do &#8211; with GNOME Do</a>&#8220;) that also serves as a really solid doc bar for the launching of applications in a very OS X like fashion.</p><p>In this article I will show you how to install and use Docky.</p><p><span id="more-23681"></span><strong>Installation</strong></p><p>Because this is a front-end for GNOME Do, I highly recommend you install GNOME Do as well. What is really cool about this, however, is that you do not have to install GNOME Do. You can opt to only install Docky and use it as a simple Doc bar. Of course if you install GNOME Do, you will most likely want to work with Docky via the GNOME Do interface. It seems a bit convoluted, so let&#8217;s install both and you will see what I mean.</p><p>We&#8217;ll install Docky in Ubuntu. You can see how to install Docky in other distributions from the <a title="Install Docky" href="http://wiki.go-docky.com/index.php?title=Install" target="_self">Docky Wiki</a>. In order to install Docky in Ubuntu, follow these steps:</p><ol><li>Add the correct repository with the command <em>sudo add-apt-repository ppa:docky-core/ppa</em></li><li>Update your sources with <em>sudo apt-get update.</em></li><li>Install with the command <em>sudo apt-get install docky.</em></li></ol><p>That&#8217;s it. If Docky doesn&#8217;t start right away you can then hit &lt;Alt&gt;F2 and enter the command <em>docky</em> to start the application.</p><p><strong>Using Docky</strong></p><div id="attachment_23682" class="wp-caption alignleft" style="width: 278px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/docky_settings.png"><img class="size-medium wp-image-23682 " src="http://www.ghacks.net/wp-content/uploads/2010/03/docky_settings-447x500.png" alt="" width="268" height="300" /></a><p class="wp-caption-text">Figure 1</p></div><p>When Docky starts you might find it overlapping your bottom GNOME panel and it will be in Panel Mode (it will stretch all the way across the bottom of your screen). To move Docky click and drag it to one side or the other. Or, if you like it at the bottom, you opt to delete the bottom GNOME panel instead.) Once you have Docky where you want it, you might want to switch it out of Panel mode. To do this click the Docky icon (the anchor) on Docky to open up the settings window (see Figure 1).</p><div id="attachment_23683" class="wp-caption alignright" style="width: 63px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/docky.png"><img class="size-medium wp-image-23683 " src="http://www.ghacks.net/wp-content/uploads/2010/03/docky-89x500.png" alt="" width="53" height="300" /></a><p class="wp-caption-text">Figure 2</p></div><p>If Panel Mode is checked, uncheck it and Docky will switch from Panel mode to to Dock mode (see Figure 2).</p><p><strong>Adding launchers</strong></p><p>By default Docky will only contain a few launchers. As far as most of the documentation goes, it would seem all you need to do is open up a GNOME menu, select and item, and drag it to Docky. That doesn&#8217;t really work. Instead, here&#8217;s how you add launchers to Docky.</p><ol><li>From the GNOME menu, launch the application you want to add.</li><li>An icon for the launched application will appear on Docky.</li><li>Right click the new icon on Docky.</li><li>Select &#8220;Pin to Dock&#8221; from the new menu.</li></ol><p><strong>Removing launchers</strong></p><p>Removing a launcher is simple. Click on the launcher you want to remove and drag it off of Docky. That&#8217;s it. You can also organize your launchers by dragging and dropping them where you want them.</p><p><strong>Docklets and Helpers</strong></p><p>From the Docky settings window you can also add Docklets and Helpers. Docklets are similar to applications you will find in the GNOME notification area (monitors, clocks, etc). Helpers are more along the lines of application controls (Banshee, Pidgen, etc).</p><p><strong>Final thoughts</strong></p><p>Docky is an easy way to extend the functionality and look of your GNOME desktop. But don&#8217;t forget that Docky does function with GNOME Do. In later articles I will show you how to take advantage of this feature.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/14/docky-another-os-x-like-doc/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Get to know Linux: shutdown, reboot, startx</title><link>http://www.ghacks.net/2010/03/13/get-to-know-linux-shutdown-reboot-startx/</link> <comments>http://www.ghacks.net/2010/03/13/get-to-know-linux-shutdown-reboot-startx/#comments</comments> <pubDate>Sat, 13 Mar 2010 18:15:45 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[linux command line]]></category> <category><![CDATA[reboot linux machine]]></category> <category><![CDATA[shutdown linux]]></category> <category><![CDATA[start linux desktop]]></category> <category><![CDATA[startx]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23669</guid> <description><![CDATA[If you use Linux long enough you are going to come face to face with a situation where you are in a GUI-less log in and you&#8217;re either going to know what to do or you are not.  If you don&#8217;t know what to do, you will find yourself in a bit of a bind. [...]]]></description> <content:encoded><![CDATA[<p>If you use Linux long enough you are going to come face to face with a situation where you are in a GUI-less log in and you&#8217;re either going to know what to do or you are not.  If you don&#8217;t know what to do, you will find yourself in a bit of a bind. You might find yourself face-to-face with a GUI-less server or have to reboot a machine remotely. With not GUI &#8211; how will you manage?</p><p>Simple. You use the commands that have been around since the early days of Linux: <em>shutdown, reboot, and startx. </em>In this article I will introduce you to these commands so you will have a solid understanding of how they are used.  And hopefully the <em>shutdown</em> and <em>reboot </em>commands will rarely (if ever) be used.</p><p><span id="more-23669"></span><strong>Startx</strong></p><p>Let&#8217;s begin with the <em>startx </em>command. This command is rarely used now, because most all distributions boot into graphical mode. But there are occasions where you will want to have a GUI-enabled machine stop at console login. And when you do have to get to that GUI running, you need to know <em>startx</em>.</p><p>Generally speaking the use of <em>startx</em> command is simple. After you log in you issue, aptly enough, <em>startx</em>. This command will bring up your GUI. The <em>starx </em>command is actually a &#8220;front end&#8221; for the xinit system and allows a single instance of the X Windows system to start. One neat trick with startx is that you can add an <strong>.xinitrc</strong> file to your <strong>~/</strong> directory to tell startx which desktop environment to run. Say you want to run KDE. For this your <strong>.xinitrc </strong>file would contain the line:</p><p><em>exec startkde</em></p><p>Or, if you wanted to start GNOME, the line would look like:</p><p><em>exec gnome</em></p><p>You can also start just about any window manager in the same way.</p><p><strong>Reboot</strong></p><p>If you have a console-only machine, and you have a need to reboot that machine, the easiest way to do this is to issue the command <em>reboot</em>. Now in some distributions the reboot command is limited to administrator-level users. So you might have to either <em>su </em>to root or use the <em>sudo </em>command in conjunction with <em>reboot</em> in order to successfully reboot your machine.</p><p><strong>Shutdown</strong></p><p>Shutdown is a bit more complicated than reboot.  With shutdown you need to indicate a time when the process is to take place. This, of course, means you can time your shutdowns. But most often the shutdown command will look like:</p><p><em>shutdown -h now</em></p><p>The <em>h </em>option tells shutdown to halt the machine. Shutdown can actually reboot the machine as well (with the use of the <em>r</em> option). Using the <em>now </em>option informs <em>shutdown</em> that the action is to take place immediately. You can also tell <em>shutdown </em>to run the process at a given time. For time you can use either the +m (where m = minutes) or hh:mm (where hh is hour and mm is minutes). So if I wanted to shutdown the machine in an hour I could issue the command:</p><p><em>shutdown -h +60</em></p><p>Or, if I wanted to shutdown the machine at midnight, I could issue the command:</p><p><em>shutdown -h 12:00</em></p><p><strong>Final thoughts</strong></p><p>Although these commands won&#8217;t be used that often, it is wise to have them in your toolkit. You never know when you are going to be faced with the Linux console!</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/13/get-to-know-linux-shutdown-reboot-startx/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>What is it with the &#8220;dist-upgrade&#8221; option of apt-get?</title><link>http://www.ghacks.net/2010/03/11/what-is-it-with-the-dist-upgrade-option-of-apt-get/</link> <comments>http://www.ghacks.net/2010/03/11/what-is-it-with-the-dist-upgrade-option-of-apt-get/#comments</comments> <pubDate>Thu, 11 Mar 2010 12:08:16 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[software]]></category> <category><![CDATA[apt-get]]></category> <category><![CDATA[distribution upgrade]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23627</guid> <description><![CDATA[There has always been a bit of confusion when people learn they can do a full upgrade of their distribution from the command line. Most people don&#8217;t brave such a feat. Some because they don&#8217;t use the command line, and others because they are afraid an attempt to upgrade from the command line will wind [...]]]></description> <content:encoded><![CDATA[<p>There has always been a bit of confusion when people learn they can do a full upgrade of their distribution from the command line. Most people don&#8217;t brave such a feat. Some because they don&#8217;t use the command line, and others because they are afraid an attempt to upgrade from the command line will wind up fubaring their system.  And new users aren&#8217;t quite sure what the difference between <em>apt-get upgrade </em>and <em>apt-get dist-upgrade </em>is.</p><p>In this Ghacks Linux entry, I am going t dispel the myths and fear of the <em>dist-upgrade</em> command. Of course, as with everything PC-related, you know their are always risks when you do a major upgrade. With that warning out in the open, let&#8217;s set out to curb a little fear.</p><p><span id="more-23627"></span><strong>Differences</strong></p><p>First I want to compare the two <em>apt-get</em> options: <em>upgrade </em>and <em>dist-upgrade</em>. The difference between these two is very simple. The <em>upgrade</em> option is used only to install all of the newest versions of the packages already installed on your machine. This is what happens when you see the upgrade upgrade packages through the Update Manager (You know, when you are made aware of notification in your panel and then Update Manager opens to show you which  updates are available for your system.)</p><p>The <em>dist-upgrade</em> option is quite different from <em>upgrade</em>. But just what does <em>dist-upgrade</em> do? Simple. The <em>dist-upgrade </em>option not only will upgrade all of the currently installed packages on your system it will also handle the dependency changes with new versions of packages. In other words, <em>dist-upgrade</em> will remove obsolete packages from your system, whereas <em>upgrade </em>will not. This function is out of necessity for upgrading from one distribution release to another.</p><p><strong>But doesn&#8217;t it upgrade my distro?</strong></p><p>Not necessarily. Although, by itself, <em>dist-upgrade</em>, will prepare your system for a distribution upgrade, the only way it will actually perform the upgrade to a new release is if you have changed your <strong>/etc/apt/sources.list<em> </em></strong>file to reflect the change. In other words, you have to add the repositories for the new distribution in the <strong>sources.list</strong> file before this can happen.</p><p>Well that sounds simple. Yes it is. But it is not the recommended plan of attack for upgrading to a new distribution. Although it will work, there is a better way&#8230;by command. The command <em>do-release-upgrade</em> was created specifically for upgrading the operating system to the latest release via the command line. Of course, before you issue this command you will want to check to see if an upgrade is available with the command <em>sudo do-release-upgrade -d. </em>When you do this you you be informed if a new release is available. If there is a new release available issue the command <em>sudo do-release-upgrade</em> and the upgrade process will begin. Of course this is a rather lengthy process and there are risks involved.You could lose packages you have manually installed (that are not supported by the new release) or (worst case scenario) your system could become unstable.</p><p>Distribution upgrades are always tricky. I have had them go exceedingly well and I have had them go very awry. It&#8217;s a gamble. But now you know exactly how to manage the task from the command line. You are now, officially, dangerous. ;-)</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/11/what-is-it-with-the-dist-upgrade-option-of-apt-get/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Rescue that infected Windows machine with Trinity Rescue</title><link>http://www.ghacks.net/2010/03/10/rescue-that-infected-windows-machine-with-trinity-rescue/</link> <comments>http://www.ghacks.net/2010/03/10/rescue-that-infected-windows-machine-with-trinity-rescue/#comments</comments> <pubDate>Wed, 10 Mar 2010 12:18:34 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[antivirus]]></category> <category><![CDATA[rescue kits]]></category> <category><![CDATA[rescue tools]]></category> <category><![CDATA[virus scans]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23606</guid> <description><![CDATA[Sticking with our current theme of rescuing, we will now focus our magnifying glass another another useful Linux tool &#8211; Trinity Rescue Kit.TRK is another live Linux distribution, but with a different spin. Instead of being a live CD who&#8217;s purpose is to do just about everything, Trinity wants to really only do two things: Recover [...]]]></description> <content:encoded><![CDATA[<p>Sticking with our current theme of rescuing, we will now focus our magnifying glass another another useful Linux tool &#8211; <a title="Trinity Rescue Kit" href="http://trinityhome.org/Home/index.php?wpid=1&amp;front_id=12" target="_blank">Trinity Rescue Kit</a>.TRK is another live Linux distribution, but with a different spin. Instead of being a live CD who&#8217;s purpose is to do just about everything, Trinity wants to really only do two things: Recover data and remove viruses. But it&#8217;s the latter task that really sets this apart. You will find most live Linux distributions tend to neglect antivirus. Sure you could take an existing live distribution and add an antivirus package to it. But why bother when TRK already has numerous antivirus tools ready for work.</p><p>In this article I will introduce you to Trinity Rescue Kit and how you can use it to scan an infected Windows machine and remove dastardly viruses.</p><p><span id="more-23606"></span><strong>Getting TRK</strong></p><p>The first step is to download TRK and burn it onto a disk. If you are unsure how to do this let&#8217;s walk through the process.Download an iso image of TRK from the <a title="Trinity Rescue Kit download page" href="http://trinityhome.org/Home/index.php?wpid=5&amp;front_id=12" target="_blank">TRK download page</a> (make sure you scroll down to one of the four mirrors and download from their). Once you have the iso downloaded you only need open up a tool like K3B and burn the image (check out my article &#8220;<a title="Burn CD and DVD ISO images with K3B" href="http://www.ghacks.net/2009/01/11/burn-cd-and-dvd-iso-images-with-k3b/" target="_blank">Burn CD and DVD ISO images with K3B</a>&#8221; for more information). You could also put this image on a USB drive to easier portability. The easiest way to do that is to use Unetbootin (see my article &#8220;<a title="Install Linux on a USB drive with Unetbootin" href="http://www.ghacks.net/2008/12/16/install-linux-on-a-usb-drive-with-unetbootin/" target="_blank">Install Linux on a USB drive with Unetbootin</a>&#8221; for more information).</p><p>With your CD or your USB drive in hand it&#8217;s time to march over to that infected machine and get to work.</p><p><strong>Using TRK</strong></p><p>The first thing to do is stick the CD or the USB drive in the machine and reboot. If your machine is not set to boot from either the CD or USB you will want to enter the boot menu of the machine and select either device (depending on which you are using). With TRK you can just let the boot process happen &#8211; there is no interaction necessary. Eventually you will wind up at a root prompt. There is no GUI to mention here. TRK is all command line goodness. But never fear, the commands are not too terribly challenging. In fact, to rescue a machine from virus infection there is really only a couple of commands you need to issue.</p><p><strong>Mounting the drives</strong></p><p>The first thing you have to do is mount the drives on the machine. TRK has a very simple command for that. At the command prompt enter:</p><p><em>mountallfs -g</em></p><p>Which will mount all of your drives in read/write mode. This is necessary in order to rid the machine of any infection. You will want to see where all of your drives have been mounted. Take a look in the <strong>/ </strong>directory with the command <em>ls /</em>. You should listings like <strong>/hda1</strong>, <strong>/hda2</strong>,<strong> /hda3</strong>, etc. These are your mounted drives that you will want to scan.</p><p>Now, with the drives mounted, it&#8217;s time to scan. This is done with the following command:</p><p><em>virusscan -a clam,bde,va -d /MOUNTED_DRIVE</em></p><p>Where MOUNTED_DRIVE is the drive to scan. You can scan multiple drives by separating them with commas like so:</p><p><em>virusscan -a clam,bde,va -d /hda1,/hda2,/hda3</em></p><p>In the above command <em>clam</em> is for ClamAV, <em>bde</em> is for BitDefender, and <em>va </em>is for Vexira Antivirus. Yes you can scan with multiple antivirus engines, but know that the more engines you use the longer the scan will take.</p><p>Once the scan is done you will have a report on what the scan process found and what action was taken.</p><p><strong>Final thoughts</strong></p><p>Trinity Rescue Kit is an outstanding tool to place in your toolbox for disinfecting machines. Get to know it and start using it, you won&#8217;t regret the time spent.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/10/rescue-that-infected-windows-machine-with-trinity-rescue/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Install Avira Antivir on Linux</title><link>http://www.ghacks.net/2010/03/09/install-avira-antivir-on-linux/</link> <comments>http://www.ghacks.net/2010/03/09/install-avira-antivir-on-linux/#comments</comments> <pubDate>Tue, 09 Mar 2010 12:23:21 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[software]]></category> <category><![CDATA[antivirus]]></category> <category><![CDATA[virus scan]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23582</guid> <description><![CDATA[In yesterday&#8217;s post (see &#8220;Scan a Windows drive for viruses using Linux&#8220;) in which I mentioned the Avira Antivir software. This piece of software is a commercial, cross-platform anti-virus solution that offers both a GUI and a command line interface. For this article we will only deal with the command line version of the tool. The [...]]]></description> <content:encoded><![CDATA[<p>In yesterday&#8217;s post (see &#8220;<a title="Scan a windows drive for viruses with Linux" href="http://www.ghacks.net/2010/03/09/scan-a-windows-drive-for-viruses-using-linux/" target="_blank">Scan a Windows drive for viruses using Linux</a>&#8220;) in which I mentioned the Avira Antivir software. This piece of software is a commercial, cross-platform anti-virus solution that offers both a GUI and a command line interface. For this article we will only deal with the command line version of the tool.</p><p>The Avira company offers a number of different solutions. Scan through their <a title="Avira product overview" href="http://www.avira.com/en/products/index.php" target="_blank">product overview</a> to find out which solution is best for you.  But for this article we are looking at the <a title="Avira antivirus for Linux" href="http://en.kioskea.net/telecharger/download-110-avira-antivir-personal-free-for-linux-freebsd-openbsd-solaris" target="_blank">Avira Antivir workstation solution for linux</a>. In this article I will show you how to install and use this outstanding product.</p><p><span id="more-23582"></span><strong>Before you begin</strong></p><p>There is one pre-requisite for installation. If you want to use the real-time scanner you have to have Dazuko installed. This is a fairly complex installation which requires either building your own kernel or compiling Dazuko against your kernel source. We will deal with this in a later article, so skip the AvGuard installation for now.</p><p>Once this is finished you are ready to install Antivir.</p><p><strong>Unpacking and installing</strong></p><p>Hopefully you have already downloaded the source from the link above (see Avira Antivir workstation solution for Linux). Open up a terminal and change to the directory holding that file.  The first step is to unpack the tar with the command:</p><ol><li><em>tar xvzf antivir-workstation-pers.tar.gz</em></li><li>Once you&#8217;ve done that change into the new created directory. If you do a listing of this directory you will find an executable <em>install</em> script. This is the way to install. Issue the command <em>sudo ./install </em>and enter your sudo password.</li><li>Here are the steps you will have to walk through:</li><li>View the license (space bar to view, Enter for accepting).</li><li>Enter the path to your license key (the key will be <em>hbedv.key</em> that you need to purchase from the site).  For evaluation purposes just hit Enter here.</li><li>Install the internet daemon. If you want to install the auto updater, hit enter.</li><li>Create a link for avupdater. (You will want this).</li><li>Would you like the update daemon to start automatically? (You will want this).</li><li>Do you want to install AvGuard (real-time scanner). For now we will skip this, until I have addressed the installation of Dazuko. The installation of Antivir can be rerun and AvGuarded added to it.</li><li>Configure AntiVir updater. Hit enter to configure.</li><li>Would you like to be notified about updates. This is up to you.</li><li>Would you like the updater to log to  a custom file? You will want this.</li><li>Accept the default location for the updater log.</li><li>How often should AntiVir check for updates (the default is every 2 hours &#8211; you might change that to once a day (d).</li><li>What time should updates be done. The default is RANDOM.</li><li>Does this machine use a proxy server? y/n</li><li>Save configuration settings? Hit Enter.</li><li>Would you like to apply the configuration? Hit Enter.</li><li>Hit Enter to complete, but take note of the common commands listed.</li></ol><p><strong>Usage</strong></p><p>Using AntiVir is actually quite simple.  Here are some of the commands you will want to know:</p><ul><li>Configure the updater: <em>/usr/lib/AntiVir/configantivir</em></li><li>Start update daemon: <em>/usr/lib/AntiVir/avupdater start</em></li><li>Stop update deamon: <em>/usr/lib/AntiVir/avupdater stop</em></li><li>Update daemon status: <em>/usr/lib/AntiVir/avupdater status</em></li><li>Running a manual, recursive scan: <em>antivir -s &#8211;update &#8211;scan-mode=all</em></li></ul><p>NOTE: With only a trial license, the <em>&#8211;update</em> argument (used to check for updated virus signatures) will not work. For more arguments to use with the <em>antivir</em> command issue the command <em>antivir -h</em> (as you will not find a man page for this command).</p><p><strong>Final thoughts</strong></p><p>Avira&#8217;s Antivir is a powerful tool for the fight against viruses. And just because you are using a Linux workstation, does not mean you should snub anti-virus solutions. You get files from people that you pass on to others (others who may not be using Linux as their workstation). You will want to make sure those files are virus-free.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/09/install-avira-antivir-on-linux/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Configure The 7-Zip Windows Explorer Context Menu</title><link>http://www.ghacks.net/2010/03/09/configure-the-7-zip-windows-explorer-context-menu/</link> <comments>http://www.ghacks.net/2010/03/09/configure-the-7-zip-windows-explorer-context-menu/#comments</comments> <pubDate>Tue, 09 Mar 2010 11:08:42 +0000</pubDate> <dc:creator>Martin</dc:creator> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[7-zip]]></category> <category><![CDATA[7-zip tips]]></category> <category><![CDATA[file menu tools]]></category> <category><![CDATA[windows-explorer]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23578</guid> <description><![CDATA[The popular compression software 7-Zip integrates itself nicely into Windows Explorer to make compression related tasks comfortable. Depending on the file selecting options are displayed to compress or uncompress the selection. Usually a lot of options are displayed when right-clicking files or folders in Windows Explorer which makes it more complex than necessary to selected the [...]]]></description> <content:encoded><![CDATA[<p>The popular compression software 7-Zip integrates itself nicely into Windows Explorer to make compression related tasks comfortable. Depending on the file selecting options are displayed to compress or uncompress the selection.</p><p>Usually a lot of options are displayed when right-clicking files or folders in Windows Explorer which makes it more complex than necessary to selected the needed options. A right-click on an archive for instance displays options to open the archive, extract the files, extract the contents in the current folder, extract the contents to a folder with the same name as the archive and to test the archive.</p><p><span id="more-23578"></span>The same is true for creating new archives as options are displayed to add the files and folders to the archive, compress and email the selection, create a 7z or zip archive and compress and email the selection as a 7z or zip archive.</p><p><img src="http://www.ghacks.net/wp-content/uploads/2010/03/7-zip_windows_explorer-500x384.jpg" alt="" title="7-zip windows explorer" width="500" height="384" class="alignnone size-medium wp-image-23579" /></p><p>The entries that are displayed in Windows Explorer can be configured right in 7-Zip. A click on Tools > Options will open the 7-Zip configuration menu. Switching to Plugins and clicking on the options button will open the Windows Explorer integration options.</p><p>It is possible to remove the options that are not needed so that they do not appear in Windows Explorer in the menu.</p><p><img src="http://www.ghacks.net/wp-content/uploads/2010/03/7-zip_options-414x500.jpg" alt="" title="7-zip options" width="414" height="500" class="alignnone size-medium wp-image-23580" /></p><p>The changes will be visible immediately in Windows Explorer. There are of course other ways of handling Windows Explorer context menu entries like the <a href="http://www.ghacks.net/2008/12/15/windows-explorer-menu-editor/">Windows Explorer Menu Editor</a> or <a href="http://www.ghacks.net/2008/12/03/windows-explorer-context-menu-editor/">File Menu Tools</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/09/configure-the-7-zip-windows-explorer-context-menu/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Scan a Windows drive for viruses using Linux</title><link>http://www.ghacks.net/2010/03/09/scan-a-windows-drive-for-viruses-using-linux/</link> <comments>http://www.ghacks.net/2010/03/09/scan-a-windows-drive-for-viruses-using-linux/#comments</comments> <pubDate>Tue, 09 Mar 2010 01:01:44 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[antivirus]]></category> <category><![CDATA[ClamAV]]></category> <category><![CDATA[f-prot]]></category> <category><![CDATA[virus-scanner]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23573</guid> <description><![CDATA[Recently I came into a client who had a Windows XP machine that contained a nasty little virus that rendered the machine nearly unusable. When the machine would boot the CPU was pegging out at 100%, causing the GUI to be nearly unresponsive. I attempted to run AVG, Avast, Malwarebytes &#8211; but all for naught. The [...]]]></description> <content:encoded><![CDATA[<p>Recently I came into a client who had a Windows XP machine that contained a nasty little virus that rendered the machine nearly unusable. When the machine would boot the CPU was pegging out at 100%, causing the GUI to be nearly unresponsive.</p><p>I attempted to run AVG, Avast, Malwarebytes &#8211; but all for naught. The machine was so slow it seemed as if installing a simple anti-virus tool was going to take me an entire 40 hour work week. So I opted for a different approach. Instead of allowing Windows to boot, I decided it was time take advantage of my good old friend, Linux! That&#8217;s right, Linux can scan a Windows machine for viruses, and it does it quite well. And in this article I am going to show you a quick way to achieve this.</p><p><span id="more-23573"></span><strong>What you need</strong></p><p>Amidst all the simplicity you will enjoy with the Linux scanning, there are a few things you will need. First you need to remove that drive from the Windows machine. That&#8217;s right, we&#8217;re going to attach it to the Linux machine and do a scan of this now &#8220;external&#8221; drive. I prefer to use a tool that allows me to attach the drive such that the drive is attached to the machine via USB.</p><p>You will also want to have a modern instance of Linux up and running. The machine can already be on. In fact, it&#8217;s better if it is.</p><p>You will also need to install an anti-virus on Linux. <a title="F-Prot" href="http://www.f-prot.com/download/home_user/" target="_blank">http://www.f-prot.com/download/home_user/</a> is an outstanding choice.</p><p><strong>The &#8220;how to&#8221;</strong></p><p>The first thing you need to do is connect the infected drive to the Linux machine. Depending upon your distribution, an icon should appear on your desktop. If it does, double click that icon so to ensure the drive mounts. Now check to where that drive mounted (most likely in <strong>/media</strong>). What you will now do is use your Linux scanning tool to scan that mounted drive.</p><p>Let&#8217;s say you are using F-Prot. To run this scan you would issue the command:</p><p><em>fpscan &#8211;disinfect /media/DISK</em></p><p>Where DISK is the mount point of your disk.</p><p>This will scan that drive and disinfect it. Understand that if one scanner doesn&#8217;t locate the infected files you might want to run a different scan. You can use <a title="ClamAV" href="http://www.clamav.net/" target="_blank">ClamAV</a> for email-based viruses (Check out my article &#8220;<a title="ClamTK on Ghacks" href="http://www.ghacks.net/2010/01/20/scan-your-linux-machine-for-viruses-with-clamtk/" target="_blank">Scan your Linux machine for viruses with ClamTK</a>&#8221; for using a GUI front end for ClamAV). NOTE: I will be doing an article on installing and using Avira Antivir on Linux this week.</p><p>Hopefully one of your anti-virus tools will have caught the culprit and either quarantined or removed the virus. Once you are done with the scan, make sure you unmount the &#8220;external&#8221; drive before you remove the hardware.</p><p>After the hard drive is off the Linux machine, re-install it to the Windows machine, and boot up. Hopefully you are good to go.</p><p><strong>Final thoughts</strong></p><p>You probably never thought you would need any anti-virus on a Linux machine. Well, if your Windows machine has become unusable you have found the perfect use for such a combination. And  remember, if you are using Linux for your mail server, you should certainly have anti-virus installed.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/09/scan-a-windows-drive-for-viruses-using-linux/feed/</wfw:commentRss> <slash:comments>24</slash:comments> </item> <item><title>Ad Server Benefits</title><link>http://www.ghacks.net/2010/03/07/ad-server-benefits/</link> <comments>http://www.ghacks.net/2010/03/07/ad-server-benefits/#comments</comments> <pubDate>Sun, 07 Mar 2010 11:31:23 +0000</pubDate> <dc:creator>Martin</dc:creator> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[ad manager]]></category> <category><![CDATA[ad server]]></category> <category><![CDATA[ad server benefits]]></category> <category><![CDATA[advertising]]></category> <category><![CDATA[CPM Ads]]></category> <category><![CDATA[google ad manager]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23541</guid> <description><![CDATA[An ad server is a server that is being used to manage the advertising scripts that are displayed on a website. Most websites and blogs display advertisement on their webpages. Some to cover the hosting costs, others to support their lifestyle or as the sole income source. Every advertising company runs an ad server and it [...]]]></description> <content:encoded><![CDATA[<p>An ad server is a server that is being used to manage the advertising scripts that are displayed on a website. Most websites and blogs display advertisement on their webpages. Some to cover the hosting costs, others to support their lifestyle or as the sole income source.</p><p>Every advertising company runs an ad server and it is not usually necessary to run another ad server to manage the ads on websites. An ad server on the other hand has several advantages (and some disadvantages) over using no ad server.</p><p>If you look at most websites you will notice that ads are usually displayed without an ad server in the background. All the webmaster has to do is to copy and paste the ad tags that are supplied by the advertising company on the website or pages the ads should be displayed.</p><p><span id="more-23541"></span>That&#8217;s usually it for cpc based advertising solutions like Google Adsense but cpm based banner ads on the other hand require additional configurations. This can be largely attributed to the fact that cpm advertising companies often only display ads for some of the inventory. They do require a backup ad (passback ad) that they transfer the ad request to if they cannot display one. That&#8217;s tiered advertising (or ad chaining).</p><p>It is up to the webmaster where the passback ads are send to. It is possible to display a local banner, a transparent gif or ads from another company.</p><p>It becomes more difficulty if geographic parameters are taking into consideration. Say one advertiser is only offering banner ads for US visitors, one for UK visitors and one offers to display ads for all visitors. Most webmasters chain the ads then to direct all visitors from the US advertiser to the UK and the to the one that is serving all.</p><p>This means that the page loading time for visitors that are not coming from the US or UK increases. If you assume that each advertiser has the same loading time it increases by a factor of 3 for worldwide users.</p><p>An ad server on the other hand can be configured to take the geolocation of a visitor into account. It can for instance be configured to display ad 1 to US visitors, ad 2 to UK visitors and ad 3 to everyone else. This means that the loading time is always the same no matter where the visitor of the website comes from.</p><p>This is one of the biggest strengths of an ad server. It has to be noted though that an ad server that is not hosted locally adds its loading time to all ad displays. Locally hosted ad servers on the other hand require lots of server resources if the website is popular and it is often the case that they need to be hosted on another server because of their performance requirements.</p><p>An alternative to using an ad server for distributing ads to geotargeted users is to use a scripting language to do that during page loading time. This again has severe consequences as it increases the server&#8217;s load and prevents caching of those scripts since they have to be run individually for every visitor.</p><p>Most ad servers provide additional filtering options and ad display options. Google&#8217;s Ad Manager for instance can also filter by web browser, operating system and date or time. This opens interesting new options like displaying specific ads to Linux users for instance or Google Chrome users.</p><p>The second big benefit of an ad server are its ad management capabilities. It is for instance nearly impossible to sell part of the inventory directly to advertisers as it would be very difficulty to control the ads on the website.</p><p>An ad server can be easily used for that. An advertiser might want to purchase 100k impressions targeting Windows users from the UK. That would not be a problem with a proper ad manager which could be configured to run the 100k impressions on the web server disabling the ad after the last impression has been served.</p><p><strong>Ad Server Benefits</strong></p><ul><li>More flexibility to serve and manage ads</li><li>Better performance by reducing the effects of ad chaining</li><li>Ability to run highly targeted campaigns and to sell direct advertisement</li></ul><p><strong>Ad Server Disadvantages</strong></p><ul><li>Requires some time to configure the ads that are served properly</li><li>Might increase loading time for some users depending whether the ad server is hosted locally or remotely</li><li>Not suitable for smaller websites or sites that display only ads from one advertising company</li></ul><p>What&#8217;s your experience regarding ad servers? Would you recommend one if you could?</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/07/ad-server-benefits/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Post Twitter and Facebook status from the GNOME panel</title><link>http://www.ghacks.net/2010/03/06/post-twitter-and-facebook-status-from-the-gnome-panel/</link> <comments>http://www.ghacks.net/2010/03/06/post-twitter-and-facebook-status-from-the-gnome-panel/#comments</comments> <pubDate>Sat, 06 Mar 2010 18:19:16 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[facebook]]></category> <category><![CDATA[GNOME]]></category> <category><![CDATA[Lucid Lynx]]></category> <category><![CDATA[social desktop]]></category> <category><![CDATA[twitter]]></category> <category><![CDATA[ubuntu]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23521</guid> <description><![CDATA[One of the nice, but somewhat hidden, features of the upcoming Ubuntu 10.4 release is that you can access chatting, tweeting, and social network all from a simple panel applet. Now I will warn you, this feature is not production-worthy. In other words, it will crash on you. But to see what is in store [...]]]></description> <content:encoded><![CDATA[<p>One of the nice, but somewhat hidden, features of the upcoming Ubuntu 10.4 release is that you can access chatting, tweeting, and social network all from a simple panel applet. Now I will warn you, this feature is not production-worthy. In other words, it will crash on you. But to see what is in store is certainly worth the effort of working with the tools.</p><p>In this article I will give you a preview of what is to come for Ubuntu 10.4 and how easily it will be to tweet, IM, and facebook &#8211; all from the GNOME panel.</p><p><span id="more-23521"></span><strong>How it works</strong></p><p>What this feature does is work with Gwibber and Empathy to enable users to connect with various types of accounts. As it stands you can connect with quite a few different types, including:</p><ul><li>IM</li><li>Facebook</li><li>Twitter</li><li>Google Talk</li><li>gadugadu</li><li>GroupWise</li><li>ICQ</li><li>MSN</li><li>MySpace</li><li>Yahoo!</li></ul><p>and more.</p><p><strong>How you connect</strong></p><div id="attachment_23524" class="wp-caption alignleft" style="width: 268px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/username.png"><img class="size-full wp-image-23524" src="http://www.ghacks.net/wp-content/uploads/2010/03/username.png" alt="" width="258" height="48" /></a><p class="wp-caption-text">Figure 1</p></div><div id="attachment_23525" class="wp-caption alignright" style="width: 183px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/panel_dropdown.png"><img class="size-full wp-image-23525 " src="http://www.ghacks.net/wp-content/uploads/2010/03/panel_dropdown.png" alt="" width="173" height="198" /></a><p class="wp-caption-text">Figure 2</p></div><p>From the Ubuntu 10.4 GNOME panel the login username is listed (see Figure 1). If you click on that a drop-down will appear (see Figure 2) where you can either set your status or connect to an account. There are three different types of accounts to connect to:</p><ul><li>Chat accounts: These will go through Empathy and are standard &#8220;IM&#8217;ing&#8221; accounts.</li><li>Broadcast Acounts: These work through Gwibber and are social networking accounts.</li><li>Ubuntu One: If you have an Ubuntu One account, connect here.</li></ul><p>Let&#8217;s make a Twitter connection. Click on the Broadcast account and then, in the new window, click the Add button. A drop-down will appear allowing you to select the type of broadcast account you want to add. Select Twitter from that list and then, in the new window, enter your Twitter username and password. You can do the same to add a Facebook (or any other supported) account.</p><div id="attachment_23530" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/facebook.png"><img class="size-medium wp-image-23530 " src="http://www.ghacks.net/wp-content/uploads/2010/03/facebook-500x418.png" alt="" width="300" height="251" /></a><p class="wp-caption-text">Figure 3</p></div><p>When attempting to connect to Facebook you will have to walk through a couple of extra steps. Make sure you allow Gwibber to connect to Facbook. When you enter your credentials and click Connect (see Figure 3) you will then have to enable Gwibber to access your Facebook account. Once you have done that you are finished and you can then update your FB status from your GNOME panel.</p><p><strong>Updating your status</strong></p><p>One of the drawbacks to this system is that your status updates will go out to all configured accounts. So if you want to only update a Facebook or Twitter account alone, make sure you only configure that particular account.</p><div id="attachment_23531" class="wp-caption alignright" style="width: 166px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/status.png"><img class="size-full wp-image-23531 " src="http://www.ghacks.net/wp-content/uploads/2010/03/status.png" alt="" width="156" height="196" /></a><p class="wp-caption-text">Figure 4</p></div><p>But to update your status you only need click on your name in the upper right hand corner, enter your status in the text area (see Figure 4), and hit Enter. That&#8217;s it. Once you do that your status will be updated on the associated account.</p><p><strong>Final thoughts</strong></p><p>As you can see Linux is become quite a user-friendly experience. Not many other OSes can say they offer such features out of the box. Not that this particular feature is going to bring Linux to the masses, but if Ubuntu continues growing the OS in ways like this, it&#8217;s going to become a choice that is certainly hard to resist.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/06/post-twitter-and-facebook-status-from-the-gnome-panel/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Map your mind with VYM (View Your Mind)</title><link>http://www.ghacks.net/2010/03/05/map-your-mind-with-view-your-mind/</link> <comments>http://www.ghacks.net/2010/03/05/map-your-mind-with-view-your-mind/#comments</comments> <pubDate>Fri, 05 Mar 2010 10:00:30 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[software]]></category> <category><![CDATA[mind mapping]]></category> <category><![CDATA[mind organization]]></category> <category><![CDATA[office tools]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23489</guid> <description><![CDATA[How many ways can you organize your life? You can use spreadsheets, documents, images, flow charts or (if you&#8217;re organization is more organic in nature) a mind mapping software. Tools like this are very special tools that allow the user to create visual puzzles of a sort of train of thought organization. Mind maps are [...]]]></description> <content:encoded><![CDATA[<p>How many ways can you organize your life? You can use spreadsheets, documents, images, flow charts or (if you&#8217;re organization is more organic in nature) a mind mapping software. Tools like this are very special tools that allow the user to create visual puzzles of a sort of train of thought organization. Mind maps are organic, flexible, and just about one of the handiest organizational tools you will ever find.</p><p>There are a ton of mind mapping tools available. One of the most user-friendly of these tools I have found is <a title="View Your Mind" href="http://www.insilmaril.de/vym/" target="_blank">VYM, or View Your Mind</a>. This open source tool is available for Linux, Mac, and Windows (almost) and is ready to, quite literally, map your mind!</p><p><span id="more-23489"></span><strong>Installing</strong></p><p>Since we&#8217;re talking about Linux, we&#8217;ll install VYM in Linux. You can download VYM from the <a title="VYM download" href="http://www.insilmaril.de/vym/#mc:0,bo:5,bo:1" target="_blank">website</a>. You can download the binary for your distribution or you can install from source. If you install from source follow these steps:</p><ol><li>Make sure you have QT 4.3 installed.</li><li>Download the <a title="VYM source" href="http://downloads.sourceforge.net/project/vym/vym/1.12.6/vym-1.12.6.tar.bz2" target="_blank">source</a> package.</li><li> Open a terminal window and change to the directory you downloaded the sources to.</li><li>Unpack the source with the command</li><li>Change into the newly created directory.</li><li>Issue the command <em>qmake</em></li><li>Issue the command <em>make</em></li><li>Issue the command <em>make install</em></li><li>Fire up VYM with the command <em>vym</em></li></ol><p>You can also install VYM from the command line with a command like: <em>sudo apt-get install vym </em>or <em>yum install vym.</em></p><p><strong>Using VYM</strong></p><div id="attachment_23491" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/vym_main.png"><img class="size-medium wp-image-23491 " src="http://www.ghacks.net/wp-content/uploads/2010/03/vym_main-500x339.png" alt="" width="300" height="203" /></a><p class="wp-caption-text">Figure 1</p></div><p>When you first open up VYM you will see two windows (see Figure 1). The window you see on the left is the properties window and the window on the right is the working window.</p><p>To begin double-click the yellow rectangle and give it a name. This is the parent of your mind map. You will then add branches and children to this.</p><div id="attachment_23492" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/create_map.png"><img class="size-medium wp-image-23492 " src="http://www.ghacks.net/wp-content/uploads/2010/03/create_map-500x312.png" alt="" width="300" height="187" /></a><p class="wp-caption-text">Figure 2</p></div><p>After you name the parent you can then add branches by clicking the &#8220;Add branch as child&#8221; button (see Figure 2). When you click the &#8220;Add branch&#8230;&#8221; button the child is automatically added with a branch connecting it to the parent. If you still have the parent selected and you click the &#8220;Add branch&#8230;&#8221; button again another branch is added to the parent. You can continue doing this until you have all of the branches necessary to map your mind.</p><div id="attachment_23493" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/ghacks_mindmap.png"><img class="size-medium wp-image-23493 " src="http://www.ghacks.net/wp-content/uploads/2010/03/ghacks_mindmap-500x312.png" alt="" width="300" height="187" /></a><p class="wp-caption-text">Figure 3</p></div><p>If you take a look at Figure 3, you can see a mind map I have created that can map out Ghacks topics.</p><p>Of course, like any good graphical application of this nature, don&#8217;t think you are limited to the default look and feel of the map. If, while working on your map, you look in the Format menu you will find plenty of formatting options. You can change:</p><p>Style of line.</p><p>Color of line.</p><p>Color of sub-tree.</p><p>Color of background.</p><p>Background image.</p><p>In order to change the color of either the sub-tree or the branch, you would first change the color in the color selector (in Figure 3 the color selector is the small black square in the toolbar) and then select what you want to change in the Format menu. To change the color of the other options simply select that option from the bottom of the Format menu and then change the color from the color wheel window that opens.</p><p>Finally, when you have finished your map, you can save the map or export it to a few different type of formats (XHTML, ascii, OpenOffice, CSV, Taskjuggler, LaTeX, and more). Exporting to ascii creates a sort of Table of Contents of your mind map &#8211; something that could actually come in handy.</p><p><strong>Final thoughts</strong></p><p>Mind mapping software has a ton of uses for anyone who needs to see a less structured organizational representation of their thoughts. For some these maps work perfectly, for others they are too chaotic to makes heads or tails of. How do you map your mind?</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/05/map-your-mind-with-view-your-mind/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>How to configure Compiz in Elive</title><link>http://www.ghacks.net/2010/03/04/how-to-configure-compiz-in-elive/</link> <comments>http://www.ghacks.net/2010/03/04/how-to-configure-compiz-in-elive/#comments</comments> <pubDate>Thu, 04 Mar 2010 11:55:14 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Compiz]]></category> <category><![CDATA[Ecomorph]]></category> <category><![CDATA[elive]]></category> <category><![CDATA[linux desktop]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23471</guid> <description><![CDATA[For those of you who are lucky enough to have the Elive distribution running on your desktop you  might have noticed there is no CCSM (Compiz Config  Settings Manager). At least not that you can find. You can&#8217;t run the command ccsm and you can&#8217;t install the application ccsm. At one point Elive had a [...]]]></description> <content:encoded><![CDATA[<p>For those of you who are lucky enough to have the Elive distribution running on your desktop you  might have noticed there is no CCSM (Compiz Config  Settings Manager). At least not that you can find. You can&#8217;t run the command <em>ccsm</em> and you can&#8217;t install the application <em>ccsm</em>. At one point Elive had a tool called <em>ecsm</em> (Ecomorph Config Settings Manager), but that has since gone away. So where do you configure Compiz in Elive? And how is it different than configuring it in a standard Compiz-enabled distribution?</p><p>That is what we are going to address in this article: Configuring the <a title="Compiz" href="http://www.compiz.org" target="_blank">Compiz</a> compositor in the <a title="Elive" href="http://www.elivecd.org" target="_blank">Elive</a> Linux distribution.</p><p><strong><span id="more-23471"></span>Installation</strong></p><p><strong><span style="font-weight: normal">If you have installed the Elive distribution, there is nothing more you need to install in order to get Compiz running and configured. In fact, that is part of the point of the distribution itself &#8211; to have Compiz integrated with the Enlightenment window manager. So all you need to know is where to configure and what to configure. </span></strong></p><p><strong>The configuration tools</strong></p><div id="attachment_23474" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/ecsm.png"><img class="size-medium wp-image-23474 " src="http://www.ghacks.net/wp-content/uploads/2010/03/ecsm-500x451.png" alt="" width="300" height="271" /></a><p class="wp-caption-text">Figure 1</p></div><p>One thing you have to remember is that in Elive, Compiz is referred to as Ecomorph. That is because Compiz had to be seriously tweaked in order to get it to work with Enlightenment. So if you try to look for a Compiz configuration tool your search will be in vein. Instead you want to look for the Ecomorph Configuration tool (see Figure 1). You will find this in <strong>Main &gt; Settings &gt; Ecomorph</strong>.</p><p>If you scroll up and down in the left pane you will find many of the standard Compiz settings available to you. But as you go poking around a little more deeply you might find some features are simply not there. For one thing you will not find key bindings anywhere in this window. So how do you go about configuring a key combination to initiate or manipulate an action? That is in yet another window. But before we locate that configuration, let&#8217;s look at one feature you might find useful.</p><p>At the top left of the configuration tool is a checkbox and two buttons. The checkbox allows you to enable/disable Ecomorph. The buttons allow you to stop and start Ecomorph. You might want to disable Ecomorph if your hardware isn&#8217;t up to the task of using the full effects. You might want to stop and start Ecomorph if you feel something is amiss. This is also the first place to look if Ecomorph (out of nowhere) doesn&#8217;t seem to be running.</p><p>Now, what about those key combinations?</p><p><strong>Key bindings</strong></p><div id="attachment_23476" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/ring_switcher.png"><img class="size-medium wp-image-23476 " src="http://www.ghacks.net/wp-content/uploads/2010/03/ring_switcher-500x485.png" alt="" width="300" height="291" /></a><p class="wp-caption-text">Figure 2</p></div><p>In order to configure the key bindings for Ecomorph you need to click <strong>Main &gt; Settings &gt; Settings Panel</strong>. In this window click on the <strong>Input</strong> tab and then click Key Bindings. From this window (see Figure 2) you can configure any/all key bindings for your system. Now I have to say there is a little work that needs to be done in order for this tool to really be useful. For example, if you click on an action in the right pane you would think the associated key binding would be selected in the left pane. That is not the case. If, however, you select the key binding in the left pane, the associated action does appear in the right pane. This makes it problematic when you want to know what a key combination is for a certain action. Instead of just clicking the action you actually have to go about finding the combination in reverse order &#8211; you have to navigate around the key binding listing hoping to find the associated action. This behavior really needs to be addressed in future releases.</p><p>The good news is you can always create a key binding for an action. Just follow these steps:</p><ol><li>Click Add Key.</li><li>Press the key combination.</li><li>Click an Action from the right pane.</li><li>Click Apply.</li></ol><p>That&#8217;s it. You can, of course, also modify existing keys. If you mess up your key bindings, just his Restore Default Bindings to resolve the issue.</p><p><strong>Final thoughts</strong></p><p>Some may wish Elive to switch to the standard Compiz configuration tool. But since that will most likely never happen, it is best to familiarize yourself with their version of the tool. Although not as user-friendly, if you&#8217;re using Elive as your desktop distribution, you&#8217;re not so concerned with user-friendliness that a little challenge won&#8217;t scare you off.</p><p><strong><span style="font-weight: normal"> </span></strong></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/04/how-to-configure-compiz-in-elive/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Connecting to a Microsoft VPN with Linux</title><link>http://www.ghacks.net/2010/03/02/connecting-to-a-microsoft-vpn-with-linux/</link> <comments>http://www.ghacks.net/2010/03/02/connecting-to-a-microsoft-vpn-with-linux/#comments</comments> <pubDate>Tue, 02 Mar 2010 11:40:07 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[software]]></category> <category><![CDATA[Linux VPN]]></category> <category><![CDATA[Microsoft VPN]]></category> <category><![CDATA[Network Mangager]]></category> <category><![CDATA[vpn]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23432</guid> <description><![CDATA[One of the Achilles heels of the Linux operating system is connecting to a VPN. Due to it&#8217;s natural ability to network, one would think connecting to a VPN would be a simple task. In some cases it is. In some cases it certainly is not. This is completely dependent upon the type of VPN [...]]]></description> <content:encoded><![CDATA[<p>One of the Achilles heels of the Linux operating system is connecting to a VPN. Due to it&#8217;s natural ability to network, one would think connecting to a VPN would be a simple task. In some cases it is. In some cases it certainly is not. This is completely dependent upon the type of VPN you are connecting to. That, of course, is the rub. Say you need to connect to a Microsoft VPN. You would think that to be the biggest challenge. It&#8217;s not. In fact, connecting to a Microsoft PPTP connection is actually quite simple. Say, however, you want to connect to a Sonicwall VPN. Now you&#8217;re looking at a challenge.</p><p>In this article I am going to show you one way to connect to a VPN, via an easy to use GUI. In another article I will outline a second method that will use command line only. Will either method work for you? You can only try and find out.</p><p><span id="more-23432"></span><strong>The GUI</strong></p><div id="attachment_23433" class="wp-caption alignleft" style="width: 283px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/nm_applet.png"><img class="size-full wp-image-23433" src="http://www.ghacks.net/wp-content/uploads/2010/03/nm_applet.png" alt="" width="273" height="36" /></a><p class="wp-caption-text">Figure 1</p></div><p>The GUI that I will be demonstrating a PPTP connection with is an extension of the Network Manager applet. This applet resides in your desktop panel (see Figure 1 &#8211; far left icon). I will be demonstrating within the GNOME environment. If you do not already have this applet installed (and you should if you are using a  modern GNOME installation) you will need to install it as well. If the Network Manager applet is there, you only need install a single package.</p><p>If you do not have the Network Manager installed you will install this (and the required package) with the command:</p><p><em>sudo apt-get install network-manager-gnome network-manager-pptp</em></p><p>If you already have the Network Manager installed remove <em>network-manager-gnome</em> from the above command.</p><p>Now issue the command:</p><p><em>sudo NetworkManager restart</em></p><div id="attachment_23434" class="wp-caption alignright" style="width: 299px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/vpn_config.png"><img class="size-full wp-image-23434 " src="http://www.ghacks.net/wp-content/uploads/2010/03/vpn_config.png" alt="" width="289" height="202" /></a><p class="wp-caption-text">Figure 2</p></div><p>If you left click the applet you will now see a VPN menu. Within that VPN menu select Configure to open up the VPN tab of the Network Connections window (see Figure 2).</p><p>To set up a new connection click the Add button which will bring up yet another new window. This new window will ask you the connection type. Sine we have only installed PPTP support for Network-Manager you will only have one option from the drop down. You can also install support for:</p><ul><li>OpenConnect: Cisco VPNs</li><li>OpenVPN: OpenVPN support.</li><li>VPNC: Support for vpnc package.</li><li>Strongswan: IDEv2 IPSec VPNs.</li></ul><p>Search Synaptic for any of the above that you might need.</p><div id="attachment_23435" class="wp-caption alignleft" style="width: 249px"><a href="http://www.ghacks.net/wp-content/uploads/2010/03/vpn_options.png"><img class="size-full wp-image-23435 " src="http://www.ghacks.net/wp-content/uploads/2010/03/vpn_options.png" alt="" width="239" height="297" /></a><p class="wp-caption-text">Figure 3</p></div><p>After clicking Add the next window (see Figure 3) is where you set up all of your options. Most of the configuration should be easy to follow (Gateway, User name, Password, NT Domain) But you do need to click the Advanced tab and do the following:</p><p>Uncheck PAP</p><p>Check: CHAP, MSCHAP, MSCHAPv2</p><p>Check &#8220;Use Point-to-Point encryption (MPPE)&#8221;</p><p>Select 128 bit from the security drop-down.</p><p>Check &#8220;Allow stateful encryption&#8221;.</p><p>Check &#8220;Send PPP echo packagets&#8221;</p><p>Click OK.</p><p>Once you have made all of your configurations, click Apply and you&#8217;re ready to connect. Go back and right-click the Network Manager applet and then click the VPN entry which will open up a sub-menu. Select the connection you just created and the connection will attempt to establish. Upon a successful connection you can then attempt to navigate within your VPN. To do so try the Network entry in the Places menu. Your VPN should show up. If it does not hit reload a few times and it should.</p><p><strong>Final thoughts</strong></p><p>Oddly enough, connecting to a Microsoft VPN is often the easiest to connect to from a Linux client. They only get harder from here on out.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/02/connecting-to-a-microsoft-vpn-with-linux/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Share Ubuntu folders with NFS</title><link>http://www.ghacks.net/2010/03/01/share-ubuntu-folders-with-nfs/</link> <comments>http://www.ghacks.net/2010/03/01/share-ubuntu-folders-with-nfs/#comments</comments> <pubDate>Mon, 01 Mar 2010 10:00:08 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[software]]></category> <category><![CDATA[/etc/fstab]]></category> <category><![CDATA[file-sharing]]></category> <category><![CDATA[NFS]]></category> <category><![CDATA[samba]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23395</guid> <description><![CDATA[If you&#8217;ve ever tried to share folders on a Linux machine over a network, you&#8217;ve most likely attempted to get NFS working. And on many occasions you might have found yourself nearly pulling out your hair in frustration. Well, you&#8217;ll be glad to know that getting NFS working on modern Ubuntu systems is actually quite [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;ve ever tried to share folders on a Linux machine over a network, you&#8217;ve most likely attempted to get NFS working. And on many occasions you might have found yourself nearly pulling out your hair in frustration. Well, you&#8217;ll be glad to know that getting NFS working on modern Ubuntu systems is actually quite simple. You just have to have a couple of pieces installed and access to the <strong>/etc/exports </strong>file.</p><p>In this article I am going to demonstrate how simple it is to share a folder, using NFS, between a Ubuntu machine and a Debian machine. When all is said and done, you&#8217;ll be surprised at how simple it is.</p><p><span id="more-23395"></span><strong>What is NFS?</strong></p><p>NFS stands for (take a guess&#8230;) Network File System. NFS is a protocol developed by Sun Microsystems in 1984 to allow computers to share files and folders over a network. NFS is an open standard, defined in RFCs, and allows any to implement the protocol.</p><p>Although many prefer to employ Samba for network folder sharing, NFS still has a lot of good uses and some even prefer it over the more flexible Samba.</p><p><strong>Installation</strong></p><p>Both client and server will need the package nfs-common. On the server machine you will need to install the package nfs-kernel-server. To install these packages follow these steps:</p><ol><li>Open up Synaptic (or your favorite Add/Remove Program utility).</li><li>Search for &#8220;nfs&#8221; (no quotes).</li><li>Mark nfs-common (for the client) and nsf-common and nfs-kernel-server (for the server).</li><li>Click Apply to install.</li></ol><p>That&#8217;s it. Now it&#8217;s time for a little configuration.</p><p><strong>Configuration</strong></p><p>For example&#8217;s sake, the two machines we are using are addressed as such:</p><p>Server: 192.168.1.100</p><p>Client: 192.168.1.10</p><p>On the client we will create a directory which the NFS server share will mounted to. We&#8217;ll create the folder ~/UBUNTU_NFS with the command <em>mkdir ~/UBUNTU_NFS</em>. Now let&#8217;s move over to the server.</p><p>The first thing to be done on the server machine is to create folder that will be shared out. Let&#8217;s call that folder ~/SHARE and we&#8217;ll create it with the command <em>mkdir ~/SHARE. </em></p><p>Now we have to create an entry in the <strong>/etc/exports</strong> folder. This entry will tell NFS what to share and who to share with. The entry will look like:</p><p><em>/home/USERNAME/SHARE     192.168.1.10(rw)</em></p><p>Where USERNAME is the actual name of the user. NOTE: You could share a folder in <strong>/opt</strong> if you like.</p><p>Now nfs-kernel-server has to be restarted with the command:</p><p><em>/etc/init.d/nfs-kernel-server restart</em></p><p><strong>Mounting</strong></p><p>Hop back on to the client machine and issue the command:</p><p><em>sudo mount 192.168.1.100:/home/USER/SHARE /home/USER/UBUNTU_NFS</em></p><p>Where USER is the actual user name.</p><p>You should get no errors. Now let&#8217;s test this out. Hop on back to the server and create a file within <strong>~/SHARE</strong>. After you create that file, check the <strong>~/UBUNTU_NFS </strong>directory on the client to make sure the file shows up. Try to delete that file. Now create a file in the <strong>~/UBUNTU_NFS </strong>directory on the client. You should have no problems creating a file.</p><p><strong>Automounting</strong></p><p>Say you want this share to always be mounted upon boot of the client machine. This, of course would require the server machine to be on. To do this add an entry on the client machine&#8217;s <strong>/etc/fstab</strong> that looks like:</p><p><code>192.168.1.100:/home/jlwallen/ELIVE  /home/jlwallen/UBUNTU  nfs rsize=1024,wsize=1024,noauto 0 0</code></p><p>NOTE: The above fstab entry is all one line.</p><p>Now that NFS share will mount even when the machine is rebooted.</p><p><strong>Final thoughts</strong></p><p>As you can see, NFS has become much easier than it was in the old days. Now, armed with NFS and Samba, you can be sharing files and folders with anyone and everyone.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/01/share-ubuntu-folders-with-nfs/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Clean up your system with Bleachbit</title><link>http://www.ghacks.net/2010/02/28/clean-up-your-system-with-bleachbit/</link> <comments>http://www.ghacks.net/2010/02/28/clean-up-your-system-with-bleachbit/#comments</comments> <pubDate>Sun, 28 Feb 2010 16:14:41 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[software]]></category> <category><![CDATA[cache]]></category> <category><![CDATA[deleted files]]></category> <category><![CDATA[file system]]></category> <category><![CDATA[junk files]]></category> <category><![CDATA[system clean up]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23389</guid> <description><![CDATA[You never know what is dirtying up your Linux system. Your Bash history, temporary files, usage history, clipboard, free disk space&#8230;there&#8217;s always a chance something is there that you don&#8217;t want. But how do you go through it all? Do we really have the time to actually sift through our machines daily or weekly to [...]]]></description> <content:encoded><![CDATA[<p>You never know what is dirtying up your Linux system. Your Bash history, temporary files, usage history, clipboard, free disk space&#8230;there&#8217;s always a chance something is there that you don&#8217;t want. But how do you go through it all? Do we really have the time to actually sift through our machines daily or weekly to find those unwanted bits? No. That&#8217;s why we need tools like <a title="Bleachbit" href="http://bleachbit.sourceforge.net/" target="_blank">Bleachbit</a>.</p><p>Bleachbit easily clears out free space, removes junk, and helps to guard your privacy. Bleachbit goes beyond just deleting files. You can set this tool up to shred your files as well&#8230;so when they are gone, they are really GONE! It&#8217;s not just for Linux though. Bleachbit is available for Windows as well &#8211; and both versions are open source. In this article I will show you how to install and use Bleachbit.</p><p><span id="more-23389"></span><strong>Installation</strong></p><p>Installing Bleachbit is simple. Go to the <a title="Bleachbit download" href="http://bleachbit.sourceforge.net/download" target="_blank">download page</a> and download the version that is right for your distribution.  There are binary files available for Ubuntu, Fedora, CentOS, Mandriva, Debian, OpenSuSE, RHEL, and SLED. Let&#8217;s take a look at installing in either a Ubuntu or Debian environment. The file you will download will be a .deb package. Save that file to familiar directory and follow these steps:</p><ol><li>Open up a terminal window.</li><li>Change to the directory where the Bleachbit binary is stored.</li><li>Issue the command <em>sudo dpkg -i bleachbit-XXX.deb </em>Where XXX is the release number.</li></ol><p>That&#8217;s it. Bleachbit is now installed.</p><p><strong>Usage</strong></p><div id="attachment_23390" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/02/bleachbit_prefs.png"><img class="size-medium wp-image-23390 " src="http://www.ghacks.net/wp-content/uploads/2010/02/bleachbit_prefs-500x394.png" alt="" width="300" height="236" /></a><p class="wp-caption-text">Figure 1</p></div><p>When you first fire up Bleachbit the Preferences window will open up along with the main window (see Figure 1). As you can see there are three tabs to configure:</p><p><strong>General</strong>: If you are really concerned about privacy you can check the box for Overwrite files to hide contents. What this will do is overwrite deleted files so their contents can not be viewed.</p><p><strong>Drives</strong>: Add a drive (directory) to be included in the overwriting of free space.</p><p><strong>Languages</strong>: All languages will be deleted except for those checked.</p><div id="attachment_23391" class="wp-caption alignright" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/02/bleachbit_main.png"><img class="size-medium wp-image-23391 " src="http://www.ghacks.net/wp-content/uploads/2010/02/bleachbit_main-500x390.png" alt="" width="300" height="234" /></a><p class="wp-caption-text">Figure 2</p></div><p>Now let&#8217;s take a look at the main window. Bleachbit is really quite simple to use. Scroll down to the section you want to set up (see Figure 2), make your selections, and click either Preview (to see what will be done) or Delete (to run the actions).</p><p>You may notice, depending upon the sections you mark, that you will get either information or warnings. For example, in the System section if you click Memory you will be warned that this section is experimental and it could cause system problems. If you&#8217;re working on a production machine you might want to avoid selection this option. Another warning you might see is the Free Disk Space will alert you that the option is slow. So if you&#8217;re going to opt to clean the free disk space (this is overwriting deleted files) your system might become a bit sluggish or the cleaning might take more time than expected.</p><p>Once you have made your selections click Preview which will then give you a report detailing all of the files it will delete. If you&#8217;re happy with the report, click Delete and Bleachbit will do it&#8217;s business.</p><p><strong>Final thoughts</strong></p><p>If used with caution, Bleachbit will keep your system free of junk and your deleted files free from prying eyes. Just make sure you do use this with caution &#8211; especially on production machines, where data loss is tantamount to you losing your sanity or your job.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/02/28/clean-up-your-system-with-bleachbit/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Quick and easy pop or imap server with Dovecot</title><link>http://www.ghacks.net/2010/02/25/quick-and-easy-pop-or-imap-server-with-dovecot/</link> <comments>http://www.ghacks.net/2010/02/25/quick-and-easy-pop-or-imap-server-with-dovecot/#comments</comments> <pubDate>Thu, 25 Feb 2010 00:57:27 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Email]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[imap]]></category> <category><![CDATA[linux email server]]></category> <category><![CDATA[mail server]]></category> <category><![CDATA[pop3]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23326</guid> <description><![CDATA[Picking up where we left off a while ago, let&#8217;s add yet another feature to our Ubuntu server. We&#8217;ve already looked at using Postfix with multiple topics (see Postfix on Ghacks). But we never discussed a means to deliver the mail from the server to the client. That will now change. Linux has multiple ways [...]]]></description> <content:encoded><![CDATA[<p>Picking up where we left off a while ago, let&#8217;s add yet another feature to our Ubuntu server. We&#8217;ve already looked at using Postfix with multiple topics (see <a title="Postfix on Ghacks" href="http://www.ghacks.net/index.php?s=postfix" target="_blank">Postfix on Ghacks</a>). But we never discussed a means to deliver the mail from the server to the client. That will now change. Linux has multiple ways to deliver email to clients. One of the easiest (as well as most flexible) means is via <a title="Dovecot" href="http://www.dovecot.org/" target="_blank">Dovecot</a>.</p><p>Dovecot is an open source IMAP/POP server that runs on either Linux or UNIX systems. Dovecot is suitable for both small and large installations (I just recently installed Dovecot on a 300+ user system) and will work in the background like a workhorse.</p><p>In this article I will show you how to install Dovecot and get it up and running with either IMAP or POP quickly and with as little pain as possible.</p><p><span id="more-23326"></span><strong>Installation</strong></p><p>Since we are installing on a Ubuntu machine, installing Dovecot is as simple as running the command <em>sudo apt-get install dovecot-common dovecot-imapd dovecot-pop3d</em>. You can actually install either <em>dovecot-imapd </em>or <em>dovecot-pop3d </em>depending upon which protocol you need to support.</p><p>Once installed the executable command is <em>/etc/init.d/dovecot start</em>.</p><p><strong>Configuration</strong></p><p>There is only one configuration file you need to deal with. That file will be located in either <strong>/etc/dovecot.conf </strong>or <strong>/etc/dovecot/dovecot.conf</strong>. Believe it or not, the default configuration file is fairly well set up for you. You will only have to make a few modifications. So don&#8217;t let the 1,000+ line configuration file look you in the eye and defeat you. You can best this beast with little time.</p><p>The first configuration you will need to make is to configure the protocol. Look for the line:</p><p><code>protocols = pop3 pop3s imap imaps</code></p><p>You can just leave this as is, or, if you know you are only using certain protocols, edit to suit your set up. Just remove the protocols you do not need.</p><p>The next line you need to look for is:</p><p>mail_location =</p><p>There are two popular choices here:<br /> <code>mail_location = maildir:~/Maildir # (for maildir)</code><br /> or<br /> <code>mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u # (for mbox)</code></p><p>In other words, if your users&#8217; mailboxes will reside in the home directory, use the former. If the users&#8217; mailboxes will reside in <strong>/var/spool/mail</strong>, use the latter.</p><p><strong>Restart and test</strong></p><p>Now restart Dovecot with the command <em>/etc/init.d/dovecot restart</em> and let&#8217;s give this system a test. We&#8217;ll test this with the help of telnet. Issue the command <em>telent ADDRESS PROTO </em>Where ADDRESS is the address of the server and PROTO is the protocol you want to use (either pop3 or imap). Here&#8217;s what the test will look like:<br /> <code>telnet localhost pop3<br /> +OK dovecot ready.<br /> user USER<br /> +OK<br /> pass PASSWORD<br /> +OK Logged in.<br /> list<br /> +OK 1 messages:<br /> 1 622</code></p><p>Where USER is a legitimate user on the system and PASSWORD is the password for that user.</p><p>If you see the +OK at the end, Dovecot is ready to go. If you have any problems, the best place to look is in <strong>/var/log/maillog. </strong>And the best way to run that check is by using two terminal windows. In terminal A issue the command <em>tail -f /var/log/maillog </em>and in terminal B run the Dovecot test above. Terminal A should report any issues which will be your starting point for troubleshooting.</p><p><strong>Final thoughts</strong></p><p>Dovecot really is that easy to install. Of course Dovecot is much more flexible than that. In later articles we will discuss other configuration options for this outstanding server.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/02/25/quick-and-easy-pop-or-imap-server-with-dovecot/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Easy folder sharing in GNOME</title><link>http://www.ghacks.net/2010/02/23/easy-folder-sharing-in-gnome/</link> <comments>http://www.ghacks.net/2010/02/23/easy-folder-sharing-in-gnome/#comments</comments> <pubDate>Tue, 23 Feb 2010 12:10:17 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[folder sharing in Linux]]></category> <category><![CDATA[GNOME]]></category> <category><![CDATA[nautilus]]></category> <category><![CDATA[samba]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=23289</guid> <description><![CDATA[Recently I covered folder sharing in KDE 4.4 (Read my article &#8220;Easy folder sharing in KDE 4.4&#8220;). I thought I should offer the same article for the GNOME desktop. Although the tasks are fairly similar, there are subtle differences that could trip up the new users. But since this process removes the the challenge of [...]]]></description> <content:encoded><![CDATA[<p>Recently I covered folder sharing in KDE 4.4 (Read my article &#8220;<a title="Easy folder sharing in KDE 4.4" href="http://www.ghacks.net/2010/02/18/easy-folder-sharing-in-kde-4-4/" target="_blank">Easy folder sharing in KDE 4.4</a>&#8220;). I thought I should offer the same article for the GNOME desktop. Although the tasks are fairly similar, there are subtle differences that could trip up the new users. But since this process removes the the challenge of the typical Samba set up, it is a task you definitely need to understand how to take care of.</p><p>In this article you will learn the tools you need to install and how to share out folders, via Samba, in the GNOME desktop.</p><p><span id="more-23289"></span><strong>Sharing out Public</strong></p><div id="attachment_23290" class="wp-caption alignleft" style="width: 248px"><a href="http://www.ghacks.net/wp-content/uploads/2010/02/gnome_sharing.png"><img class="size-full wp-image-23290 " src="http://www.ghacks.net/wp-content/uploads/2010/02/gnome_sharing.png" alt="" width="238" height="219" /></a><p class="wp-caption-text">Figure 1</p></div><p>In modern GNOME installations you should notice a folder called <strong>~/Public</strong>. To make things simple, we&#8217;re going to share out that folder (It makes the most sense anyway).  If you haven&#8217;t already installed Samba you will now get your chance.</p><p>Open up Nautilus (GNOME file manager) to your Home directory. Right click the Public folder and select the Sharing Options entry. When this new window opens (see Figure 1) you will instantly see a simple check box to tick.</p><p>When you tick that checkbox a window will appear informing you that the &#8220;Sharing service is not installed&#8221;. Click Install Service in that new window. After you enter your password Samba and libpam-smbpass will be installed. When the installation is complete a new window will appearing instructing you to restart your session.</p><div id="attachment_23292" class="wp-caption alignright" style="width: 248px"><a href="http://www.ghacks.net/wp-content/uploads/2010/02/gnome_share_options.png"><img class="size-full wp-image-23292 " src="http://www.ghacks.net/wp-content/uploads/2010/02/gnome_share_options.png" alt="" width="238" height="219" /></a><p class="wp-caption-text">Figure 2</p></div><p>Once installed and restarted, the sharing options will be available to you (see Figure 2). Configure this folder as per your needs. Understand that if you check &#8220;Guest Access&#8221; that means anyone that can see your network will have access to this folder &#8211; so choose wisely.</p><div id="attachment_23293" class="wp-caption alignleft" style="width: 310px"><a href="http://www.ghacks.net/wp-content/uploads/2010/02/folder_sharing_permissions.png"><img class="size-medium wp-image-23293 " src="http://www.ghacks.net/wp-content/uploads/2010/02/folder_sharing_permissions-500x230.png" alt="" width="300" height="138" /></a><p class="wp-caption-text">Figure 3</p></div><p>After you make all of your configurations, click Create Share which will then open up a new window. This new window will really surprise you. Check out Figure 3. GNOME has become so intelligent and user-friendly that it will make all of the permission changes necessary for you! Just click the Add the permissions automatically and you&#8217;re done.</p><div id="attachment_23294" class="wp-caption alignright" style="width: 291px"><a href="http://www.ghacks.net/wp-content/uploads/2010/02/gnome_share_icon.png"><img class="size-full wp-image-23294" src="http://www.ghacks.net/wp-content/uploads/2010/02/gnome_share_icon.png" alt="" width="281" height="175" /></a><p class="wp-caption-text">Figure 4</p></div><p>You will know a folder is shared in GNOME because the folder icon will have changed (see Figure 4)</p><p>Now go over to a different machine on your network and see if the new share is available. If, on a Windows machine, you can&#8217;t see it yet you can always open up Explorer and enter:</p><p><em>\\IP_ADDRESS_OF_SHARE</em></p><p>Where IP_ADDRESS_OF_SHARE is the ip address of the machine with the new share. If you opened that folder up to guests you won&#8217;t even need to enter a username or password.  And you will automatically have read/write access to that folder. How simple is that? Of course, if you should change your mind about the permissions of the shared folder you can always right click that folder select Properties, go to the Permissions tab, and change the permissions as needed.</p><p><strong>Final thoughts</strong></p><p>It always seems that the GNOME desktop is one step ahead of the competition. When there is a feature available for a desktop, GNOME always takes that feature and either makes it better or easier. If you&#8217;re looking to share out folders on a GNOME desktop, it couldn&#8217;t be any easier.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/02/23/easy-folder-sharing-in-gnome/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 29/53 queries in 0.022 seconds using disk

Served from: www.ghacks.net @ 2010-03-20 22:31:59 -->