LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Transparency issue (https://www.linuxquestions.org/questions/linux-software-2/transparency-issue-345961/)

puishor 07-23-2005 06:46 AM

Transparency issue
 
Hi all !

I recently realize that my X server ( probably ) does not support transparency at all.
I think so because :
( I use gentoo + fluxbox )
1. in konsole if I do Settings->Schema->Transparent Console
my konsole gets black colored ( my wallpaper is white ) , and there is no sent of any transparency.
2. in xmms if I choose some cool skin, with rounded corners , the corners actually will be rounded, but also surrounded by black angles ( that I suppose must be transparent )
3. any theme files in karamba, has "black angles" , ...

I am right ? is this problem with X server transparency ?
If so ( or not ) how do I fix this ?

Here is an excerpt of my xorg.conf file:

Code:


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "NoAccel"                    # [<bool>]
        #Option    "HWCursor"                  # [<bool>]
        #Option    "SWCursor"                  # [<bool>]
        #Option    "ShadowFB"                  # [<bool>]
        #Option    "Rotate"                    # [<str>]
        #Option    "UseBIOS"                    # [<bool>]
        #Option    "LCDClock"                  # <freq>
        #Option    "ShadowStatus"              # [<bool>]
        #Option    "CrtOnly"                    # [<bool>]
        #Option    "TvOn"                      # [<bool>]
        #Option    "PAL"                        # [<bool>]
        #Option    "ForceInit"                  # [<bool>]
        #Option    "Overlay"                    # [<str>]
        #Option    "TransparencyKey"            # [<str>]
        Identifier  "Card0"
        Driver      "savage"
        Option      "RenderAccel" "true"
        Option      "backingstore" "true"
        Option            "AllowGLXWithComposite" "true"
        VendorName  "S3 Inc."
        BoardName  "VT8375 [ProSavage8 KM266/KL266]"
        BusID      "PCI:1:0:0"
EndSection


Section "Extensions"
    Option "Composite" "Enable"
EndSection


Please help. Thanks in advance.

darkleaf 07-23-2005 03:36 PM

You can check it if you add [config](config) to your ~/.fluxbox/menu file. After that you will have configuration options in your menu. You can change "alpha" in there which should make things transparent if you set it to 0.

cb_linus 07-23-2005 05:38 PM

May or may not be related, but how are you setting your desktop wallpaper?, as this can affect transparency in some cases :)

puishor 07-23-2005 05:53 PM

ALMOST SOLVED
 
I set my wallpaper as this.

fbsetbg /opt/images/wallpapers/alien.jpg

by the way:

I just installed other WM : KDE 3.4.1
within it the transparency works OK , I mean running
xcompmgr -c &
gets desired shadows, and trasset works as must.
( but really slooooooow )

So I think the problem lies in fluxbox....
Anyway , even if I fix this , this would run much more slower on my video card.
So I give up with this.
Thanks guys anyway.

cb_linus 07-23-2005 06:04 PM

Well, if you want to eliminate the wallpaper idea you could try setting it with either:

Code:

Esetroot path-to-picture
(requires you to emerge eterm, which has a few dependencies) or

Code:

feh --bg-scale pth-to-picture
as these both have worked for me with *fake* transparency.

As for using xcompmgr, I'm not sure if KDE has it's own version or not but I've had it working in Pekwm (like Fluxbox, another light window manager). You can probably find a tutorial here or on the gentoo.org site :) (in case you feel like trying again, I mean :))

puishor 07-23-2005 06:14 PM

I've just tried that out , does not work ....
this is not related to wallpaper changing :(

cs-cam 07-23-2005 07:51 PM

Quote:

Originally posted by puishor
I've just tried that out , does not work ....
this is not related to wallpaper changing :(

Uh, I really wouldn't be too sure about that. If you still want fake transparency (which is fast, it's nothing like the composite extension) then post the output of this:
Code:

fbsetbg -i

puishor 07-24-2005 04:15 AM

If by "fake transparency " you mean modifying alpha in fluxbox -> makes its menus and tool bar transparent then it works ( I just must to restart WM , because I modify alpha , do not restart fluxbox , and didn't see the result :) ).

Is that fake transparency ?
I think it looks "eye candy too", and runs fast and OK :)
Thanks guys for help.

doralsoral 07-24-2005 09:42 AM

if you want to use real transparency set the composite option in. it looks like this:

Section "Extensions"
Option "Composite" "Enable"
EndSection


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