Main index > Usage problems > aDesklets & ROX-Filer [PARTLY SOLVED]

By m4rs (User), on Thu Mar 17 18:54:55 2005: aDesklets & ROX-Filer [PARTLY SOLVED].

Hello,
I tried to make aDesklets work with ROX-Filer pinboard (the desktop) but deklets are displayed under it. First I thought that aDeklet did not work with such desktop environment but only with plain X root windows but when I tried with nautillus it wroked.
Maybe there's something not to complicated to do to make aDesklets work with ROX-Filer ?

Thanks in advance,

Cyrille

By syfou (Core Developer & Desklet Author), on Thu Mar 17 19:04:55 2005.

Bonjour Cyrille,

You perfectly diagnosed the problem, and you can see the FAQ about it (on adesklets 0.4.5, it is related to question A.3.1). I do not have ROX-Filer myself though; since I haven't got any request for this already, maybe are you able to do something about it yourself? I would be happy to include a patch. Regards,

By falcon_za (User), on Fri Mar 18 12:01:25 2005.

I too have Rox filer, so I'll say a bit more about this issue.

If you turn on the "override window managerr control of the pinboard and pannels" in the compatibility section of rox's options, adesklets can get on the top of it, instead of under it. note that i use icewm as a window manager, but i don't know if it is relevat. appart from when I use adesklets, I have the exact same behavior whether it turn it on or off.

So for me, adesklets works. but with one limitation: the desklets is INITIALY displayed under rox when rox manages the desktop. by initialy, I mean when I launch a new desklet from the command line or when I restart the desklet. one click on the desktop and it turn visible. Note that dekslets appear over the rox desktop when I open my session (migh be only caused by timing in startup, not sure). The desklets are also invisible (under rox) while being moved, so not so easy to put at the right place.

This certainly looks like a bug in rox, but if IIRC, i did not have the problem with rox + gdesklets. not sure though. It's been a while.

Now that i think of it, there is another issue with adesklets and rox (is icewm involved too? not sure). It is about transparency. the Rox desktop window covers all the desktop, so it is rox who manages the wallpaper. tranparents terminals i have tried (aterm Eterm gnome-terminal) have no problem with that. but adesklets do not take rox's wallpaper to make it's transparency, but the one set by icewm (in my case). So I have to set my wallpaper twice to the same image (one in rox, once in icewm), to have transparency that looks like transparency.

By syfou (Core Developer & Desklet Author), on Fri Mar 18 12:13:03 2005.

Thanks for the info; maybe I will include it in the FAQ if I get the time to try it myself. About the transparency bit, the right way to handle direct screen capture is still the one suggested in the FAQ: add support for ROX-Filer fake root window detection. This works with terminal emulators probably because ROX-Filer care enough to perform proper window reparenting.; it is not possible with adesklets, since it uses by default a override_redirect (i.e. non-managed) window.

By falcon_za (User), on Mon Mar 21 10:23:12 2005.

just a very small post to confirm that adesklets appearing over or under ROX during session opening depends on the order of applications start up. I just changed the order of launching, and now desklet appear under it, until I click.

Don't know if this info can be usefull or not, but just in case, better say it than not.

By m4rs (User), on Thu Mar 24 11:27:26 2005.

Ok, so I'll try to had support for ROX-Filer, the probleme is that i don't known much about C.
How can I put adesklet in a kind of debug mode ? Is the debug function used for that ? I'd like to have sort of an equivalent to warn function in PERL to see why ROX-Filer Pinboard is not detected as the desktop window in xwindow_get_nautilus_desktop()
In a word : HELP ;)

By syfou (Core Developer & Desklet Author), on Thu Mar 24 13:25:33 2005.

Yes, I defined a debug() function/macro you can use. It follows the same semantic as printf. (See man 3 printf for details, or just perform a grep debug * from src/ to have some usage example).

For having debug() actually generating instumentation code (not only being a nop), you need to pass along the --enable-debug to configure at configuration time.

One last tip: there is no need to go through the whole configure/make/make install process everytime you make a change. Just do once:

Code:


./configure --enable-debug [other_switches]
cd src


And then, for compiling and debugging, do, as many time as needed from src/:

Code:


make              # Compilation
./adesklets :     # Direct mode testing



And yes: I do not know if ROX-Filler desktop detection is related to nautilus desktop detection. If it is, fine. If it is not, do not alter the xwindow_get_nautilus_desktop() function, but create instead a new xwindow_get_rox_filer_desktop() or similar that you will call appropriately from xwindow_get_root_window().

By syfou (Core Developer & Desklet Author), on Sat Sep 17 15:06:00 2005.

Preliminary support for ROX-Filer is now part of adesklets 0.4.12.


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.