LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   KDE screensaver transparency issue with compiz-fuzion (https://www.linuxquestions.org/questions/linux-desktop-74/kde-screensaver-transparency-issue-with-compiz-fuzion-752392/)

hikari 09-03-2009 08:38 AM

KDE screensaver transparency issue with compiz-fuzion
 
Hi, i'm using KDE 4.2.4 with Compiz-fusion 0.8.2 on my Mandriva 2009.1 box, and all is working flawlessly except one annoying thing. I have tuned compiz to make my windows and menus partially transparent by adding this line in ccsm (plugin: "Opacity, Brightness and Saturation", "Windows specific settings" in "Opacity" tab):

Code:

(any) & !(type=Menu | PopupMenu | DropdownMenu) & !(class=Firefox)  & !(title=MPlayer) & !(type=Normal & class=Gimp)
So, it works great and all, but I couldn't find an option to turn off transparency for my screensaver (which I can run from terminal by typing ksolarwinds.kss). It's tricky, because, if I add this line to windows-specific settings:

Code:

& !(name = ksolarwinds.kss)
it only makes windowed (e.g. launched from the konsole) screensaver non-transparent. But not in the fullscreen mode. And that's why locking screen become senseless.

I've already tried
Code:

!(name=ksolarwinds.kss & type=fullscreen)
but that didn't worked.

Any help would be greatly appreciated, and forgive me for my not-so-good English (if there was any).

ongte 09-03-2009 09:05 AM

Strange. I had this problem. But a couple of updates later, it went away by itself.
Try the Legacy Fullscreen & QT Window workaround.

hikari 09-03-2009 09:29 AM

GNOME seems to work fine...
 
Thanks for the reply. I've tried to enable those workarounds, but the problem wasn't solved. When I was googling for solution, I found one for GNOME: seems that adding
Code:

!(name=gnome-screensaver)
to the window rules list solves the problem. Why this doesn't work in KDE :scratch:? Also, they are using
Code:

state=fullscreen
which is also ain't working for me (but this could be because that thread is quite old).

ongte 09-03-2009 09:36 AM

I remember solving this in KDE3.5 using name=kdesktop_lock
But seems this file is no longer there for KDE4. Gotta find it's KDE4 incarnation.

hikari 09-03-2009 09:40 AM

[solution found]
 
Ok, when I messed with settings a bit, I found a solution. You need to enable "Legacy fullscreen support" workaround, but NOT a "Qt Windows fix" workaround (which, for instance, somehow drops the compiz at my system :( ) AND add
Code:

& !(state=fullscreen)
to the windows opacity rules. That did the trick for me.

Thanks for pointing me in the right direction :D


All times are GMT -5. The time now is 12:21 PM.