gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
* 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. Signed-off-by: Marius Bakke <mbakke@fastmail.com>master
parent
79e5d150c6
commit
a6ac679f0a
|
@ -7643,7 +7643,7 @@ software that do not provide their own configuration interface.")
|
||||||
(let* ((out (assoc-ref %outputs "out"))
|
(let* ((out (assoc-ref %outputs "out"))
|
||||||
(apps (string-append out "/share/applications")))
|
(apps (string-append out "/share/applications")))
|
||||||
(mkdir-p apps)
|
(mkdir-p apps)
|
||||||
(call-with-output-file (string-append apps "/defaults.list")
|
(call-with-output-file (string-append apps "/gnome-mimeapps.list")
|
||||||
(lambda (port)
|
(lambda (port)
|
||||||
(format port "[Default Applications]\n")
|
(format port "[Default Applications]\n")
|
||||||
(format port "inode/directory=org.gnome.Nautilus.desktop\n")
|
(format port "inode/directory=org.gnome.Nautilus.desktop\n")
|
||||||
|
|
Reference in New Issue