Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

If I create a test pdf file in a directory, by using something like ls -al > testpdf.pdf the file is shown in Caja 1.4.0 with an understandable emblem that is 'acrobat-like'.

If I create a libreoffice document in Writer and export it to pdf in the same directory, its emblem is a grey 'sheet of text' which makes it very hard to spot.

How can I change the icon/emblem used by pdfs created by libreoffice?

Can I just overwrite the file used somewhere in /usr/shr/icons ? If so, will it be overwritten by the next libreoffice update?

share|improve this question

1 Answer

This sounds more like an issue of the file manager not properly recognising the file type - almost as if it used the extension to infer it (which is rather obsolete imho). Does your pdf's name (the one exported from libreoffice) end with .pdf?

/usr/share/icons (basically everything under /usr, /lib*, /etc) is "system" owned and may be overwritten on package updates (with the exception of configuration files which are treated slightly differently).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.