Re: Simple mc.ext/bindings extension isn't working...
- From: Trey Blancher <trey blancher net>
- To: mc gnome org
- Subject: Re: Simple mc.ext/bindings extension isn't working...
- Date: Tue, 1 May 2012 15:26:36 -0500
I figured it out. Turns out file sees .xoj files as gzip, thus
type/^gzip was matching before regex/\.xoj$ (which I put at the bottom
of mc.ext/bindings, above the default/* rule).
On Mon, Apr 30, 2012 at 9:01 PM, Trey Blancher <trey blancher net> wrote:
I'm using mc 4.8.1 (Debian wheezy) and 4.7.0.6 (Debian squeeze), and I
can't seem to get the following to launch in mc:
# xoj
regex/\.xoj$
ÂOpen=xournal %f &
ÂView=xournal %f &
In squeeze, when I hit ENTER the mc window just blinks, but doesn't
launch Xournal. ÂIn wheezy, when I hit ENTER it opens the .xoj file in
more, which again, isn't launching it in Xournal. ÂI've made sure to
save mc.ext or bindings, exited and restarted mc, and my results don't
change.
I created another extension, and it seems to be OK:
# kdb
regex/\.kdb$
ÂOpen=keepassx %f &
ÂView=keepassx %f &
And it seems to work OK. I can use the shell within mc ("xournal %f",
and it does the right thing), so I don't know what I'm doing wrong.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]