Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cbatticon has no icon #21731

Open
ravloony opened this issue Jan 7, 2017 · 7 comments
Open

Cbatticon has no icon #21731

ravloony opened this issue Jan 7, 2017 · 7 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@ravloony
Copy link

ravloony commented Jan 7, 2017

Issue description

In my awesomewm tray, the cbatticon is visible, but uses the default "no icon available" icon.

I set my .config/gtk-3.0/settings.ini up with
[Settings]
gtk-fallback-icon-theme = Adwaita
gtk-icon-theme-name = Paper

But this had no effect, except to use the "no icon available" icon from Paper

Steps to reproduce

Cbatticon is in my configuration.nix and is autostarted on login:
services.xserver = {
enable = true;
windowManager.awesome.enable = true;
windowManager.default = "awesome";
displayManager = {
slim.defaultUser = "bobbles";
sessionCommands = ''
${pkgs.networkmanagerapplet}/bin/nm-applet &
${pkgs.cbatticon}/bin/cbatticon &
'';
};

environment.systemPackages = with pkgs; [

#...

cbatticon

#...
];

Technical details

  • System: 17.03pre98008.59dbcef (Gorilla)
  • Nix version: 111.4
  • Nixpkgs version: 17.03pre98383.7ee897a
@thufschmitt
Copy link
Member

What does running cbatticon from a terminal says ?
On my machine, it complains about the "battery-low-ltr" (or "battery-low-charging-ltr" depending on wether my laptop is plugged or not) missing.
A quick web search seems to indicate that those icons don't exist anywhere (but their equivalent without "-ltr" suffix do), so this is probably an upstream bug.

@ravloony
Copy link
Author

I tried, but there was no output. I'll try tomorrow again (problem is on work computer), because I found this issue: valr/cbatticon#13 which says to try with the debug flag -d. Maybe it will help.

@ravloony
Copy link
Author

It says icon name: battery-full-charged. Maybe this is the issue.

@mmahut
Copy link
Member

mmahut commented Aug 11, 2019

Are there any updates to this issue, please?

@stale
Copy link

stale bot commented Jun 2, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
@xinyifly
Copy link

I can simply get the icon to be shown by adding package gnome3.adwaita-icon-theme referenced here .

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Dec 13, 2021
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 12, 2022
@monomycelium
Copy link

I am using Waybar v0.9.22 on Sway WM 1.8.1, and I am also facing a similar problem, where a system tray icon is not visible. The debug information shows that the icon name is battery-good-symbolic, which is available in my current icon theme (/usr/share/icons/Adwaita/symbolic/legacy/battery-good-symbolic.svg).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

5 participants