Results 1 to 9 of 9

Thread: Icon for filetype

  1. #1

    Default Icon for filetype

    Hello,
    how do I change an icon used for some specific filetype? To be shown everywhere with this filetype in Nautilus. I have openSUSE 13.1 with Gnome.
    I know how to open for example *.avi always in VLC (Properties, Open with, Set as default). I can also change icon for ONE specific avi file. But how do I change the icon for example for all AVI files? Let's say I want them to use VLC icon.
    I was experimenting little bit with ~/.local/share/applications/mimeapps.list, where I can change probably Default apps to open *.avi files and also with /usr/share/applications/vlc.desktop but that is probably wrong way. Thank you for help.

  2. #2
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Icon for filetype

    nethar1024 wrote:
    >
    > Hello,
    > how do I change an icon used for some specific filetype? To be shown
    > everywhere with this filetype in Nautilus. I have openSUSE 13.1 with
    > Gnome.
    > I know how to open for example *.avi always in VLC (Properties, Open
    > with, Set as default). I can also change icon for ONE specific avi file.
    > But how do I change the icon for example for all AVI files? Let's say I
    > want them to use VLC icon.
    > I was experimenting little bit with
    > ~/.local/share/applications/mimeapps.list, where I can change probably
    > Default apps to open *.avi files and also with
    > /usr/share/applications/vlc.desktop but that is probably wrong way.
    > Thank you for help.
    >
    >

    Activities ==> Type Details ==> Default Applications ==> Choose the
    default programs here

    --
    GNOME 3.10.2
    openSUSE 13.1 (Bottle) (x86_64) 64-bit
    Kernel Linux 3.11.6-4-desktop

  3. #3
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    181

    Default Re: Icon for filetype

    Or
    right-click that file -> Properties
    then there's a small wrench icon, click on it (edit file type) -> when it opens in the top-left cornet there is your icon,
    click on it, and now you can chose whatever you want

    done,
    Linux 4.12.14
    openSUSE Leap 15.0 - 64 bit
    KDE Plasma 5.12.15
    KDE Framework 5.44.0
    Qt - 5.9.4

  4. #4

    Default Re: Icon for filetype

    vazhavandan - I am not sure I got it. Are you talking about default applications used to open for example AVI files? That's fine for me, I have what I want. I just want to change the icon of all AVI files. Can I do it somehow in the dialog described by you? (And AVI is just an example, I want to know how to do it for any filetype)

    GazetaCypr - I don't see the "wrench icon" you are writing about. Is it in Gnome? Isn't it something in KDE? If I open Properties for some AVI file, I can change the icon here, that's ok, but it changes the icon for only this one specific avi file, not for all avi files on my disk.

    Hope you understand what I need.

  5. #5
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Icon for filetype

    nethar1024 wrote:
    >
    > vazhavandan - I am not sure I got it. Are you talking about default
    > applications used to open for example AVI files? That's fine for me, I
    > have what I want. I just want to change the icon of all AVI files. Can I
    > do it somehow in the dialog described by you? (And AVI is just an
    > example, I want to know how to do it for any filetype)
    >


    Icons depend on the application that is *associated* with it.
    i.e. if i associate vlc with flv or avi it gets a cone like icon.
    i don't think that you cannot set an icon to a file irrespective of file
    association. if you want to do that then you need to icon theme using
    tweak tool and disable "preview" in nautilus/file manager

    --
    GNOME 3.10.2
    openSUSE 13.1 (Bottle) (x86_64) 64-bit
    Kernel Linux 3.11.6-4-desktop

  6. #6
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    181

    Default Re: Icon for filetype

    nethar1024, now I see your point. You want to change one particular avi file, right? Not all associations for avi files, so all look the same.
    But as vazhavandan said, I'm afraid file association works globally.
    I'm using KDE so I was referring to KDE features.
    There is one option in Dolphin View tab, it is called preview, but I checked it and it only works with pictures.
    Linux 4.12.14
    openSUSE Leap 15.0 - 64 bit
    KDE Plasma 5.12.15
    KDE Framework 5.44.0
    Qt - 5.9.4

  7. #7

    Default Re: Icon for filetype

    Yes. Avi files, video files, it was just an example. I just want to change the icons shown for all files of some specic type - I mean specific extension. Let's say I want all my *.txt files in Nautilus to have pen picture icon next to them if you understand.

    This does not seem to be related to associations, at least for *.avi files. When I change avi files to be opened with VLC always, the icon is still the same (movie reel, not vlc cone). In Details -> Default applications I see only "Videos" in video section, no vlc, but still that dialog is only for some filetype groups, not generally for any extension.

    I thought there is some settings somewhere which can allow this to me. If it is not possible, ok, thanks for your help. Maybe something with themes is required, I can do some research. My idea was that there is maybe some config file somewhere where I can say that all files with TXT extensions use for example some .png picture as icon... nevermind, thanks ;-)

  8. #8
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    181

    Default Re: Icon for filetype

    Here, read this - http://userbase.kde.org/System_Setti...e_Associations
    and here is screen
    http://userbase.kde.org/File:Setting...sociations.png
    In the middle - between left column and right column there is an icon associated with file.
    Click on it and then you can chose whatever icon you want.
    Linux 4.12.14
    openSUSE Leap 15.0 - 64 bit
    KDE Plasma 5.12.15
    KDE Framework 5.44.0
    Qt - 5.9.4

  9. #9

    Default Re: Icon for filetype

    It seems to be exactly what I need, but the problem is that it is KDE. I have not found similar Gnome solution unfortunately.

Posting Permissions

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