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

virt-manager: Missing toolbar icons #130034

Open
mz-pdm opened this issue Jul 12, 2021 · 7 comments
Open

virt-manager: Missing toolbar icons #130034

mz-pdm opened this issue Jul 12, 2021 · 7 comments
Labels
0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@mz-pdm
Copy link

mz-pdm commented Jul 12, 2021

Describe the bug
The toolbar buttons for running, stopping, etc. VMs don't have their normal icons, just some default replacements.

To Reproduce
Steps to reproduce the behavior:

  1. Start virt-manager.
  2. Look at its toolbar.

Expected behavior
All the virt-manager toolbar buttons have their usual icons.

Screenshots
toolbar screenshot

Notify maintainers
@qknight @offline @fpletz @globin

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.10.48, NixOS, 21.05.1408.9376bf7b342 (Okapi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.12
  • channels(root): "nixos-21.05.1408.9376bf7b342, nixos-unstable-21.11pre301414.45fc7d4a35c"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@mz-pdm mz-pdm added the 0.kind: bug Something is broken label Jul 12, 2021
@jtojnar
Copy link
Member

jtojnar commented Jul 13, 2021

Do you have some icon theme installed? We leave the icon set choice up to user. See #43150 for more info.

@mz-pdm
Copy link
Author

mz-pdm commented Jul 13, 2021

Yes, I have hicolor-icon-theme-0.17 and adwaita-icon-theme-40.1.1. I tried to set xdg.icons.enable = true and it didn't help. virt-manager is the only application so far missing (some) toolbar icons.

@John-Rodriguez-Git
Copy link

Works for me:
2021-07-13_22-15

@mz-pdm
Copy link
Author

mz-pdm commented Jul 14, 2021

Now the question is what's different in your environment. I have KDE:

  services.xserver.displayManager.sddm.enable = true;
  services.xserver.desktopManager.plasma5.enable = true;

Does it work for anybody with KDE?

@John-Rodriguez-Git
Copy link

I have KDE and cinnamon. I tried it with KDE this time:
Screenshot_20210714_224948

virtualisation.libvirtd.enable = true;
users.mutableUsers = true;            
sound.enable = true;
networking.networkmanager.enable = true;
      services.flatpak.enable = true;
programs.fish.enable = true;
programs.firejail = {
enable = true;
wrappedBinaries = {
firefox = {
    executable = "${lib.getBin pkgs.firefox}/bin/firefox";
    profile = "${pkgs.firejail}/etc/firejail/firefox.profile";
  };
  mpv = {
    executable = "${lib.getBin pkgs.mpv}/bin/mpv";
    profile = "${pkgs.firejail}/etc/firejail/mpv.profile";
  };
};
};

  # networking.hostName = "nixos"; # Define your hostname.
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.

  # The global useDHCP flag is deprecated, therefore explicitly set to false here.
  # Per-interface useDHCP will be mandatory in the future, so this generated config
  # replicates the default behaviour.
  networking.useDHCP = false;
  networking.interfaces.enp3s0.useDHCP = true;

  # Configure network proxy if necessary
  # networking.proxy.default = "http://user:password@proxy:port/";
  # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

  # Select internationalisation properties.
  # i18n.defaultLocale = "en_US.UTF-8";
  # console = {
  #   font = "Lat2-Terminus16";
  #   keyMap = "us";
  # };

  # Enable the X11 windowing system.
  services.xserver.enable = true;
services.cinnamon.apps.enable = true;
services.xserver.desktopManager.cinnamon.enable = true;

  # Enable the Plasma 5 Desktop Environment.
  services.xserver.displayManager.sddm.enable = true;
  services.xserver.desktopManager.plasma5.enable = true;
  

  # Configure keymap in X11
  services.xserver.layout = 

@mz-pdm
Copy link
Author

mz-pdm commented Jul 15, 2021

Thank you. After adding

services.cinnamon.apps.enable = true;
services.xserver.desktopManager.cinnamon.enable = true;

to my configuration, virt-manager got its icons. I could see that the options above installed some additional icon themes. It seems humanity-icon-theme is the right one that contains all the icons needed by virt-manager.

So is some dependency missing in virt-manager?

@stale
Copy link

stale bot commented May 1, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

3 participants