session management tweaking

edscott wilson garcia edscott at xfce.org
Sun Oct 10 20:09:26 CEST 2004


Hey Benny,

  I'm trying to get xffm to restore itself to the directory in which it
was located for each session. In xfce3 this was done with the legacy
method of setting the Xatom "WM_COMMAND". Although the xfce4-session
code includes legacy stuff, it seems to prefer the argument list which
was sent to gtk_init(), which not necessarily is the same when the
session comes to an end.

Is there an easy way to change argument list the xfce4-session manager
will use to restart a gtk2 application? Or maybe make it use the legacy
WM_COMMAND Xatom?


regards,

Edscott

ps. Any one else have any tips? 



More information about the Xfce4-dev mailing list