Screen garbage with Midnight Commander on xfce4-terminal

When I edit using mcedit, the lower status/menu bar is not shown properly:

Sometimes there is even garbage (other lines from the edited file) left when scrolling up/down.

When I press CTRL+O twice, the screen is refreshed/redrawn correctly.

How to avoid that? I used Xubuntu before and I haven’t encountered this.

This is possibly compositor-related. Do you use Picom or something else?

I am using default XFCE DE as installed with EOS Neo.

Okay. Please post the output of:

pacman -Q | grep -A 0 -E "(picom|comp|metac|nouv|nvi|amd|intel)"
amd-ucode 20241017.22a6c7dc-1
--
bash-completion 2.14.0-2
--
intel-ucode 20241029-1
--
kcompletion 6.7.0-1
--
lib32-libxcrypt-compat 4.4.36-2
--
libseccomp 2.5.5-3
--
libusb-compat 0.1.8-2
--
libxcomposite 0.4.6-2
--
libxcrypt-compat 4.4.36-2
--
qt6-5compat 6.8.0-1
--
sdl12-compat 1.2.68-2
--
systemd-sysvcompat 256.7-1
--
xorg-xkbcomp 1.4.7-1

Okay. Please do the following:

sudo pacman -Syu picom
picom

Then run MC and test it again for the issue.

Seems fixed. Thank you.

1 Like

Great.

You’ll probably need to set picom to autostart. That way, you don’t have to run it from a terminal or launch it manually each time you reboot.

Well, while this helped on my desktop machine, it did not on my laptop :-/

$ picom
[ 30.11.2024 16:57:57.723 session_init FATAL ERROR ] Another composite manager is already running
[ 30.11.2024 16:57:57.723 main FATAL ERROR ] Failed to create new session.
$ inxi -Gxx | grep compositor
  Display: x11 server: X.Org v: 21.1.14 compositor: xfwm4 v: 4.18.0 driver:

You can turn off xfwm compositing in the settings.

1 Like

I tried, now I have picom compositor:

  Display: x11 server: X.Org v: 21.1.14 compositors: 1: Picom v: 12.5

But the problem persists.

Have you set Picom to autostart and rebooted the other device?

Is the picom configuration the same between the devices?

Hello,

There’s nothing wrong, MC only shows functions that are useful in editor mode.

Well, since the inxi says the compositor is Picom, I’d says it’s loaded :slight_smile:

I didn’t touched the configuration (just installed it) on either machine so I guess so.

Please, don’t respond. Thank you.

On my laptop the filtered package list looks like this:

bash-completion 2.14.0-2
--
compiler-rt 18.1.8-1
--
docker-compose 2.31.0-1
--
intel-gmmlib 22.5.2-1
intel-media-driver 24.4.3-1
intel-media-sdk 23.2.2-3
intel-ucode 20241112-1
--
java-environment-common 3-5
--
kcompletion 6.8.0-1
--
libseccomp 2.5.5-3
--
libxcomposite 0.4.6-2
--
python-argcomplete 3.4.0-1
--
qt6-5compat 6.8.0-1
--
sdl12-compat 1.2.68-2
--
systemd-sysvcompat 256.8-2
--
xorg-xkbcomp 1.4.7-1

If I run mcedit with -b parameter, it’s OK.