Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 04-11-2012, 12:59 PM   #1
LQ Newbie
Registered: Mar 2010
Distribution: Red Hat Enterprise Linux 5 x86_64
Posts: 6

Rep: Reputation: 0
File type icon global association in Nautilus

I am running Nautilus 2.16.2 file browser in gnome 2.16.0 (RHEL 5.6 OS). I would like to associate a specific icon with every file that has the file type of .sas. I have found many references for associating an icon with a particular file, but I would like to apply this icon globally to all occurrences of any file that ends in .sas. How do I do this? More explicitly, there is a certain default icon associated with any .txt file that is created in the file browser. Where is this default icon located? Where is the file containing the command(s) that associate this default icon to any file ending in .txt? Thanks for any help.
Old 06-20-2012, 04:18 PM   #2
LQ Newbie
Registered: Mar 2010
Distribution: Red Hat Enterprise Linux 5 x86_64
Posts: 6

Original Poster
Rep: Reputation: 0
I've found some more specifics for this but still don't have the exact steps to do this. The icon I want to associate with all .sas filetypes is located in a vendor directory, specifically /usr/SAS931/.../48/saspgm95.xpm. I can associate this xpm with each .sas file one at a time, but I need this to happen automatically any time a .sas file is created. Using root, I opened /etc/mime.types and added the line application/vnd.saspgm95 sas. I then copied the file /usr/SAS931/.../48/saspgm95.xpm to /usr/share/icons/gnome/mimetypes/48x48 and renamed the file from saspgm95.xpm to application-vnd-saspgm95.xpm. I logged out and logged back in and didn't see this icon associated with .sas files. Could someone point me to some instructions on how to properly associate a specific vendor's icon with files with filetypes .sas?


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
How to change file association type for gnome programs on Kubuntu Felipe Linux - Software 3 08-18-2011 11:03 AM
Get file icon from extension, file type, or mime-type Guitarist88 Programming 3 04-21-2008 10:58 AM
file type association in gnome 2.1X benjalien Linux - Software 0 01-17-2006 03:12 AM
Stopping a file type association iainvt Linux - Software 1 09-07-2004 06:31 AM
Help with file-type association goof for folders... Sgaileach1 Linux - Software 7 02-02-2004 03:33 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration