Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-04-2010, 04:18 AM   #1
LQ Newbie
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
Midnight Commander F-keys problem.


I have annoying problem with Midnight Commander 4.7 on Gentoo Linux, namely F1 - F10 keys don't work at all. I've tried to delete ~/.mc directory, reemerge mc and ncurses, no results. If i run "learn keys" option (options->learn keys), and press F1-F10, everything looks good (OK appears near key description). Keys are running properly in mcedit and other applications that runs in Konsole. Problem occurs also in TTY and via SSH. I've checked, there is no duplicated shortcuts in Konsole or in KDE. The only way to use mc functions like copy is to click on menu and choose copy action by mouse. It's so annoying... Any ideas?
Old 01-05-2010, 04:32 AM   #2
LQ Newbie
Registered: Jul 2008
Distribution: slax
Posts: 11

Rep: Reputation: 0
Originally Posted by c4c711 View Post
It's so annoying... Any ideas?
That sounds weird. I have no clue of what's going on, but you could try to tamper with fallback configuration files in /etc/mc and /usr/share/mc, besides deleting ~/.mc . Maybe backup those directories to avoid subsequent mess,
Sorry, no other ideas (sounds like a inherent problem of mc from your description).
Old 01-05-2010, 06:22 AM   #3
LQ Newbie
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0

Yes, i've solved it! Yesterday after reemerge mc one more time, i've noticed that in install file list is /etc/mc/ directory, so i checked directory content and.. tada! mc.keymap file has been missing definitions only for f1-f10 panel keys. It's very strange because i couldn't edit this file - i even haven't been avare of existing such file (i'm the only one user of pc). Anyway, it works! Thanks for reply
Old 05-21-2012, 11:56 AM   #4
LQ Newbie
Registered: Sep 2011
Distribution: Slackware 13.37 64-bit
Posts: 6

Rep: Reputation: Disabled
I have a similar problem but not exactly the same. some of my f buttons are working and the others are not. to edit i can use f4 or to remove f8, but the others are not working. at first i suspect it is about the blue fn button as i'm using a laptop and some f buttons have other funtions but obviously that is not the case as f8 button also have a fn funtion to mute (and is working fine in mc) but f10 for example has no function and not working.

i'm using slackware 13.37 on a aspire 5742G with dwm as windows manager and it is frustrating to be forced to use mouse even in terminal. i would really appreciate any help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Midnight Commander 4.6.2 (also 4.6.1) - F1 to F12 keys doesnt work dlugasx Solaris / OpenSolaris 1 06-25-2009 09:06 AM
a problem with installing Midnight Commander(mc) alnmostafa Linux - Software 7 11-03-2006 12:41 PM
mouse problem in midnight commander Sammael Linux - Software 0 06-27-2006 07:40 PM
Problem with Midnight Commander thrix Linux - Software 3 01-21-2004 03:20 PM
Problem installing Midnight Commander esage Mandriva 6 09-07-2003 04:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration