On Mon, 15 Dec 2003 13:59:11 +0000
Mikhael Goikhman <[EMAIL PROTECTED]> wrote:

> On 15 Dec 2003 16:58:10 +0200, stu wrote:
> > 
> > I have three individual konsole sessions running. Whenever I restart
> > fvwm, the konsole sessions are re-arranged
> > 
> > The re-arranging does not seem to follow any pattern, except that it
> > seems to happen after every restart (using fvwm's 'Restart'
> > command). 
> > 
> > Why is this happening?
> > How would I prevent this from happening?
> 
> It seems like you run fvwm under some session manager, like ksmserver.

No I don't. fvwm is all I need :)

> So either don't do this, i.e. put "fvwm" as the only program of your
> ~/.xinitrc,

My ~/.xinitrc contains only the following :

xsetroot -solid black
xset r rate 400 80
# This pointer is ugly
xsetroot -cursor_name diamond_cross
xscreensaver &
exec fvwm &>fvwm.out 2>&1

> or ask konsole developers to add XSMP support that konsole
> seems to lack (otherwise there would be the unique id for each konsole
> window and no heuristical guess-by-name is needed).

xwininfo returns the following id's for my konsole windows :

xwininfo: Window id: 0x2400005 "Shell No. 2 - Konsole"
xwininfo: Window id: 0x1200005 "Shell No. 3 - Konsole"
xwininfo: Window id: 0x1400005 "[EMAIL PROTECTED]:/home/stu/meerrs - Shell No.
6 - Konsole" 

AFAICS they all have unique window id's (or am I looking in the wrong
place maybe?)

> Another solution is to use unique window name for your konsole
> windows, but as I said, this is not needed if konsole supports
> XSMP properly.

Could I provide unique window names for konsole to fvwm by using 
unique window titles for my konsole sessions? 

> It is also possible that something just does not work well together
> (fvwm, ksmserver, konsole etc).

Possibly. As I stated above, I don't use any kind of session manager
with fvwm, but loading konsole causes the following kde related
processes to run (output from 'ps afx'):

19720 ?        S      0:00 kdeinit: Running...
19723 ?        S      0:00 kdeinit: dcopserver --nosid --suicide
19726 ?        S      0:00 kdeinit: klauncher
 9572 ?        S      0:01 kdeinit: knotify

Could any one of these be causing this problem?

> In this case you may debug the problem if possible and report your
> results.

As a beginning I started up window-maker, started 3 konsole sessions on
3 different desktops, numbered each one and restarted window-maker a few
times. Each session was on the correct desktop after the restarts.

I will try closing down all apps except konsole (when work is over) and
then checking if the problem persists. Do you have any advice as to how
I may further debug this problem, if this route is required?

-- 
Stuart Logie
Programmer

UNIVERSAL COMPUTER SERVICES (PTY) LTD
A member of South Africa's largest retail software vendor, the UCS Group

Tel : (011) 712 1371   Cell : 082 902 5632
Fax : (011) 339 3421
Internet : http://ucs.co.za

"I am the Unconquerable Spirit."
               -- Poet Unknown
   
Powered by Debian GNU/Linux - testing/unstable
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to