Main index > Usage problems > adesklets transparency issue on Exceed [PARTLY SOLVED]

By couXy (User), on Mon Oct 17 18:17:14 2005: adesklets transparency issue on Exceed [PARTLY SOLVED].

Hi all

I installed adesklets on Debian Stable using Fluxbox. I have tried a few desklets and see that the parts where the desklet suppose to be transparent shows a strange color, even though it is transparent as in showing the background image.
http://www.geocities.com/couxy/adesklets.jpg


Can somebody tell me if I need to tweak some settings?

Thanks!

By syfou (Core Developer & Desklet Author), on Mon Oct 17 19:45:26 2005.

Did you use a _XROOTPMAP_ID aware wallpaper setter? Esetroot, wmsetbg, feh, hsetroot, chbg, display (ImageMagick), qiv, xv, xsri, xli or xsetbg are all good.

If this is not the problem, I see from your screenshot you seem running a supplementary indirection layer (some vnc client I believe)... It could eventually interact strangely with adesklets, but I would need to investigate: do you experience the same discrepancy from a "native" X11 display?

By couXy (User), on Tue Oct 18 12:40:10 2005.

I am using fbsetbg that came with fluxbox, is that fine?

I tried a native X display as you suggested and you are right, the desklets displayed fine. The program I am using Exceed to connect to the machine, maybe it's causing some problem. If you need other information that would help you track down the issues, please do tell me. Thanks a lot!

By syfou (Core Developer & Desklet Author), on Tue Oct 18 14:04:05 2005.

couXy wrote:

I am using fbsetbg that came with fluxbox, is that fine?

fbsetbg is a wrapper script that uses the best program it can find installed on the system to perform the job; if it doesn't complain when you set up a new wallpaper from a pseudo-terminal (something like "program x doesn't set the wallpaper properly. Transparency for fluxbox and apps like aterm and xchat won't work right with it."), you are fine. Anyway, the fact that adesklets works OK from a native X11 server is the best indication everything is fine on this side.

couXy wrote:


I tried a native X display as you suggested and you are right, the desklets displayed fine. The program I am using Exceed to connect to the machine, maybe it's causing some problem.

Well, this is very likely where the problem lies; unluckily, I do not have any Windows operating system to test this, nor this specific X11 implementation... So I can only give you general pointers:

Sorry again for the relative vagueness of this help -- I hope you will find and fix the problem (let us now!). If you don't, maybe is there a way to ask the Exceed team about this? Anyway, It is possible to have a workable remote X11-based desktop from Windows station with adesklets: today you do have very fast, portable implementation for remove X11 access at your disposal as free software -- I know from others adesklets to works fine with many Windows or OS-X based vnc clients; If nothing else work, you can always rely on TightVNC to do the job. Yours,

By couXy (User), on Tue Oct 18 21:05:54 2005.

Thanks for the quick reply!

There's a setting in Exceed:
Use 32 Bits Per Pixel for TrueColor -
"forces the Exceed X server to use 32 bits per pixel instead of 24 bits when using the TrueColor visual. Some X clients require this setting in order to draw properly. If your X client draws images incorrectly resulting in a scrambled image, enable this setting. By default, this setting is enabled. "

I turned it off and VIOLA! the desklets are displaying fine! YAY!!.....wait, now my browser is screwed up. I tried both firefox and opera, and the links which are supposed to be blue are now red.....guess I will go back to the old setting :(

By syfou (Core Developer & Desklet Author), on Wed Oct 19 00:56:21 2005.

Are you sure those links were not red in the first place? :wink:

Anyway, at least you found what went wrong with adesklets. and one way you can solve the problem (so I took the liberty to flag this as "SOLVED", even if it is not yet perfectly satisfying for you... It is still solved from adesklets perspective). This said, I find the explanation given in Exceed to be somewhat misleading: 32 bits visuals are no different from 24 bits ones from the application perspective; it will use the very same, internal neutral X11 API for all TrueColor visuals, and the 8 bits in excess are just left unused for everything that is not ARGB (and there is no ARGB visuals in adesklets)... If Exceed uses internal tricks to speed up things a little, overriding the normal mechanism, that's fine, but it has nothing to do with the applications themselves -- it is the duty of such a server to "do it right".

Yet, you could give alternate solutions such as TightVNC a try. How knows if it will not suit your needs as well? Apart from not having GLX, it is pretty good... and cheap too. :-)


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.