Re: associations for chromium

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



Le 29/11/2010 03:26, Sergey Manucharian a écrit :
> I wonder if somebody could already figure out how to handle file and
> protocol associations for Chromium. For those who use a DE like
> KDE/Gnome most probably everything works out of box. There is an
> article in wiki how to use chromium with no DE [1]. It suggest to use
> mimeo and xdg-utils-mimeo, but it simply does not work (at least in my
> case).

It works for me with mimeo and xdg-utils-mimeo (I'm using Chromium with
Awesome WM -- no DE). You have to use ~/.config/mimeo.conf to store your
associations, and to use at least mimeo 2010.11.02 (first version that
integrates my patch to use this file by default).

Here is my mimeo.conf:

-----------------8<-----------------
# Spotify URLs
/usr/local/bin/spotify %U
  ^http://open.spotify.com/
  ^spotify:

# Regular URLs
/usr/bin/chromium
  ^http://
  ^https://
  ^ftp://

# E-mails
/usr/bin/thunderbird -compose
  ^mailto:
-----------------8<-----------------

This is enough to have working Spotify URLs. I guess that for VLC and
MMS streams, you would just need the following:

-----------------8<-----------------
/usr/bin/vlc
  ^mms:
-----------------8<-----------------

To test mimeo, you should first try by running directly "mimeo
mms://my-url" in a shell, then "xdg-open mms://my-url", and finally from
Chromium.

Does such a setup work for you? If it doesn't, could you please post
your mimeo.conf here?

Regards,

-- 
Thomas/Schnouki

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux