* [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
@ 2017-12-01 3:14 Brendan Tildesley
2017-12-05 12:33 ` Ludovic Courtès
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Brendan Tildesley @ 2017-12-01 3:14 UTC (permalink / raw)
To: 29521
* gnu/packages/gnome.scm (gnome-default-applications)
[arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
The old defaults.list was changed to mimeapps.list in the mime spec. The
gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.
---
gnu/packages/gnome.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9a46495f1..b02e2a567 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5879,7 +5879,7 @@ software that do not provide their own configuration interface.")
(let* ((out (assoc-ref %outputs "out"))
(apps (string-append out "/share/applications")))
(mkdir-p apps)
- (call-with-output-file (string-append apps "/defaults.list")
+ (call-with-output-file (string-append apps "/gnome-mimeapps.list")
(lambda (port)
(format port "[Default Applications]\n")
(format port "inode/directory=org.gnome.Nautilus.desktop\n")))
--
2.15.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
2017-12-01 3:14 [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list Brendan Tildesley
@ 2017-12-05 12:33 ` Ludovic Courtès
2017-12-22 9:02 ` Ludovic Courtès
2020-03-29 5:12 ` Brendan Tildesley
2020-04-02 16:56 ` bug#29521: " Marius Bakke
2 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2017-12-05 12:33 UTC (permalink / raw)
To: Brendan Tildesley; +Cc: 29521
Hi Brendan,
Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:
> * gnu/packages/gnome.scm (gnome-default-applications)
>
> [arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
> The old defaults.list was changed to mimeapps.list in the mime spec. The
> gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.
So is ‘defaults.list’ currently ignored? Or will it be ignored in the
future?
Also, what if XDG_CURRENT_DESKTOP is unset, as is probably the case
currently?
Anyway, thanks for looking into it!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
2017-12-05 12:33 ` Ludovic Courtès
@ 2017-12-22 9:02 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-12-22 9:02 UTC (permalink / raw)
To: Brendan Tildesley; +Cc: 29521
Hello,
ludo@gnu.org (Ludovic Courtès) skribis:
> Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:
>
>> * gnu/packages/gnome.scm (gnome-default-applications)
>>
>> [arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
>> The old defaults.list was changed to mimeapps.list in the mime spec. The
>> gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.
>
> So is ‘defaults.list’ currently ignored? Or will it be ignored in the
> future?
>
> Also, what if XDG_CURRENT_DESKTOP is unset, as is probably the case
> currently?
Ping! :-)
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
2017-12-01 3:14 [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list Brendan Tildesley
2017-12-05 12:33 ` Ludovic Courtès
@ 2020-03-29 5:12 ` Brendan Tildesley
2020-04-02 16:56 ` bug#29521: " Marius Bakke
2 siblings, 0 replies; 5+ messages in thread
From: Brendan Tildesley @ 2020-03-29 5:12 UTC (permalink / raw)
To: 29521; +Cc: Ludovic Courtès
[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]
I apologise for not following up with my bug reports. Here is the latest
spec and a thread from 2014 that explains defaults.list appears to be
long since unused, that debian uses it only for historical reasons that
are perhaps a decade old.
It was mentioned in this 6 year old thread that GNOME was using
defaults.list. Is there any reason to think that it does now and that we
shouldn't just set it to mimeapps.list? I haven't gone into GNOME
sources to figure out what it ultimately does.
-- https://specifications.freedesktop.org/mime-apps-spec/latest/ar01s02.html
As you can see, there is no defaults.list specified at all.
-- https://lists.freedesktop.org/archives/xdg/2014-February/013183.html
As for should XDG_CURRENT_DESKTOP, having a brief look at the spec, this
is merely a way to make desktop items appear in or not appear in the
menus of a certain desktop environment. In a .desktop file you can have
smoething like |OnlyShowIn|=GNOME or |NotShowIn=XFCE. If the respective
desktop environment you are using follows the standard it will check
these to decide if it should show or hide the entry. I believe it is
unrelated to the defaults.list vs mimeapps.list problem.|
||--
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
[-- Attachment #2: Type: text/html, Size: 2113 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#29521: [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
2017-12-01 3:14 [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list Brendan Tildesley
2017-12-05 12:33 ` Ludovic Courtès
2020-03-29 5:12 ` Brendan Tildesley
@ 2020-04-02 16:56 ` Marius Bakke
2 siblings, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2020-04-02 16:56 UTC (permalink / raw)
To: Brendan Tildesley, 29521-done
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
Brendan Tildesley <brendan.tildesley@openmailbox.org> writes:
> * gnu/packages/gnome.scm (gnome-default-applications)
>
> [arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
> The old defaults.list was changed to mimeapps.list in the mime spec. The
> gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.
Applied, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-04-02 16:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 3:14 [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list Brendan Tildesley
2017-12-05 12:33 ` Ludovic Courtès
2017-12-22 9:02 ` Ludovic Courtès
2020-03-29 5:12 ` Brendan Tildesley
2020-04-02 16:56 ` bug#29521: " Marius Bakke
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).