Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-11-10 02:08:34

File Manager
Member
Registered: 2019-11-01
Posts: 62

Is it possible to change notification history icon?

Hi,

I use Gnome icon theme. There are no monochrome icons. However, the notification history panel plugin does not change. Is it possible to change this icon or is it hard-coded into the plugin? I have not been able to locate this icon and I have searched both Gnome and Adwaita icon themes.

Xfce 4.14 panel screenshot from MX 19.
Xfce-414-panel.png

Full size:
https://postimg.cc/9RgHMMsT

Offline

#2 2019-11-10 11:24:17

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,949

Re: Is it possible to change notification history icon?

There are two ways that you might do this:

  1. You can re-color the icon by using the following in ~/.config/gtk-3.0/gtk.css:

    #xfce4-notification-plugin { color: lightblue; }

    -

  2. To replace the icon, you will need to create 4 new png icons in /usr/share/icons/gnome/*x*/status (*x* being the 16x16, 22x22, 24x24, etc directories - depending on the size of your panel):
    - notification.png
    - notification-new.png
    - notification-disabled.png
    - notification-disabled-new.png
    ...run "sudo gtk-update-icon-cache /usr/share/icons/gnome", and then add the following to ~/.config/gtk-3.0/gtk.css:

    #xfce4-notification-plugin { -gtk-icon-style: regular; }

Note: any changes made to the gnome icon theme may get overwritten if the gnome icon them is updated.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#3 2019-11-10 13:02:36

File Manager
Member
Registered: 2019-11-01
Posts: 62

Re: Is it possible to change notification history icon?

Very comprehensive answer. Thanks a lot!

Offline

Board footer

Powered by FluxBB