[Pkg-xfce-devel] Bug#559402: Bug#559402: xfce4-panel: 'Editor' launcher freezes entire X session
On sam., 2009-12-05 at 14:23 +0100, Piotr Engelking wrote:
> Yves-Alexis Perez <corsac at debian.org>:
> > Can you try to debug what is happening (like, if it's because
> there's a
> > huge cpu usage, or if xfwm is stuck, or something like that).
> The entire session is in stopped state ('T' in ps). Killing joe and
> sending SIGCONT to the session actually recovers it.
What do you mean by ?the entire session?? xfce4-session? Or all xfce
> > Can you try to install a graphical editor (like mousepad) and retry?
> I had it already installed, and no problems with it, of course.
> > The thing is, there is no x-sensible-editor. So if you have no
> > editor, yes it'll fallback to terminal ones. But it works perfectly
> > with vim and nano, afair. Never tried with joe though, so maybe
> > the problem, not sure.
> Sensible-editor doesn't work this way. Unlike sensible-browser it
> doesn't prioritize X editors.
Well, it'll default on nano and vi if it didn't found anything.
> Vim is X-aware, so no surprises here, and nano refuses to run if stdin
> is not a terminal:
No it's not. I meant vim-tiny, sorry.
> $ nano < /dev/null
> Received SIGHUP or SIGTERM
> Joe doesn't (which is actually useful for running it as part of a
> pipeline), and as it is a terminal program, it ends messing the
> controlling terminal of the X session. Questions I can think of are:
> * Does any of the X programs actually need a controlling terminal? If
> not, perhaps xinit should detach itself from the terminal?
> * If they need a controlling terminal, does any of them actually need
> to open it? If not, perhaps it should be put into exclusive mode?
> Using any of the above safeguards would be nice.
> And of course the default 'Editor' launcher still needs to be fixed.
> Even if it stops freezing the session, it still doesn't do anything
> useful if the editor run by sensible-editor is a non-X one.
The only way I know is to force an editor there, like mousepad. Which
means I have to depend on it, and people won't like to be forced to have
So basically I'll just remove it completely.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part