Battery icon from wrong theme with xfce4-power-manager


Not entirely sure this is exactly the right section, but here is the problem I have:

I’m using XFCE4-power-manager to manage the power settings on a Manjaro awesome edition (XFCE4-power-manager is just the default, really). My icon theme is Papirus-Dark-Maia, which should give me a nice white battery icon (which I checked with the icon browser, GitHub - v1cont/yad: Yet Another Dialog). However, the power manager uses a dark icon instead, which, given that the background is dark as well, gives a barely visible outline. As far as I can tell it’s the icon from Papirus-Light-Maia or Papirus.

This has been going on for a long while already, but it never bothered me before since my laptop was mostly plugged in. Now it isn’t anymore, though, so I’d like to actually see the icon, and I thought I just needed to change the icon in the theme but I realized the icon shouldn’t be the one I see. Now, though, I’d appreciate any help in figuring out why this happens and how to fix it.

Thanks in advance!

In case it is relevant, the output from inxi -Fazy:

  Kernel: 5.10.19-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=26505fa8-bb0c-4ae5-9de4-c22a5dcfa957 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Xfce 4.16.2 wm: awesome 4.3 dm: LightDM 1.30.0 
  Distro: Manjaro Linux 
  Type: Laptop System: Dell product: Inspiron 15 5501 v: N/A serial: <filter> 
  Chassis: type: 10 serial: <filter> 
  Mobo: Dell model: 06TT8N v: A00 serial: <filter> UEFI: Dell v: 1.5.3 
  date: 12/18/2020 
  ID-1: BAT0 charge: 53.0 Wh condition: 53.0/53.0 Wh (100%) volts: 17.0/15.0 
  model: SMP DELL 9077G07 type: Li-poly serial: <filter> status: Full 
  Info: Quad Core model: Intel Core i7-1065G7 bits: 64 type: MT MCP 
  arch: Ice Lake family: 6 model-id: 7E (126) stepping: 5 microcode: A0 
  L2 cache: 8 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 23968 
  Speed: 1900 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 1900 2: 1900 
  3: 1900 4: 570 5: 1900 6: 1900 7: 1900 8: 1603 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
  Device-1: Intel Iris Plus Graphics G7 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:8a52 class ID: 0300 
  Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus ID: 3-6:2 chip ID: 0bda:565a class ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.10 compositor: compton driver: loaded: intel 
  unloaded: modesetting alternate: fbdev,vesa display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") 
  diag: 389mm (15.3") 
  OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2) v: 4.6 Mesa 20.3.4 
  direct render: Yes 
  Device-1: Intel Smart Sound Audio vendor: Dell driver: snd_hda_intel 
  v: kernel alternate: snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:34c8 
  class ID: 0403 
  Sound Server: ALSA v: k5.10.19-1-MANJARO 
  Device-1: Intel Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter 
  driver: iwlwifi v: kernel port: 3000 bus ID: 00:14.3 chip ID: 8086:34f0 
  class ID: 0280 
  IF: wlp0s20f3 state: up mac: <filter> 
  Device-1: Intel type: USB driver: btusb v: 0.8 bus ID: 3-10:3 
  chip ID: 8087:0026 class ID: e001 
  Message: Required tool hciconfig not installed. Check --recommends 
  Local Storage: total: 476.94 GiB used: 294.7 GiB (61.8%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba 
  model: KBG40ZNS512G NVMe KIOXIA 512GB size: 476.94 GiB block size: 
  physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD 
  serial: <filter> rev: 10410104 temp: 39.9 C scheme: GPT 
  ID-1: / raw size: 99.5 GiB size: 97.44 GiB (97.93%) used: 57.35 GiB (58.9%) 
  fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4 
  ID-2: /boot/efi raw size: 512 MiB size: 511 MiB (99.80%) 
  used: 308 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p9 maj-min: 259:9 
  Alert: No Swap data was found. 
  System Temperatures: cpu: 82.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 4132 
  Processes: 251 Uptime: 3h 32m wakeups: 18792 Memory: 15.41 GiB 
  used: 4.39 GiB (28.5%) Init: systemd v: 247 Compilers: gcc: 10.2.0 
  clang: 11.1.0 Packages: pacman: 2014 lib: 448 flatpak: 0 Shell: Zsh v: 5.8 
  running in: xfce4-terminal inxi: 3.3.01 

@Ste74 —^


(Sorry for pinging you directly, but there doesn’t seem to be an “issues” tab on the GitHub repository)


maybe related to this?

battery icons comes from papirus

1 Like

I don’t think so, or at least not directly; upower -d says it should use ‘battery-full-charged-symbolic’. I checked in /usr/share/icons/Papirus-Dark-Maia/ and there was no symbolic folder, according to the index.theme file it should inherit it from Papirus-Dark (it says: “Inherits=Papirus-Dark,Papirus,breeze,gnome,hicolor”, and Papirus-Dark has a “symbolic” folder with the right icon. Just in case I put symbolic link to said folder in /usr/share/icons/Papirus-Dark-Maia/, and added the subdirectories in the index.theme (by copying the relevant lines after directories and at the end of the index.theme file in Papirus-Dark-Maia) and that somehow got the sound icon (from pa-applet) to become dark as well instead of white, after reboot.

Also, I just tried changing the name of the Papirus folder (/usr/share/icons/Papirus), and somehow that messes up (after reboot) most icons but not the one for the battery, which stays in the dark version of the battery, so I’m a bit lost as to what’s going on there since that dark battery icon, as far as I can tell, among the themes mentioned in the inheritance for Papirus-Dark-Maia, appears only in the Papirus theme.

And a last bit of information which I hadn’t thought to check before, it seems that when changing icon theme in the appearance gui both the xfce4-power-manager and the pa-applet have an unchanging icon, so they must take it from somewhere non-standard, I guess. (only the battery one really bothers me, the other being the right one in my particular case)