HOME - Recent Changes - Search:

Academic Work


Personal

* pot de départ


dblp


(:twitter:)

-----

[ edit | logout ]
[ help | sandbox | passwd ]

Extension file for mc

#############################

Question

How to tell mc what program to use for opening a file with a given extension?

Answer

F9 → Command → Edit extension file. However, it'll try to edit the global /etc/mc/mc.ext file, which is read-only unless you are root. So make a local copy of this file in ~/.mc, and put a symbolic reference on it under the name bindings. That is:

jabba@hoth:~/.mc$ ls -al
total 48
drwx------   2 jabba jabba  4096 2008-11-11 10:27 .
drwxr-xr-x 143 jabba jabba  4096 2008-11-11 10:21 ..
lrwxrwxrwx   1 jabba jabba     6 2008-11-11 10:19 bindings -> mc.ext
-rw-------   1 jabba jabba  8544 2008-11-11 10:27 history
-rw-------   1 jabba jabba  2933 2008-11-11 10:27 ini
-rw-r--r--   1 jabba jabba 18008 2008-11-11 10:19 mc.ext
-rw-------   1 jabba jabba    35 2008-11-11 10:27 Tree

Then customize this file to your needs.

Cloud City


anime | bash | blogs | bsd | c/c++ | c64 | calc | comics | convert | cube | del.icio.us | digg | east | eBooks | egeszseg | elite | firefox | flash | fun | games | gimp | google | groovy | hardware | hit&run | howto | java | javascript | knife | lang | latex | liferay | linux | lovecraft | magyar | maths | movies | music | p2p | perl | pdf | photoshop | php | pmwiki | prog | python | radio | recept | rts | scala | scene | sci-fi | scripting | security | shell | space | súlyos | telephone | torrente | translate | ubuntu | vim | wallpapers | webutils | wikis | windows


Blogs and Dev.

* Ubuntu Incident
* Python Adventures
* me @ GitHub


Places

Debrecen | France | Hungary | Montreal | Nancy


Notes

full circle | km


Hobby Projects

* Jabba's Codes
* PmWiki
* Firefox
* PHP
* JavaScript
* Scriptorium
* Tutorials
* me @ GitHub


Quick Links


[ edit ]

View - Edit - History - Attach - Print *** Report - Recent Changes - Search
Page last modified on 2008 November 11, 16:29