[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] how to set mimetype for ranger
From: |
stardiviner |
Subject: |
Re: [Ranger-users] how to set mimetype for ranger |
Date: |
Wed, 8 Jun 2011 15:35:16 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
It works now, Thanks,
I viewed /etc/mailcap , this file contail some mimetypes
I do not know what does it work. I find it in command *update-mime*.
anyway, this problem is solved now. Thanks
On Wed, Jun 08, 2011 at 08:53:11 +0200, Jostein Berntsen wrote:
> On 08.06.11,11:15, stardiviner wrote:
> > Here is the output:
> >
> > /home/chris/.config/ranger/apps.py: if f.video or f.audio:
> > /home/chris/.config/ranger/apps.py- return
> > self.app_kaffeine(c)
> > /home/chris/.config/ranger/apps.py-
> > /home/chris/.config/ranger/apps.py- if f.image and c.mode
> > == 0:
> > /home/chris/.config/ranger/apps.py- return
> > self.app_feh_fullscreen_by_default(c)
> > /home/chris/.config/ranger/apps.py-
> > --
> > /home/chris/.config/ranger/apps.py: if f.video or f.audio:
> > /home/chris/.config/ranger/apps.py: if f.video:
> > /home/chris/.config/ranger/apps.py- c.flags += 'd'
> > /home/chris/.config/ranger/apps.py- return self.either(c,
> > 'mplayer', 'smplayer', 'vlc', 'totem')
> > /home/chris/.config/ranger/apps.py-
> > /home/chris/.config/ranger/apps.py- if f.image:
> > /home/chris/.config/ranger/apps.py- return self.either(c,
> > 'feh', 'eog', 'mirage')
> > Binary file /home/chris/.config/ranger/apps.pyo matches
> > --
> > /home/chris/.config/ranger/history:mkdir Linux_videos
> > /home/chris/.config/ranger/history-delete
> > /home/chris/.config/ranger/history-delete seriously? y
> > --
> > /home/chris/.config/ranger/scope.sh: video/* | audio/*)
> > /home/chris/.config/ranger/scope.sh- # Use sed to remove
> > spaces so the output fits into the narrow window
> > /home/chris/.config/ranger/scope.sh- mediainfo "$path" | sed
> > 's/ \+:/: /;'
> > /home/chris/.config/ranger/scope.sh- success && exit 5 ||
> > exit 1;;
> > /home/chris/.config/ranger/scope.sh-esac
> > /home/chris/.config/ranger/scope.sh-
> >
> > On Tue, Jun 07, 2011 at 11:16:23 +0200, Jostein Berntsen wrote:
> > > On 07.06.11,08:52, stardiviner wrote:
> > > > I find that some mimetype will play with other player, how to change
> > > > mimetype player.
> > > > for example: originally, f4v is played by Banshee, But I want to play
> > > > it with Mplayer,
> > > > How to set This ?
> > > >
> > >
> > > Can you run this command and send the output?
> > >
> > > grep -A5 -i video ~/.config/ranger/*
> > >
> > >
>
> Can you try to add this line to ~/.mime.types and restart ranger to see
> if that works?
>
> "video/mp4 f4v"
>
>
> Jostein
>
>
>
--
[ *chris* ]
I am a stardiviner ( divine star ) :P ,
I try to detoxify my memory.
Forgotten is not a disappointment.
Give me a hug for my life.