Announcement

Collapse
No announcement yet.

HOWTO : create own (partial) icon theme

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HOWTO : create own (partial) icon theme

    Note that this is quick&dirty. (KDE 3.5.8 )

    Links to Topic: Installing new icons?
    http://kubuntuforums.net/forums/inde...opic=3089396.0


    Example: Make own icon theme with K logo and Trascan full/empty icons. KDE will (should) use defaults for the rest of icons.

    K-logo (kmenu.png) is in /usr/share/icons/default.kde/ There are:
    ./128x128/apps/kmenu.png
    ./16x16/apps/kmenu.png
    ./22x22/apps/kmenu.png
    ./32x32/apps/kmenu.png
    ./48x48/apps/kmenu.png
    ./64x64/apps/kmenu.png

    => kmenu is in the Applications folder (apps)

    Trashcans are:
    ./128x128/filesystems/trashcan_empty.png (and trashcan_full.png)
    ./16x16/filesystems/trashcan_empty.png
    ./22x22/filesystems/trashcan_empty.png
    ./32x32/filesystems/trashcan_empty.png
    ./48x48/filesystems/trashcan_empty.png
    ./64x64/filesystems/trashcan_empty.png

    => FileSystems (filesystems)


    Using here 128x128 pixel trashcans and 64x64 pixel replacement for K-logo (Kubuntu wheel logo).


    Make my_icons folder
    make 128x128 folder
    make filesystems folder (/my_icons/128x128/filesystems/)
    make 64x64 folder
    make apps folder (/my_icons/64x64/apps/)


    Put in the /my_icons/128x128/filesystems/, your trashcan_empty.png and trashcan_full.png.

    Put in the /my_icons/64x64/apps/, your kmenu.png.

    In the /my_icons/ , text file index.theme file:

    Code:
    index.theme:
    [Icon Theme]
    Name=my_icons
    
    Comment=i_did_it
    
    DisplayDepth=32
    
    Inherits=hicolor
    
    Directories=64x64/apps,128x128/filesystems
    
    [64x64/apps]
    Size=64
    Type=Threshold
    Context=Applications
    
    [128x128/filesystems]
    Size=128
    Type=Threshold
    Context=FileSystems
    K-ARTIST: icon index.theme file
    http://lists.kde.org/?l=kde-artists&...2790005054&w=2
    TRESHOLD: the iconloader will use the icon bitmap of the size y which is
    matches the size x most closely.
    If (|y-x| < Treshold) then the icon will be displayed at size y, otherwise
    it will be scaled to size x

    Right click my_icons folder > Actions > Compress Here (Ark servicemenu) => my_icons.tar.gz


    Installing new icon theme:

    K > System Settings > Appearance > Icons -> Install New Theme... (drag&drop my_icons.tar.gz)

    New Icon theme is in ~/.kde/share/icons/ (should be).



    Links

    Icon Guide
    http://wiki.kde.org/tiki-index.php?page=Icon+Guide

    Icon Theme Specification
    http://standards.freedesktop.org/ico...ec-latest.html

    Image:Kubuntu Logo.svg
    http://en.wikipedia.org/wiki/Image:Kubuntu_Logo.svg
    Attached Files
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    #2
    Re: HOWTO : create own (partial) icon theme

    Kubuntu 8.10 Intrepid Ibex


    This linking to the Topic: Can't change video file icon
    http://kubuntuforums.net/forums/inde...opic=3099128.0

    Note
    Systemvide icons are: /usr/share/icons
    For a user icons are: /home/<USER>/.kde/share/icons


    Making: /VideoIcons/32x32/mimetypes folders.

    That is:
    - VideoIcons folder has a subfolder 32x32.
    - 32x32 folder has a subfolder mimetypes.


    mimetypes folder has four png picture files:
    - video-mpeg.png
    - video-quicktime.png
    - video-x-msvideo.png
    - video-x-ms-wmv.png

    VideoIcons folder has a text file (index.theme):

    [Icon Theme]
    Name=VideoIcons

    Comment=Rog131

    DisplayDepth=32

    Inherits=hicolor

    Directories=32x32/mimetypes

    [32x32/mimetypes]
    Size=32
    Context=MimeTypes
    Type=Threshold

    Packing VideoIcons folder to the tar ball (Right clicking VideoIcons folder -> Compress -> Compress to tar.gz (1)) VideoIcons.tar.gz

    K > System Settings > Appearance > Icons > Install Theme File... > Drag and dropping VideoIcons.tar.gz to the Location line > Apply


    (1) Using Extract And Compress Service Menu
    http://www.kde-apps.org/content/show...?content=84206

    Extract And Compress can be found from a PPA repository: https://launchpad.net/~samrog131/+archive
    Attached Files
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: HOWTO : create own (partial) icon theme

      What is the icon associated with the txt files?
      I have some links to txt files on my desktop ant the icon is not clearly visible, so I would like to modify it adding a white border around the "T".
      Xwang

      Comment


        #4
        Re: HOWTO : create own (partial) icon theme

        What is the icon associated with the txt files?
        I have some links to txt files on my desktop ant the icon is not clearly visible, so I would like to modify it adding a white border around the "T".
        As said: icons are at /usr/share/icons.

        You could turn preview on and look to the subdirectories or use a imageviewer to view icon pictures (and icon names ).
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: HOWTO : create own (partial) icon theme

          Potentially stupid question here... If I create a partial icon them, what icons does KDE use for anything that I haven't defined? I have an icon theme that I'm using that I like but there are a few icons I would like to change so I'm thinking about creating a partial icon theme.

          Comment


            #6
            Re: HOWTO : create own (partial) icon theme

            If I create a partial icon them, what icons does KDE use for anything that I haven't defined?

            KDE will use defaults (Jaunty):
            Code:
            ls -l /usr/share/icons/default.kde
            lrwxrwxrwx 1 root root 10 2008-08-15 11:47 /media/tmp/usr/share/icons/default.kde -> crystalsvg
            Code:
            ls -l /usr/share/icons/default.kde4
            lrwxrwxrwx 1 root root 6 2008-08-15 11:49 /media/tmp/usr/share/icons/default.kde4 -> oxygen

            I have an icon theme that I'm using that I like but there are a few icons I would like to change so I'm thinking about creating a partial icon theme.
            I have been using (with the KDE 3.5) > Crystal-Project icons. It is not a pure Crystal, i have changed some of the icons. A simple tool > Paste (copy) over an existing file
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: HOWTO : create own (partial) icon theme

              Thanks for the info. Looking in the default.kde4 folder, I notice that I don't have a folder for mimetypes. What icons does KDE4 use by default for those?

              Comment


                #8
                Re: HOWTO : create own (partial) icon theme

                Thanks for the info. Looking in the default.kde4 folder, I notice that I don't have a folder for mimetypes. What icons does KDE4 use by default for those?


                Here:
                Code:
                find -L /usr/share/icons/default.kde4 -name mimetypes
                /usr/share/icons/default.kde4/16x16/mimetypes
                /usr/share/icons/default.kde4/22x22/mimetypes
                /usr/share/icons/default.kde4/128x128/mimetypes
                /usr/share/icons/default.kde4/scalable/mimetypes
                /usr/share/icons/default.kde4/32x32/mimetypes
                /usr/share/icons/default.kde4/64x64/mimetypes
                /usr/share/icons/default.kde4/48x48/mimetypes
                Before you edit, BACKUP !

                Why there are dead links ?
                1. Thread: Please explain how to access old kubuntu forum posts
                2. Thread: Lost Information

                Comment


                  #9
                  Re: HOWTO : create own (partial) icon theme

                  Kubuntu 9.04, Jaunty Jackalope


                  Making a text file: ~/.kde/share/icons/my_icons/index.theme
                  Code:
                  [Icon Theme]
                  Name=my_icons
                  
                  Comment=i_did_it
                  
                  DisplayDepth=32
                  
                  Inherits=hicolor
                  
                  Directories=64x64/places
                  
                  [64x64/places]
                  Size=64
                  Type=Threshold
                  Context=Places
                  and adding a picturefile: ~/.kde/share/icons/my_icons/64x64/places/start-here-kde.png.


                  Clicking System Settings > Apperance > Icons: Theme=my_icons. Apply


                  Now all applications that are using the "start-here-kde"-icon will use the icon from the ~/.kde/share/icons/my_icons/64x64/places/start-here-kde.png

                  Before you edit, BACKUP !

                  Why there are dead links ?
                  1. Thread: Please explain how to access old kubuntu forum posts
                  2. Thread: Lost Information

                  Comment


                    #10
                    Tuning a icon theme

                    1) Copy the theme to the ~/.kde/share/icons/. Rename the folder if the theme exist.

                    At here: /usr/share/icons/oxygen/ -> ~/.kde/share/icons/oxygen-folders/

                    2) Edit the index.theme.
                    Change the name <Name=Oxygen Folders> and the comment <Comment=Usual Suspect>.

                    3) Change the icon pictures.

                    Manually this is a laborious task.

                    There was a good start: http://kde-apps.org/content/show.php...content=122493.

                    This could be made a bit easier with a service menu: http://www.kubuntuforums.net/showthr...-Dolphin/page4.

                    Point&Right click.



                    The service menu will search and replace the icons with wanted pictures.



                    Using pictures from the http://www.iconarchive.com/category/folder-icons.html.

                    Few clicks later the theme is starting to shape.



                    Last edited by OneLine; Feb 26, 2012, 11:39 AM.
                    Have you tried ?

                    - How to Ask a Question on the Internet and Get It Answered
                    - How To Ask Questions The Smart Way

                    Comment

                    Working...
                    X