Discussion
Loading...

#Tag

Log in
  • Sign up
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
blinry
blinry
@blinry@chaos.social  ·  activity timestamp 5 days ago

So in trying to figure out why my pavucontrol is missing an icon, I learned a lot about how icon themes work today!

First, it seems that if your system is using dconf, #GTK 4 will only observe the value you see when running:

dconf read /org/gnome/desktop/interface/icon-theme

You can change it using:

dconf write /org/gnome/desktop/interface/icon-theme "'name-of-theme'"

(That's single quotes inside double quotes!)

This even seems to work while the application is running! :O

#gnome

blinry
blinry
@blinry@chaos.social replied  ·  activity timestamp 5 days ago

But where will GTK look for a theme of this name?

The answer is given in the freedesktop.org Icon Theme Specification! https://specifications.freedesktop.org/icon-theme/latest/

It will look in $HOME/.icons, all entries $XDG_DATA_DIRS (in the subdirectory icons/), and in /usr/share/pixmaps/.

It looks for subdirectories of the icon theme name you've set, and merge all contents it finds.

The $XDG_DATA_DIRS mechanism is especially important on #NixOS, because it allows you to dynamically reference the available themes there!

Icon Theme Specification

1 Overview # An icon theme is a set of icons that share a common look and feel. The user can then select the icon theme that they want to use, and all apps use icons from the theme. The initial user of icon themes is the icon field of the desktop file specification, but in the future it can have oth…
  • Copy link
  • Flag this comment
  • Block
rag. Gustavino Bevilacqua boosted
blinry
blinry
@blinry@chaos.social  ·  activity timestamp 6 days ago

Hmm, is anyone else missing this icon in pavucontrol? (On more "bare-bones" window managers, maybe?)

I'm trying to figure which piece I'd need to fix here. I'm on #NixOS, but that doesn't seem to be the only reason. :D

This seems to be the "emblem-default" icon https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/blob/master/src/devicewidget.ui?ref_type=heads#L80 which Nix' adwaita-icon-theme doesn't seem to have anymore…

The nixpkgs derivation is here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/pa/pavucontrol/package.nix

#gnome #gtk

The icon for "set as default" is missing, and replaced by a page icon with a warning triangle.
The icon for "set as default" is missing, and replaced by a page icon with a warning triangle.
The icon for "set as default" is missing, and replaced by a page icon with a warning triangle.
GitHub

nixpkgs/pkgs/by-name/pa/pavucontrol/package.nix at master · NixOS/nixpkgs

Nix Packages collection & NixOS. Contribute to NixOS/nixpkgs development by creating an account on GitHub.
  • Copy link
  • Flag this post
  • Block
blinry
blinry
@blinry@chaos.social  ·  activity timestamp 6 days ago

Hmm, is anyone else missing this icon in pavucontrol? (On more "bare-bones" window managers, maybe?)

I'm trying to figure which piece I'd need to fix here. I'm on #NixOS, but that doesn't seem to be the only reason. :D

This seems to be the "emblem-default" icon https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/blob/master/src/devicewidget.ui?ref_type=heads#L80 which Nix' adwaita-icon-theme doesn't seem to have anymore…

The nixpkgs derivation is here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/pa/pavucontrol/package.nix

#gnome #gtk

The icon for "set as default" is missing, and replaced by a page icon with a warning triangle.
The icon for "set as default" is missing, and replaced by a page icon with a warning triangle.
The icon for "set as default" is missing, and replaced by a page icon with a warning triangle.
GitHub

nixpkgs/pkgs/by-name/pa/pavucontrol/package.nix at master · NixOS/nixpkgs

Nix Packages collection & NixOS. Contribute to NixOS/nixpkgs development by creating an account on GitHub.
  • Copy link
  • Flag this post
  • Block
Lord Caramac the Clueless, KSC boosted
Paul Meyer
Paul Meyer
@katexochen@infosec.exchange  ·  activity timestamp last week

NixCon 2026 will take place in Kraków, Poland!
The SC approved the venue proposal: https://github.com/nixcon/nixcon-proposals/issues/6
#NixCon #NixCon2026 #Nix #NixOS

Auditorium of the selected conference center, holds 1200 people
Auditorium of the selected conference center, holds 1200 people
Auditorium of the selected conference center, holds 1200 people
  • Copy link
  • Flag this post
  • Block

Bonfire social

This is a bonfire demo instance for testing purposes

Bonfire social: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in Create account
  • Explore
  • About
  • Members
  • Code of Conduct