<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Fitzcarraldo&#039;s Blog</title>
	<atom:link href="http://fitzcarraldoblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fitzcarraldoblog.wordpress.com</link>
	<description>Notes on Linux and other technologies</description>
	<lastBuildDate>Wed, 23 May 2012 01:57:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fitzcarraldoblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/bd348b178036925d0027a5ac06c602fd?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Fitzcarraldo&#039;s Blog</title>
		<link>http://fitzcarraldoblog.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fitzcarraldoblog.wordpress.com/osd.xml" title="Fitzcarraldo&#039;s Blog" />
	<atom:link rel='hub' href='http://fitzcarraldoblog.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Getting the integrated fingerprint reader on my laptop to work in Linux</title>
		<link>http://fitzcarraldoblog.wordpress.com/2012/03/22/getting-the-integrated-fingerprint-reader-on-my-laptop-to-work-in-linux/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2012/03/22/getting-the-integrated-fingerprint-reader-on-my-laptop-to-work-in-linux/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 17:35:01 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Desktops and Window Managers]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[biometric]]></category>
		<category><![CDATA[desktop environments]]></category>
		<category><![CDATA[fingerprint]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=552</guid>
		<description><![CDATA[My Compal NBLB2 laptop has a built-in Upek TCS5B fingerprint scanner: $ lsusb &#124; grep -i upek Bus 002 Device 003: ID 147e:1001 Upek I&#8217;m running 64-bit multilib Gentoo Linux with KDE 4.8.1 on this laptop. I decided it was about time I got the built-in fingerprint scanner/sensor working. The FOSS application Fingerprint GUI caters [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=552&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My Compal NBLB2 laptop has a built-in Upek TCS5B fingerprint scanner:</p>
<p><code><span style="color:#3366ff;">$</span> lsusb | grep -i upek<br />
Bus 002 Device 003: ID 147e:1001 Upek</code></p>
<p>I&#8217;m running 64-bit multilib Gentoo Linux with KDE 4.8.1 on this laptop. I decided it was about time I got the built-in fingerprint scanner/sensor working.</p>
<p>The FOSS application <strong>Fingerprint GUI</strong> caters for this model of fingerprint reader, as well as several other models: see the application&#8217;s Home Page (<strong>Ref. 1</strong> at the end of this post) for a list of the models supported.</p>
<p>The Gentoo Bugzilla has a bug report (<strong>Ref. 2</strong>) that I found very helpful (my thanks, in particular, go to Jan Buecken), but the ebuilds in it were not for the latest version of Fingerprint GUI, which is 1.04 as I write this. The required packages are <strong>sys-auth/fingerprint-gui</strong> and <strong>sys-auth/upekbsapi-bin</strong>. So I had to modify a little the ebuilds from the Gentoo Bugzilla, and I installed the packages using a Portage local overlay as explained below (<code>/etc/make.conf</code> had already been edited accordingly and <code>/usr/local/portage/profiles/repo_name</code> had already been created).</p>
<p><strong>1.</strong> First I created the local overlay directories for the two packages:</p>
<p><code><span style="color:#3366ff;">#</span> mkdir -p /usr/local/portage/sys-auth/fingerprint-gui<br />
<span style="color:#3366ff;">#</span> mkdir -p /usr/local/portage/sys-auth/upekbsapi-bin</code></p>
<p><strong>2.</strong> Then I edited the fingerprint-gui-1.03 ebuild from <strong>Ref. 2</strong> to create the file <code>/usr/local/portage/sys-auth/fingerprint-gui/fingerprint-gui-1.04.ebuild</code> containing:</p>
<p><span style="color:#993366;"><code># Copyright 1999-2011 Gentoo Foundation<br />
# Distributed under the terms of the GNU General Public License v2<br />
# $Header: $</code></span></p>
<p><span style="color:#993366;"><code>EAPI=3</code></span></p>
<p><span style="color:#993366;"><code>inherit qt4-r2 versionator</code></span></p>
<p><span style="color:#993366;"><code>MAKEOPTS="$MAKEOPTS -j1"</code></span></p>
<p><span style="color:#993366;"><code>MY_PV=$(replace_version_separator 2 -)<br />
DESCRIPTION="Use Fingerprint Devices with Linux"<br />
HOMEPAGE="http://www.n-view.net/Appliance/fingerprint/"<br />
SRC_URI="http://www.n-view.net/Appliance/fingerprint/download/${PN}-${MY_PV}.tar.gz"</code></span></p>
<p><span style="color:#993366;"><code>LICENSE="GPL-2"<br />
SLOT="0"<br />
KEYWORDS="~amd64"<br />
IUSE="upekbsapi"</code></span></p>
<p><span style="color:#993366;"><code>DEPEND="&gt;=sys-auth/libfprint-0.1.0_pre2<br />
|| ( ( x11-libs/qt-core:4 x11-libs/qt-gui ) x11-libs/qt:4 )<br />
&gt;=app-crypt/qca-2.0.0<br />
&gt;=app-crypt/qca-ossl-2.0.0_beta3<br />
x11-libs/libfakekey<br />
&gt;=dev-libs/libusb-1.0.0<br />
sys-auth/polkit-qt<br />
sys-libs/pam<br />
!sys-auth/pam_fprint<br />
!sys-auth/fprintd<br />
!sys-auth/thinkfinger<br />
"<br />
RDEPEND="${DEPEND}<br />
upekbsapi? ( sys-auth/upekbsapi-bin[headers] )"</code></span></p>
<p><span style="color:#993366;"><code>S=${WORKDIR}/${PN}-${MY_PV}</code></span></p>
<p><span style="color:#993366;"><code>src_configure() {<br />
if has_version '&gt;=sys-auth/polkit-qt-0.99.0'; then<br />
eqmake4 LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 || die "qmake4 failed"<br />
else<br />
eqmake4 || die "qmake4 failed"<br />
fi<br />
}</code></span></p>
<p><span style="color:#993366;"><code>src_install() {<br />
emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "emake install failed"</code></span></p>
<p><span style="color:#993366;"><code>domenu bin/fingerprint-gui/fingerprint-gui.desktop</code></span></p>
<p><span style="color:#993366;"><code>dodoc CHANGELOG README COPYING\<br />
doc/*.html\<br />
doc/*.png<br />
}</code></span></p>
<p><span style="color:#993366;"><code>pkg_postinst() {<br />
elog "1) Please see /usr/share/doc/${P}/Install-step-by-step.html to configure your device."<br />
elog "   A fast (not recommended) way to use fingerprint-gui with your pam based application"<br />
elog "   you can add the following line to the first off /etc/pam.d/system-auth"<br />
elog "   auth        sufficient  pam_fingerprint-gui.so"<br />
elog "   For more security we recommend that you don't enable fingerprint-gui authentication for all pam services."<br />
elog "   See Install-step-by-step.html again."<br />
elog "2) You must be in the plugdev group to use fingerprint"<br />
if use upekbsapi; then<br />
elog "3) You select to install upeks bsapi library, it's not open-sourced. Use it on your own risk."<br />
fi<br />
}</code></span></p>
<p><strong>3.</strong> I edited the upekbsapi-bin-3.5.2.ebuild from <strong>Ref. 2</strong> to create the file <code>/usr/local/portage/sys-auth/upekbsapi-bin/upekbsapi-bin-3.5.2.ebuild</code> containing:</p>
<p><span style="color:#993366;"><code># Copyright 1999-2010 Gentoo Foundation<br />
# Distributed under the terms of the GNU General Public License v2<br />
# $Header: $</code></span></p>
<p><span style="color:#993366;"><code>EAPI=3</code></span></p>
<p><span style="color:#993366;"><code>FP_GUI=fingerprint-gui-1.04<br />
MY_PN=${PN/bsapi-bin/}<br />
DESCRIPTION="UPEK Biometric Services SDK for PC"<br />
HOMEPAGE="http://www.upek.com/solutions/eikon/default.asp"<br />
SRC_URI="http://www.n-view.net/Appliance/fingerprint/download/${FP_GUI}.tar.gz"</code></span></p>
<p><span style="color:#993366;"><code>LICENSE="EULA"<br />
SLOT="0"<br />
KEYWORDS="~x86 ~amd64"<br />
IUSE="-headers"</code></span></p>
<p><span style="color:#993366;"><code>DEPEND=""<br />
RDEPEND="${DEPEND}"</code></span></p>
<p><span style="color:#993366;"><code>S=${FP_GUI}/${MY_PN}</code></span></p>
<p><span style="color:#993366;"><code>src_unpack() {<br />
unpack ${FP_GUI}.tar.gz<br />
}</code></span></p>
<p><span style="color:#993366;"><code>src_install() {<br />
cd "${S}"/<br />
dodoc Readme.pdf releasenotes.txt UPEK_EULA.pdf<br />
if use headers; then<br />
dodoc doc/BSAPI.pdf  doc/BSAPIUsageonLinux.pdf<br />
insinto /usr/include<br />
doins include/bsapi.h<br />
doins include/bserror.h<br />
doins include/bstypes.h<br />
fi<br />
if use x86; then<br />
dolib lib/libbsapi.so<br />
elif use amd64; then<br />
dolib lib64/libbsapi.so<br />
fi<br />
insinto /etc/udev/rules.d<br />
doins 91-fingerprint-gui-upek.rules<br />
dodir /var/${MY_PN}_data<br />
fperms 777 /var/${MY_PN}_data<br />
echo "nvmprefix=\"/var/${MY_PN}_data/.NVM\" dualswipe=0" &gt; ${MY_PN}.cfg<br />
insinto /etc<br />
doins ${MY_PN}.cfg<br />
}</code></span></p>
<p><strong>4.</strong> Then I entered the following commands to create manifests for the two packages and to merge (install) them:</p>
<p><code><span style="color:#3366ff;">#</span> cd /usr/local/portage/sys-auth/upekbsapi-bin<br />
<span style="color:#3366ff;">#</span> ebuild upekbsapi-bin-3.5.2.ebuild manifest<br />
<span style="color:#3366ff;">#</span> cd /usr/local/portage/sys-auth/fingerprint-gui<br />
<span style="color:#3366ff;">#</span> ebuild fingerprint-gui-1.04.ebuild manifest<br />
<span style="color:#3366ff;">#</span> USE="headers" emerge -1v upekbsapi-bin<br />
<span style="color:#3366ff;">#</span> USE="upekbsapi" emerge -1v fingerprint-gui</code></p>
<p><strong>5.</strong> The file <code>/etc/pam.d/system-auth</code> on my laptop contained the following lines:</p>
<p><span style="color:#993366;"><code>auth            required        pam_env.so<br />
auth            required        pam_unix.so try_first_pass likeauth nullok<br />
auth            optional        pam_permit.so</code></span></p>
<p><span style="color:#993366;"><code>account         required        pam_unix.so<br />
account         optional        pam_permit.so</code></span></p>
<p><span style="color:#993366;"><code>password        required        pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3<br />
password        required        pam_unix.so try_first_pass use_authtok nullok sha512 shadow<br />
password        optional        pam_permit.so</code></span></p>
<p><span style="color:#993366;"><code>session         required        pam_limits.so<br />
session         required        pam_env.so<br />
session         required        pam_unix.so<br />
session         optional        pam_permit.so</code></span></p>
<p>and I edited it to be as follows:</p>
<p><span style="color:#993366;"><code>auth            required        pam_env.so<br />
auth            sufficient      pam_fingerprint-gui.so -d try_first_identified<br />
auth            required        pam_unix.so try_first_pass likeauth nullok<br />
auth            optional        pam_permit.so</code></span></p>
<p><span style="color:#993366;"><code>account         required        pam_unix.so<br />
account         optional        pam_permit.so</code></span></p>
<p><span style="color:#993366;"><code>password        required        pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3<br />
password        required        pam_unix.so try_first_pass use_authtok nullok sha512 shadow<br />
password        optional        pam_permit.so</code></span></p>
<p><span style="color:#993366;"><code>session         required        pam_limits.so<br />
session         required        pam_env.so<br />
session         required        pam_unix.so<br />
session         optional        pam_permit.so</code></span></p>
<p><strong>6.</strong> The UPEK fingerprint scanner on my laptop is Device 003 on USB Bus 002:</p>
<p><code><span style="color:#3366ff;">#</span> lsusb | grep -i upek<br />
Bus 002 Device 003: ID 147e:1001 Upek</code></p>
<p>As you can see below, the device is correctly a member of the plugdev group:</p>
<p><code><span style="color:#3366ff;">#</span> ls -la /dev/bus/usb/002<br />
total 0<br />
drwxr-xr-x 2 root root         120 Mar 20 15:31 .<br />
drwxr-xr-x 4 root root          80 Mar 20 15:31 ..<br />
crw-rw-r-- 1 root usb     189, 128 Mar 20 15:31 001<br />
crw-rw-r-- 1 root usb     189, 129 Mar 20 15:31 002<br />
crw-rw-r-- 1 root plugdev 189, 130 Mar 20 17:37 003<br />
crw-rw-r-- 1 root usb     189, 131 Mar 20 15:31 004</code></p>
<p>and my user account is a member of the plugdev group too:</p>
<p><code><span style="color:#3366ff;">$</span> groups<br />
disk lp wheel floppy uucp cron audio cdrom dialout video games cdrw usb users kismet clamav haldaemon plugdev scanner pulse-access pulse-rt pulse kvm crontab vboxusers polkituser</code></p>
<p><strong>7.</strong> I don&#8217;t think it was necessary to do, but I changed the file permissions to make sure all the devices on Bus 002 were completely accessible:</p>
<p><code><span style="color:#3366ff;">#</span> chmod 777 /dev/bus/usb/002 -R</code></p>
<p><code><span style="color:#3366ff;">#</span> ls -la /dev/bus/usb/002<br />
total 0<br />
drwxrwxrwx 2 root root         120 Mar 20 15:31 .<br />
drwxr-xr-x 4 root root          80 Mar 20 15:31 ..<br />
crwxrwxrwx 1 root usb     189, 128 Mar 20 15:31 001<br />
crwxrwxrwx 1 root usb     189, 129 Mar 20 15:31 002<br />
crwxrwxrwx 1 root plugdev 189, 130 Mar 20 17:37 003<br />
crwxrwxrwx 1 root usb     189, 131 Mar 20 15:31 004</code></p>
<p>When I reboot, the file permissions revert to those shown in Step 6 above anyway.</p>
<p><strong>8.</strong> Two udev rules files were created when I installed the packages:</p>
<p><code><span style="color:#3366ff;">#</span> locate fingerprint | grep rule<br />
/etc/udev/rules.d/91-fingerprint-gui-upek.rules<br />
/lib64/udev/rules.d/91-fingerprint-gui-upek.rules</code></p>
<p>and the two files contain the following:</p>
<p><code><span style="color:#3366ff;">#</span> cat /etc/udev/rules.d/91-fingerprint-gui-upek.rules<br />
<span style="color:#993366;"># udev rules for fingerprint-gui (libbsapi)</span></code></p>
<p><span style="color:#993366;"><code># set permissions<br />
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="201[56]",   SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="201[56]",   SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="100[0123]", SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="300[01]",   SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="500[23]",   SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"</code></span></p>
<p><span style="color:#993366;"><code># enable power saving<br />
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="201[56]",   ATTR{power/control}=="*", ATTR{power/control}="auto"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="201[56]",   ATTR{power/control}=="*", ATTR{power/control}="auto"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="100[0123]", ATTR{power/control}=="*", ATTR{power/control}="auto"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="300[01]",   ATTR{power/control}=="*", ATTR{power/control}="auto"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="500[23]",   ATTR{power/control}=="*", ATTR{power/control}="auto"</code></span></p>
<p><code><span style="color:#3366ff;">#</span> cat /lib64/udev/rules.d/91-fingerprint-gui-upek.rules<br />
<span style="color:#993366;"># udev rules for fingerprint-gui (libbsapi)</span></code></p>
<p><span style="color:#993366;"><code># set permissions<br />
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="201[56]", SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="201[56]", SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="100[01]", SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="3000",    SYMLINK+="input/touchchip-%k", MODE="0664", GROUP="plugdev"</code></span></p>
<p><span style="color:#993366;"><code># enable power saving<br />
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="201[56]", ATTR{power/level}=="*", ATTR{power/level}="auto"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="201[56]", ATTR{power/level}=="*", ATTR{power/level}="auto"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="100[01]", ATTR{power/level}=="*", ATTR{power/level}="auto"<br />
ATTRS{idVendor}=="147e", ATTRS{idProduct}=="3000",    ATTR{power/level}=="*", ATTR{power/level}="auto"</code></span></p>
<p><strong>9.</strong> After reading a post in the Fingerprint GUI Forum (see quote further on) I decided to delete a file in <code>/var/upek_data/</code> but, in retrospect, I&#8217;m not sure it was necessary, and, in any case, the file was subsequently recreated (perhaps when I reinstalled the packages?) and apparently has no adverse effect at present:</p>
<p><code><span style="color:#3366ff;">#</span> ls -la /var/upek_data/<br />
<span style="color:#3366ff;">#</span> rm /var/upek_data/.NVMe3031dcc911668f65aaeb5209f4db5ad5be21fbdbc810ac101963da0bf952f9a.bin</code></p>
<p>I had decided to delete the file because I was seeing the error message &#8220;<em>ABSOpen() failed -1057 (Fingerprint sensor device communication error.)</em>&#8221; in the log file <code>/var/log/messages</code>, and <a title="Post 31 in Topic 5 in the Fingerprint GUI Forum" href="http://darkblue.homeip.net/fingerprint/Forum/topic.php?TopicId=5#31" target="_blank">a post</a> in the Fingerprint GUI Forum suggested deleting the file:</p>
<p>&#8220;<span style="color:#808080;"><em>&gt; Setting up the NVM emulation caused fingerprintGUI not to directly display the error, but after a second or two. Auth.log now shows a different error.</em></span></p>
<p><span style="color:#808080;"><em>Yes. This one:</em></span></p>
<p><span style="color:#808080;"><em>ABSOpen() failed -1057 (Fingerprint sensor device communication error.)</em></span></p>
<p><span style="color:#808080;"><em>In some cases I&#8217;ve seen that removing all *.bin files in /var/upek/ did help. Try it.</em></span></p>
<p><span style="color:#808080;"><em>In other cases there was some other process which had held open the device (e.g. a virtual machine running Windows on that host).</em></span></p>
<p><span style="color:#808080;"><em>W.U.</em></span></p>
<p><span style="color:#808080;"><em>Wolfgang Ullrich</em><br />
<em> March 18th, 2010 10:06am</em></span>&#8220;</p>
<p>(The Fingerprint GUI Forum refers to error messages being in a log file <code>/var/log/auth.log</code>, but, in my case, they were in the log file <code>/var/log/messages</code>.)</p>
<p><strong>10.</strong> Anyway, now when I press e.g. Ctrl-Alt-F2 to open a VT, as usual I see a login prompt:</p>
<p><code>meshedgedx login:</code></p>
<p>However, when I enter my username and press Enter, not only is the usual Password prompt displayed but some additional text is displayed below it:</p>
<p><code>meshedgedx login: fitzcarraldo<br />
Password:<br />
<span style="color:#ff00ff;">Fingerprint Login 1.04</span><br />
<span style="color:#ff00ff;"> Authenticating fitzcarraldo</span><br />
<span style="color:#ff00ff;"> Swipe your finger or type your password:</span></code></p>
<p>If I enter my password, I am logged in as usual. But if I instead swipe my finger on the fingerprint scanner, I am also logged in. Nice. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>11.</strong> If I open a Konsole window and enter any command using <code>sudo</code>, let&#8217;s say <code>sudo whoami</code> for example, I am prompted as usual for my user password but now a GUI widget (see image below) also pops up prompting me to swipe my finger over the fingerprint scanner. Either entering my password or swiping my finger will allow me to launch the command. Nice. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img src="http://i2.photobucket.com/albums/y9/imageuser/Please_swipe_a_finger.jpg" alt="Fingerprint GUI widget" /></p>
<p><strong>12.</strong> The instructions in <strong>Ref. 3</strong> say to launch <code>fingerprint-gui</code> using <code>sudo</code> to register a fingerprint for the root user (i.e. to enable you to use the fingerprint scanner in order to log in as root user from e.g. a Konsole/Terminal window). In fact I had to use the command <code>kdesu fingerprint-gui</code> to launch Fingerprint GUI and register a fingerprint to enable me to log-in as the root user either by entering the root user&#8217;s password as usual or by swiping my finger. Having done that, now when I enter the <code>su</code> command in a Konsole window I am prompted to enter the root user&#8217;s password as usual but am also prompted to swipe my finger instead if I want:</p>
<p><span style="color:#3366ff;">$</span> su<br />
Password:<br />
<span style="color:#ff00ff;">Fingerprint Login 1.04</span><br />
<span style="color:#ff00ff;"> Authenticating root</span><br />
<span style="color:#ff00ff;"> Swipe your finger or type your password:</span><br />
<span style="color:#339966;">OK</span><br />
No protocol specified<br />
No protocol specified</p>
<p><span style="color:#3366ff;">#</span> whoami<br />
root<br />
<span style="color:#3366ff;">#</span></p>
<p>Nice. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>By the way, this also means I can swipe my finger to log-in as root user via a VT.</p>
<p>According to the Fingerprint GUI Forum, the error messages &#8220;No protocol specified&#8221; shown above are confined to KDE. It is possible to avoid them by using an export command first:</p>
<p><span style="color:#3366ff;">$</span> export XAUTHORITY=~/.Xauthority<br />
<span style="color:#3366ff;">$</span> su<br />
Password:<br />
<span style="color:#ff00ff;">Fingerprint Login 1.04</span><br />
<span style="color:#ff00ff;"> Authenticating root</span><br />
<span style="color:#ff00ff;"> Swipe your finger or type your password:</span><br />
<span style="color:#339966;">OK</span></p>
<p><span style="color:#3366ff;">#</span></p>
<p>I simply added the export command to my <code>~/.bashrc</code> file, and the problem is fixed.</p>
<p><strong>13.</strong> My only problem now is with the <code>kdesu</code> command: I have to enter both the root user&#8217;s password <em>and</em> swipe my finger to launch an application using <code>kdesu</code>. For example, if I enter the command <code>kdesu kwrite</code> in a Konsole window, I am first prompted by a KDE pop-up window to enter the root user&#8217;s password as usual, and, once I have entered the password in that window, I am then prompted in the Konsole window to swipe my finger. I have to do both in order for the <code>kdesu</code> command to execute.</p>
<p><strong>14.</strong> According to <strong>Ref. 1</strong>, a limitation in KDM means that it is not possible to use the fingerprint scanner to log-in to KDE (although no such limitation exists in the case of GDM: see <strong>Ref. 3</strong> for details). However, I&#8217;m using KDM and KDE 4.8.1 and, as soon as I enter my user name on the KDM login page, the Fingerprint GUI window pops up prompting me to swipe a finger or type my login/password. If I do either then I am logged in to KDE. Nice. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>So, there you have it: Fingerprint GUI 1.04 + UPEK BSAPI SDK for Linux 3.5.2 + KDE 4.8.1 + Gentoo Linux + Upek TCS5B (147e:1001) fingerprint scanner are a working combination. Kudos to Wolfgang Ullrich for creating Fingerprint GUI (and the Web site to accompany it).</p>
<p><strong>REFERENCES</strong></p>
<p><strong>1.</strong> <a href="http://www.pdfserver.net/fingerprint" title="Fingerprint GUI" target="_blank">Fingerprint GUI</a></p>
<p><strong>2.</strong> <a href="https://bugs.gentoo.org/show_bug.cgi?id=341105" title="Gentoo's Bugzilla - Bug Report No. 341105 - fingerprint-gui (new package)" target="_blank">Gentoo&#8217;s Bugzilla – Bug Report No. 341105 – fingerprint-gui (new package)</a></p>
<p><strong>3.</strong> <a href="http://www.n-view.net/Appliance//fingerprint/doc/Step-by-step-manual.html" title="Fingerprint GUI Step-by-Step Manual" target="_blank">Fingerprint GUI Step-by-Step Manual</a></p>
<p><strong>4.</strong> <a href="http://www.n-view.net/Appliance/fingerprint/doc/Manual_en.html" title="Fingerprint GUI User's Manual" target="_blank">Fingerprint GUI User&#8217;s Manual</a></p>
<p><em>EDIT (May 23, 2012): An ebuild for Fingerprint GUI was added to the Portage main tree on May 21, 2012. It is not identical to the ebuild I posted here a couple of months ago but also installs version 1.04 of the utility, so try merging the package from the main Portage tree as that is an easier way to install it.</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/552/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/552/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/552/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=552&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2012/03/22/getting-the-integrated-fingerprint-reader-on-my-laptop-to-work-in-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>

		<media:content url="http://i2.photobucket.com/albums/y9/imageuser/Please_swipe_a_finger.jpg" medium="image">
			<media:title type="html">Fingerprint GUI widget</media:title>
		</media:content>
	</item>
		<item>
		<title>AMD Catalyst for Linux driver 12.2 fixes the XVideo bug that crashed X.Org Server 1.11.x</title>
		<link>http://fitzcarraldoblog.wordpress.com/2012/03/10/amd-catalyst-for-linux-driver-12-2-fixes-the-xvideo-bug-that-crashed-x-org-server-1-11-x/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2012/03/10/amd-catalyst-for-linux-driver-12-2-fixes-the-xvideo-bug-that-crashed-x-org-server-1-11-x/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 13:39:57 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Desktops and Window Managers]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sabayon Linux]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[desktop environments]]></category>
		<category><![CDATA[FGLRX]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[window managers]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=543</guid>
		<description><![CDATA[Just a brief &#8216;heads up&#8217; for users of the closed-source FGLRX driver in Linux: In a previous blog post I mentioned a bug in the AMD Catalyst driver for Linux that caused X.Org Server 1.11.x to crash if you tried to play a video and your media player was configured to use XVideo (Xv) output. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=543&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just a brief &#8216;heads up&#8217; for users of the closed-source FGLRX driver in Linux: In a <a title="Playing QuickTime videos in Firefox and Chromium + XVideo bug in AMD Catalyst 11.11 and 11.12 driver" href="http://fitzcarraldoblog.wordpress.com/2011/12/30/playing-quicktime-videos-in-firefox-and-chromium-xvideo-bug-in-amd-catalyst-11-11-and-11-12-driver/" target="_blank">previous blog post</a> I mentioned a bug in the AMD Catalyst driver for Linux that caused X.Org Server 1.11.x to crash if you tried to play a video and your media player was configured to use XVideo (Xv) output. The bug also meant that people talking to you via Skype could not enable their Web cams or X.Org Server 1.11.x would crash on your machine, as Skype uses XVideo.</p>
<p>The problem occurred with versions 11.11, 11.12 and 12.1 of the FGLRX driver (the package x11-drivers/ati-drivers). Well, today I installed version 12.2 of the driver and am pleased to report that I can again set media players to use Xv output without causing the X.Org Server to crash (I&#8217;m currently using xorg-server-1.11.4). Likewise, other people who I am talking to via Skype can again enable their Web cams without causing the X.Org Server on my machine to crash.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/543/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=543&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2012/03/10/amd-catalyst-for-linux-driver-12-2-fixes-the-xvideo-bug-that-crashed-x-org-server-1-11-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing the Takeoff Launcher in KDE 4.8.0</title>
		<link>http://fitzcarraldoblog.wordpress.com/2012/02/28/installing-the-takeoff-launcher-in-kde-4-8-0/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2012/02/28/installing-the-takeoff-launcher-in-kde-4-8-0/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 00:25:01 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Desktops and Window Managers]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sabayon Linux]]></category>
		<category><![CDATA[application launcher]]></category>
		<category><![CDATA[desktop environments]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[window managers]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=521</guid>
		<description><![CDATA[My application launcher of choice is Lancelot, which comes as part of the package kde-base/kdeplasma-addons. If you haven&#8217;t already tried it, you really should. Anyway, recently on the blogsphere I read about Takeoff, another Plasmoid application launcher for KDE, first issued end July 2011. Looking at screen snapshots of Takeoff reminded me of a tablet&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=521&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My application launcher of choice is <a href="http://lancelot.fomentgroup.org/main" title="Lancelot" target="_blank">Lancelot</a>, which comes as part of the package kde-base/kdeplasma-addons. If you haven&#8217;t already tried it, you really should.</p>
<p>Anyway, recently on the blogsphere I read about <a href="http://code.google.com/p/takeoff-launcher/" title="Takeoff" target="_blank">Takeoff</a>, another Plasmoid application launcher for KDE, first issued end July 2011. Looking at screen snapshots of Takeoff reminded me of a tablet&#8217;s screen: an uncluttered array of large application icons. My curiosity was piqued, so I decided to install the Takeoff Plasmoid. Here&#8217;s what I did to install it in KDE 4.8.0 in Gentoo Linux. The same straightforward procedure should also work in other Linux distributions with KDE 4.8, although installation is a bit easier for Arch Linux, Chakra, Fedora, openSUSE and Ubuntu, as packages exist for those distributions (see the <a href="http://code.google.com/p/takeoff-launcher/wiki/Downloads?tm=2" title="Download page" target="_blank">Download page</a> on the project&#8217;s Web site for details).</p>
<p>I downloaded <a href="https://takeoff-launcher.googlecode.com/files/takeoff-1.0.tar.gz" title="takeoff-1.0.tar.gz" target="_blank">takeoff-1.0.tar.gz</a> to <code>~/Desktop<br />
</code><br />
I right-clicked on the tarball and selected <strong>Extract &gt; Extract Archive To&#8230;</strong> and extracted the files to the directory <code>~/takeoff-1.0</code></p>
<p>I opened a Konsole window and entered the following commands:</p>
<p><code>cd ~/takeoff-1.0</code></p>
<p><code>cat README</code></p>
<p>The README file tells you exactly how to install the Plasma widget (although I ignored the instruction to create the directory ~/takeoff-1.0/build/ as it already existed):</p>
<p><code>cd build</code></p>
<p><code>cmake .. &amp;&amp; make</code></p>
<p><code>sudo make install</code></p>
<p><code>kbuildsycoca4</code></p>
<p>Then I did the usual in KDE to add the Takeoff widget to the Panel.</p>
<p>To configure Takeoff I right-clicked on its icon, clicked on &#8216;Takeoff Settings&#8217; and, under &#8216;General Settings&#8217;, I unticked &#8216;Show Takeoff in full screen mode&#8217;. I also clicked on the icon under &#8216;General Settings&#8217; and changed the icon to one of my choice. If you fancy a picture as the background of the launcher&#8217;s panel, tick &#8216;Show background image&#8217;, click on the &#8216;browse for file&#8217; icon and select any wallpaper file that you have stored on your disk. There are other configuration options you can play with, such as the number of columns and rows of application icons to display in the launcher&#8217;s panel.</p>
<p>To display the launcher&#8217;s panel, just click on the Takeoff icon on your Panel. The Takeoff panel will pop up, as shown in the snaphot below of my screen.</p>
<p><img src="http://i2.photobucket.com/albums/y9/imageuser/KDE_480_screenshot_800x500_27_02_12.jpg" alt="Takeoff Launcher in KDE 4.8.0" /></p>
<p>Notice that there are tabs across the top of the launcher&#8217;s panel; these are the different categories of application available: Favourites, All Applications, Accessories, Education, Games, Graphics, Internet, Office, and so on. Click on one of these tabs to view all the applications in that category. If there are too many applications in that category to fit on the launcher&#8217;s panel, there will be a slider button at the bottom of the panel; just click on the next number on it to view the next page of applications in the category.</p>
<p>By the way, in case you&#8217;re wondering, naturally those are Gentoo penguins on my Desktop wallpaper. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/521/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=521&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2012/02/28/installing-the-takeoff-launcher-in-kde-4-8-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>

		<media:content url="http://i2.photobucket.com/albums/y9/imageuser/KDE_480_screenshot_800x500_27_02_12.jpg" medium="image">
			<media:title type="html">Takeoff Launcher in KDE 4.8.0</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving Compiz to a local overlay in Gentoo</title>
		<link>http://fitzcarraldoblog.wordpress.com/2012/01/28/moving-compiz-to-a-local-overlay-in-gentoo/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2012/01/28/moving-compiz-to-a-local-overlay-in-gentoo/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 03:44:14 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Desktops and Window Managers]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Compiz]]></category>
		<category><![CDATA[desktop environments]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[window managers]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=505</guid>
		<description><![CDATA[Sadly, Compiz&#8217;s heyday has passed and the Compiz ebuilds in the Gentoo Portage main tree were recently masked for removal. I rarely use Compiz these days, as KWin&#8217;s Desktop Effects are now almost as good. Nevertheless I want to keep Compiz installed for the time being, so I decided to move the ebuilds to a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=505&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sadly, Compiz&#8217;s heyday has passed and the Compiz ebuilds in the Gentoo Portage main tree were recently masked for removal. I rarely use Compiz these days, as <a title="Pimping my Desktop: have KWin Desktop Effects improved in KDE 4.6.2?" href="http://fitzcarraldoblog.wordpress.com/2011/04/27/pimping-my-desktop-have-kwin-desktop-effects-improved-in-kde-4-6-2/" target="_blank">KWin&#8217;s Desktop Effects are now almost as good</a>. Nevertheless I want to keep Compiz installed for the time being, so I decided to move the ebuilds to a local overlay before the Gentoo developers remove them from the main Portage tree. Here&#8217;s how I did it.</p>
<p>The masked Compiz packages installed on my machine were:</p>
<p><span style="color:#666699;"><code># eix -I compiz<br />
[D] dev-python/compizconfig-python<br />
Available versions: [M](~)0.8.4 [M](~)0.8.4-r1 [M](~)0.8.4-r3<br />
Installed versions: 0.8.4-r3(00:52:18 01/09/11)<br />
Homepage: http://www.compiz.org/<br />
Description: Compizconfig Python Bindings</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-libs/compiz-bcop<br />
Available versions: [M](~)0.8.4<br />
Installed versions: 0.8.4(23:33:17 27/08/11)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Option code Generator</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-libs/compizconfig-backend-gconf<br />
Available versions: [M](~)0.8.4-r2<br />
Installed versions: 0.8.4-r2(18:39:26 27/08/11)<br />
Homepage: http://www.compiz.org/<br />
Description: Compizconfig Gconf Backend</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-libs/compizconfig-backend-kconfig4<br />
Available versions: [M](~)0.8.4 {aqua}<br />
Installed versions: 0.8.4(23:35:31 27/08/11)(-aqua -kdeenablefinal)<br />
Homepage: http://www.compiz.org/<br />
Description: Compizconfig Kconfig Backend</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-libs/libcompizconfig<br />
Available versions: [M](~)0.8.4-r2!t<br />
Installed versions: 0.8.4-r2!t(18:32:41 27/08/11)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Configuration System</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-plugins/compiz-plugins-extra<br />
Available versions: [M](~)0.8.6-r1 {gconf libnotify}<br />
Installed versions: 0.8.6-r1(23:35:08 27/08/11)(libnotify -gconf)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion Window Decorator Extra Plugins</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-plugins/compiz-plugins-main<br />
Available versions: [M](~)0.8.6-r1 {gconf}<br />
Installed versions: 0.8.6-r1(18:33:51 27/08/11)(-gconf)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion Window Decorator Plugins</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-plugins/compiz-plugins-unsupported<br />
Available versions: [M](~)0.8.4-r1!m<br />
Installed versions: 0.8.4-r1!m(18:36:55 27/08/11)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion Window Decorator Unsupported Plugins</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-wm/compiz<br />
Available versions: [M](~)0.8.6-r3 {+cairo fuse gconf gnome gtk kde +svg}<br />
Installed versions: 0.8.6-r3(18:54:59 23/11/11)(cairo gtk kde svg -fuse -gconf -gnome)<br />
Homepage: http://www.compiz.org/<br />
Description: OpenGL window and compositing manager</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-wm/compiz-fusion<br />
Available versions: [M](~)0.8.4-r1 [M](~)0.8.6 {emerald gnome kde unsupported}<br />
Installed versions: 0.8.6(18:55:16 23/11/11)(emerald kde -gnome -unsupported)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion (meta)</code></span></p>
<p><span style="color:#666699;"><code>Found 10 matches.<br />
# eix -I fusion<br />
[D] x11-apps/fusion-icon<br />
Available versions: [M](~)0.1-r2 {gtk qt4}<br />
Installed versions: 0.1-r2(18:55:09 23/11/11)(gtk qt4)<br />
Homepage: http://compiz-fusion.org<br />
Description: Compiz Fusion Tray Icon and Manager</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-wm/compiz-fusion<br />
Available versions: [M](~)0.8.4-r1 [M](~)0.8.6 {emerald gnome kde unsupported}<br />
Installed versions: 0.8.6(18:55:16 23/11/11)(emerald kde -gnome -unsupported)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion (meta)</code></span></p>
<p><span style="color:#666699;"><code>Found 2 matches.<br />
# eix -I ccsm<br />
[D] x11-apps/ccsm<br />
Available versions: [M](~)0.8.4-r1<br />
Installed versions: 0.8.4-r1(23:33:31 27/08/11)<br />
Homepage: http://www.compiz.org/<br />
Description: Compizconfig Settings Manager</code></span></p>
<p><span style="color:#666699;"><code># eix -I emerald<br />
[D] x11-themes/emerald-themes<br />
Available versions: [M](~)0.5.2<br />
Installed versions: 0.5.2(18:47:58 27/01/11)<br />
Homepage: http://compiz-fusion.org<br />
Description: Emerald window decorator themes</code></span></p>
<p><span style="color:#666699;"><code>[D] x11-wm/emerald<br />
Available versions: [M](~)0.8.4-r2<br />
Installed versions: 0.8.4-r2(21:28:46 27/08/11)<br />
Homepage: http://www.compiz.org/<br />
Description: Emerald Window Decorator</code></span></p>
<p><span style="color:#666699;"><code>Found 2 matches.</code></span></p>
<p>Using the <span style="color:#666699;"><code>locate</code></span> command I quickly located the ebuilds:</p>
<p><span style="color:#666699;"><code>/usr/portage/dev-python/compizconfig-python/compizconfig-python-0.8.4-r3.ebuild<br />
/usr/portage/x11-libs/compiz-bcop/compiz-bcop-0.8.4.ebuild<br />
/usr/portage/x11-libs/compizconfig-backend-gconf/compizconfig-backend-gconf-0.8.4-r2.ebuild<br />
/usr/portage/x11-libs/compizconfig-backend-kconfig4/compizconfig-backend-kconfig4-0.8.4.ebuild<br />
/usr/portage/x11-libs/libcompizconfig/libcompizconfig-0.8.4-r2.ebuild<br />
/usr/portage/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.6-r1.ebuild<br />
/usr/portage/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild<br />
/usr/portage/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.4-r1.ebuild<br />
/usr/portage/x11-wm/compiz/compiz-0.8.6-r3.ebuild<br />
/usr/portage/x11-wm/compiz-fusion/compiz-fusion-0.8.6.ebuild<br />
/usr/portage/x11-apps/fusion-icon/fusion-icon-0.1-r2.ebuild<br />
/usr/portage/x11-apps/ccsm/ccsm-0.8.4-r1.ebuild<br />
/usr/portage/x11-themes/emerald-themes/emerald-themes-0.5.2.ebuild<br />
/usr/portage/x11-wm/emerald/emerald-0.8.4-r2.ebuild</code></span></p>
<p>I first created the necessary directories in my local overlay:</p>
<p><span style="color:#666699;"><code>mkdir -p /usr/local/portage/dev-python/compizconfig-python<br />
mkdir -p /usr/local/portage/x11-libs/compiz-bcop<br />
mkdir -p /usr/local/portage/x11-libs/compizconfig-backend-gconf<br />
mkdir -p /usr/local/portage/x11-libs/compizconfig-backend-kconfig4<br />
mkdir -p /usr/local/portage/x11-libs/libcompizconfig<br />
mkdir -p /usr/local/portage/x11-plugins/compiz-plugins-extra<br />
mkdir -p /usr/local/portage/x11-plugins/compiz-plugins-main<br />
mkdir -p /usr/local/portage/x11-plugins/compiz-plugins-unsupported<br />
mkdir -p /usr/local/portage/x11-wm/compiz<br />
mkdir -p /usr/local/portage/x11-wm/compiz-fusion<br />
mkdir -p /usr/local/portage/x11-apps/fusion-icon<br />
mkdir -p /usr/local/portage/x11-apps/ccsm<br />
mkdir -p /usr/local/portage/x11-themes/emerald-themes<br />
mkdir -p /usr/local/portage/x11-wm/emerald</code></span></p>
<p>Then I copied the ebuilds and associated files into each directory and generated a manifest for each:</p>
<p><span style="color:#666699;"><code>cd /usr/local/portage/dev-python/compizconfig-python<br />
cp -r /usr/portage/dev-python/compizconfig-python/* .<br />
ebuild compizconfig-python-0.8.4-r3.ebuild manifest<br />
cd /usr/local/portage/x11-libs/compiz-bcop<br />
cp -r /usr/portage/x11-libs/compiz-bcop/* .<br />
ebuild compiz-bcop-0.8.4.ebuild manifest<br />
cd /usr/local/portage/x11-libs/compizconfig-backend-gconf<br />
cp -r /usr/portage/x11-libs/compizconfig-backend-gconf/* .<br />
ebuild compizconfig-backend-gconf-0.8.4-r2.ebuild manifest<br />
cd /usr/local/portage/x11-libs/compizconfig-backend-kconfig4<br />
cp -r /usr/portage/x11-libs/compizconfig-backend-kconfig4/* .<br />
ebuild compizconfig-backend-kconfig4-0.8.4.ebuild manifest<br />
cd /usr/local/portage/x11-libs/libcompizconfig<br />
cp -r /usr/portage/x11-libs/libcompizconfig/* .<br />
ebuild libcompizconfig-0.8.4-r2.ebuild manifest<br />
cd /usr/local/portage/x11-plugins/compiz-plugins-extra<br />
cp -r /usr/portage/x11-plugins/compiz-plugins-extra/* .<br />
ebuild compiz-plugins-extra-0.8.6-r1.ebuild manifest<br />
cd /usr/local/portage/x11-plugins/compiz-plugins-main<br />
cp -r /usr/portage/x11-plugins/compiz-plugins-main/* .<br />
ebuild compiz-plugins-main-0.8.6-r1.ebuild manifest<br />
cd /usr/local/portage/x11-plugins/compiz-plugins-unsupported<br />
cp /usr/portage/x11-plugins/compiz-plugins-unsupported/* .<br />
ebuild compiz-plugins-unsupported-0.8.4-r1.ebuild manifest<br />
cd /usr/local/portage/x11-wm/compiz<br />
cp -r /usr/portage/x11-wm/compiz/* .<br />
ebuild compiz-0.8.6-r3.ebuild manifest<br />
cd /usr/local/portage/x11-wm/compiz-fusion<br />
cp -r /usr/portage/x11-wm/compiz-fusion/* .<br />
ebuild compiz-fusion-0.8.6.ebuild manifest<br />
cd /usr/local/portage/x11-apps/fusion-icon<br />
cp -r /usr/portage/x11-apps/fusion-icon/* .<br />
ebuild fusion-icon-0.1-r2.ebuild manifest<br />
cd /usr/local/portage/x11-apps/ccsm<br />
cp -r /usr/portage/x11-apps/ccsm/* .<br />
ebuild ccsm-0.8.4-r1.ebuild manifest<br />
cd /usr/local/portage/x11-themes/emerald-themes<br />
cp -r /usr/portage/x11-themes/emerald-themes/* .<br />
ebuild emerald-themes-0.5.2.ebuild manifest<br />
cd /usr/local/portage/x11-wm/emerald<br />
cp -r /usr/portage/x11-wm/emerald/* .<br />
ebuild emerald-0.8.4-r2.ebuild manifest</code></span></p>
<p>My <span style="color:#666699;"><code>/etc/make.conf</code></span> file contains the following lines required for my local overlay and to accept any licences:</p>
<p><span style="color:#666699;"><code>PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"<br />
ACCEPT_LICENSE="*"</code></span></p>
<p>and I named my local overlay &#8216;local_overlay&#8217;:</p>
<p><span style="color:#666699;"><code>mkdir /usr/local/portage/profiles<br />
echo "local_overlay" &gt; /usr/local/portage/profiles/repo_name</code></span></p>
<p>I then unmasked the ebuilds in my local overlay by listing them in the file<br />
<span style="color:#666699;"><code>/etc/portage/package.unmask</code></span>:</p>
<p><span style="color:#666699;"><code>=dev-python/compizconfig-python-0.8.4-r3::local_overlay<br />
=x11-libs/compiz-bcop-0.8.4::local_overlay<br />
=x11-libs/compizconfig-backend-gconf-0.8.4-r2::local_overlay<br />
=x11-libs/compizconfig-backend-kconfig4-0.8.4::local_overlay<br />
=x11-libs/libcompizconfig-0.8.4-r2::local_overlay<br />
=x11-plugins/compiz-plugins-extra-0.8.6-r1::local_overlay<br />
=x11-plugins/compiz-plugins-main-0.8.6-r1::local_overlay<br />
=x11-plugins/compiz-plugins-unsupported-0.8.4-r1::local_overlay<br />
=x11-wm/compiz-0.8.6-r3::local_overlay<br />
=x11-wm/compiz-fusion-0.8.6::local_overlay<br />
=x11-apps/fusion-icon-0.1-r2::local_overlay<br />
=x11-apps/ccsm-0.8.4-r1::local_overlay<br />
=x11-themes/emerald-themes-0.5.2::local_overlay<br />
=x11-wm/emerald-0.8.4-r2::local_overlay</code></span></p>
<p>I right-clicked on the Fusion Icon on the Panel and selected Quit, then I uninstalled the packages and reinstalled them from my local overlay:</p>
<p><span style="color:#666699;"><code>emerge -aC compizconfig-python compiz-bcop compizconfig-backend-gconf compizconfig-backend-kconfig4 libcompizconfig compiz-plugins-extra compiz-plugins-main compiz-plugins-unsupported compiz compiz-fusion fusion-icon ccsm emerald-themes emerald</code></span></p>
<p><span style="color:#666699;"><code>USE="-kde qt4" emerge -1v compizconfig-python compiz-bcop compizconfig-backend-gconf compizconfig-backend-kconfig4 libcompizconfig compiz-plugins-extra compiz-plugins-main compiz-plugins-unsupported compiz compiz-fusion fusion-icon ccsm emerald-themes emerald</code></span></p>
<p>The installed packages are now:</p>
<p><span style="color:#666699;"><code># eix -I compiz<br />
[I] dev-python/compizconfig-python<br />
Available versions: [M](~)0.8.4 {M}(~)0.8.4[1] [M](~)0.8.4-r1 {M}(~)0.8.4-r1[1] [M](~)0.8.4-r3 {M}(~)0.8.4-r3[1]<br />
Installed versions: 0.8.4-r3[1](02:03:18 28/01/12)<br />
Homepage: http://www.compiz.org/<br />
Description: Compizconfig Python Bindings</code></span></p>
<p><span style="color:#666699;"><code>[I] x11-libs/compiz-bcop<br />
Available versions: [M](~)0.8.4 {M}(~)0.8.4[1]<br />
Installed versions: 0.8.4[1](02:01:00 28/01/12)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Option code Generator</code></span></p>
<p><span style="color:#666699;"><code>[I] x11-libs/compizconfig-backend-gconf<br />
Available versions: [M](~)0.8.4-r2 {M}(~)0.8.4-r2[1]<br />
Installed versions: 0.8.4-r2[1](02:03:34 28/01/12)<br />
Homepage: http://www.compiz.org/<br />
Description: Compizconfig Gconf Backend</code></span></p>
<p><span style="color:#666699;"><code>[I] x11-libs/compizconfig-backend-kconfig4<br />
Available versions: [M](~)0.8.4 {M}(~)0.8.4[1] {aqua}<br />
Installed versions: 0.8.4[1](02:03:59 28/01/12)(-aqua)<br />
Homepage: http://www.compiz.org/<br />
Description: Compizconfig Kconfig Backend</code></span></p>
<p><code><span style="color:#666699;">[I] x11-libs/libcompizconfig<br />
Available versions: [M](~)0.8.4-r2!t {M}(~)0.8.4-r2!t[1]<br />
Installed versions: 0.8.4-r2!t[1](02:01:31 28/01/12)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Configuration System</span></code></p>
<p><span style="color:#666699;"><code>[I] x11-plugins/compiz-plugins-extra<br />
Available versions: [M](~)0.8.6-r1 {M}(~)0.8.6-r1[1] {gconf libnotify}<br />
Installed versions: 0.8.6-r1[1](02:05:19 28/01/12)(libnotify -gconf)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion Window Decorator Extra Plugins</code></span></p>
<p><span style="color:#666699;"><code>[I] x11-plugins/compiz-plugins-main<br />
Available versions: [M](~)0.8.6-r1 {M}(~)0.8.6-r1[1] {gconf}<br />
Installed versions: 0.8.6-r1[1](02:02:55 28/01/12)(-gconf)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion Window Decorator Plugins</code></span></p>
<p><span style="color:#666699;"><code>[I] x11-plugins/compiz-plugins-unsupported<br />
Available versions: [M](~)0.8.4-r1!m {M}(~)0.8.4-r1!m[1]<br />
Installed versions: 0.8.4-r1!m[1](02:06:11 28/01/12)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion Window Decorator Unsupported Plugins</code></span></p>
<p><span style="color:#666699;"><code>[I] x11-wm/compiz<br />
Available versions: [M](~)0.8.6-r3 {M}(~)0.8.6-r3[1] {+cairo fuse gconf gnome gtk kde +svg}<br />
Installed versions: 0.8.6-r3[1](02:41:46 28/01/12)(cairo gtk svg -fuse -gconf -gnome -kde)<br />
Homepage: http://www.compiz.org/<br />
Description: OpenGL window and compositing manager</code></span></p>
<p><span style="color:#666699;"><code>[I] x11-wm/compiz-fusion<br />
Available versions: [M](~)0.8.4-r1 {M}(~)0.8.4-r1[1] [M](~)0.8.6 {M}(~)0.8.6[1] {emerald gnome kde unsupported}<br />
Installed versions: 0.8.6[1](02:07:11 28/01/12)(emerald -gnome -kde -unsupported)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion (meta)</code></span></p>
<p><span style="color:#666699;"><code>[1] "local_overlay" /usr/local/portage</code></span></p>
<p><code><span style="color:#666699;">Found 10 matches.<br />
<span style="color:#666699;"> # eix -I fusion<br />
<span style="color:#666699;"> [I] x11-apps/fusion-icon<br />
<span style="color:#666699;"> Available versions: [M](~)0.1-r2 {M}(~)0.1-r2[1] {gtk qt4}<br />
<span style="color:#666699;"> Installed versions: 0.1-r2[1](02:06:20 28/01/12)(gtk qt4)<br />
<span style="color:#666699;"> Homepage: http://compiz-fusion.org<br />
Description: Compiz Fusion Tray Icon and Manager</span></span></span></span></span></span></code></p>
<p><span style="color:#666699;"><code>[I] x11-wm/compiz-fusion<br />
Available versions: [M](~)0.8.4-r1 {M}(~)0.8.4-r1[1] [M](~)0.8.6 {M}(~)0.8.6[1] {emerald gnome kde unsupported}<br />
Installed versions: 0.8.6[1](02:07:11 28/01/12)(emerald -gnome -kde -unsupported)<br />
Homepage: http://www.compiz.org/<br />
Description: Compiz Fusion (meta)</code></span></p>
<p><span style="color:#666699;"><code>[1] "local_overlay" /usr/local/portage</code></span></p>
<p><span style="color:#666699;"><code>Found 2 matches.<br />
# eix -I ccsm<br />
[I] x11-apps/ccsm<br />
Available versions: [M](~)0.8.4-r1 {M}(~)0.8.4-r1[1]<br />
Installed versions: 0.8.4-r1[1](02:05:30 28/01/12)<br />
Homepage: http://www.compiz.org/<br />
Description: Compizconfig Settings Manager</code></span></p>
<p><span style="color:#666699;"><code>[1] "local_overlay" /usr/local/portage<br />
# eix -I emerald<br />
[I] x11-themes/emerald-themes<br />
Available versions: [M](~)0.5.2 {M}(~)0.5.2[1]<br />
Installed versions: 0.5.2[1](02:07:05 28/01/12)<br />
Homepage: http://compiz-fusion.org<br />
Description: Emerald window decorator themes</code></span></p>
<p><span style="color:#666699;"><code>[I] x11-wm/emerald<br />
Available versions: [M](~)0.8.4-r2 {M}(~)0.8.4-r2[1]<br />
Installed versions: 0.8.4-r2[1](02:06:55 28/01/12)<br />
Homepage: http://www.compiz.org/<br />
Description: Emerald Window Decorator</code></span></p>
<p><span style="color:#666699;"><code>[1] "local_overlay" /usr/local/portage</code></span></p>
<p><span style="color:#666699;"><code>Found 2 matches.</code></span></p>
<p>I launched KRunner (Alt-F2) and entered the command &#8220;fusion-icon&#8221; (without the quotes) to get the Fusion Icon back on the Panel, and then rebooted to check if everything was working correctly.</p>
<p>The only way I could get <span style="color:#666699;"><code>compiz-0.8.6-r3</code></span> to build this time was to specify <span style="color:#666699;"><code>"-kde"</code></span> as a USE flag. The last time I merged that package, back in November 2011, it would build with <span style="color:#666699;"><code>USE="kde qt4"</code></span> and enable me to select Emerald, GTK Window Decorator or KDE Window Decorator as the window decorator in Compiz. But, as the package will no longer build with the kde USE flag, I now only have the choice of Emerald or GTK Window Decorator. Perhaps this old, unmaintained compiz ebuild will no longer build with <span style="color:#666699;"><code>USE="kde"</code></span> because I have since installed new versions of other packages on which it depends, and/or because I am now using KDE 4.8.0 instead of KDE 4.7.3. Anyway, at least I now have Compiz available for a while yet and can still select KWin or Compiz as the Window Manager.</p>
<p>EDIT (February 1, 2012): The <a href="https://github.com/megabaks/stuff" title="stuff" target="_blank">stuff</a> overlay has the following ebuilds, which do enable the KDE4 Window Decorator to be used with Compiz in KDE 4.8.0:</p>
<p><span style="color:#666699;"><code>dev-python/compizconfig-python-0.8.4-r3<br />
x11-libs/compiz-bcop-0.8.8<br />
x11-libs/compizconfig-backend-gconf-0.8.8<br />
x11-libs/compizconfig-backend-kconfig4-0.8.8<br />
x11-libs/libcompizconfig-0.8.8<br />
x11-plugins/compiz-plugins-extra-0.8.8<br />
x11-plugins/compiz-plugins-main-0.8.8<br />
x11-plugins/compiz-plugins-unsupported-0.8.8<br />
x11-wm/compiz-0.8.8<br />
x11-wm/compiz-fusion-0.8.8<br />
x11-apps/fusion-icon-0.1-r2<br />
x11-apps/ccsm-0.8.4-r1<br />
x11-themes/emerald-themes-0.5.2<br />
x11-wm/emerald-0.8.8</code></span></p>
<p>which can be installed as follows:</p>
<p><span style="color:#666699;"><code># layman -a stuff<br />
# USE="kde qt4" emerge -1v compizconfig-python::stuff compiz-bcop::stuff compizconfig-backend-gconf::stuff compizconfig-backend-kconfig4::stuff libcompizconfig::stuff compiz-plugins-extra::stuff compiz-plugins-main::stuff compiz-plugins-unsupported::stuff compiz::stuff compiz-fusion::stuff fusion-icon::stuff ccsm::stuff emerald-themes::stuff emerald::stuff</code></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/505/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=505&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2012/01/28/moving-compiz-to-a-local-overlay-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up a talking clock easily in Linux</title>
		<link>http://fitzcarraldoblog.wordpress.com/2012/01/19/setting-up-a-talking-clock-easily-in-linux/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2012/01/19/setting-up-a-talking-clock-easily-in-linux/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 19:46:32 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Desktops and Window Managers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[desktop environments]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=494</guid>
		<description><![CDATA[There are several ways to set up a talking clock in Linux. One simple way to do it if you&#8217;re a KDE user is to use the Analogue Clock widget. Once you have placed the Analogue Clock widget on your Desktop, click on the widget&#8217;s spanner icon, select the &#8216;General&#8217; tab and it shows the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=494&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are several ways to set up a talking clock in Linux. One simple way to do it if you&#8217;re a KDE user is to use the Analogue Clock widget. Once you have placed the Analogue Clock widget on your Desktop, click on the widget&#8217;s spanner icon, select the &#8216;General&#8217; tab and it shows the title &#8216;Text to Speech&#8217; and a &#8216;Speak time&#8217; box where you can select the frequency at which you want the talking clock to speak the time. When you click &#8216;Apply&#8217;, an icon appears in the System Tray on the Panel: Jovie KDE Text-to-speech Manager. You can right-click on the Jovie icon then click on &#8216;Configure&#8217; to change the language and voice etc.</p>
<p>Another alternative is to install the eSpeak text-to-speech synthesizer and use the GUI KAlarm utility to run the following command at any interval you like (every hour, every half hour, every 15 minutes or whatever you want):</p>
<p><code>date +%I:%M%p | espeak</code></p>
<p>When the command above is executed on the hour, the voice speaks the hour followed by &#8220;zero zero AM/PM&#8221;. For example it says &#8220;seven zero zero PM&#8221; rather than &#8220;seven o&#8217;clock PM&#8221;. If you prefer the latter, you can modify the one-line command:</p>
<p><code>if [ $(date +%M) != "00" ]; then date +%-H:%M%p%Z; else echo -n $(date +%-H); echo -n "oh clock "; date +%p; date +%Z; fi | espeak -ven+f6</code></p>
<p>Use the command <code>date --help</code> to find out the different parameters available for the <code>date</code> command. You can also play around with the last two characters in the above command to get different voices. For example &#8220;m1&#8243;, &#8220;f4&#8243; etc.</p>
<p>Using KAlarm&#8217;s GUI is less daunting for many people than setting up a cronjob to run the command, which would be yet another way of doing it. Also, by using KAlarm it is quick and easy to enable and disable the talking clock.</p>
<p>An alternative to the above command would be to run one of the many Bash scripts found on the Web. One such is <a title="saytime" href="http://gnome-look.org/content/show.php/SayTime+Script?action=content&amp;content=73688&amp;PHPSESSID=6" target="_blank">saytime</a>. SayTime uses the festival text-to-speech engine, an alternative to espeak, which you would need to install. The guts of SayTime is simply the command:</p>
<p><code>echo "Today is `date +%d` `date +%B` `date +%Y` and now the time is `date +%k` and `date +%M` minutes" | festival --tts</code></p>
<p>so you could use that command with KAlarm or a cronjob if you wanted. You can play around with the commands to get the time spoken the way you want.</p>
<p>eSpeak is also configurable; check out the Web site <a title="eSpeak: text to speech" href="http://espeak.sourceforge.net/index.html" target="_blank">eSpeak text to speech</a>. For example, the following is the time spoken in Portuguese instead of English:</p>
<p><code>date +%I:%M%p | espeak -vpt</code></p>
<p>or in English with a Scottish accent:</p>
<p><code>date +%I:%M%p | espeak -ven-sc</code></p>
<p>or in English with a Brummie accent:</p>
<p><code>date +%I:%M%p | espeak -ven-wm</code></p>
<p>or in Latin with a female voice:</p>
<p><code>date +%I:%M%p | espeak -vla+f4</code></p>
<p>Three guesses what this one does:</p>
<p><code>date +%I:%M%p | espeak -ven+whisper</code></p>
<p>You can have some fun exploring the options.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/494/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=494&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2012/01/19/setting-up-a-talking-clock-easily-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Playing QuickTime videos in Firefox and Chromium + XVideo bug in AMD Catalyst 11.11 and 11.12 driver</title>
		<link>http://fitzcarraldoblog.wordpress.com/2011/12/30/playing-quicktime-videos-in-firefox-and-chromium-xvideo-bug-in-amd-catalyst-11-11-and-11-12-driver/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2011/12/30/playing-quicktime-videos-in-firefox-and-chromium-xvideo-bug-in-amd-catalyst-11-11-and-11-12-driver/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 00:53:02 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Desktops and Window Managers]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[QuickTime]]></category>
		<category><![CDATA[Sabayon Linux]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[ATI]]></category>
		<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[Chromium]]></category>
		<category><![CDATA[FGLRX]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=477</guid>
		<description><![CDATA[Video problems seem to be perennial in Linux. The latest two to affect me were: 1) Firefox and Chromium could no longer play QuickTime videos on the Apple iTunes Movie Trailers Web site; 2) a bug in the latest two releases of the closed-source ATI FGLRX driver (AMD Catalyst 11.11 and 11.12 for Linux) that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=477&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Video problems seem to be perennial in Linux. The latest two to affect me were:</p>
<p>1) Firefox and Chromium could no longer play QuickTime videos on the Apple iTunes Movie Trailers Web site;</p>
<p>2) a bug in the latest two releases of the closed-source ATI FGLRX driver (AMD Catalyst 11.11 and 11.12 for Linux) that causes the X.Org Server to crash when I try to play .mov files using XVideo (Xv) output in media players such as SMPlayer, VLC, GNOME-MPlayer etc. (see e.g. <a title="Gentoo Bug Report No. 391193" href="https://bugs.gentoo.org/391193" target="_blank">Gentoo Bug Report No. 391193</a>).</p>
<p>The reason I mention these two problems in the same breath is because I encountered the second whilst trying to fix the first. Anyway, below I explain what I did to resolve the two problems.</p>
<p>I first had a problem displaying QuickTime movie trailers in Firefox a couple of years ago. The solution then was to install the User Agent Switcher add-on for Firefox and create a user agent to fool the Apple Web site into thinking Firefox was using Apple&#8217;s QuickTime browser plugin instead of mplayerplug-in for Linux. But within a few days Firefox again could not play movie trailers on the Apple Web site. I had to uninstall mplayerplug-in and install the then latest version of its successor, gecko-mediaplayer (which uses gnome-mplayer). All was good again until&#8230;</p>
<p>Several months ago I found that, yet again, Firefox could not play movie trailers on the Apple Web site. I tried to view the trailers in Chromium instead but had the same problem. Both browsers just displayed a black box where the video should be playing. A little searching on the Web led me to the conclusion that the problem lay with the latest version of gecko-mediaplayer and gnome-mplayer that I was using at the time, so I gave up and decided to wait for new versions of gecko-mediaplayer and gnome-mplayer to be released.</p>
<p>Now, yesterday I wanted to watch a particular trailer on the Apple Web site, but, despite having installed the latest version of gecko-mediaplayer and gnome-mplayer anyway a few days ago, neither Firefox nor Chromium would display the trailer. A little searching on the Web suggested that I should try mozplugger instead of gecko-mediaplayer, so I uninstalled the latter, installed mozplugger and&#8230; the black box in the browser was replaced by a white box displaying the QuickTime &#8216;Q&#8217; logo and a message that I needed to install QuickTime. Argghh!</p>
<p>So I uninstalled mozplugger and reinstalled gecko-mediaplayer and gnome-mplayer (the same versions that I installed recently, you inderstand). This time my attempts to watch trailers on the Apple Web site resulted in Firefox and Chromium displaying grey boxes and appearing to download the QuickTime videos, but then the X.Org Server crashed, restarted and the Desktop Environment&#8217;s login screen appeared. Furthermore, when I tried playing .mov videos in VLC, the same thing happened. Perhaps now you may understand why I mentioned above the bug with the FGLRX driver? It took me a few hours to realise there were two separate problems here.</p>
<p>The work-around to the second problem was to configure media players to use a different output driver rather than the XVideo (Xv) output driver. For example, in VLC this is done via Tools &gt; Preferences &gt; Video and selecting &#8216;GLX video output (XCB)&#8217; as the Output under Video Settings. For SMPlayer this is done via Options &gt; Preferences &gt; General and selecting &#8216;gl (fast &#8211; ATI cards)&#8217; as the Output driver under the Video tab.</p>
<p>And, most importantly, in order to enable gecko-mediaplayer to display those Apple QuickTime trailers in Firefox and Chromium I had to launch gnome-mplayer, select Edit &gt; Preferences, click on the Player tab and select &#8216;gl&#8217; as the Video Output under Adjust Output Settings. Actually, clicking on the MPlayer tab and entering &#8220;-vo gl&#8221; (without the quotes) in the &#8216;Extra Options to MPlayer:&#8217; box achieves the same result. By the way, the tickboxes QuickTime Emulation, RealPlayer Emulation, Windows Media Player Emulation and DIVX Player Emulation were already ticked on the Plug-in tab.</p>
<p>So, there you have it. After several hours of searching and tinkering I can again watch movie trailers on the Apple Web site. Don&#8217;t you just love Linux?</p>
<p>For the sake of completeness, below I list the versions of the applicable packages currently installed on my main laptop:</p>
<p>firefox-9.0<br />
chromium-16.0.912.63<br />
gecko-mediaplayer-1.0.5_beta1_p20111207<br />
gnome-mplayer-1.0.5_beta1<br />
mplayer-1.0_rc4_p20111215<br />
ffmpeg-0.9<br />
libquicktime-1.2.3-r1<br />
xorg-server-1.11.2-r2<br />
ati-drivers-11.12</p>
<p>EDIT (January 2, 2012): I&#8217;ve just had a thought: When I used Skype for Linux a few days ago, my laptop rebooted spontaneously as soon as the person at the other end enabled her Webcam in Skype for Windows. This was reproducible consistently. However, I could enable my Webcam, she could see me in Skype on her PC, and I could also see video of me in Skype&#8217;s &#8216;myself preview&#8217; on my laptop. Now, it could be a coincidence but I wonder if the reboot occurred because Skype for Linux uses XVideo? <a href="http://www.skype.com/intl/en/get-skype/on-your-computer/linux/" title="Skype's Web page for Skype for Linux" target="_blank">Skype&#8217;s Web page for Skype for Linux</a> lists &#8220;Video card driver with Xv support&#8221; as one of the hardware requirements, which looks pretty conclusive to me. However, this leaves a couple of niggling questions: a) If Skype does indeed use XVideo, why didn&#8217;t the &#8216;myself preview&#8217; video in the Skype for Linux window crash the X.Org Server?. b) If the FGLRX driver bug is the cause, why did my laptop reboot instead of just the X.Org Server crashing, restarting and displaying the Desktop Environment login screen? Furthermore, Skype&#8217;s Options &gt; Video Devices &gt; Test does work correctly on my laptop. So perhaps the rebooting problem is caused by a different bug. Suspicious, though. Unfortunately, as far as I know there is no way of switching Skype to use OpenGL instead of XVideo, so I cannot prove that XVideo is the cause of this particular problem I&#8217;m experiencing with Skype.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/477/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=477&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2011/12/30/playing-quicktime-videos-in-firefox-and-chromium-xvideo-bug-in-amd-catalyst-11-11-and-11-12-driver/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>
	</item>
		<item>
		<title>How to install and use Tor for anonymous browsing or to access country-restricted content from another country</title>
		<link>http://fitzcarraldoblog.wordpress.com/2011/12/02/how-to-install-and-use-tor-for-anonymous-browsing-or-to-access-country-restricted-content-from-another-country/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2011/12/02/how-to-install-and-use-tor-for-anonymous-browsing-or-to-access-country-restricted-content-from-another-country/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 12:56:06 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Sabayon Linux]]></category>
		<category><![CDATA[anonymous]]></category>
		<category><![CDATA[networks]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=455</guid>
		<description><![CDATA[Some people want to browse the Web in complete anonymity. One tool for doing that is Tor. However, there are other reasons for using Tor. For example, when I am travelling in a country where the government blocks certain Web sites (or blocks accessing content on certain Web sites), or when I am travelling overseas [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=455&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some people want to browse the Web in complete anonymity. One tool for doing that is <a href="https://www.torproject.org/index.html.en" title="Tor" target="_blank">Tor</a>. However, there are other reasons for using Tor. For example, when I am travelling in a country where the government blocks certain Web sites (or blocks accessing content on certain Web sites), or when I am travelling overseas and certain Web sites back home will not let me view content (e.g. TV shows), I use Tor. Note that some Web sites are now clever enough to detect that you are accessing them via a proxy and could be overseas, so even Tor will not gain you access to media on some Web sites back home. Anyway, it&#8217;s still worth trying Tor to see if it works in your case.</p>
<p>For an overview of the installation and configuration procedure, see <a href="https://www.torproject.org/docs/tor-doc-unix.html.en" title="Running the Tor client on Linux/BSD/Unix" target="_blank">Running the Tor client on Linux/BSD/Unix</a>. Below I will explain how to install and use Tor in Gentoo Linux.</p>
<p>Before you use Tor, it is useful to check your current IP address. Several Web sites will tell you your current IP address; here is the site I usually use: http://whatismyipaddress.com/</p>
<p>1. Install Tor:</p>
<p><code># USE="tordns" emerge -1v tor</code></p>
<p>(Actually, the more-recent versions of the tor package don&#8217;t require that USE flag but I&#8217;ve left it in as it does no harm.)</p>
<p>2. Install Vidalia:</p>
<p><code># cd /usr/portage/distfiles/<br />
# wget --no-check-certificate https://www.torproject.org/dist/vidalia/vidalia-x.y.z.tar.gz<br />
# USE="tor" emerge -1v vidalia</code></p>
<p>Use the current version x.y.z of the vidalia package in the package manager and https://www.torproject.org/dist/vidalia/</p>
<p>3. Install Polipo:</p>
<p><code># emerge -1v polipo</code></p>
<p>4. Download <code>polipo.conf</code></p>
<p><code># cd /etc/polipo<br />
# wget --no-check-certificate https://gitweb.torproject.org/torbrowser.git/blob_plain/HEAD:/build-scripts/config/polipo.conf</code></p>
<p>5. Edit it and change <code>proxyPort = 8118</code> to <code>proxyPort = 8123</code></p>
<p>6. Copy it to <code>/etc/polipo/</code>:</p>
<p><code># cd /etc/polipo<br />
# cp /etc/polipo/config /etc/polipo/config.bak<br />
# cp polipo.conf config</code></p>
<p>7. Configure Firefox:</p>
<p>Edit &gt; Preferences &gt; Network &gt; Settings</p>
<p>Manual proxy configuration:</p>
<p>HTTP Proxy: 127.0.0.1 Port: 8123<br />
SSL Proxy: 127.0.0.1 Port 8123</p>
<p>SOCKS Host: 127.0.0.1 Port 9051<br />
SOCKS v5<br />
No Proxy for: 127.0.0.1</p>
<p>8. Run Vidalia and then configure it:</p>
<p><code>$ vidalia &amp;</code></p>
<p>a) Settings &gt; Sharing</p>
<p>Select &#8216;Run as a client only&#8217;</p>
<p>b) Settings &gt; Advanced</p>
<p>Select &#8216;Use TCP connection (ControlPort)&#8217;<br />
Address: 127.0.0.1  9051</p>
<p>Tor Configuration File:<br />
/home/fitzcarraldo/.vidalia/torrc</p>
<p>Data Directory:<br />
/home/fitzcarraldo/.tor</p>
<p>c) Click on &#8216;Edit current torrc&#8217; and make it:</p>
<p><code># This file was generated by Tor; if you edit it, comments will not be preserved<br />
# The old torrc file was renamed to torrc.orig.1 or similar, and Tor will ignore it<br />
ControlPort 9051<br />
ExitNodes {gb}<br />
Log notice stdout<br />
SocksListenAddress 127.0.0.1<br />
StrictNodes 1</code></p>
<p>Note that I have specified &#8220;{gb}&#8221; above so that I am perceived by Web sites to be browsing in the UK even if I am in another country. But you can use a different country code if you want Web sites to perceive you are in another country. For example, &#8220;{us}&#8221; would make it look as if you are browsing in the USA.</p>
<p>9. Run Polipo:</p>
<p><code>$ sudo polipo</code></p>
<p>10. Surf to http://torcheck.xenobite.eu/ to check that you are now using a Tor exit node.</p>
<p>11. Surf to http://whatismyipaddress.com/ to check that your IP address has changed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=455&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2011/12/02/how-to-install-and-use-tor-for-anonymous-browsing-or-to-access-country-restricted-content-from-another-country/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Sabayon Linux developers split the Portage sabayon overlay into two new overlays</title>
		<link>http://fitzcarraldoblog.wordpress.com/2011/11/13/sabayon-linux-developers-split-the-portage-sabayon-overlay-into-two-new-overlays/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2011/11/13/sabayon-linux-developers-split-the-portage-sabayon-overlay-into-two-new-overlays/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 17:24:30 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sabayon Linux]]></category>
		<category><![CDATA[Portage]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=444</guid>
		<description><![CDATA[If you are a Gentoo Linux user who added the sabayon overlay, or if you are a Sabayon Linux user who already uses Portage, note that the developers of Sabayon Linux have just split the overlay into two overlays. One of the overlays (sabayon-distro) contains ebuilds that are specific to the Sabayon Linux distribution and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=444&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are a Gentoo Linux user who added the sabayon overlay, or if you are a Sabayon Linux user who already uses Portage, note that the developers of Sabayon Linux have just split the overlay into two overlays. One of the overlays (sabayon-distro) contains ebuilds that are specific to the Sabayon Linux distribution and unlikely to be of interest to users of other distributions that use the Portage package manager. The other overlay (sabayon) contains ebuilds that could be of interest to Portage users of other distributions. For example, the package app-misc/sabayon-version will only be of relevance to users of Sabayon Linux, so you&#8217;ll only find it in the sabayon-distro overlay, not the sabayon overlay:</p>
<p><code># eix sabayon-version<br />
* app-misc/sabayon-version [1]<br />
     Available versions:  (~)5-r5 (~)7-r1<br />
     Homepage:            http://www.sabayon.org/<br />
     Description:         Sabayon System Release virtual package</code></p>
<p><code>[1] "sabayon-distro" /var/lib/layman/sabayon-distro</code></p>
<p>All you need to do in order to cater for this change is the following as root user:</p>
<p><code>layman -d sabayon<br />
layman -S<br />
layman -a sabayon<br />
layman -a sabayon-distro<br />
eix-update</code></p>
<p>You only need to add the sabayon-distro overlay if you are a user of Sabayon Linux or want to install any of the distribution-specific ebuilds from it. Of course omit the <code>eix-update</code> command if you do not have the excellent eix utility installed.</p>
<p>From then onwards you can just continue as normal using the usual Portage commands as root user in order to synchronise the main Portage tree and synchronise all the overlays added on your machine:</p>
<p><code>emerge --sync<br />
layman -S<br />
eix-update</code></p>
<p>or, if you have an asterisk on its own line in the file <code>/etc/eix-sync.conf</code> then you can replace the above three commands with the following single command:</p>
<p><code>eix-sync</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/444/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/444/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=444&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2011/11/13/sabayon-linux-developers-split-the-portage-sabayon-overlay-into-two-new-overlays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Secure deletion of a file via the KDE GUI</title>
		<link>http://fitzcarraldoblog.wordpress.com/2011/10/15/secure-deletion-of-a-file-via-the-kde-gui/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2011/10/15/secure-deletion-of-a-file-via-the-kde-gui/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 22:41:57 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Desktops and Window Managers]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sabayon Linux]]></category>
		<category><![CDATA[desktop environments]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=411</guid>
		<description><![CDATA[One of the various Linux tools for secure deletion of files is the srm command. In Gentoo Linux the srm command and other security-related commands are available by installing the package secure-delete. Now, srm is easy enough to use from the command line: $ srm mysecrets.doc You can do the same thing from the KDE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=411&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the various Linux tools for secure deletion of files is the <code>srm</code> command. In Gentoo Linux the <code>srm</code> command and other security-related commands are available by installing the package <strong>secure-delete</strong>. Now, <code>srm</code> is easy enough to use from the command line:</p>
<p><code>$ srm mysecrets.doc</code></p>
<p>You can do the same thing from the KDE GUI very easily by adding the <code>srm</code> command to the KDE Service Menu. To do this, first install <a href="http://fitzcarraldoblog.wordpress.com/2011/06/25/kde-4-service-menu-editor/" title="KDE Service Menu Editor" target="_blank">KDE Service Menu Editor</a>. Then launch it and do the following:</p>
<p>On the <strong>Actions</strong> tab:</p>
<p>1. Enter &#8220;Securely Delete&#8221; (without the quotes) in the <strong>Label</strong> box.</p>
<p>2. Enter <code>srm -r %u</code> in the <strong>Exec</strong> box. As you will see if you use the <code>man srm</code> command, the &#8220;-r&#8221; option means &#8220;recursive mode, deletes all subdirectories&#8221;. I&#8217;ve added this option so that I can securely delete directories and all their contents including sub-directories, as well as individual files.</p>
<p>3. Click on the blank Icon and choose a suitable icon. I selected System Icons &gt; Actions, entered &#8220;delete&#8221; (without the quotes) in the Search box and selected the big red X (edit-delete) icon.</p>
<p>On the <strong>Conditions</strong> tab:</p>
<p>4. Against &#8216;Display the menu for:&#8217;, click on <strong>All Files</strong>.</p>
<p>5. Click <strong>OK</strong> then <strong>Close</strong>, and you&#8217;re done.</p>
<p>Now all you need to do in KDE is right-click on a file or directory and select Actions &gt; Securely Delete.</p>
<p>The above configuration will only allow you to delete files and directories owned by your user name. However, if you also want to be able to delete files owned by other Linux accounts on your machine then you can modify the command in the KDE Service Menu to prompt you for the root user&#8217;s password. To do that, in Step 2 above you would use the following command instead:</p>
<p><code>kdesu srm -r %u</code></p>
<p>Now when you right-click on a file or directory, a window will pop up and prompt you to enter the root user&#8217;s password.</p>
<p>Of course, if you would prefer to use a different tool to securely delete a file or directory then you could substitute the <code>srm</code> command with e.g. <code>wipe</code> or <code>bcwipe</code> if you have those installed. Use <code>man wipe</code> and <code>man bcwipe</code> after installing them, to check which options you might want to use.</p>
<p>Note that some of your data might be in a temporary (deleted) copy of the file somewhere on the disk. If you installed the secure-delete package then you could use the <code>sfill</code> command to  wipe free disk space on any mounted partition, but you would need to be root user to use it. Note also that, if a small file has already acquired a block with your data, no tool can remove that data. Anyway, if you also want to securely wipe any free disk space you can modify the aforementioned command in the KDE Service Menu even further:</p>
<p><code>kdesu srm -r %u &amp;&amp; kdesu sfill directory/mountpoint</code></p>
<p>I have my /home directory on its own partition, so, in my case the KDE Service Menu entry would be:</p>
<p><code>kdesu srm -r %u &amp;&amp; kdesu sfill /home</code></p>
<p>This would pop up a window twice prompting you to enter the root user&#8217;s password: once for the srm command, and once for the <code>sfill</code> command. Note that the <code>sfill</code> command can take a very, very long time to wipe the free space if it is large (I personally don&#8217;t bother using it, as I don&#8217;t want my hard disk thrashing for hours). The <code>sfill</code> command works by creating one big file to fill all the free space, then writes to that file using several steps to ensure all the previously-free areas of the disk have had their original contents erased. Once that is completed, the utility then removes the big file, releasing the free disk space.</p>
<p>If you think your swap space contains some of your data, you could use the <code>sswap</code> command &#8212; also available if you install the <strong>secure-delete</strong> package &#8212; for secure deletion of the swap space, but you would need to disable your swap space first. I have 4 GB of RAM and my swap partition is virtually never used, so I don&#8217;t bother putting my tinfoil hat on in the case of swap either.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/411/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=411&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2011/10/15/secure-deletion-of-a-file-via-the-kde-gui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>
	</item>
		<item>
		<title>Toggle KWin compositing on and off easily from your Desktop</title>
		<link>http://fitzcarraldoblog.wordpress.com/2011/09/08/toggle-kwin-compositing-on-and-off-easily-from-your-desktop/</link>
		<comments>http://fitzcarraldoblog.wordpress.com/2011/09/08/toggle-kwin-compositing-on-and-off-easily-from-your-desktop/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 19:41:47 +0000</pubDate>
		<dc:creator>Fitzcarraldo</dc:creator>
				<category><![CDATA[Desktops and Window Managers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[desktop environments]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[window managers]]></category>

		<guid isPermaLink="false">http://fitzcarraldoblog.wordpress.com/?p=397</guid>
		<description><![CDATA[KWin&#8217;s Desktop Effects work well and I usually have them enabled, only disabling compositing temporarily while I play a game (I&#8217;m a sucker for old arcade games running in GMAMEUI). One way to enable/disable compositing in KWin 4.7.0 is via System Settings &#62; Desktop Effects &#62; tick/untick &#8216;Enable desktop effects at startup&#8217; &#62; Apply. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=397&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>KWin&#8217;s Desktop Effects work well and I usually have them enabled, only disabling compositing temporarily while I play a game (I&#8217;m a sucker for old arcade games running in GMAMEUI).</p>
<p>One way to enable/disable compositing in KWin 4.7.0 is via System Settings &gt; Desktop Effects &gt; tick/untick &#8216;Enable desktop effects at startup&#8217; &gt; Apply. This change only takes effect when you restart KDE. A way to toggle compositing on/off is to use a keyboard shortcut. The default keyboard shortcut for this in KWin is Alt-Shift-F12, but KDE on my machine tells me that Qt does not like the use of the Alt key in this shortcut, so I used System Settings &gt; Desktop Effects to change the shortcut to Ctrl+Shift+U, which does toggle compositing on/off.</p>
<p>A toggle icon on the Desktop is another way of achieving the same thing, and is handy if you are using your mouse at the time. Now, a Plasma widget called <a title="Toggle-Compositing" href="http://kde-look.org/content/show.php/Toggle-Compositing?content=78299" target="_blank">Toggle-Compositing</a> exists and is a nice way of enabling/disabling compositing at the click of a mouse. However, it has to be compiled &#8212; which some users may feel reluctant to do &#8212; and it requires the user to know the <code>$KDEDIR</code>, and I&#8217;ll wager some users don&#8217;t.</p>
<p>Below I describe one way of adding an icon to your Desktop that you can use to toggle compositing in KWin and that does not require any compiling, so it should be more straightforward to implement by a newcomer to KDE.</p>
<p>Use your preferred text editor to create the following Desktop Configuration File named <strong>toggle_compositing_in_KWin</strong> in your Desktop directory:</p>
<p><code>[Desktop Entry]<br />
Comment[en_GB]=toggles compositing in KWin<br />
Comment=toggles compositing in KWin<br />
Exec=sh /home/fitzcarraldo/toggle_compositing_in_KWin.sh<br />
GenericName[en_GB]=toggles compositing in KWin<br />
GenericName=toggles compositing in KWin<br />
Icon=kwin<br />
MimeType=<br />
Name[en_GB]=toggle_compositing_in_KWin<br />
Name=toggle_compositing_in_KWin<br />
Path=<br />
StartupNotify=true<br />
Terminal=true<br />
TerminalOptions=<br />
Type=Application<br />
X-DBUS-ServiceName=<br />
X-DBUS-StartupType=none<br />
X-KDE-SubstituteUID=false<br />
X-KDE-Username=</code></p>
<p>(Replace &#8220;fitzcarraldo&#8221; with your user name, of course.)</p>
<p>Then create a text file <strong>~/toggle_compositing_in_KWin.sh</strong> containing the following:</p>
<p><code>#!/bin/bash<br />
echo -n "Current compositing state: "<br />
qdbus org.kde.kwin /KWin compositingActive<br />
echo -n "Changing compositing state..."<br />
qdbus org.kde.kwin /KWin toggleCompositing<br />
echo -n "Current compositing state: "<br />
qdbus org.kde.kwin /KWin compositingActive<br />
echo -n "All done. Press ENTER to close window: "<br />
read ENTRY</code></p>
<p>Finally, open a Konsole window and enter the following command under your own user account:</p>
<p><code>chmod +x toggle_compositing_in_KWin.sh</code></p>
<p>And there you have it. You&#8217;ll have an icon on your Desktop that looks something like the following:</p>
<div id="attachment_409" class="wp-caption aligncenter" style="width: 138px"><a href="http://fitzcarraldoblog.files.wordpress.com/2011/09/kwin.png"><img src="http://fitzcarraldoblog.files.wordpress.com/2011/09/kwin.png?w=630" alt="KWin icon" title="KWin icon"   class="size-full wp-image-409" /></a><p class="wp-caption-text">KWin icon</p></div>
<p>All you need to do is double-click (or single-click, if you have configured KDE that way) on the icon <strong>toggle_compositing_in_KWin</strong> on your Desktop and a window will pop-up telling you:</p>
<p><code>Current compositing state: true<br />
Changing compositing state...<br />
Current compositing state: false<br />
All done. Press ENTER to close window:</code></p>
<p>To re-enable compositing, just double-click the icon again. And so on.</p>
<p><strong>And now the final touch&#8230;</strong></p>
<p>Actually, it&#8217;s not necessary to include the last two lines:</p>
<p><code>echo -n "All done. Press ENTER to close window: "<br />
read ENTRY</code></p>
<p>in the Bash script above; I just put them in to display the current compositing state. If you omit those two lines then toggling compositing on and off simply becomes a double-click on the icon on the Desktop (or a single click if you have configured KDE that way). In fact, if you also change <code>Terminal=true</code> to <code>Terminal=false</code> and <code>StartupNotify=true</code> to <code>StartupNotify=false</code> in the Desktop Configuration File, then you won&#8217;t even see a Konsole window pop-up briefly: compositing will just be toggled on and off seamlessly, so to speak. Just like the keyboard shortcut, only easier to remember!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fitzcarraldoblog.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fitzcarraldoblog.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fitzcarraldoblog.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fitzcarraldoblog.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fitzcarraldoblog.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fitzcarraldoblog.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fitzcarraldoblog.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fitzcarraldoblog.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fitzcarraldoblog.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fitzcarraldoblog.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fitzcarraldoblog.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fitzcarraldoblog.wordpress.com/397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fitzcarraldoblog.wordpress.com/397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fitzcarraldoblog.wordpress.com/397/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fitzcarraldoblog.wordpress.com&#038;blog=18093477&#038;post=397&#038;subd=fitzcarraldoblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fitzcarraldoblog.wordpress.com/2011/09/08/toggle-kwin-compositing-on-and-off-easily-from-your-desktop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11cad4dbb93229f4e2864ec54f16de1b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fitzcarraldoblog</media:title>
		</media:content>

		<media:content url="http://fitzcarraldoblog.files.wordpress.com/2011/09/kwin.png" medium="image">
			<media:title type="html">KWin icon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
