Skip to content

Instantly share code, notes, and snippets.

@fragolinux
Created May 2, 2024 12:33
Show Gist options
  • Save fragolinux/0dd90bc8b70a1460cf4c8af10ccf0833 to your computer and use it in GitHub Desktop.
Save fragolinux/0dd90bc8b70a1460cf4c8af10ccf0833 to your computer and use it in GitHub Desktop.
midnight commander initial setup
# get dracula skins, both 8 and 256 colors
mkdir -p ~/.local/share/mc/skins ~/.config/mc
wget https://raw.githubusercontent.com/dracula/midnight-commander/master/skins/dracula.ini -O ~/.local/share/mc/skins/dracula.ini
wget https://raw.githubusercontent.com/dracula/midnight-commander/master/skins/dracula256.ini -o ~/.local/share/mc/skins/dracula256.ini
# run this to have a 256 color skin (copy full block from cat to EOF)
cat << EOF > ~/.config/mc/ini
[Midnight-Commander]
use_internal_edit=true
skin=dracula256
[Panels]
navigate_with_arrows=true
EOF
# OR this to have a 8 bit color skin (copy full block from cat to EOF)
cat << EOF > ~/.config/mc/ini
[Midnight-Commander]
use_internal_edit=true
skin=dracula
[Panels]
navigate_with_arrows=true
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment