Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-17 Thread poma
On 17.01.2015 03:10, A.J. Bonnema wrote: > On 16-01-15 19:44, poma wrote: >> >> >> This works for me. >> >> $ cp /etc/mc/mc.ext ~/.config/mc/ >> >> $ sed -i 's/\/usr\/libexec\/mc\/ext.d\/doc.sh open pdf/\ >> xpdf ${MC_EXT_FILENAME} >\/dev\/null 2>\&1 \&/g' ~/.config/mc/mc.ext >> >> $ grep xpdf ~/.c

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-16 Thread A.J. Bonnema
On 16-01-15 19:44, poma wrote: This works for me. $ cp /etc/mc/mc.ext ~/.config/mc/ $ sed -i 's/\/usr\/libexec\/mc\/ext.d\/doc.sh open pdf/\ xpdf ${MC_EXT_FILENAME} >\/dev\/null 2>\&1 \&/g' ~/.config/mc/mc.ext $ grep xpdf ~/.config/mc/mc.ext xpdf ${MC_EXT_FILENAME} >/dev/null 2>&1 & If this

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-16 Thread poma
On 16.01.2015 16:57, A.J. Bonnema wrote: > On 16-01-15 13:32, poma wrote: >>> I wonder where mc gets the instruction to load >>> /usr/bin/dolphin when I enter on a pdf file? >> >> >> See if you can find something interesting: >> $ find ~/.local -name mime* >> >> > Well, that got me a file called >

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-16 Thread A.J. Bonnema
On 16-01-15 13:32, poma wrote: > I wonder where mc gets the instruction to load > /usr/bin/dolphin when I enter on a pdf file? See if you can find something interesting: $ find ~/.local -name mime* Well, that got me a file called .local/share/xfce4/helpers/custom-FileManager.desktop that con

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-16 Thread poma
On 16.01.2015 11:58, A.J. Bonnema wrote: > On 15-01-15 22:16, poma wrote: >> On 15.01.2015 14:46, A.J. Bonnema wrote: >>> So I was wondering, could the pdf extention be hidden in a regular >>> expression in such a way that I don't recognize it as being pdf? I have >>> no idea why mc wants to load /

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-16 Thread A.J. Bonnema
On 15-01-15 22:16, poma wrote: On 15.01.2015 14:46, A.J. Bonnema wrote: So I was wondering, could the pdf extention be hidden in a regular expression in such a way that I don't recognize it as being pdf? I have no idea why mc wants to load /usr/bin/dolphin. Kind regards, Guus. Check within t

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-15 Thread poma
On 15.01.2015 14:46, A.J. Bonnema wrote: > On 14-01-15 22:07, poma wrote: >> On 14.01.2015 07:55, Tim wrote: >>> On Mon, 2015-01-12 at 13:23 +0100, A.J. Bonnema wrote: I have always used MC as my commandline filemanager and really like it. However, since Fedora 21, when opening a PDF file

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-15 Thread A.J. Bonnema
On 14-01-15 22:07, poma wrote: On 14.01.2015 07:55, Tim wrote: On Mon, 2015-01-12 at 13:23 +0100, A.J. Bonnema wrote: I have always used MC as my commandline filemanager and really like it. However, since Fedora 21, when opening a PDF file it always shows an error that it cannot open "/usr/bin/

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-14 Thread poma
On 14.01.2015 07:55, Tim wrote: > On Mon, 2015-01-12 at 13:23 +0100, A.J. Bonnema wrote: >> I have always used MC as my commandline filemanager and really like >> it. However, since Fedora 21, when opening a PDF file it always shows >> an error that it cannot open "/usr/bin/dolphin" which is >> und

Re: MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-13 Thread Tim
On Mon, 2015-01-12 at 13:23 +0100, A.J. Bonnema wrote: > I have always used MC as my commandline filemanager and really like > it. However, since Fedora 21, when opening a PDF file it always shows > an error that it cannot open "/usr/bin/dolphin" which is > understandable, because by default gnome

MC Midnight Commander: error opening PDF files refers to Dolphin

2015-01-12 Thread A.J. Bonnema
Hey all, I have always used MC as my commandline filemanager and really like it. However, since Fedora 21, when opening a PDF file it always shows an error that it cannot open "/usr/bin/dolphin" which is understandable, because by default gnome uses a different file manager (Nautilus I think).