Announcement

Collapse
No announcement yet.

[SOLVED] KDE 4.1.3 Widget Icons

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

    [SOLVED] KDE 4.1.3 Widget Icons

    Is it possible to change the icon that is used with a given widget?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    #2
    Re: KDE 4.1.3 Widget Icons

    I would think you could reverse-engineer the solution from looking at the widget itself, but as far as a gui interface to doing so, no AFAIK (other than lancelot, which is nice enough to give you that choice).

    I suppose the super lazy approach would be to change the icon in the system to what you want and see if that works (of course it would change any other instances).

    What are you trying to change? Trash can?

    Comment


      #3
      Re: KDE 4.1.3 Widget Icons

      Is it possible to change the icon that is used with a given widget?
      Yes, widgets/plasmoids/applets... are ordinary programs and are (or should use) using .desktop files > Topic: GtoK: .desktop files


      So trashcan plasmoid (plasma-applet-trash) has a .desktop file: /usr/share/kde4/services/plasma-applet-trash.desktop and it has:
      Code:
      ...
      Icon=user-trash
      ..
      => "Add widgets" (Ctrl-A) should show a icon called "user-trash"


      Icons are at /usr/share/icons and oxygen theme has:
      /usr/share/icons/oxygen/128x128/places/user-trash.png
      /usr/share/icons/oxygen/16x16/places/user-trash.png
      /usr/share/icons/oxygen/22x22/places/user-trash.png
      /usr/share/icons/oxygen/32x32/places/user-trash.png
      /usr/share/icons/oxygen/48x48/places/user-trash.png
      /usr/share/icons/oxygen/64x64/places/user-trash.png
      You could change the "Icon=..." at the .desktop file or you could make a own partial icon theme > HOWTO : create own (partial) icon theme


      I think that the trashcan plasmoid is using:

      The empty trashcan is "user-trash"
      /usr/share/icons/oxygen/128x128/places/user-trash.png
      /usr/share/icons/oxygen/16x16/places/user-trash.png
      /usr/share/icons/oxygen/22x22/places/user-trash.png
      /usr/share/icons/oxygen/32x32/places/user-trash.png
      /usr/share/icons/oxygen/48x48/places/user-trash.png
      /usr/share/icons/oxygen/64x64/places/user-trash.png
      and the full trashcan is "user-trash-full"
      /usr/share/icons/oxygen/128x128/status/user-trash-full.png
      /usr/share/icons/oxygen/16x16/status/user-trash-full.png
      /usr/share/icons/oxygen/22x22/status/user-trash-full.png
      /usr/share/icons/oxygen/32x32/status/user-trash-full.png
      /usr/share/icons/oxygen/48x48/status/user-trash-full.png
      /usr/share/icons/oxygen/64x64/status/user-trash-full.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


        #4
        Re: KDE 4.1.3 Widget Icons

        Thank you Rog! Very helpful as usual. Now I can modify selected icons if I wish. Cool. 8)
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment

        Working...
        X