Discussion:
xffm-deskview
Mr Machine
2005-08-10 09:25:53 UTC
Permalink
sorry for all these questions (i'm writing an xfce how-to for some
friends whom i've xfce'd, in preparation for the next release) ...

was hoping someone could clear up a few queries about xffm-deskview (and
most recent kid on the block, xffm-desktop) ... i read from the dev-blog
that there was some screwiness with setting the background with
xffm-deskview. apparently it will grab it only when it has been set
*after* deskview starts. i've tried this with xsetbg, but no go ... if
however i kill xffm-deskview, start xfdesktop, then restart
xffm-deskview, open "desktop settings", tick and untick the "show image"
button, i get xffm-deskview plus my background. but then if i save the
session on exit, it don't give me the same setup on logging in (i have
to basically go through the above steps again). is there a better way to
do this, or is this still being worked on?

shayne
Edscott Wilson Garcia
2005-08-10 13:45:43 UTC
Permalink
Post by Mr Machine
sorry for all these questions (i'm writing an xfce how-to for some
friends whom i've xfce'd, in preparation for the next release) ...
was hoping someone could clear up a few queries about xffm-deskview (and
most recent kid on the block, xffm-desktop) ... i read from the dev-blog
xffm-deskview and xffm-desktop are synonymous (I get mixed up with these
two names so I use them both). Xffm creates symlinks but only four
executables (not counting the apps dir). These are xffm-run,
xffm-deskview, xffm-treeview and xffm-iconview. Xffm-run is meant to be
a faster replacement for xfrun4 (still testing and tweaking).
Post by Mr Machine
that there was some screwiness with setting the background with
xffm-deskview. apparently it will grab it only when it has been set
*after* deskview starts. i've tried this with xsetbg, but no go ... if
however i kill xffm-deskview, start xfdesktop, then restart
xffm-deskview, open "desktop settings", tick and untick the "show image"
button, i get xffm-deskview plus my background. but then if i save the
session on exit, it don't give me the same setup on logging in (i have
to basically go through the above steps again). is there a better way to
do this, or is this still being worked on?
The behaviour is to avoid screwiness caused by programs which leave a
bogus Pixmap on exit. As such, xffm-deskview will assume the Pixmap it
finds and startup is bogus, whether it is or not, and use a solid
background. After startup it will accept any Pixmap set by an external
program which is referenced by the X property _XSETROOT_ID. Apparently
xsetbg does not set this property. I'll look into what it actually does
and see if I can add support for 4.3.3 release.

When you tick and untick the "show image" button at desktop settings,
xffm-deskview notices that the Pixmap has changed and updates
accordingly (here the X property _XSETROOT_ID is used).

I'm not sure whether the desktop setting plugin can be invoked on a
command line basis. If it can (probably not) then you could put the
command into the environment variable DESKTOP_BG_COMMAND from the
filemanager setting plugin.

Anyways, I'll let you know if it is possible (i.e., not too difficult)
to enable support for xsetbg later today...
--
Edscott Wilson Garcia <***@xfce.org>
Roberto -MadBob- Guido
2005-08-10 16:16:45 UTC
Permalink
Post by Edscott Wilson Garcia
When you tick and untick the "show image" button at desktop settings,
xffm-deskview notices that the Pixmap has changed and updates
accordingly (here the X property _XSETROOT_ID is used).
Ehm... Sorry if I'm OT, but in those days I'm just going crazy trying to
understand how XFCE can show always the same desktop also when workspace is
switched: working around a XFCE "fork" I have touched some piece of code, and I
can't return to the original situation (maintaining other changing...).

The main window of desktop have type == "_NET_WM_WINDOW_TYPE_DESKTOP", but when
I switch workspace the window manager hide all windows *included* the desktop
window! I recognize I've do some changes to the STICKY properties of windows (in
short: I've removed it): the problem can be due this bad manipulation? Or: have
you other suggestions about potential causes of the problem?

