desktop-entry-spec: add PrefersDiscreteGPU entry

2019-10-25 Thread Bastien Nocera
Hey,

I've updated Jan's patch to add a PrefersDiscreteGPU key to the
desktop-entry-spec:
https://gitlab.freedesktop.org/xdg/xdg-specs/merge_requests/13

It's a standardisation of KDE's X-KDE-RunOnDiscreteGpu.

Comments on the MR would be appreciated.

As for the implementation, I'm currently wondering how to implement it
in a way that requires minimal changes, and without bringing in some
ugly code into core libraries like GLib or Qt. See:
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1804#note_631724

Cheers

___
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg

Re: How about derivative MIME-types from "inode/directory", is it already doable?

2019-10-25 Thread Bastien Nocera
On Wed, 2019-10-23 at 20:25 +0500, Nikita Zlobin wrote:
> 

> So, my idea, is that dirs just like files (plain text) could have
> derivated types. I faced unexpected cases several times, when dir,
> clicked in fm (thunar or pcmanfm, not sure), opened instead in some
> other alternative apps (from Open With... list), such as file
> properties, baobab disk usage analyzer, and even git gui browser
> (qgit).

It's already possible, but might need a lot of patience to fix all the
assumptions that a directory is always of type inode/directory
everywhere in the stack.

Cheers

___
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg