gnu: gnome-default-applications: Add Evince for PDF and PS.
* gnu/packages/gnome.scm (gnome-default-applications)[propagated-inputs]: Add EVINCE. [arguments]: Associate Evince with application/pdf and application/postscript.
This commit is contained in:
parent
4afc903a8c
commit
8ad4f0aa31
|
@ -5870,7 +5870,8 @@ software that do not provide their own configuration interface.")
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(source #f)
|
(source #f)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("nautilus" ,nautilus)))
|
`(("nautilus" ,nautilus)
|
||||||
|
("evince" ,evince)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils))
|
`(#:modules ((guix build utils))
|
||||||
#:builder
|
#:builder
|
||||||
|
@ -5882,7 +5883,9 @@ software that do not provide their own configuration interface.")
|
||||||
(call-with-output-file (string-append apps "/defaults.list")
|
(call-with-output-file (string-append apps "/defaults.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")
|
||||||
|
(format port "application/pdf=evince.desktop\n")
|
||||||
|
(format port "application/postscript=evince.desktop\n")))
|
||||||
#t))))
|
#t))))
|
||||||
(synopsis "Default MIME type associations for the GNOME desktop")
|
(synopsis "Default MIME type associations for the GNOME desktop")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue