LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
icons


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, 08:02 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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 12:16 PM. Reason: typo
 
Old 12-03-2007, 12:10 PM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,677

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
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, 11:09 AM   #4
ashikahamed
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.
 
  


Reply


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 09:40 AM
Icons Jeebizz Slackware 3 08-30-2004 01:01 AM
removed dockapps icons and wmconfig icons by mistake ethereal Linux - General 1 09-04-2003 05:54 PM
icons?? where to get em! deezay Linux - General 1 04-11-2002 10:23 PM
Icons, icons everywhere, eating resources! Stephanie Linux - General 0 07-09-2001 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 PM.

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