Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-03-2007, 06:40 AM   #1
LQ Newbie
Registered: Jun 2007
Posts: 9

Rep: Reputation: 0

I'm using ubuntu 7.10 and i want to change icon for all files of a particular type for example all pdf files.Is this possible?If so can someone please help me do that?
Old 12-03-2007, 07:02 AM   #2
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Are you using gnome, and talking about the icon which appears in nautilus (the file browser)?

If so, I think the default behaviour is to render a small preview of the first page of the document for the icon view. Do you just want to prevent this?

You can prevent it using gconf-editor (press alt-f2 and enter "gconf-editor" in the dialog). Then search for pdf and in the settings, change "enable" to false:
  • /desktop/gnome/thumbnailers/application@pdf
  • /desktop/gnome/thumbnailers/application@x-bzpdf
  • /desktop/gnome/thumbnailers/application@x-gzpdf

I am not sure how to change the default icon for a PDF after the preview is disabled though, but I am not a gnome user - I'm sure someone out there knows.

Last edited by matthewg42; 12-03-2007 at 11:16 AM. Reason: typo
Old 12-03-2007, 11:10 AM   #3
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,158

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
I think that certain icon choices are built-in to Gnome, so you'd have to alter and recompile the source to fix that!

The crafty way, which I've used on occasion, is to find the icon that Gnome is using -- search for a file pdf.png in your case. Then you can replace that by one that you prefer and Gnome will be none the wiser.
Old 12-04-2007, 10:09 AM   #4
LQ Newbie
Registered: Jun 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for your suggestions.I replaced the icons in the theme folder and the icons have changed.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Icons space_invader64 Linux - Software 1 11-14-2005 08:40 AM
Icons Jeebizz Slackware 3 08-30-2004 12:01 AM
removed dockapps icons and wmconfig icons by mistake ethereal Linux - General 1 09-04-2003 04:54 PM
icons?? where to get em! deezay Linux - General 1 04-11-2002 09:23 PM
Icons, icons everywhere, eating resources! Stephanie Linux - General 0 07-09-2001 11:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 PM.

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
Open Source Consulting | Domain Registration