<?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 &#124; Latest Tech News, Software And Tutorials &#187; eye candy</title> <atom:link href="http://www.ghacks.net/tag/eye-candy/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Adding dropshadows in Fluxbox with xcompmgr</title><link>http://www.ghacks.net/2009/05/10/adding-dropshadows-in-fluxbox-with-xcompmgr/</link> <comments>http://www.ghacks.net/2009/05/10/adding-dropshadows-in-fluxbox-with-xcompmgr/#comments</comments> <pubDate>Sun, 10 May 2009 14:31:48 +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[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[drop shadows]]></category> <category><![CDATA[eye candy]]></category> <category><![CDATA[Fluxbox]]></category> <category><![CDATA[xcompmgr]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=12706</guid> <description><![CDATA[In my recent articles I have been covering various window managers and desktops for Linux. So far you can read about Fluxbox, Window Maker, and Xfce 4. These desktops and window managers are solid entries in the Linux desktop. But what if you want to take your Linux desktop further with a bit more eye [...]]]></description> <content:encoded><![CDATA[<p>In my recent articles I have been covering various window managers and desktops for Linux. So far you can read about <a
title="Fluxbox" href="http://www.ghacks.net/2009/05/06/get-to-know-linux-fluxbox/" target="_blank">Fluxbox</a>, <a
title="Window Maker" href="http://www.ghacks.net/2009/05/07/get-to-know-linux-window-maker/" target="_blank">Window Maker</a>, and <a
title="Xfce 4" href="http://www.ghacks.net/2009/05/08/get-to-know-linux-xfce-4/" target="_blank">Xfce 4</a>. These desktops and window managers are solid entries in the Linux desktop. But what if you want to take your Linux desktop further with a bit more eye candy? Any desktop can be made more modern looking with the simple addition of drop shadows. Although most would argue that drop shadows are fairly worthless to the desktop, they give open windows a more three dimensional, modern look which can make any desktop instantly look more relevant.</p><p>Fortunately there are composite managers that help you bring your old school desktop into the modern ages without having to lose your mind. One of those composite managers, xcompmgr, is really quite easy to use. For most window managers it&#8217;s as simple as installing and running a command with desired arguments. Let&#8217;s take a look at how this is done.</p><p><span
id="more-12706"></span><strong>Getting and installing</strong></p><p>Xcompmgr will most likely be found in your distributions repositories, so you can just open up your Add/Remove Software utility, do a search for &#8220;xcompmgr&#8221;, select the results, and apply the changes. Or, if you prefer the command line, you can install xcompmgr with a command like:</p><p>sudo apt-get install xcompmgr</p><p>or</p><p>yum install xcompmgr</p><p>NOTE: The first is a Ubuntu-based command the second is a Fedora-based command. When using the Fedora command you will have to have root permissions.</p><p>Once installed, you are ready to go.</p><p><strong>Basic usage</strong></p><p>The syntax of the xcompmgr command is simple:</p><p>xcompmgr OPTIONS</p><p>Where OPTIONS is a single letter or group of letters representing various options.</p><p><strong>The options</strong></p><p>Here is a list of the more useful options used in xcompmgr:</p><p>-r Specify the blur radius for the shadows.</p><p>-o Specify the opacity for the shadows.</p><p>-l Specify left offset for shadows (default is right offset.)</p><p>-t Specify top offset for shadows (default is bottom.)</p><p>-I Specify the opacity change between steps for fading in.</p><p>-O Specify the opacity change between steps for fading out.</p><p>-c Soft shadows with translucency support.</p><p>-f Enable smooth effects for transient windows in hiding and restoring. Only used in conjunction with the &#8220;c&#8221; option.</p><p>-C Disable shadows for panels and docks. Only used in conjunction with the &#8220;c&#8221; option.</p><p>-D Specify time (in milliseconds) between steps in a fade.</p><p><strong>Before and after</strong></p><div
id="attachment_12724" class="wp-caption alignleft" style="width: 360px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/05/xcompmgr_before2.png"><img
class="size-medium wp-image-12724" src="http://www.ghacks.net/wp-content/uploads/2009/05/xcompmgr_before2-500x312.png" alt="Figure 1" width="350" height="218" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Let&#8217;s take a look at before and after shots of the same desktop with and without the use of xcompmgr.</p><p>Figure 1 shows the Fluxbox desktop with a few windows open (some shaded). You see no drop shadows here.</p><p>Now we&#8217;ll employ xcompmgr with the following options:</p><p>xcompmgr -c -r10 -F -f -D5 -C -o0.8 &amp;</p><p>As you can see there are some numerical values with the options. Here&#8217;s what they mean:</p><p>r10 &#8211; Radius of 10 pixels.</p><p>D5 &#8211; 5 millisecond fade</p><p>o0.8 &#8211; Not sure what value this represents, but I know the default is .75. Play with anything between these and you&#8217;ll find a setting to your liking.</p><p>NOTE: The &amp; is added to the end of the command so you can get your bash prompt back. Otherwise you wouldn&#8217;t be able to u</p><div
id="attachment_12725" class="wp-caption alignright" style="width: 360px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/05/xcompmgr_after.png"><img
class="size-medium wp-image-12725" src="http://www.ghacks.net/wp-content/uploads/2009/05/xcompmgr_after-500x312.png" alt="Figure 2" width="350" height="218" /></a><p
class="wp-caption-text">Figure 2</p></div><p>As you can see, in Figure 2, the desktop has an added dimension it didn&#8217;t have before. It adds just enough eye candy, without taking a hit on your performance, to keep people from saying &#8220;Your desktop is old-school UNIX!&#8221;</p><p><strong>Make it stick</strong></p><p>The easiest way to make this stick is to make use of the .xinitrc file. This file will start your window manager exactly how you want it. If you are using Fluxbox your ~/.xinitrc file would look like this:</p><p><code>xcompmgr -c -r10 -F -f -D5 -C -o0.8 &amp;<br
/> </code></p><p><code>exec fluxbox</code></p><p>Of course, when using .xinitrc, you would have to not use your graphical log in and then use the command <em>startx </em>to start your window manager.</p><p><strong>Final thoughts</strong></p><p>No, it won&#8217;t make you a better user, programer, or win you any awards; but xcompmgr can at least make your desktop look more like it belongs in the current era.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/05/10/adding-dropshadows-in-fluxbox-with-xcompmgr/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
