December 20, 20169 yr Hey all Where in the unraid filesystem do I do this change to make it persistent ? https://ubuntuincident.wordpress.com/2014/11/16/midnight-commander-go-to-parent-directory-with-backspace/ Thanks for any help...
December 20, 20169 yr Community Expert What I would suggest to to make the changes in mc's configuration file. Then verify that it works. Copy that file back to your Flash Drive. Then put a line in your go file to copy the Flash Drive file back to the proper location in the OS file system overwriting the default configuration file.
December 21, 20169 yr Author What I would suggest to to make the changes in mc's configuration file. Then verify that it works. Copy that file back to your Flash Drive. Then put a line in your go file to copy the Flash Drive file back to the proper location in the OS file system overwriting the default configuration file. figured as much but dunno where the config file is any ideas?
December 21, 20169 yr Community Expert I believe most of what you need to know is right there in the link you found. First, using a PuTTY session (or a monitor and keyboard), look at these locations he suggested by using these commands. cd ~/.config/mc and cd /etc/mc cat mc.keymap You can get a file listing in either of these places using the following command: ls -al and cp is the standard Linux/UNIX copy command and it doesn't warn you when it overwrites a file! I don't think you have to create a symbolic link as you will be changing what the Backspace key does for everyone (in mc) if you change the file in the /etc/mc directory. (Word of disclosure, I am not a Linux Guru! But I have hacked around a bit and I do a lot of googling when I have to do something like you are proposing.) You will probably have to google to find a link to a decent Master Command manual so that you know where to put the change in the mc.keymap file. Don't worry too much about breaking something as a reboot of the server will restore everything just as it was... EDIT: be sure to use a Linux aware editor when you edit these files. (Using standard Windows Notepad will make the file unreadable to Linux.)
December 29, 20169 yr Author Sorry for taking so long to reply .. Thanks for the information but I have done this on another linux box succcessfully. my problem is the filesystem of unraid is virtual so how do i make the changes permanent?
December 29, 20169 yr Sorry for taking so long to reply .. Thanks for the information but I have done this on another linux box succcessfully. my problem is the filesystem of unraid is virtual so how do i make the changes permanent? That was actually answered in the first reply of this thread, have a closer look at Frank1940's post.
December 29, 20169 yr Author Sorry for taking so long to reply .. Thanks for the information but I have done this on another linux box succcessfully. my problem is the filesystem of unraid is virtual so how do i make the changes permanent? That was actually answered in the first reply of this thread, have a closer look at Frank1940's post. oops got it will try that
Archived
This topic is now archived and is closed to further replies.