Re: Midnight Commander freezes host when invoked from panel launcher

Olivier Fourdan <[email protected]> Tue, 17 Jun 2025 11:36:52 +0200
Newsgroups gmane.comp.xfce.user
Message-ID <CACxMwBgy8dV1p5GL104avzh94ES-Wh5PcuubGzaVkHD_CsBk8g@mail.gmail.com>
--===============9048012474497969762==
Content-Type: multipart/alternative; boundary="000000000000cee1ae0637c14261"

--000000000000cee1ae0637c14261
Content-Type: text/plain; charset="UTF-8"

On Mon, 16 Jun 2025 at 14:43, Rich Shepard <[email protected]> wrote:

> On Mon, 16 Jun 2025, Olivier Fourdan wrote:
>
> > My guess is that MC is trying to read from stdin.
> >
> > Try killing the process from the text console and see if that restores
> > input in Xorg.
>
> Olivier,
>
> I wasn't clear. When I use an X11 virtual terminal (urvxt or xterm) mc
> loads
> as expected. But when I create a launcher in panel 2 using the path to the
> executable. /usr/bin/mc, it freezes the computer. All in X11 using
> xfce4-4.16. It's infrequently when I work in only a single text console.
>

You were clear and my reply still stands.

Most likely MC reads input from stdin, but when launched from the panel
which is spawned from the session, the process has no way to read stdin.

When that occurs, try switching to a console and kill the process of MC to
see whether that restores the input in Xorg.

Alternatively, just enable "[x] Run in terminal" in your launcher so that
MC (which is a text based application) can run in a terminal.

Cheers
Olivier

--000000000000cee1ae0637c14261
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">On Mon, 16 Jun 2025 at 1=
4:43, Rich Shepard &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt; wrote:</div><div class=3D"gmai=
l_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 16 Jun 2=
025, Olivier Fourdan wrote:<br>
<br>
&gt; My guess is that MC is trying to read from stdin.<br>
&gt;<br>
&gt; Try killing the process from the text console and see if that restores=
<br>
&gt; input in Xorg.<br>
<br>
Olivier,<br>
<br>
I wasn&#39;t clear. When I use an X11 virtual terminal (urvxt or xterm) mc =
loads<br>
as expected. But when I create a launcher in panel 2 using the path to the<=
br>
executable. /usr/bin/mc, it freezes the computer. All in X11 using<br>
xfce4-4.16. It&#39;s infrequently when I work in only a single text console=
.<br></blockquote><div><br></div><div>You were clear and my reply still sta=
nds.</div><div><br></div><div>Most likely MC reads input from stdin, but wh=
en launched from the panel which is spawned from the session, the process h=
as no way to read stdin.</div><div><br></div><div>When that occurs, try swi=
tching to a console and kill the process of MC to see whether that restores=
 the input in Xorg.</div><div><br></div><div>Alternatively, just enable &qu=
ot;[x] Run in terminal&quot; in your launcher so that MC (which is a text b=
ased application) can run in a terminal.</div><div><br></div><div>Cheers</d=
iv><div>Olivier</div></div></div>
</div>

--000000000000cee1ae0637c14261--

--===============9048012474497969762==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Xfce mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce
http://www.xfce.org

--===============9048012474497969762==--