Results 1 to 5 of 5

Thread: icon for .c file type

  1. #1
    Join Date
    Nov 2010
    Location
    Damanhour-North-Egypt
    Posts
    90

    Default icon for .c file type

    hello every one

    i was trying to follow a guid about how to change the icon for a specified file type (in my case .c,.h,.asm,cpp) ,
    and that by adding the icon png to the /usr/share/icons/gnome/48x48/mimetypes/text-x-csrc.png

    after following the procedure the icons for all .c files have changed but not in the file manager icon view

    only in List view as you can see from the screenshot



    so how can i set those icons ????

  2. #2
    Join Date
    Aug 2010
    Location
    Aveiro, Portugal
    Posts
    313

  3. #3
    Join Date
    Nov 2010
    Location
    Damanhour-North-Egypt
    Posts
    90

    Default Re: icon for .c file type

    ketheriel
    Icon Naming Specification
    i'm sorry but i can't find what im looking for ???

  4. #4
    Join Date
    Aug 2010
    Location
    Aveiro, Portugal
    Posts
    313

    Default Re: icon for .c file type

    Quote Originally Posted by mostafaxxx View Post
    i'm sorry but i can't find what im looking for ???
    Nevermind, I misinterpreted... Anyway, you might need to update the icon cache... that is done by running gtk-update-icon-cache.

    Code:
    Usage:
      gtk-update-icon-cache [OPTION...] ICONPATH
    
    Help Options:
      -h, --help                   Show help options
    
    Application Options:
      -f, --force                  Overwrite an existing cache, even if up to date
      -t, --ignore-theme-index     Don't check for the existence of index.theme
      -i, --index-only             Don't include image data in the cache
      -c, --source=NAME            Output a C header file
      -q, --quiet                  Turn off verbose output
      -v, --validate               Validate existing icon cache

  5. #5
    Join Date
    Nov 2010
    Location
    Damanhour-North-Egypt
    Posts
    90

    Default Re: icon for .c file type

    well i'm just impressed the icon is changed in the properties window but not in the icon view


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •