- ComputerPhreaks Blog - http://computerphreaks.net -

Yakuake true transparency?

Posted By dragon_788 On May 26, 2007 @ 11:23 am In Software, Technology, General | No Comments

A while back a friend of mine showed me a really sweet Linux command line interface called Yakuake, he found it in a screenshot on the kde-look.org site and we both thought it was a really great idea. The gist of it is instead of having the console (Linux term for CLI [command line interface]) take up an entire window you can have it “docked” to the top of the screen and only have it drop down when you need it, very similar to the effect if you hit ~ (tilde) in most fps/RPG games for the PC. This is nice so you can keep a root console available but not immediately visible for those times you are working on stuff that requires the privileges but not the window open the whole time. Its slightly more secure than using kdesu and having it save the password and I’ve read of one instance where a person scripted closing a root session after 15 minutes of inactivity for even more security.

My main goal with this post is to let those who like the idea of a easily accessible console but also want to be able to see what’s behind it for command references or whatever. I tried Yakuake under Ubuntu and Sabayon and I noticed Ubuntu has some nice themes included with the package and a couple are “transparent” but its only a meta-transparency, it simply takes a capture of your wallpaper and puts it behind the console to make it appear transparent, Sabayon doesn’t have these themes included by default. I searched for a while on the net for a solution but it appears that KDE won’t fully support transparency in Konsole (the base KDE package that Yakuake is built on) until KDE4 is out (its still in alpha currently). I was somewhat disappointed as KDE3.5.7 came out just a few days ago and with KDE4 being in alpha it may be months before its officially out. That’s why I was excited when I found [1] this post, it tells how to enable a “real” transparency for Yakuake using Beryl (the lovely XGL effects window manager). You just open up the Beryl Manager, go to Window Management, then Set Window Attribs by various criteria, expand the Window Opacity option and click the plus sign to add a new criteria, in the option window select Window Title from the dropdown, and type Yakuake in the text box or if you have Yakuake open click the Grab button and click on the Yakuake window title bar. Move the slider to about 75(%) and click OK and you are ready to make your Yakuake truly transparent. Check the checkbox in front of the Set Window Attribs by various criteria option in the left pane and you should now have a transparent drop down console.

I didn’t attempt the 2nd fix which involved patching the source code, the reason being that I installed Yakuake through portage and/or apt-get so I didn’t really have a chance to apply the patch before the fact. Hopefully KDE4 comes soon with support for full tranparencies so we can have an ultra sexy Linux desktop beyond the amazing effects of Beryl/Compiz and XGL, which if you haven’t seen yet you should definitely search YouTube for some clips.


Article printed from ComputerPhreaks Blog: http://computerphreaks.net

URL to article: http://computerphreaks.net/2007/05/26/yakuake-true-transparency/

URLs in this post:
[1] this post: http://forum.beryl-project.org/viewtopic.php?f=44&t=2563

Click here to print.