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)
|
||||
(source #f)
|
||||
(propagated-inputs
|
||||
`(("nautilus" ,nautilus)))
|
||||
`(("nautilus" ,nautilus)
|
||||
("evince" ,evince)))
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
|
@ -5882,7 +5883,9 @@ software that do not provide their own configuration interface.")
|
|||
(call-with-output-file (string-append apps "/defaults.list")
|
||||
(lambda (port)
|
||||
(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))))
|
||||
(synopsis "Default MIME type associations for the GNOME desktop")
|
||||
(description
|
||||
|
|
Loading…
Reference in New Issue