Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-02-2009, 04:05 PM   #1
LQ Newbie
Registered: Jun 2006
Posts: 29

Rep: Reputation: 15
Unhappy pdf icon problems

Hi all! Not certain if I am in correct forum.
In the last few days I have a problem with pdf icons. I must have changed something but do not know what although I suspect it has something to do with file association via Konqueror > settings > configuration. Symptoms are: pdf files without the .pdf extension have correct icon. Adding the extension gives a blanked icon like a text file. The problem is system wide.
Old 07-02-2009, 04:11 PM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
right click on a PDF file, click properties, click the little wrench icon, and see that the .pdf extension is among those in the 'filename patterns' area.

Does this help?


PS - an ideal forum would be 'Linux Desktop' but we'll let this one slide for now.
Old 07-03-2009, 08:41 AM   #3
LQ Newbie
Registered: Jun 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Smile Is there a global fix?

Thank you for your reply. It worked OK but fixed only the one icon for one file. Is there a global fix as I have a few thousands pdfs on the effected machine. Whatever I did , effected the whole lot. many thanks (dja.)
Old 07-03-2009, 09:53 AM   #4
LQ Newbie
Registered: Jun 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Further but same problem only worse.

Hi again, The problem has returned. When I changed the second icon (added .pdf as only .PDF was in the 'filename patterns')the pdf symbol on the first icon disappeared again to be replaced by the blank icon. Clicking on any icon with .pdf extension produced a pop-up frame with the message "Service '.hidden/kpdf-2.desktop' is malformatted." Only kpdf is effected I can still view files with .pdf with xpdf. Removing the .pdf extension the correct icon comes back and When I click it opens OK.
Whatever I have done is effecting all pdf files on the machine. help!
This machine is running Debian Lenny with KDE desktop. Thanks again (dja.)
Old 07-15-2009, 11:54 AM   #5
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
When I changed the second icon (added .pdf as only .PDF was in the 'filename patterns')the pdf symbol on the first icon disappeared again to be replaced by the blank icon.
Remember, linux is CasE SensitivE
So the extension .pdf is not going to be recognised if the filename pattern is set to *.PDF

R-click a pdf file
Click the wrench
General tab
You should see both *.pdf and *.PDF listed under "filename patterns", if not click ADD and add the missing one(s)
Check the Application Preference order has your preferred viewer at the top of the list, if not, select (or add then select) it and move it up to the top.

Click the Embedding tab
Make sure "Show file in separate viewer" is selected.

Click Apply
Click OK


Also remember that linux is smart enough to know a pdf file when it meets one - so, unlike windows, you don't really need the pdf extension at all.
Old 07-16-2009, 08:16 AM   #6
LQ Newbie
Registered: Jun 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Hi everyone, thanks for all your help. All the pdf problems are FIXED. I did a full [from the ground up], re-install of Lenny, new disks and all. The symptoms were a moving target, I simply described what I was seeing at the time of each post. What ever I did (late at night and tired) to cause the problem is still unknown! First only one account was effected. When I started applying the fix from here, it worked for the first icon, then when I applied it to the second and more icons I started getting re-blanked icons previous just changed. Also when I tried other accounts, (all used by me but for different projects) I found they were now all effected, not at first. At that point I decided on a total reinstall a work-up I could have done without. Fortunately all the project data are on separate disks but even so it took a good day to rebuild the base system and bring in mail files , bookmarks and other stuff. Again thanks for all your help.
One last request on this any suggestions on one single in-depth book on KDE that will go all the way to kde-guru standard. regards, (dja.)


icons, pdf, webbrowser

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pdf printing problems chad_jensen Linux - Hardware 7 11-14-2005 10:13 AM
Changing the icon of PDF files indian Linux - Software 2 09-05-2004 12:47 PM
problems reading pdf dave bean Linux - Newbie 3 09-24-2003 06:45 AM
pdf problems Greenhorn Linux - Software 2 10-29-2002 06:38 PM
pdf problems gfmurphy Linux - General 2 10-18-2001 10:00 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration