LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   KDE app transparency outside of KDE (https://www.linuxquestions.org/questions/linux-general-1/kde-app-transparency-outside-of-kde-380224/)

Artanicus 11-05-2005 11:51 AM

KDE app transparency outside of KDE
 
My most favourite eyecandy feature must be meta-transparency. But, im having a problem with the KDE implementation of it.

Sure it works great when you habe a fullblown KDE running, Konsole, Yakuake, Superkaramba etc have nice transparency. But the immediate you open any of those apps under fluxbox, *bam* the transparency is gone and replaced either with jitter or just black. Probably this happens because those apps ask for the bg from kde, not from X like apps such as aterm do..

Is there a way to get the KDE-transparency outside of KDE? I know there are alternative apps but sometimes the K app just is simply the best for the job. (eg yakuake) ..

Ive had some wild ideas like a graphics proxy that would act like some DCOP interface or whatever way the apps ask for the bg, but I just dont know enough about the problem to solve it myself..

cs-cam 11-06-2005 06:03 AM

Not a KDE user but I can grasp for straws with the best of 'em ;)

Does DCOP have an exec file somewhere? Maybe try running it under fluxbox will load any KDE prefs and fix this problem. How does KDE set the wallpaper? Maybe that to set your wallpaper will work, ksetroot or similar?

Artanicus 11-06-2005 06:28 AM

Quote:

Originally posted by cs-cam
Not a KDE user but I can grasp for straws with the best of 'em ;)

Does DCOP have an exec file somewhere? Maybe try running it under fluxbox will load any KDE prefs and fix this problem. How does KDE set the wallpaper? Maybe that to set your wallpaper will work, ksetroot or similar?

Well, dcop has several binaries.. dcop as a cli interface to request information and toggles and so on, and dcopserver that gets fired up once you start any app that needs dcop..

The key might be how kde sets the wallpaper and emulating that.. But, I seriously have no idea how its done nor how to find out.. /:

Artanicus 11-06-2005 06:37 AM

actually, as usual, spoke too soon.. Just found out how it can be done..
Code:

dcop kdesktop KBackgroundIface setWallpaper %u 6
.. that as I understand will send in konqueror the signal to set a selected image as the background. So, id decipher that its this kdesktop that needs to be running.. *sigh* .. sounds big and clunky..

Well, I had a go at it.. launching just kdesktop gives me my kde wallpapers and icons, plus fixes the transparency.. But as usual with KDE, draws are slow enough for the eye to catch a glimpse of unfinished work, and as I said, clunky..

edit: also noticed that running kdesktop takes away the fluxbox menu and makes things more clunky, this is not a solution.

If anyone fancys writing a dcop wrapper that will emulate the wallpaper interface and send the rest to the real dcop, id be most thrilled to try it out.. (; ... Unless there is some real way to get around this..


All times are GMT -5. The time now is 07:46 AM.