viewing DjVu and PostScript files

This commit is contained in:
Roman Beslik 2022-09-23 22:51:51 +03:00
parent 0667c43be6
commit a1496cd87a

View file

@ -24,12 +24,15 @@ profile evince @{exec_path} {
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/gio-launch-desktop rPx,
/usr/share/djvu/{,**} r,
/usr/share/evince/{,**} r,
/usr/share/ghostscript/{,**} r,
/usr/share/poppler/{,**} r,
/usr/share/thumbnailers/{,*} r,
/usr/share/themes/{,**} r,
owner @{user_share_dirs}/ r,
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
owner @{user_cache_dirs}/thumbnails/{,**} rw,
owner @{user_config_dirs}/evince/{,*} rw,
@ -42,5 +45,7 @@ profile evince @{exec_path} {
/dev/tty rw,
deny /{usr/,}lib/ r, # asks when viewing PostScript files
include if exists <local/evince>
}