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

Please post all general support questions for LXDE here.
Locked
6PEGKCZMQY3KP7ZW
Posts: 1
Joined: Mon Nov 29, 2021 5:32 pm

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

Post 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 :)
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

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

Post 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.
Locked