Main index > Usage problems > I run a desklet but nothing happens [CLOSED]

By ElCoco (User), on Fri Sep 2 00:28:28 2005: I run a desklet but nothing happens [CLOSED].

I just downloaded the new adesklet (4.11) when i do ./yab.py i ge a message asking me if i want to register it or try it out, ive tried both options (running adesklets after registering the desklet) and ntohing happens no errors ntohing, i just get a flicker at the top left of the screen but i cant see the desklet. in running ubuntu on my comp

By syfou (Core Developer & Desklet Author), on Fri Sep 2 17:26:59 2005.

I guess I'll get many of those. :-) Well... I will make the command-line explanation more complete in next release.

Many windows managers uses fake root windows. From adesklets 0.4.11, you need to specify on the command line what fake root window detection scheme you want to use (I am pretty confident this is what happens for you: the flickering you are experiencing is a pretty reliable indication). Just try out:

Code:


adesklets --help


And you'll see what you can use. A more comple explanation is given in the FAQ (search the page for "fake").

By ElCoco (User), on Tue Sep 6 00:01:52 2005.

ive tried using all the flags u mentioned and i got results with --user but the desklets wont show on my desktop, if i click on a nautilus window or some other window the desklet gets locked in that window. the other options dont seem to do anything. thnx

By syfou (Core Developer & Desklet Author), on Tue Sep 6 01:05:27 2005.

OK. So you are using Gnome with nautilus as you window manager?

Well, I have preliinary code in the public repository to take care of that case. I you are not so keen on using my development tree, you can alternatively pass the --enable-legacy-fake-root-window-detection to the configure script of adesklets 0.4.11 (as explained in the FAQ), or even wait for adesklets 0.4.12... Yours,

By NiK0 (User), on Tue May 9 06:24:06 2006.

i've the same problem, i've tried all option but with no results...desklets desappare immediately..
how can i fix? I'm using gnome 2.12 and adesklets 0.6.1

Tnx all

By syfou (Core Developer & Desklet Author), on Tue May 9 13:09:27 2006.

This thread is now to old to be relevant anymore. On gnome 2.x, the right option is to use minimally:

Code:


adesklets --nautilus


If you want to autostart it, you might want to put in a line such as:

Code:


adesklets -w nautilus -d 10 --nautilus


See adesklets --help for the explanation on the various switches. Yours,

By NiK0 (User), on Wed May 10 02:58:00 2006.

i've tryed the command suggested but i've no results...the desklets continue to desappare immediately.. how can i fix ?

By syfou (Core Developer & Desklet Author), on Wed May 10 04:00:33 2006.

Any specifics you can tell me about your system? I know you use Gnome 2.12 and adesklets 0.6.1, but would you elaborate (Which platform -- Linux, a *BSD? Which version or distro? Which implementation of X11? Under which WM -- metacity, something else?) ?

I can investigate, although I have good feedback from a number of people (especially from the French Ubuntu community) saying that this very combination seems to be working.

Since you briefly "see" the desklets before they vanish, the problem most likely lies in the detection of the fake root window: this takes place in a shell script called adesklets_frontend.sh, in your PKGDATADIR directory (/usr/share/adesklets, /usr/local/share/adesklets or something similar, depending on your system).. If you are not at ease with shell scripting, I can of course help you diagnose what goes wrong. Yours,

_________________
Sylvain

By the way, the best method to be sure isolating the problem is to test one desklet interactively instead of registering all of them: you can pass the same flags (--help, --nautilus, etc.) right to the desklet on the command line.

By NiK0 (User), on Wed May 10 08:24:20 2006.

i'm using Gentoo linux, xorg-x11:

Code:


x11-base/xorg-x11
      Latest version available: 6.8.2-r7
      Latest version installed: 6.8.2-r7
      Size of downloaded files: 135,439 kB
      Homepage:    http://xorg.freedesktop.org/
      Description: An X11 implementation maintained by the X.Org Foundation
      License:     Adobe-X CID DEC DEC-2 IBM-X NVIDIA-X NetBSD SGI UCB-LBL XC-2 bigelow-holmes-urw-gmbh-luxi christopher-g-demetriou national-semiconductor nokia tektronix the-open-group todd-c-miller x-truetype xfree86-1.0 MIT SGI-B BSD || ( FTL GPL-2 )



gnome 2.12:

Code:


gnome-base/gnome
      Latest version available: 2.12.3
      Latest version installed: 2.12.3
      Size of downloaded files:  [no/bad digest]
      Homepage:    http://www.gnome.org/
      Description: Meta package for the GNOME desktop
      License:     as-is



metacity:

Code:


x11-wm/metacity
      Latest version available: 2.12.3
      Latest version installed: 2.12.3
      Size of downloaded files: 1,633 kB
      Homepage:    http://www.gnome.org/
      Description: Gnome default windowmanager
      License:     GPL-2



I'm not ease witch shell scripting, and i don't know what i can do to fix the problem.. thank you for any kind of help..

By syfou (Core Developer & Desklet Author), on Thu May 11 01:14:00 2006.

Well, that's weird: I do have an gentoo box that I downgraded to the very same config than yours, and everything is working flawlessly:

http://adesklets.sourceforge.net/verbatim/metacity_thumb.jpg

The front-end script is supposed to set the environment variable ADESKLETS_ROOT when the interpreter is called with a switch such as --nautilus. Here is a pseudo desklet to check this:

Code:


import os, adesklets

print '\n'.join(['%s=%s' % (k, v) for k, v in os.environ.iteritems() 
                 if 'adesklets' in k.lower()])



Save it somewhere on your disk (let's say as test.py), then invoke, from a pseudo-terminal on your metacity-managed screen:

Code:


$ python test.py --nautilus
Do you want to (r)egister this desklet or to (t)est it? t



And report back here with the result... If you can, I could also use the output of the command xwininfo --root --tree from the same X11 session and screen. Thanks!

By NiK0 (User), on Thu May 11 03:40:30 2006.

Here the results:

Code:


# python test.py --nautilus
Do you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================




I can't see no desklets...

The output of xwininfo -root -tree is very long, if you want i can send it to you via mail..

By syfou (Core Developer & Desklet Author), on Thu May 11 14:13:16 2006.

Why? Did you see anything in this code looking remotely like graphic primitives? ;-) And yes, please email me (syfou@users.sourceforge.net) the output of xwininfo. Yours,

By NiK0 (User), on Mon May 15 10:14:57 2006.

i've mailed it to you.. tnx ;)


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.