Thanks for help (and sorry for OT).
--
____ __ ___ ______
/ __ \ / \/ /\/ ____/\ http://madbob.homelinux.com
/ __/\/ /\_/ / / /\___\/ bob4mail[AT]gmail[DOT]com
/ /\ \_\/ / / / / /__/ /\
/_/ /\_\/_/ //_/ /______/ / Project Maintainer:
\_\/ \_\_\/ \_\/\______\/ http://BrainTop.sf.net
Roberto -MadBob- Guido http://Hyppocampus.sf.net
Jasper Huijsmans
2005-08-10 14:41:59 UTC
Permalink
Post by Roberto -MadBob- Guido
Post by Edscott Wilson Garcia
When you tick and untick the "show image" button at desktop settings,
xffm-deskview notices that the Pixmap has changed and updates
accordingly (here the X property _XSETROOT_ID is used).
Ehm... Sorry if I'm OT, but in those days I'm just going crazy trying to
understand how XFCE can show always the same desktop also when workspace is
switched: working around a XFCE "fork" I have touched some piece of code, and I
can't return to the original situation (maintaining other changing...).
The main window of desktop have type == "_NET_WM_WINDOW_TYPE_DESKTOP", but when
I switch workspace the window manager hide all windows *included* the desktop
window! I recognize I've do some changes to the STICKY properties of windows (in
short: I've removed it): the problem can be due this bad manipulation? Or: have
you other suggestions about potential causes of the problem?
If a window is not sticky it will only show up on 1 workspace. This is,
apparently, also true for desktop windows.

And this has indeed nothing to do with xffm-deskview...

Jasper
Jasper Huijsmans
2005-08-10 14:43:40 UTC
Permalink
Post by Mr Machine
sorry for all these questions (i'm writing an xfce how-to for some
friends whom i've xfce'd, in preparation for the next release) ...
The questions are fine, but could you please use xfce4-***@xfce.org? The
xfce-dev list is not being used anymore.

Jasper
Edscott Wilson Garcia
2005-08-11 00:37:07 UTC
Permalink
Post by Mr Machine
sorry for all these questions (i'm writing an xfce how-to for some
friends whom i've xfce'd, in preparation for the next release) ...
was hoping someone could clear up a few queries about xffm-deskview (and
most recent kid on the block, xffm-desktop) ... i read from the dev-blog
that there was some screwiness with setting the background with
xffm-deskview. apparently it will grab it only when it has been set
*after* deskview starts. i've tried this with xsetbg, but no go ... if
however i kill xffm-deskview, start xfdesktop, then restart
xffm-deskview, open "desktop settings", tick and untick the "show image"
button, i get xffm-deskview plus my background. but then if i save the
session on exit, it don't give me the same setup on logging in (i have
to basically go through the above steps again). is there a better way to
do this, or is this still being worked on?
Just checked on xsetbg (or xloadimage) and it does not keep the root
pixmap around on exit. Unfortunately this means it will not work to set
the background for xffm-deskview. Better use "fvwm-root -r".
Post by Mr Machine
shayne
_______________________________________________
Xfce-dev mailing list
http://foo-projects.org/mailman/listinfo/xfce-dev
--
Edscott Wilson Garcia <***@xfce.org>
Mr Machine
2005-08-11 02:15:38 UTC
Permalink
Post by Edscott Wilson Garcia
Post by Mr Machine
sorry for all these questions (i'm writing an xfce how-to for some
friends whom i've xfce'd, in preparation for the next release) ...
was hoping someone could clear up a few queries about xffm-deskview (and
most recent kid on the block, xffm-desktop) ... i read from the dev-blog
that there was some screwiness with setting the background with
xffm-deskview. apparently it will grab it only when it has been set
*after* deskview starts. i've tried this with xsetbg, but no go ... if
however i kill xffm-deskview, start xfdesktop, then restart
xffm-deskview, open "desktop settings", tick and untick the "show image"
button, i get xffm-deskview plus my background. but then if i save the
session on exit, it don't give me the same setup on logging in (i have
to basically go through the above steps again). is there a better way to
do this, or is this still being worked on?
Just checked on xsetbg (or xloadimage) and it does not keep the root
pixmap around on exit. Unfortunately this means it will not work to set
the background for xffm-deskview. Better use "fvwm-root -r".
cool - this works well :)

shayne

Loading...