<?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; xcompmgr</title> <atom:link href="http://www.ghacks.net/tag/xcompmgr/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>Add transparent windows with transset</title><link>http://www.ghacks.net/2009/05/11/add-transparent-windows-with-transset/</link> <comments>http://www.ghacks.net/2009/05/11/add-transparent-windows-with-transset/#comments</comments> <pubDate>Mon, 11 May 2009 20:38:40 +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[E17]]></category> <category><![CDATA[Enlightenment]]></category> <category><![CDATA[transset]]></category> <category><![CDATA[xcompmgr]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=12745</guid> <description><![CDATA[In my last post I instructed you how Adding dropshadows in Fluxbox with xcompmgr was easy to do.In this installment we are going to take this one step further and and transparencies &#8211; only this time we are going to do this in Enlightenment. Why Enlightenment? Besides being my favorite Linux window manager, it also [...]]]></description> <content:encoded><![CDATA[<p>In my last post I instructed you how <a
title="Adding dropshadows in Fluxbox with xcompmgr" href="http://www.ghacks.net/2009/05/10/adding-dropshadows-in-fluxbox-with-xcompmgr/" target="_blank">Adding dropshadows in Fluxbox with xcompmgr</a> was easy to do.In this installment we are going to take this one step further and and transparencies &#8211; only this time we are going to do this in <a
title="Enlightenment" href="http://www.enlightenment.org" target="_blank">Enlightenment</a>. Why Enlightenment? Besides being my favorite Linux window manager, it also works with transparencies better than Fluxbox. The reason for this is Enlightenment was built with compositors in mind. If you were to try this in Fluxbox you would find that the minute you moved a window, the transparency would disappear.</p><p>With that in mind&#8230;what exactly are we doing? For the most part this all is nothing more than &#8220;proof of concept stuff&#8221;, all of which was brought to fruition in Compiz. But for those who do not want to use Compiz, or are using a window manager that does not work with Compiz, this little &#8220;proof of concept&#8221; is the perfect trick for getting a bit more eye candy on your desktop.</p><p><span
id="more-12745"></span><strong>What exactly is this?</strong></p><p>There are two tools that must be used to gain transparency in a window manager: xcompmgr and transset. Both of these will be found in your Ubuntu (or Debian) repositories. Xcompmgr was explained in the article mentioned above. Transset, however, is a small application that does one thing &#8211; sets transparency on a single window. The only draw back is that you have to manually set the transparencies of each window.When a window closes, that has a transparency applied, the next time it opens the transparency will be gone.</p><p>Of course, before we get to using transset, we have to install it first. Open up your Add/Remove Software utility. Once this is open do a search for transset. When you find the resulting entry, select it, and apply the changes.</p><p>Once transset (and xcompmgr) is installed you are ready to go.</p><p><strong>Basic usage</strong></p><div
id="attachment_12747" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/05/transset_cursor.png"><img
class="size-medium wp-image-12747" src="http://www.ghacks.net/wp-content/uploads/2009/05/transset_cursor-500x354.png" alt="Figure 1" width="300" height="212" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Using transset is simple. Have open the window you want to make transparent and open up a terminal window. Issue the command:</p><p><em>transset</em></p><p>from within the terminal window and you see a crosshair (as shown in Figure 1). Move that cross hair to the window you want to make transparent and click within that window. Instantly the window you clicked in will become transparent.</p><p>If you take a look at Figure 2 you will see</p><div
id="attachment_12748" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/05/transset_rhythmbox_trans.png"><img
class="size-medium wp-image-12748" src="http://www.ghacks.net/wp-content/uploads/2009/05/transset_rhythmbox_trans-500x353.png" alt="Figure 2" width="300" height="212" /></a><p
class="wp-caption-text">Figure 2</p></div><p>the difference when transset is applied. You can now see the background behind the Rhythmbox window.</p><p>Now you might be thinking this is nothing more than pseudo-transparency where the window manager is just constantly redrawing the background. That is not the case. With transset you are getting true transparency. The difference is that pseduo-transparency basically redraws the root window (what is covered by the wallpaper) behind the window as it moves. If that window moves over another window the image of the secondary window (the one behind the window being moved) is not seen through the transparency.</p><div
id="attachment_12749" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/05/transset_trans.png"><img
class="size-medium wp-image-12749" src="http://www.ghacks.net/wp-content/uploads/2009/05/transset_trans-500x330.png" alt="Figure 3" width="300" height="198" /></a><p
class="wp-caption-text">Figure 3</p></div><p>As you can see, in Figure 3, the secondary window is shown above the root window. What you are seeing is Rhythmbox, above The Gimp, above the root window. Real transparency.</p><p><strong>Make it easy</strong></p><p>No one wants to have to open a terminal window and issue a command just to make a window transparent. What you can do, instead, is create a menu entry for this. This way, when you want to make a window transparent, all you have to do is click the menu entry and then click the target window.</p><div
id="attachment_12750" class="wp-caption alignright" style="width: 232px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/05/trans_menu_entry.png"><img
class="size-full wp-image-12750" src="http://www.ghacks.net/wp-content/uploads/2009/05/trans_menu_entry.png" alt="Figure 4" width="222" height="154" /></a><p
class="wp-caption-text">Figure 4</p></div><p>To make this menu entry in E17 you have to go to the menu and select Settings Panel from the Settings submenu. Once that is open click on the Apps tab and then select New Application from that. Fille out the necessary information (see Figure 4) and save the entry. Here&#8217;s the trick though, a simple menu entry won&#8217;t work in E17. You actually have to add the new menu entry to the iBar in order to make this work.</p><div
id="attachment_12751" class="wp-caption alignleft" style="width: 195px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/05/transset_ibar.png"><img
class="size-medium wp-image-12751" src="http://www.ghacks.net/wp-content/uploads/2009/05/transset_ibar-308x500.png" alt="Figure 5" width="185" height="300" /></a><p
class="wp-caption-text">Figure 5</p></div><p>To add this to the iBar go back tot he Settings Panel and click iBar Applications. You will see a new window with two panes (see Figure 5). Scroll down until you find your transset entry. Select your transset entry and click Add. Once you have clicked Add click OK and the new iBar button will appear in your Shelf.</p><p>Now all you have to do is click your iBar button for transset and then click the window you want to become transparent.</p><p><strong>Final thoughts</strong></p><p>It&#8217;s not going to make you a more efficient worker. It&#8217;s not going to resolve all of your IT issues. But it will make your desktop cooler without hogging up resources like Compiz will. And it might also help you understand, even if a tiny fraction, how the desktop is laid out.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/05/11/add-transparent-windows-with-transset/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <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>
