Re: [EMAIL PROTECTED]: docbook mime type detection]

2005-07-26 Thread Bastien Nocera
. /magic glob pattern=*.xml/ That's not good. text/xml files are already detected with *.xml. /mime-type /mime-info You got the gist of it, but it's not commitable. Cheers --- Bastien Nocera [EMAIL PROTECTED] ___ xdg mailing list xdg

Re: [EMAIL PROTECTED]: docbook mime type detection]

2005-07-26 Thread Bastien Nocera
On Tue, 2005-07-26 at 17:02 -0400, Luis Villa wrote: On 7/26/05, Bastien Nocera [EMAIL PROTECTED] wrote: Hey Luis, On Tue, 2005-07-26 at 16:48 -0400, Luis Villa wrote: ?xml version=1.0 encoding=UTF-8? mime-info xmlns=http://www.freedesktop.org/standards/shared-mime-info

Re: [EMAIL PROTECTED]: docbook mime type detection]

2005-08-09 Thread Bastien Nocera
. Bastien, do you have commit permission? Next time, please make the patch against CVS, instead of the installed file (the patch didn't apply...). I've fixed the missing mark of translation for the comment, and lowered the priority slightly. 2005-08-09 Bastien Nocera [EMAIL PROTECTED

Re: ogg [was Re: [EMAIL PROTECTED]: docbook mime type detection]]

2005-08-10 Thread Bastien Nocera
On Tue, 2005-08-09 at 21:28 -0400, Luis Villa wrote: On 7/26/05, Bastien Nocera [EMAIL PROTECTED] wrote: What would be preferable then? (I looked for what ogg tarkin does, but no success- seems it isn't in the primary DB either?) Ogg Tarkin isn't a filetype. Tarkin is the video codec

Re: Sub-class of text/plain

2006-02-04 Thread Bastien Nocera
On Tue, 2005-06-21 at 08:50 +0200, Alexander Larsson wrote: On Mon, 2005-06-20 at 23:55 +0100, Bastien Nocera wrote: Heya, I was wondering why GEdit opened up .rtf files on my system (instead of say Abiword, or, heck, OpenOffice). GEdit registers itself as supporting text/plain thus

Re: shared-mime-info 0.17

2006-03-14 Thread Bastien Nocera
? It's impossible from the website to tell if everybody or nobody uses it. Huh. It's a software announcement. Pretty much every Free Unix desktop project uses it, and distros and users should probably all upgrade to that version... I'm not too sure what you expected here. On 3/14/06, Bastien Nocera

Re: shared-mime-info 0.17

2006-03-15 Thread Bastien Nocera
On Wed, 2006-03-15 at 14:19 +0100, Stanislav Brabec wrote: Bastien Nocera writes: Kjartan was pestering me this morning for a shared-mime-info release, so I bit the bullet and released 0.17! Only 2 years until the next release :) But it seems that many patches from Bugzilla are missing

Re: shared-mime-info 0.17 bug

2006-04-25 Thread Bastien Nocera
for application/pdf. I believe this is due to recent changes in the xdgmime that Christian committed. I had that same problem with ASX playlists showing up as HTML. -- Bastien Nocera [EMAIL PROTECTED] I want to go on and on, like the Titanic song.-- Jennifer Lopez

shared-mime-info 0.20

2007-02-06 Thread Bastien Nocera
-database.c - Have a quiet output to update-mime-database by default Enjoy -- Bastien Nocera [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: storage location for common user directories

2007-03-08 Thread Bastien Nocera
-dirs: http://www.freedesktop.org/wiki/Software_2fxdg_2duser_2ddirs It's already available, and i18n-friendly. Cheers -- Bastien Nocera [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Direction arrows.

2007-06-27 Thread Bastien Nocera
prefer that (and it was requested by such users for Totem and Rhythmbox). -- Bastien Nocera [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Direction arrows.

2007-06-28 Thread Bastien Nocera
On Thu, 2007-06-28 at 00:07 -0700, James Richard Tyrer wrote: Bastien Nocera wrote: snip Do you happen to know the names of them and if they come with the standard gnome icon package? GTK_STOCK_MEDIA_* and co.: http://developer.gnome.org/doc/API/2.0/gtk/gtk-Stock-Items.html#GTK-STOCK-MEDIA

Re: Trusted vs Unstrusted MIME types

2007-07-06 Thread Bastien Nocera
that be (the people working on the mime-type spec) that it's a good idea. It is in my opinion. Waiting for comments. -- Bastien Nocera [EMAIL PROTECTED] ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Category for a desktop tool needed

2007-08-11 Thread Bastien Nocera
primary category Service would be very useful also for thing like gnome-bluetooth OBEX server, vino,... The Bluetooth OBEX server shouldn't even show up in the menus, and will be removed as soon as bluez-gnome has a replacement for it. -- Bastien Nocera [EMAIL PROTECTED

Re: Patch for typos in shared-mime-info freedesktop.org.xml.in

2007-11-20 Thread Bastien Nocera
On Wed, 2007-11-21 at 01:01 +0200, Petteri Räty wrote: Attached. Please put those in bugzilla, so they don't get lost. Cheers ___ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg

Re: Autostart spec needs ordering

2007-12-10 Thread Bastien Nocera
On Mon, 2007-12-10 at 11:28 -0500, Jim Ramsay wrote: I think the autostart spec needs some way of forcing one .desktop to start only after another one has completed. For example, seahorse-agent requires that a ssh-agent be already running. I don't think the autostart spec was ever designed

Re: Shared-mime checking order

2008-02-01 Thread Bastien Nocera
On Mon, 2007-09-17 at 22:16 +0200, David Faure wrote: On Tuesday 28 August 2007, Alexander Larsson wrote: On Fri, 2007-08-24 at 16:44 +0200, Alexander Larsson wrote: This is my main problem with hi-priority sniffing. It either causes very bad performance behaviour in the file manager, or

Re: Mime Spec updates: Matching order and generic icons

2008-03-03 Thread Bastien Nocera
On Mon, 2008-03-03 at 16:05 +0100, David Faure wrote: snip This is not good! It means that any mimetype xml file I generate now with an icon field, will break for users who have not upgraded to the future version of update-mime-database which will include support for the icon field!

Re: Mime Spec updates: Matching order and generic icons

2008-03-04 Thread Bastien Nocera
On Mon, 2008-03-03 at 19:40 +0100, David Faure wrote: On Monday 03 March 2008, Bastien Nocera wrote: On Mon, 2008-03-03 at 16:05 +0100, David Faure wrote: snip This is not good! It means that any mimetype xml file I generate now with an icon field, will break for users who have

Re: API for binding and unbinding a key combo?

2008-03-31 Thread Bastien Nocera
On Thu, 2008-03-27 at 20:16 +0100, Thiago Macieira wrote: snip KDE 4 now has a centralised global shortcut management system. The reasons for doing that are because: - information is persistent: you're notified of a conflict even if the other app isn't running or even if it has never

Re: API for binding and unbinding a key combo?

2008-03-31 Thread Bastien Nocera
On Sun, 2008-03-30 at 16:46 +, Tuomo Valkonen wrote: On 2008-03-30, Justin Clift [EMAIL PROTECTED] wrote: http://gentoo-wiki.com/TIP_Make_a_Screenshot_with_PrintScreen_Key That stuff is for _excecuting_ a program, and listed is 'xbindkeys' independent of any WM, depending on just

Re: API for binding and unbinding a key combo?

2008-03-31 Thread Bastien Nocera
On Mon, 2008-03-31 at 11:07 +0100, Thiago Macieira wrote: On Monday 31 March 2008 11:52:43 Bastien Nocera wrote: On Thu, 2008-03-27 at 20:16 +0100, Thiago Macieira wrote: This API is accessible via D-Bus. If wanted, we could work on making it an fd.o spec. What API is available via D

Re: API for binding and unbinding a key combo?

2008-03-31 Thread Bastien Nocera
On Mon, 2008-03-31 at 10:29 +, Tuomo Valkonen wrote: On 2008-03-31, Bastien Nocera [EMAIL PROTECTED] wrote: That stuff is for _excecuting_ a program, and listed is 'xbindkeys' independent of any WM, depending on just that program being running, just like the previous links require

Re: API for binding and unbinding a key combo?

2008-03-31 Thread Bastien Nocera
On Mon, 2008-03-31 at 11:52 +0100, Thiago Macieira wrote: On Monday 31 March 2008 12:23:22 Bastien Nocera wrote: Well, that's pretty much what we want to do as well, to avoid applications having their own code, and needing to be running to capture the key (we've already got the first

Re: Commit notifications for specs

2008-04-29 Thread Bastien Nocera
On Sat, 2008-04-26 at 15:55 +0200, Vincent Untz wrote: Hi, I've asked for the creation of a git repository to host all fd.o specs (will make things much easier). I think it'd make sense to send commit notifications to this list since it will help people track the progress and the changes.

Re: shared-mime-info updates

2008-06-05 Thread Bastien Nocera
On Mon, 2008-06-02 at 09:11 -0400, Matthias Clasen wrote: I have spent some time last weekend on updating update-desktop-database and xdgmime to the cvs version of the shared-mime spec. If you are interested, the patches are here: http://people.redhat.com/mclasen/mime/ Bastien said he'll take

Re: shared-mime-info updates

2008-06-09 Thread Bastien Nocera
On Thu, 2008-06-05 at 20:00 +0100, Bastien Nocera wrote: On Mon, 2008-06-02 at 09:11 -0400, Matthias Clasen wrote: I have spent some time last weekend on updating update-desktop-database and xdgmime to the cvs version of the shared-mime spec. If you are interested, the patches are here

Re: shared-mime-info updates

2008-06-10 Thread Bastien Nocera
On Mon, 2008-06-02 at 09:11 -0400, Matthias Clasen wrote: I have spent some time last weekend on updating update-desktop-database and xdgmime to the cvs version of the shared-mime spec. If you are interested, the patches are here: http://people.redhat.com/mclasen/mime/ Bastien said he'll take

Shared-mime-info 0.40

2008-06-11 Thread Bastien Nocera
Heya, Shared-mime-info 0.40 is released. The major change is the support for the updated spec, implemented by Matthias Clasen. Downloads and more details: http://freedesktop.org/wiki/Software/shared-mime-info?action=show Changes since 0.30: * Mime-type Changes: - Add Skencil image - Add

Re: main extension for a mimetype

2008-07-02 Thread Bastien Nocera
On Tue, 2008-07-01 at 15:46 +0200, David Faure wrote: The concept of the main extension for a mimetype is missing in shared-mime-info, (which constitutes a regression compared to our earlier system). snip I see two solutions: 1) fixing update-mime-database to respect the order of the globs

Re: Content types

2008-07-17 Thread Bastien Nocera
On Fri, 2008-07-11 at 10:25 -0400, Matthias Clasen wrote: On Thu, 2008-07-03 at 00:06 -0400, Matthias Clasen wrote: Its been a month since I sent out this proposal, and the only comment I have heard so far is that the name Content types may be slightly ambiguous. My proposal for

Re: Sound naming spec: problems with prefixes

2008-07-17 Thread Bastien Nocera
On Thu, 2008-07-17 at 16:32 +0200, Lennart Poettering wrote: On Thu, 17.07.08 14:29, Bastien Nocera ([EMAIL PROTECTED]) wrote: Heya, I feel some of the names for the sounds are the wrong way around. For example: network-connectivity-lost network-connectivity-error network

Re: Sound naming spec: problems with prefixes

2008-07-19 Thread Bastien Nocera
On Fri, 2008-07-18 at 01:15 +0200, Patryk Zawadzki wrote: On Fri, Jul 18, 2008 at 12:16 AM, Bastien Nocera [EMAIL PROTECTED] wrote: No, being able to change a few of the sounds is what's planned. Looks a bit like the attached screenie. What sounds can you choose from? Any file from

Re: Content types

2008-07-19 Thread Bastien Nocera
On Thu, 2008-07-17 at 15:27 +0100, Bastien Nocera wrote: On Fri, 2008-07-11 at 10:25 -0400, Matthias Clasen wrote: snip That looks good to me, apart from ignore-case. I think we should default to ignoring the case, as I can't think of any content types for which we shouldn't (a pure 8.3 CD

Re: Content types

2008-07-20 Thread Bastien Nocera
On Fri, 2008-07-18 at 12:52 +0100, Bastien Nocera wrote: On Thu, 2008-07-17 at 15:27 +0100, Bastien Nocera wrote: On Fri, 2008-07-11 at 10:25 -0400, Matthias Clasen wrote: snip That looks good to me, apart from ignore-case. I think we should default to ignoring the case, as I can't think

Re: A few changes for the sound nameing/themeing specs

2008-07-28 Thread Bastien Nocera
On Fri, 2008-07-25 at 16:25 +0200, Lennart Poettering wrote: Heya! I've made a few changes to the sound theme/naming specs based on requests from Bastien: - Document the __custom theme that is used by Bastien's new g-s-p for dynamically replacing/disabling sounds in inherited themes.

Re: Sound naming spec: problems with prefixes

2008-07-30 Thread Bastien Nocera
On Thu, 2008-07-17 at 19:58 +0200, Patryk Zawadzki wrote: On Thu, Jul 17, 2008 at 3:29 PM, Bastien Nocera [EMAIL PROTECTED] wrote: I've targetted 30-odd sounds (including the bell) to be user modifiable in the preferences: I hope by modifiable you mean being able to turn them on or off

Re: Wording of shared mime spec

2008-08-18 Thread Bastien Nocera
On Mon, 2008-08-18 at 16:44 -0400, Matthias Clasen wrote: On Mon, 2008-08-18 at 20:08 +0200, David Faure wrote: The spec currently says, about glob matching: If several patterns match then the longest pattern SHOULD be used. With the recent addition of glob weights, this sentence is

Re: Specifying thumbnailers as a service

2008-08-29 Thread Bastien Nocera
On Fri, 2008-08-29 at 11:25 +0200, Philip Van Hoof wrote: arg type=i name=size_x direction=in / arg type=i name=size_y direction=in / In the libgnomeui API, you only set one of those, and aspect ratio is preserved. The size passed is the maximum width and height.

Re: Specifying thumbnailers as a service

2008-08-29 Thread Bastien Nocera
On Fri, 2008-08-29 at 12:14 +0200, Adrien BUSTANY wrote: Bastien Nocera a écrit : On Fri, 2008-08-29 at 11:25 +0200, Philip Van Hoof wrote: arg type=i name=size_x direction=in / arg type=i name=size_y direction=in / In the libgnomeui API, you only set one of those

Re: Wording of shared mime spec

2008-09-10 Thread Bastien Nocera
On Wed, 2008-09-10 at 10:57 +0200, David Faure wrote: On Monday 18 August 2008, you wrote: On Mon, 2008-08-18 at 16:44 -0400, Matthias Clasen wrote: On Mon, 2008-08-18 at 20:08 +0200, David Faure wrote: The spec currently says, about glob matching: If several patterns match then

Re: XDG Icon Spec: requesting new icons for headsets, speakers, headphones

2009-03-04 Thread Bastien Nocera
On Wed, 2009-03-04 at 15:22 +0100, David Faure wrote: On Wednesday 04 March 2009, Bastien Nocera wrote: On Wed, 2009-03-04 at 12:18 +0100, Lennart Poettering wrote: snip This hence boils down to that I'd like to ask for the following five standard icon names: - Speakers (i.e

Re: XDG Icon Spec: requesting new icons for headsets, speakers, headphones

2009-03-11 Thread Bastien Nocera
On Wed, 2009-03-11 at 11:50 +0100, Stephan Arts wrote: On Wed, Mar 4, 2009 at 7:25 PM, Bastien Nocera had...@hadess.net wrote: On Wed, 2009-03-04 at 15:22 +0100, David Faure wrote: On Wednesday 04 March 2009, Bastien Nocera wrote: On Wed, 2009-03-04 at 12:18 +0100, Lennart Poettering wrote

Re: XDG Icon Spec: requesting new icons for headsets, speakers, headphones

2009-05-13 Thread Bastien Nocera
On Wed, 2009-05-13 at 02:02 +0200, Jannis Pohlmann wrote: On Tue, 12 May 2009 17:40:48 -0400 Rodney Dawes dobey.p...@gmail.com wrote: On Tue, 2009-05-12 at 23:19 +0200, Lennart Poettering wrote: On Sat, 02.05.09 16:14, Lennart Poettering (mz...@0pointer.de) wrote: On Tue,

Re: Please standardize Screen saver DBus interfaces

2009-05-19 Thread Bastien Nocera
On Tue, 2009-05-19 at 15:08 +0200, André Gillibert wrote: Ali Abdallah wrote: Lubos Lunak wrote: Actually, the way to inhibit the screensaver on X was standardized ages ago - it's XResetScreensaver(), in Xlib. It resets the user inactivity counter, it prevents DPMS from

Re: Please standardize Screen saver DBus interfaces

2009-05-19 Thread Bastien Nocera
On Tue, 2009-05-19 at 15:24 +0200, Ali Abdallah wrote: Bastien Nocera wrote: On Tue, 2009-05-19 at 15:18 +0200, Ali Abdallah wrote: Bastien Nocera wrote: snip That's wrong. Totem uses XSetScreenSaver when: 1) There's no screensaver on the D-Bus that it supports (eg

Re: [New] Desktop Preferred Applications Specification

2009-06-07 Thread Bastien Nocera
On Sun, 2009-06-07 at 13:52 +0800, PCMan wrote: Hi list, To solve the issue that every desktop environment has its own way to specify default web browser and terminal emulator, I wrote a new spec to create a cross-desktop mechanism for this. This spec works by extending existing XDG specs and

Re: [New] Desktop Preferred Applications Specification

2009-06-07 Thread Bastien Nocera
On Sun, 2009-06-07 at 14:00 +0200, Christoph Wickert wrote: Am Sonntag, den 07.06.2009, 12:50 +0100 schrieb Bastien Nocera: On Sun, 2009-06-07 at 13:52 +0800, PCMan wrote: Hi list, To solve the issue that every desktop environment has its own way to specify default web browser

Re: [New] Desktop Preferred Applications Specification

2009-06-08 Thread Bastien Nocera
On Tue, 2009-06-09 at 02:24 +0200, Christoph Wickert wrote: Am Sonntag, den 07.06.2009, 16:28 +0100 schrieb Bastien Nocera: snip Yes, but we'd still be missing metadata to tell us how to construct the commands to launch those mailers with attachments. Why not adopt Xfce's approach

Re: Notification spec issue: Ability to assign an icon *and* an image to a notification

2009-06-18 Thread Bastien Nocera
On Tue, 2009-06-16 at 15:45 +0200, Aurélien Gâteau wrote: Here is another suggestion, which would be more compatible with the existing spec: - Introduce the image_data hint, following the iiibiiay (or iiay ?) format - State that the icon_data hint must still be supported, but is

Re: Case insensitive mimetype matching edge case

2009-08-18 Thread Bastien Nocera
On Tue, 2009-08-18 at 15:25 +0200, David Faure wrote: On Wednesday 05 August 2009, David Faure wrote: Seems to me that we should instead introduce an attribute for case-sensitivity: glob pattern=*.C case-sensitive=true/ and do everything else case-insensitively. This would also fix bug

Re: Moved to git: xdg-user-dirs, default-icon-theme, xdgmime, shared-mime-info

2009-10-12 Thread Bastien Nocera
On Mon, 2009-10-12 at 15:23 +0200, David Faure wrote: On Wednesday 07 October 2009, Alexander Larsson wrote: The following are the new git repos for these: http://cgit.freedesktop.org/xdg/default-icon-theme/ http://cgit.freedesktop.org/xdg/shared-mime-info/ Doesn't work !? git

Re: Moved to git: xdg-user-dirs, default-icon-theme, xdgmime, shared-mime-info

2009-10-12 Thread Bastien Nocera
On Mon, 2009-10-12 at 09:48 -0600, Aaron J. Seigo wrote: On October 7, 2009, Alexander Larsson wrote: http://cgit.freedesktop.org/xdg/default-icon-theme/ while the other three are pure software repositories, but this one contains a specification. it would be great if it could join other

Re: Moved to git: xdg-user-dirs, default-icon-theme, xdgmime, shared-mime-info

2009-10-12 Thread Bastien Nocera
On Mon, 2009-10-12 at 10:18 -0600, Aaron J. Seigo wrote: On October 12, 2009, Jannis Pohlmann wrote: I totally agree, all of these specs should be hosted on fd.o, but this was discussed over and over again and none of the administrative people ever commented on any of the requests to

Re: OSD symbols

2009-12-02 Thread Bastien Nocera
On Wed, 2009-12-02 at 14:18 +0100, Jakub Steiner wrote: Hi folks! Over the past few years I sensed a need for a less 'noisy' and colorful style for graphical representation of certain actions and status. Blown up icons for on screen display when you increase brightness, attach a display,

Re: OSD symbols

2009-12-02 Thread Bastien Nocera
On Wed, 2009-12-02 at 14:47 +0100, Jakub Steiner wrote: On Wed, Dec 2, 2009 at 2:36 PM, Bastien Nocera had...@hadess.net wrote: You should compare comparable things. The first screenshot is from gnome-settings-daemon without any compositing manager. Enable a compositing manager

Re: OSD symbols

2009-12-02 Thread Bastien Nocera
On Wed, 2009-12-02 at 15:36 +0100, Martin Bagge / brother wrote: Bastien Nocera wrote: http://dl.dropbox.com/u/24178/osd/composited.png bluetooth-discoverable is useless I was thinking of mobile - there's curently no bluetooth status icons in the spec. Some netbooks include a bluetooth

Shared-mime-info patches

2010-01-29 Thread Bastien Nocera
Heya, I blogged the following yesterday: ---8--- Ooh, the strain. If you filed a bug against shared-mime-info in the past and wonder why your requested mime-type still isn't in, it's just a lack of time, and the fact that most of the bug reports require too much work on my side to be

Re: Mime/Icon association

2010-03-02 Thread Bastien Nocera
On Tue, 2010-03-02 at 15:26 +0100, Kai-Uwe Behrmann wrote: Hello, I am searching for a way to tell filemanagers about a certain mime type and a according icon. What I could do is to install the mime type xml file in the style described here:

Re: Mime/Icon association

2010-03-02 Thread Bastien Nocera
On Tue, 2010-03-02 at 16:15 +0100, Kai-Uwe Behrmann wrote: Am 02.03.10, 14:35 - schrieb Bastien Nocera: On Tue, 2010-03-02 at 15:26 +0100, Kai-Uwe Behrmann wrote: Hello, I am searching for a way to tell filemanagers about a certain mime type and a according icon. What I could do

Re: Registering experimental mime types

2010-09-07 Thread Bastien Nocera
On Tue, 2010-09-07 at 01:22 +0200, Giovanni Campagna wrote: (warning: this is really long) Studying Freedesktop's shared-mime-info, I noticed a lot of x- mime types, which according to RFC4288 (Media Type Specifications and Registration Procedures), section 3.4 These types are

New handling for URI scheme handlers

2010-10-05 Thread Bastien Nocera
in: https://bugzilla.gnome.org/show_bug.cgi?id=631433 The attached patch is changes to the shared-mime-info spec to mention the use of x-scheme-handler/* mime-types. Any comments? Cheers From 7ec2f22dab71e8c40a4154fe5a92819ed80fbaa7 Mon Sep 17 00:00:00 2001 From: Bastien Nocera had...@hadess.net Date

Re: New handling for URI scheme handlers

2010-10-05 Thread Bastien Nocera
On Tue, 2010-10-05 at 17:36 +0200, Damjan Jovanovic wrote: On Tue, Oct 5, 2010 at 5:32 PM, Bastien Nocera had...@hadess.net wrote: Heya, This morning I implemented in GNOME use of the x-scheme-handler/* mime-type for applications to register their interest in handling particular URI

Re: New handling for URI scheme handlers

2010-10-05 Thread Bastien Nocera
On Tue, 2010-10-05 at 18:01 +0200, Thiago Macieira wrote: Em Terça-feira 05 Outubro 2010, às 17:36:52, Damjan Jovanovic escreveu: On Tue, Oct 5, 2010 at 5:32 PM, Bastien Nocera had...@hadess.net wrote: Heya, This morning I implemented in GNOME use of the x-scheme-handler/* mime

Re: New handling for URI scheme handlers

2010-10-05 Thread Bastien Nocera
On Tue, 2010-10-05 at 18:27 +0200, David Faure wrote: On Tuesday 05 October 2010, Bastien Nocera wrote: Heya, This morning I implemented in GNOME use of the x-scheme-handler/* mime-type for applications to register their interest in handling particular URI schemes. I posted about

Re: New handling for URI scheme handlers

2010-10-05 Thread Bastien Nocera
On Tue, 2010-10-05 at 09:20 -0700, Aaron J. Seigo wrote: On Tuesday, October 5, 2010, Bastien Nocera wrote: The attached patch is changes to the shared-mime-info spec to mention the use of x-scheme-handler/* mime-types. Any comments? i suggested to use the mimetype database in a very

Re: New handling for URI scheme handlers

2010-10-05 Thread Bastien Nocera
On Wed, 2010-10-06 at 00:36 +0200, David Faure wrote: On Tuesday 05 October 2010, Aaron J. Seigo wrote: if consistency reigns and this addition does not achieve consensus approval, we do have .protocol files in KDE already and it would be nice (and sensible) to use something that already

Re: New handling for URI scheme handlers

2010-10-05 Thread Bastien Nocera
On Tue, 2010-10-05 at 20:04 +0200, David Faure wrote: On Tuesday 05 October 2010, Thiago Macieira wrote: Em Terça-feira 05 Outubro 2010, às 18:20:10, Aaron J. Seigo escreveu: On Tuesday, October 5, 2010, Bastien Nocera wrote: The attached patch is changes to the shared-mime-info spec

Re: New handling for URI scheme handlers

2010-10-08 Thread Bastien Nocera
On Tue, 2010-10-05 at 16:32 +0100, Bastien Nocera wrote: Heya, This morning I implemented in GNOME use of the x-scheme-handler/* mime-type for applications to register their interest in handling particular URI schemes. I posted about it in: http://www.hadess.net/2010/10/new-control

Re: New handling for URI scheme handlers

2010-10-11 Thread Bastien Nocera
On Mon, 2010-10-11 at 23:59 +0200, David Faure wrote: On Friday 08 October 2010, Bastien Nocera wrote: On Tue, 2010-10-05 at 16:32 +0100, Bastien Nocera wrote: Heya, This morning I implemented in GNOME use of the x-scheme-handler/* mime-type for applications to register

Re: extending mime-type def with generic-icon

2010-10-18 Thread Bastien Nocera
On Sun, 2010-10-17 at 21:24 -0400, Matthew Monaco wrote: This is my first foray into mime-types. I am trying to add a new .xml file to /usr/share/mime/packages: = ?xml version=1.0 encoding=UTF-8? mime-info

Re: .desktop file: supported URL schemes key

2010-11-05 Thread Bastien Nocera
On Mon, 2010-10-11 at 13:08 +0200, David Faure wrote: The recent discussion raises again something that has been a need for a very long time. Some programs support URLs (Exec=foo %u) but not all URLs. For instance VLC supports http, ftp, and smb. We need to know that we can pass it such

Re: Adding Unity to OnlyShowIn allowed values

2011-03-02 Thread Bastien Nocera
On Wed, 2011-03-02 at 10:25 -0600, Ted Gould wrote: On Sat, 2011-02-19 at 10:26 +0100, Vincent Untz wrote: Le vendredi 18 février 2011, à 22:26 -0600, Ted Gould a écrit : On Thu, 2011-02-17 at 08:52 -0600, Ted Gould wrote: We would like to add Unity to the list of values allowed for

Re: [RFC] XDG basedir spec should mandate absolute paths

2011-04-06 Thread Bastien Nocera
On Thu, 2011-04-07 at 03:53 +0200, Lennart Poettering wrote: Heya, currently the xdg basedir spec doesn't make clear that all env vars need to be set to absolute paths. Anybody opposed if I add a small sentence whith clears that up? Background:

Re: Relative paths in .desktop files

2011-06-23 Thread Bastien Nocera
On Thu, 2011-06-23 at 15:30 +0200, David Faure wrote: On Thursday 23 June 2011, you wrote: If you just want to give the script an icon, you can embed the icon in the script, and write a thumbnailer for it. IMHO, having run_me.sh in the folder is enough. Having run_me.sh, run_me.desktop,

Re: XDG_CURRENT_DESKTOP

2011-07-14 Thread Bastien Nocera
On Thu, 2011-07-14 at 11:36 -0400, Michael Terry wrote: Hello! I've seen the idea of a XDG_CURRENT_DESKTOP environment variable tossed around a few times on this mailing list, but I don't see it in any spec. Historically, most desktop file parsing libraries were tightly tied to a

Re: XDG_CURRENT_DESKTOP

2011-07-14 Thread Bastien Nocera
On Thu, 2011-07-14 at 11:46 -0400, Michael Terry wrote: On 07/14/2011 11:42 AM, Bastien Nocera wrote: What's the use for this when you could add a set_desktop_name() function in the front-end that uses that library? Is it of any use apart from libgnome-menus? Well, say there's an app

Re: Showing a file in the file manager

2011-09-22 Thread Bastien Nocera
On Thu, 2011-09-22 at 15:09 +0200, Kevin Krammer wrote: On Thursday, 2011-09-22, Jannis Pohlmann wrote: IMHO that's a bad idea. Bypassing DE-specific checks and forwarding straight to the FileManager1 service means that, on a multi-user system with multiple file managers installed, people

Re: Questions regarding the shared mime spec

2011-09-26 Thread Bastien Nocera
On Mon, 2011-09-26 at 10:07 +0200, Alexander Larsson wrote: On Sun, 2011-09-25 at 09:08 +0200, David Faure wrote: snip I just committed it, but I'm attaching the patch so that Alexander or Bastien can review it, this is my first commit to xdgmime [which seems to still be in CVS? I

Re: shared mime info: URI scheme handlers for non browsers

2011-10-18 Thread Bastien Nocera
On Mon, 2011-10-17 at 23:06 +0200, Patryk Zawadzki wrote: On Mon, Oct 17, 2011 at 8:23 PM, Scrool scroo...@gmail.com wrote: I'd like to ask you for clarification of URI scheme handlers section in Shared MIME-info Database spec. Quote from last paragraph: Note that this virtual mime-type

Re: [PATCH] xdgmime: Add autotools-based build system.

2011-10-25 Thread Bastien Nocera
On Tue, 2011-03-01 at 09:49 +0100, Thierry Reding wrote: Just some more info about the idea behind this. Apparently, there is no standard library for accessing the database provided by shared-mime-info. So with xdgmime seeming like the reference implementation, it would be nice to have an

Re: shared mime info: URI scheme handlers for non browsers

2011-10-31 Thread Bastien Nocera
On Tue, 2011-10-18 at 13:50 +0200, Rémi Denis-Courmont wrote: On Tue, 18 Oct 2011 13:16:48 +0200, Pavol Babinčák pavol.babin...@gmail.com wrote: On Tue, Oct 18, 2011 at 11:12, David Faure fa...@kde.org wrote: Instead, the .desktop file should mention %u in the Exec line, so that the

Re: shared mime info: URI scheme handlers for non browsers

2011-10-31 Thread Bastien Nocera
On Tue, 2011-10-18 at 13:46 +0200, Rémi Denis-Courmont wrote: Hello, On Mon, 17 Oct 2011 23:06:24 +0200, Patryk Zawadzki pat...@pld-linux.org wrote: a) Let's have a video player that uses HTTP to download a movie and its subsequent play. This player should not register

Re: shared mime info: URI scheme handlers for non browsers

2011-10-31 Thread Bastien Nocera
On Mon, 2011-10-31 at 17:56 +0200, Rémi Denis-Courmont wrote: Le lundi 31 octobre 2011 17:45:37 Bastien Nocera, vous avez écrit : That includes regular web pages so I guess the answer is that no media-specific application should ever register for a generic protocol. So how do

Re: shared mime info: URI scheme handlers for non browsers

2011-10-31 Thread Bastien Nocera
On Mon, 2011-10-31 at 18:16 +0200, Rémi Denis-Courmont wrote: Le lundi 31 octobre 2011 18:05:41 Bastien Nocera, vous avez écrit : There are many more problems with that than just knowing whether the application supports the protocol (or a subset of the protocol). What about passing cookie

Re: shared-mime-info-spec: Typo »treemagic element*s*«

2012-10-01 Thread Bastien Nocera
On Mon, 2012-10-01 at 10:05 +0200, Paul Menzel wrote: Dear freedesktop.org folks, there is a typo in the second sentence in the following paragraph [1]. Matching of content types works with treemagic elements, which are analogous to the magic elements used for MIME type

Re: URL and application handling/registration standard

2012-10-03 Thread Bastien Nocera
On Sun, 2012-09-30 at 00:38 +0100, Jerome Leclanche wrote: There are a lot of issues with coming up with a good system for this. Say you get a uri to an image: http://example.com/image.png. You want that uri to open in an image viewer that supports http. - What happens if the uri

Re: URL and application handling/registration standard

2012-10-03 Thread Bastien Nocera
On Tue, 2012-10-02 at 17:44 +0400, Сергей Давыдов wrote: Behavior will largely depend on the actual program xdg-open delegates to. E.g. on KDE the KIO subsystem knows how to determine the MIME type of a resource and will look up the application

Re: URL and application handling/registration standard

2012-10-04 Thread Bastien Nocera
On Wed, 2012-10-03 at 22:04 +0400, Сергей Давыдов wrote: Feel free to read the archives of this mailing-list to know why adding a list of protocols isn't a good idea, and actually harms interoperability. I've found

Re: URL and application handling/registration standard

2012-10-22 Thread Bastien Nocera
On Sun, 2012-10-21 at 22:58 +0200, David Faure wrote: On Friday 19 October 2012 17:09:50 David Faure wrote: Better solution yet, imho: Screw being too clever. - Have apps list protocols they support. Eg Protocols=x-scheme-handler/http;x-scheme-handler/https; Never ever do

Re: URL and application handling/registration standard

2012-10-22 Thread Bastien Nocera
On Mon, 2012-10-22 at 10:30 +0200, David Faure wrote: On Monday 22 October 2012 09:45:31 Bastien Nocera wrote: On Sun, 2012-10-21 at 22:58 +0200, David Faure wrote: On Friday 19 October 2012 17:09:50 David Faure wrote: Better solution yet, imho: Screw being too clever

Rework of the org.freedesktop.ScreenSaver API?

2012-11-28 Thread Bastien Nocera
Heya, I've started looking at the screensaver inhibition problem for GNOME 3.6, as we've remove the hacks[1] that people were sometimes using to inhibit the screensaver coming on. I missed the discussions about the old screensaver API that KDE and GNOME developers discussed but only KDE

Re: Rework of the org.freedesktop.ScreenSaver API?

2012-11-29 Thread Bastien Nocera
On Thu, 2012-11-29 at 11:16 +0100, Aaron J. Seigo wrote: On Wednesday, November 28, 2012 19:10:28 Bastien Nocera wrote: I missed the discussions about the old screensaver API that KDE and GNOME developers discussed but only KDE implemented: https://projects.kde.org/projects/kde/kde

Re: Rework of the org.freedesktop.ScreenSaver API?

2012-11-29 Thread Bastien Nocera
On Thu, 2012-11-29 at 12:20 +0100, Aaron J. Seigo wrote: snip For a widely implemented spec with API that is actually used, this would make sense. This is not the case here, however. So unless there's a really good reason for changing the name, I'd suggest we leave it, even if it isn't

Re: Rework of the org.freedesktop.ScreenSaver API?

2012-11-29 Thread Bastien Nocera
On Thu, 2012-11-29 at 13:56 +0100, Aaron J. Seigo wrote: On Thursday, November 29, 2012 12:50:34 you wrote: On Thu, 2012-11-29 at 12:20 +0100, Aaron J. Seigo wrote: So, you can change the API because nothing uses it, but you can't change its name because something *might* use it? No :)

Spec draft (was Re: Rework of the org.freedesktop.ScreenSaver API?)

2012-12-21 Thread Bastien Nocera
Resend, as the original mail was never moderated through (the attached patch was too big). So this is what I ended up with: http://people.freedesktop.org/~hadess/idle-inhibition-spec/ Patch for xdg-specs available at:

Re: Spec draft (was Re: Rework of the org.freedesktop.ScreenSaver API?)

2013-02-12 Thread Bastien Nocera
On Fri, 2012-12-21 at 16:16 +0100, Bastien Nocera wrote: Resend, as the original mail was never moderated through (the attached patch was too big). And the draft is now live at: http://specifications.freedesktop.org/idle-inhibit-spec/0.1/ Thanks Vincent

Re: Fwd: Conflicting mime types

2013-03-05 Thread Bastien Nocera
On Tue, 2013-03-05 at 11:29 +, Thomas Kluyver wrote: I've just had a bug reported against PyXDG that a Mimetype test is returning image/x-apple-ios-png instead of image/png. Your implementation returns results differently from the one we use in shared-mime-info itself. Looking at the XML

Re: Mime types - uppercase appearing in mime type names

2013-03-18 Thread Bastien Nocera
On Mon, 2013-03-18 at 14:22 +, Thomas Kluyver wrote: I've filed a bug about this: https://bugs.freedesktop.org/show_bug.cgi?id=9562 It's against xdgmime, as there doesn't seem to be a component for the shared-mime-info spec. shared-mime-info - specification (or whatever) component

Re: Trash spec: directory size cache

2013-04-15 Thread Bastien Nocera
Em Mon, 2013-04-15 às 10:07 +0200, Alexander Larsson escreveu: On sön, 2013-04-14 at 23:48 +0200, David Faure wrote: To implement a maximum size for the trash directory, one needs to check the size every time a new item is being trashed. With the current spec, the only solution is to

  1   2   >