Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Midnight Commander persistant settings

Featured Replies

Hey all

 

Hope everyone is well in the unraid 'verse..

 

I would just like to know is there a config file somewere in the unraid file system on the usb stick that will save my defaults and survive reboots?

 

thank you

Edited by abs0lut.zer0

Whatever changes you are making you would recreate via the /boot/config/go so that the same mods are redone at boot up time.

  • Author

Hey Squid

 

Thanks for the quick answer but what i actually am hoping for is to use MC as much as I use Total Commander on windows.

Reason being I have only one r/w share on my whole unRAID setup and I would like to manage my media library through MC as root user, this allows only me to make mistakes [accidental delete's, ransomware etc...].

MC has a config file that can be edited to have various different options [different startup directories,different default editors and compression utilities etc..].

 

So I would like to find a way to have a persistent config file for MC and am wondering where I would keep this so it could survive reboots.

 

So I am looking for some help on this if it is possible at all?

 

It currently lives in /root/.config/mc/ini and would like to know how I can get this to survive reboots and get applied to MC every time I start MC up.

 

I do realise that this is not what the unRAID filesystem is meant for but I would like to do this if it is possible.

 

Any advise anybody??

 

Thanks in advance for taking the time to read and any advise would be appreciated even if the answer is that it is not possible then I can just move on.

 

 

 

The previous answer is the way you do this:

  • Put a copy of the edited file somewhere on the USB stick (location is up to you).
  • Add an line to the config/go file on the USB stick to copy it during the boot process to where it needs to be while Unraid is running.
19 minutes ago, abs0lut.zer0 said:

MC has a config file that can be edited

 

19 minutes ago, abs0lut.zer0 said:

It currently lives in /root/.config/mc/ini and would like to know how I can get this to survive reboots and get applied to MC every time I start MC up.

 

Make your changes to that file.  Test it, make sure that it's what you want

 

Then copy that file to the flash drive.  Then edit /boot/config/go (or via user scripts -> schedule: at first boot only) to copy that file back from the flash drive.

 

  • Author

Thanks for the answers they are the exact advice I was looking for.

 

Thank You.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.