Re: /usr/share/applications/default.list

2008-03-12 Thread Loïc Minier
On Wed, Mar 12, 2008, Wong, Carl wrote:
> Does anyone know which package create
> /usr/share/applications/default.list on a regular desktop system?  This
> file contains mime type information. On a normal desktop, the
> information listed in this file is used by the file browser to determine
> which application to launch.  It is also used by the web browser to
> determine application to launch when you double click on a file listed
> in the file download dialog.  Midbrowser needs this file in the mobile
> build.

 As Adilson already pointed out, this is shipped by desktop-file-utils,
 but only an "initial" version; the file is updated when you
 install/remove applications with .desktop files below
 /usr/share/applications by running update-desktop-database.

 However, please don't call update-desktop-database; instead, leave it
 to dh_desktop to add these calls for you to your postinst and postrm.

-- 
Loïc Minier

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: /usr/share/applications/default.list

2008-03-12 Thread Adilson Oliveira
Wong, Carl escreveu:
> Does anyone know which package create
> /usr/share/applications/default.list on a regular desktop system?  This
> file contains mime type information. On a normal desktop, the
> information listed in this file is used by the file browser to determine
> which application to launch.  It is also used by the web browser to
> determine application to launch when you double click on a file listed
> in the file download dialog.  Midbrowser needs this file in the mobile
> build.
> 

Carl, in my Hardy system, /usr/share/applications/default.list does not
exist, I have /usr/share/applications/default.list and dpkg -S shows me
it belongs to desktop-file-utils:
[EMAIL PROTECTED]:~$ dpkg -S /usr/share/applications/defaults.list
desktop-file-utils: /usr/share/applications/defaults.list
I hope it helps.

[]s

Adilson.

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


/usr/share/applications/default.list

2008-03-12 Thread Wong, Carl
Does anyone know which package create
/usr/share/applications/default.list on a regular desktop system?  This
file contains mime type information. On a normal desktop, the
information listed in this file is used by the file browser to determine
which application to launch.  It is also used by the web browser to
determine application to launch when you double click on a file listed
in the file download dialog.  Midbrowser needs this file in the mobile
build.

 

 

Thanks,

Carl

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile