Page 1 of 1

lxhotkey + Midnight Commander => can not get this to work

Posted: Mon Nov 29, 2021 5:40 pm
by 6PEGKCZMQY3KP7ZW
Hi guys,

I'm trying to create a hotkey via the lxhotkey-programm for the midnight commander.

I tried following command-lines:

1. mc => not working
2. lxsession-default terminal mc => not working
3. /usr/share/applications/mc.desktop => "Couldn’t run /usr/share/applications in child process: Permission denied"


Any ideas what I'm doing wrong?

Thanks in advance :)

Re: lxhotkey + Midnight Commander => can not get this to work

Posted: Wed Dec 29, 2021 5:37 pm
by drooly
I never use lxhotkey because I always edit rc.xml directly but I'm pretty sure all you need to supply is a working command.
If it needs to be executed in a terminal (like mc), you either need a command that launches the terminal, and then mc in it, or maybe lxhotkey has a checkbox for "run in terminal".
If it doesn't , these commands could work:

Code: Select all

lxterminal -e mc
xterm -e mc
Always try the command manually before using it in lxhotkey.