WMRootMenu, Midnight Commander, and libtrash.

84 views
Skip to first unread message

Julio Cesar Gutierrez

unread,
Oct 10, 2024, 8:56:30 AM10/10/24
to Window Maker Users
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

Julio Cesar Gutierrez

unread,
Jan 10, 2025, 8:29:30 AMJan 10
to Window Maker Users

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'"


Em qui., 10 de out. de 2024 09:56, Julio Cesar Gutierrez <jcgutierr...@gmail.com> escreveu:
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.
Reply all
Reply to author
Forward
0 new messages