Transparency here, transparency there....
Saturday, 17 February 2001 | Tunrau
For the last couple days, I've been working on making things transparent in KDE. This is pretty easy to do, but time consuming. Most notable success so far is with Konqueror. Next up, ksirc, and hopefully kicker. This code cannot go into 2.1, since we are in a feature freeze, but the following version of KDE should be quite transparent! [Ed: Also check out the transparency screenshots for Kasbar TNG. There's some other slick stuff there too.]
Comments:
Re: Transparency here, transparency there.... - Richard Stallman - 2001-02-17
Bah. Emacs can do this with Eterm, do you hear me shouting about it.
Re: Transparency here, transparency there.... - kde - 2001-02-17
hmm... and trolls usually hang out at /., but u don't hear us shout about that huh!
Re: Transparency here, transparency there.... - Mariusz - 2001-02-20
Hmmm. Eterm can even do this without emacs. :-)
Re: Transparency here, transparency there.... - Protoman - 2001-02-17
I would like to see semi (or full) transparent pull down menus too. And I would like transparent windows don't show only the kde background like konsole does, but other windows that are behind it too. This would be a cool eye candy :)
Re: Transparency here, transparency there.... - Josh Liechty - 2001-02-17
<p>XFree 4.0.2 supposedly is able to do this (fully translucent windows, in which everything behind them, including other windows, shows through), but AFAIK, if the KDE programmers utilized these features, then it would force everybody to upgrade to XFree 4.0.2. This wouldn't be that bad, except the 4.x versions of XFree don't support all of the video cards that the 3.x versions did.</p> <p>I suppose by "transparent pull down menus" you mean something like the picture at the bottom of the page at this address:<br><a href="http://www.xfree86.org/~keithp/render">http://www.xfree86.org/~keithp/render</a></p>
Re: Transparency here, transparency there.... - Iuri Fiedoruk - 2001-02-17
That's why I think there should be more binaries out there. It's relatively easy to create rpms with and without those features, and on source you can detect X version of course. But lastly seems that creating rpms is a pain to companies and not something they do to gain more happy users. I even don't have XFree 4.0.2 simply because there isn't rpms for redhat 6.2, and I don't want to install it with breaking Xconfigurator program (I hate xf86config).
Re: Transparency here, transparency there.... - Joe KDE User - 2001-02-17
You realize, of course, that XFree86 has its own graphical setup utilities, right? You're not forced to use xf86config, or something non-standard like xconfigurator or whatever. Try XF86Setup on XFree 3, xf86cfg on XFree 4.
There's also xf86cfg in XFree86 4.0 - Cardinal - 2001-02-17
The new graphical tool being included with XFree86 4.0, while very much a work in progress, looks promising. I didn't try it with 4.0.2, but it was only semi-functional in 4.0.1. But still, it'll make a nice option.
Re: Transparency here, transparency there.... - Triskelios - 2001-02-18
I set up my XF86Config for XFree86 4.0.x with a text editor just by reading 'man XF86Config' for a while, and also using an <a href="http://www-sop.inria.fr/cgi-bin/koala/nph-colas-modelines">online modeline generator script</a>. Even without much previous experience, it was easy. I first installed XFree86 4.0.1 from a binary package at xfree86.org (why are you obsessed with using an rpm? That binary package has an excellent install script), then rebuilt it (this wasn't too hard, either; most of the defaults were fine, so I only had change a few things before 'make World' and 'make install'), and subsequently built 4.0.2 (this time with Xft support and DRI) myself. Now, I am using a cvs copy of 4.0.2 that's based on X11R6.51. In all, it's not particularly hard; there are some good HOWTO's out there.
Re: Transparency here, transparency there.... - gnu128 - 2001-02-18
yes! i think simply editing XF86Config with an editor is the best way to configure x. i hate all these graphical-"frontend" that makes the whole thing more confusing than it is. thanks for the address of the modeline-generator. ;)
Re: Transparency here, transparency there.... - Sould not ! - 2001-02-18
It's funny to hear this in a GRAPHICAL desktop environmant, but I think that it shouldn't be as hard as it is. Just need to be well designed and correspond to the logic of the text , not try to hide any parameter, and write READABLE and well formatted TEXT parameters.
Re: Transparency here, transparency there.... - David - 2001-02-17
Licq with the QT-gui plugin compiled with kde support does that on my system. Minimize licq to the task bar and then place your cursor over the system tray icon and it will pop up a transparent tool tip after about 1 sec. Fades in really well also and of course shows windows behind etc. I am running XFree 4.0.2 CVS and compiled licq from source so maybe that's why. I certainly looks cool, I hope this implimentation works the same way.
Re: Transparency here, transparency there.... - Justin - 2001-02-17
Wow you're right. On the discussion of cool eye-candy, I guess this means it's also possible to have drop shadows on pulldowns and popups.
Check at runtime - Justin - 2001-02-17
I see no reason why Qt or KDE couldn't check the XFree capabilities during runtime. This way, no one would be required to have 4.0.2, but if they do have it then they get the extra features.<br> <br> Not everything needs to be compiled in. I was recently installing a TV program, and it checked for my video device <b>in the configure script</b>. Bad idea. What if I change cards?<br> <br> Now that I think of it, KDE's SSL support should be runtime as well.<br> <br>
Re: Transparency here, transparency there.... - damian - 2001-02-19
As far as I know, for real transparent / translucent windows and menus we will have to wait for keithp's Transparent Window extension. There's a paper he wrote about it on his website.
Re: Transparency here, transparency there.... - Josh Liechty - 2001-02-19
<p>AFAIK, this feature (the Render extension, IIRC) is already in XFree 4.0.2. However, I have no idea if it's compiled in by default.</p>
Re: Transparency here, transparency there.... - emmanuel - 2001-02-19
errrrrrrrrr.... there are a lot of strange messages out there. I use xf4.0.2, and the render extension as of now is just AA text (which is already a lot). Translucent windows etc are for later.......... (and if i'm wrong PLEASE let me know, unfortunately i'm quite certain of what i assert) Emmanuel.sorry.to.be.right :O(
Re: Transparency here, transparency there.... - grovel - 2001-02-21
Couldn't it be possible to include this as a module? Or is this kind of stuff too basically?
Re: Transparency here, transparency there.... - Matthijs Sypkens Smit - 2001-02-19
<i>[...] And I would like transparent windows don't show only the kde background like konsole does, but other windows that are behind it too.</i> <br><br> If you think about it for a moment you would probably realize how annoying that would be. For starters you could easily get confused what window is on top/has the focus. I seriously cannot imagine <b>anyone</b> using this feature permanently.
Re: Transparency here, transparency there.... - Richard Garand - 2001-07-31
Not if it's well implemented. I was just playing around with tranparency in the Konsole, and I didn't find the right setting right away because some of the schemas show too much of the background. With 50% transparency, it would be easy to see what window is on top.
Re: Transparency here, transparency there.... - Windigo - 2001-02-28
Hells yeah!!! We need that so bad. Of course, it has to have an optional dim/tint/semi-transparent mode to keep it from getting confusing :)
Working transparency - Julien chevalier - 2001-10-10
Ok XFree seems to be able to get translucent windows, but how the hell can we get it to work ? Do we need to recompile all the appz that could deal with this Xfree feature ? where can we find howtos ?
Re: Transparency here, transparency there.... - Baracuda - 2001-02-17
Link to Konqueror screenshot is broken :(
Re: Transparency here, transparency there.... - Tobias Schenck - 2001-02-17
<a href="http://www.mts.net/~jhtd/konq_transparent.png">Try this link for the Konqueror screenshot</a> :)
Re: Transparency here, transparency there.... - Navindra Umanee - 2001-02-17
Fixed, thanks. -N.
Re: Transparency here, transparency there.... - Michael M Nazaroff - 2001-02-17
I'm glade someone is working on eye candy because it sure is fun if nothing else. Hopefully this code will be out sooner then later so we can build it into kde. I would sure like to see the backround for kicker being transparent along with the menu structure, now that would be great fun don't you think?
Re: Transparency here, transparency there.... - jessica - 2004-03-25
is this michale nazaroff from central east?
Pointless - me - 2001-02-18
What's the point? Instead of adding funky transparency, why don't the KDE folks do stuff like: fixing bugs - fixing spelling/grammar mistakes in the UI - fixing capitalization mistakes in the UI - making the UI more consistent - making KDE faster.
Re: Pointless - Wilco - 2001-02-18
Why? Because the KDE folks are volunteers. They like to hack some fun stuff too from time to time. Besides that the KDE folks DO fix bugs, they DO the other things you mentioned. If that doesn't satisfy you, you could even do those things yourself!
Re: Pointless - Anonymous Coward - 2001-02-23
Yeah right. First of all, please report those bugs you found.
Re: Transparency here, transparency there.... - steve qui - 2001-02-18
you are wrong! have a look at kde 2.1 it is stable and usable and very fast! imho it is time to implement good looking things too. have a look also on the bug-tracking system of gnome.... they have realy big fixing-problems... and it seems no one kann solve it. bye steve
Re: Transparency here, transparency there.... - KDE User - 2001-02-18
>>What's the point? Instead of adding funky >>transparency, why don't the KDE folks do stuff >>like: fixing bugs >you are wrong! have a look at kde 2.1 it is >stable and usable and very fast! And who said that? Last time I checked, half of the applications still crashed in the first 40 seconds of actual usage (i.e. not <b>watching</b> the screen, but clicking on it). The applications that worked seemed to make some strange assumptions on what functionality I need and what I do not need. For example, there was no ability to set arbitrary colors in KTerm. Nor was it possible to use large fonts for window titles, as the title bars did not change height. This list can continue for ever and ever. >have a look also on the bug-tracking system of >gnome.... they have realy big fixing-problems... >and it seems no one kann solve it. bye steve Was it supposed to be an argument against the necessity to fix bugs?
Re: Transparency here, transparency there.... - steve qui - 2001-02-18
you are a troll!
Re: Transparency here, transparency there.... - Jimbo - 2001-02-18
you have your head in the sand, zealot.
Re: Transparency here, transparency there.... - Jim Bob - 2001-02-19
Get your head out of your ass and you'll see that this is not true.
Re: Transparency here, transparency there.... - Jimbo - 2001-02-18
you have your head in the sand, zealot.
This is just not true. - Uh? - 2001-02-22
You must be doing something very very odd, then, as I and several people in my office have been using KDE 2.1Beta2 since it was released, and I've heard of maybe two or three crashes, total, since that time.
How about speed - renaud - 2001-02-18
OK, it's cool to have a beautyfull desktop on the screen to show friends how Linux can look. But don't forget to optimize your code. I use KDE 2.0.1 on an "old" pentium 166 and it is quite slow to load and konqueror isn't usable (using mc instead), althought it work great on my Athlon 600.
Re: How about speed - Richard Moore - 2001-02-19
You should find it quite a bit faster in 2.1, the file views are a lot more efficient. Rich.
Re: How about speed - RE: How about speed - 2001-02-19
How does this compare to IE 5.5 (or Netscape 6.0) running on your P166 and Athlon 600 ? Cheers
Re: How about speed - renaud - 2001-02-20
I don't use them on the P166, it's mainly used to write my reports (with LyX). But with the Athlon, Konqueror work greater than Netscape (don't use IE, i don't like it).
Re: How about speed - Nick Name - 2001-02-21
Of course the matter is the quantity of RAM being used, but on any pc I got IE is faster than konqueror. (this does not mean I can bear running windows more than one hour in a week) :) A little ot but important for me: has someone thougt of the kde panel being able to become a gnomeish corner panel? I like the afterstep wharf and this is one of the reasons I prefer gnome to kde (!!! a serious reason of course) And what about interchangeability between gnome and kde applets? That would be useful!
Re: How about speed - Tackat - 2001-02-19
The important thing isn't the processor but the amount of memory. If you have at least 48 MB and if you only use KDE-applications the KDE 2.x should perform quite nicely on your system. If it doesn't then you probably use bad RPMs or something else doesn't work properly. Greetings, Tackat
Re: Transparency here, transparency there.... - max - 2001-02-19
This is a great idea and it's not just eye candy but also a great relief on the eyes! Good on you!! Thank you!
Transparent titlebars... - jimbo - 2001-02-21
Have you seen the shots of Aqua/XFree86?<p> http://www.mit.edu/~rueckert/XFreeAqua.jpg <br> http://www.mit.edu/~rueckert/XFreeAqua2.jpg <p> I noticed how the Aqua titlebars are transparent, that is actually somewhat usefull as you get to see more of the "hidden" application windows when messing around on your workspace - getting a better general feeling of where you can find windows/apps pushed in the background...<p> I quickly open *many* windows on the same desktop, being very poor at using multible desktops - so this would be helpful.
Re: Transparency here, transparency there.... - Mark Hillary - 2001-02-21
I like the sound of this. But wouln't it be better if this was supported in Qt of the kde libaries, becasue the way I understand it is that at the moment transparency is being add on a app by app approce. This to me seems that it is creating a lot of xtra code, which increase the size of KDE and slows it down. If this feature was added to the wigets in QT, then all the apps could use it, cutting down on the extra code, and also making it easier to implement for new apps that are been developed.
Re: Transparency here, transparency there.... - Darren - 2001-02-23
I can't understand why people want to do this. The idea of things being transparent may sound cool and may look cool in carefully setup screenshots but it's not very practical is it. What happens when you have multiple windows open or a complex background or one that clashes with your chosen text colour or something with text on it like a console or web page? Everything becomes difficult/impossible to read. I can't read many of the folder names in that screenshot so why would I want to use a program like that?
Re: Transparency here, transparency there.... - ResDev - 2002-04-25
a) It's not really transparent. It's pseudo-transparent. Generally it only shows the desktop. So if you overlap windows you won't see the window underneath it through the top window, just the desktop image. b) If you use a terminal like Eterm you can not only tell it to be semi-transparent but you can also shade and tint the window. The shading solves the text color issue. With a 50% shade you can generally see white text even in areas where the desktop pattern is white. Though it might be a little light. But with a darker desktop image you'll have no issues reading anything. c) Why would you tell an application to run with a text color that clashes with your background image? I'm assuming that if you're setting transparency on an application like konq that you're overriding the website colors in the first place.