I decided. I created a menu entry with the following value, according to the response to my post on Reddit:
"xterm -e bash -c 'LD_PRELOAD=/usr/lib64/libtrash.so.3 mc'"
Hello. I installed libtrash and I verified that even putting the alias “mc='LD_PRELOAD=/usr/lib64/libtrash.so.3 mc'” for Midnight Commander in ~/.bashrc when I create the “xterm -e mc” entry in ~/GNUStep/Defaults/WMRootMenu libtrash is not called. But, if you invoke MC from the Terminal or even from the “Exec” option of Window Maker, libtrash is called. Is there any way to invoke MC from the menu with libtrash?
Alma Linux 9.4, Window Maker 0.95.9, Midnight Commander 4.8.26
--
You received this message because you are subscribed to a topic in the Google Groups "Window Maker Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wmaker-user/8bmpIf2Tjoo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wmaker-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wmaker-user/9d0509df-1738-4b51-b202-20410b5d5f40n%40googlegroups.com.