ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] how to set mimetype for ranger


From: Jostein Berntsen
Subject: Re: [Ranger-users] how to set mimetype for ranger
Date: Wed, 08 Jun 2011 08:53:11 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]