You are not logged in.
Hello everybody. The battery, the pulse-audio and the notification plugin icons on my panel are ignoring both the theme and the ~/.config/gtk-3.0/gtk.css file.
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: SLiM 1.3.6 Distro: Debian GNU/Linux 11 (bullseye)
base: Debian GNU/Linux 11 (bullseye)
rawyak@zenbook:~
$ cat .config/gtk-3.0/gtk.css
/*set custom gtk3/css code below */
#xfce4-power-manager-plugin image {
-gtk-icon-transform: scale(0.70);
}
#xfce4-notification-plugin image {
-gtk-icon-transform: scale(0.70);
}
#pulseaudio-button {
-gtk-icon-transform: scale(0.70);
}
What can I try to do?
Thank you for your time.
Last edited by -iak- (2022-03-13 10:18:08)
Offline
The code should work.
Try quitting the panel:
xfce4-panel -q
...and then restart it in debug mode:
PANEL_DEBUG=1 xfce4-panel
...and post back the output.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
The code should work.
Try quitting the panel:
xfce4-panel -q
...and then restart it in debug mode:
PANEL_DEBUG=1 xfce4-panel
...and post back the output.
rawyak@zenbook:~
$ PANEL_DEBUG=1 xfce4-panel
xfce4-panel(main): version 4.16.3 on gtk+ 3.24.24 (3.24.24), glib 2.66.8 (2.66.8)
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins
xfce4-panel(application): found window manager after 1 tries
xfce4-panel(base-window): 0x563691bca280: rgba visual=0x563691b484a0, compositing=true
xfce4-panel(base-window): 0x563691bca280: rgba visual=0x563691b484a0, compositing=true
xfce4-panel(display-layout): 0x563691bca280: display=:0.0{comp=true}, screen-0[0x563691b28020]=[1920,1080] (eDP-1=[0,0;1920,1080])
xfce4-panel(positioning): 0x563691bca280: screen=0x563691b28020, monitors=1, output-name=Automatic, span-monitors=false, base=968,1171
xfce4-panel(positioning): 0x563691bca280: working-area: screen=0x563691b28020, x=0, y=0, w=1920, h=1080
xfce4-panel(struts): 0x563691bca280: bottom=41, start_x=0, end_x=1919
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/4
xfce4-panel(module): new item (type=external-wrapper, name=whiskermenu, id=4)
xfce4-panel(external): whiskermenu-4: child spawned; pid=7177, argc=7
xfce4-panel(module): new item (type=object-type, name=separator, id=2)
xfce4-panel(module): new item (type=object-type, name=launcher, id=8)
xfce4-panel(module): new item (type=object-type, name=launcher, id=1)
xfce4-panel(module): new item (type=object-type, name=directorymenu, id=14)
xfce4-panel(module): new item (type=object-type, name=launcher, id=11)
xfce4-panel(module): new item (type=object-type, name=launcher, id=10)
xfce4-panel(module): new item (type=object-type, name=separator, id=9)
xfce4-panel(module): new item (type=object-type, name=launcher, id=13)
xfce4-panel(module): new item (type=object-type, name=tasklist, id=16)
xfce4-panel(module): new item (type=object-type, name=separator, id=5)
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/12
xfce4-panel(module): new item (type=external-wrapper, name=weather, id=12)
xfce4-panel(external): weather-12: child spawned; pid=7180, argc=7
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/3
xfce4-panel(module): new item (type=external-wrapper, name=pulseaudio, id=3)
xfce4-panel(external): pulseaudio-3: child spawned; pid=7181, argc=7
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/15
xfce4-panel(module): new item (type=external-wrapper, name=notification-plugin, id=15)
xfce4-panel(external): notification-plugin-15: child spawned; pid=7182, argc=7
xfce4-panel(external): register dbus path /org/xfce/Panel/Wrapper/6
xfce4-panel(module): new item (type=external-wrapper, name=systray, id=6)
xfce4-panel(external): systray-6: child spawned; pid=7183, argc=7
xfce4-panel(module): new item (type=object-type, name=clock, id=7)
xfce4-panel(module): new item (type=object-type, name=separator, id=19)
xfce4-panel(module): new item (type=object-type, name=launcher, id=22)
xfce4-panel(external): weather-12: child is embedded; 8 properties in queue
xfce4-panel(external): whiskermenu-4: child is embedded; 8 properties in queue
xfce4-panel(external): pulseaudio-3: child is embedded; 8 properties in queue
xfce4-panel(external): notification-plugin-15: child is embedded; 8 properties in queue
(wrapper-2.0:7182): GLib-GIO-CRITICAL **: 10:52:28.504: g_file_new_for_path: assertion 'path != NULL' failed
(wrapper-2.0:7182): GLib-GIO-CRITICAL **: 10:52:28.504: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed
(wrapper-2.0:7182): GLib-GObject-WARNING **: 10:52:28.504: invalid (NULL) pointer instance
(wrapper-2.0:7182): GLib-GObject-CRITICAL **: 10:52:28.504: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(wrapper-2.0:7182): Gtk-WARNING **: 10:52:28.504: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.
xfce4-panel(external): systray-6: child is embedded; 8 properties in queue
xfce4-panel(systray): rgba visual is 0x559b3c8c40a0
xfce4-panel(systray): registered manager on screen 0
(wrapper-2.0:7181): Gtk-WARNING **: 10:52:28.573: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)
(wrapper-2.0:7182): Gtk-WARNING **: 10:52:28.574: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
(wrapper-2.0:7180): Gtk-WARNING **: 10:52:28.574: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
weather-Message: 10:52:29.164: Recupero di https://api.met.no/weatherapi/locationforecast/2.0/classic?lat=52.532100&lon=13.401200&altitude=47
(wrapper-2.0:7177): Gtk-WARNING **: 10:52:29.432: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
Offline
What does the following return:
gio info ~/.config/gtk-3.0/gtk.css
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
What does the following return:
gio info ~/.config/gtk-3.0/gtk.css
rawyak@zenbook:~
$ gio info ~/.config/gtk-3.0/gtk.css
nome visibile: gtk.css
nome modificabile: gtk.css
nome: gtk.css
tipo: regular
dimensione: 251
uri: file:///home/rawyak/.config/gtk-3.0/gtk.css
percorso locale: /home/rawyak/.config/gtk-3.0/gtk.css
mount unix: /dev/nvme0n1p7 /home ext4 rw,noatime
attributi:
standard::type: 1
standard::name: gtk.css
standard::display-name: gtk.css
standard::edit-name: gtk.css
standard::copy-name: gtk.css
standard::icon: text-css, text-x-generic, text-css-symbolic, text-x-generic-symbolic
standard::content-type: text/css
standard::fast-content-type: text/css
standard::size: 251
standard::allocated-size: 4096
standard::symbolic-icon: text-css-symbolic, text-x-generic-symbolic, text-css, text-x-generic
etag::value: 1646648950:784135
id::file: l66311:138342
id::filesystem: l66311
access::can-read: TRUE
access::can-write: TRUE
access::can-execute: FALSE
access::can-delete: TRUE
access::can-trash: TRUE
access::can-rename: TRUE
time::modified: 1646648950
time::modified-usec: 784135
time::access: 1645656157
time::access-usec: 861363
time::changed: 1646648950
time::changed-usec: 784135
time::created: 1645656157
time::created-usec: 861363
unix::device: 66311
unix::inode: 138342
unix::mode: 33188
unix::nlink: 1
unix::uid: 1000
unix::gid: 1000
unix::rdev: 0
unix::block-size: 4096
unix::blocks: 8
owner::user: rawyak
owner::user-real:
owner::group: rawyak
Offline
Try this as your gtk.css file contents:
/*set custom gtk3/css code below */
#xfce4-power-manager-plugin image {
-gtk-icon-transform: scale(0.50);
color: #004589;
}
#xfce4-notification-plugin image {
-gtk-icon-transform: scale(0.50);
color: #004589;
}
#pulseaudio-button {
-gtk-icon-transform: scale(0.50);
color: #004589;
}
Restart the panel for it to take effect.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Try this as your gtk.css file contents:
/*set custom gtk3/css code below */ #xfce4-power-manager-plugin image { -gtk-icon-transform: scale(0.50); color: #004589; } #xfce4-notification-plugin image { -gtk-icon-transform: scale(0.50); color: #004589; } #pulseaudio-button { -gtk-icon-transform: scale(0.50); color: #004589; }
Restart the panel for it to take effect.
This is the result:
No way to set the pulseaudio icon's size correctly
Offline
Try with #pulseaudio-button image selector.
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Try with #pulseaudio-button image selector.
oops. Thanks for the catch.
@-iak-, the power-manager icon, is that the tray icon (as opposed to the power-manager-plugin)? The only way to change the tray icon is to manually change the icon that is being used. If you add the power-manager-plugin to the panel, then you can change it using the #xfce4-power-manager-plugin selector.
Last edited by ToZ (2022-03-12 17:58:42)
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Now everything is perfect, thank you guys!
Offline
#xfce4-notification-plugin image { -gtk-icon-transform: scale(0.50); color: #004589;
if you can do that can you change the icon completely , like to the windows 10 messeg new and none? \/ sooo you can make when that 1st one down thar when a new messeg is thar and when thars no messegs its black like on the bottem
of this text. debian11 xfce4, file:///tmp/indicator-messages-new.png
file:///tmp/indicator-messages.png idk if the links work
Last edited by i386 ibm T4x (2025-01-11 17:23:34)
im gamer and a bug fixer and im from the same name from debian forums, and my youtuber account is https://youtube.com/@rambley-k4z subscribe to my youtube channel if you want, and hi @FreewheelinFrank a debian forumr!
Offline
Depends on the version you are using. With newer versions you can tweak the icon size and hide the icon when there are no notifications from the settings dialog:
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
hmmm well i dont do full upgrades and my dad wont wast storeg and mine is 32bit but hey wer both famous becose im a youtuber and your a forumer way better tho
ya mine is black and dont have thos feters
edit > can you go into the system files to find the names for the new and none? and send me it? forgot tell me about whear its at like the file lotahon like ?????????status/22x22 ??????? il show you my screen
edit2 > mi system is debian 11 xfce4.
Added later 33 min 16 s:
Im not a robot [_]
thats for no AI
Last edited by i386 ibm T4x (2025-01-11 18:06:34)
im gamer and a bug fixer and im from the same name from debian forums, and my youtuber account is https://youtube.com/@rambley-k4z subscribe to my youtube channel if you want, and hi @FreewheelinFrank a debian forumr!
Offline
edit > can you go into the system files to find the names for the new and none? and send me it?
edit2 > mi system is debian 11 xfce4.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
thx ToZ you and @FreewheelinFrank debian forumer helped me win this debian fight hope it stays that way for debian 13. so AI wont take our credit thats why i added the im not a robot [_] thing bye! ps im adding you 2 in my new icon pack
Added later 10 h 57 min 06 s:
the icon pack is now avilable link> https://github.com/win10-ToZ-Freewheeli … full-icons
im gamer and a bug fixer and im from the same name from debian forums, and my youtuber account is https://youtube.com/@rambley-k4z subscribe to my youtube channel if you want, and hi @FreewheelinFrank a debian forumr!
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 643.7 KiB (Peak: 676.98 KiB) ]