Hi
nandan,
at the risk of being pedantic, I will try to clear up what
seems to be a slight misconception:
I know only nautilus or any other desktop environment which
one use is responsible for managing the window in Z order.
nautilus is merely managing the desktop (background + icons),
as a single window: it is a "desktop composer". In the most
common GNOME setting, metacity is the windows manager,
responsible for managing all the windows (Z ordering,
decorations, etc), including the one from nautilus:
the key point to keep in mind is that
the background and icons are rendered as a single window
composed by nautilus, thus are indistinguishable by the WM,
hence the problem here.
But can you give me the pointers so that I can modify the
code of desktop environment to fulfill my need I have the
source code of xffm and xfce and I can experiment with them
on my machine.
If you can help me in inserting the photo between wallpaper
and desktop icons. Or you know where I can get help for his
please let me know about it.
Well, the good news is that you don't have to go as far as
modifying the source of any desktop composer such as xffm or
nautilus to do something like that. The trick is simply to:
- Compose a new photo-montage
yourself, with one or many mini-images on top of a
background image.
- Tell the desktop composer to
use this montage as its new background, below the
icons.
The easiest way to perform the first step is to use a
command-line oriented graphic editor -- my personal favorite
is
ImageMagick...
Composing images is made extremely simple using the
composite command from this
package:
here is a simple tutorial. As for the second step, it is
usually easy to notify the desktop composer of a background
change. For nautilus, use gconftool (or gconftool-2,
depending of your system -- this is part of GNOME gconf
package) by issuing a command such as:
gconftool-2 /apps/nautilus/preferences/background_filename -t string \
-s /path/to/new/background_image
I hope this was enough to get you on the right track; just
let me know if I were unclear or if you need more info.
Yours,