Hello,
 I am trying to write a script which records the list of open evince
documents. I've been using lsof command till now
for i in `lsof -t /usr/bin/evince`;do lsof -Fn +p $i | grep
"\.pdf$\|\.djvu$\|\.ps$\|\.dvi$" | sed -e 's,n\(.*\),\1,' ; done

But this doesn't seem to work with djvu files(maybe evince doesn't
need to keep the file opened for some reason).

 Is there a way to directly retrieve the list of open files? Perhaps a
dbus query?
thanks,
Harsha
_______________________________________________
evince-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evince-list

Reply via email to