WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pavucontrol gtk2 icons  (Read 4960 times)

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
pavucontrol gtk2 icons
« on: March 08, 2019, 02:23:56 PM »
hello everyone in the forum,

I've installed and correctly configured pulseaudio and I've downloaded pavucontrol-gtk2 onboot.
I have to signal 2 things:

  • Some icons in the pavucontrol GUI are missing (they are not shown correctly) - how can I fix it?
    gnome-icons-theme, hicolor-icon-theme and adwaita-icon theme are in the onboot list already but the problem still exists
  • the mic level blue bar that indicates the level of the signal acquired is always high and moving even if I set the acquisition volume level to mute. Is this a bug?

Thank you

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: pavucontrol gtk2 icons
« Reply #1 on: March 08, 2019, 04:52:02 PM »
Hi alexo
If you start  pavucontrol  from a terminal, do you get any error or warning messages? There's also a setup file included in
that extension:
Code: [Select]
/usr/local/tce.installed/pavucontrol-gtk2You might take a look at what it does and make sure it succeeded.

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: pavucontrol gtk2 icons
« Reply #2 on: March 08, 2019, 11:12:06 PM »
Hi Rich,
this is the message I get launching pavucontrol-gtk2 fro terminal:

Code: [Select]
Normally all extra capabilities would be dropped now, but that's impossible because this Pulseaudio was built without libcap support.

In the folder you suggest there is only the symbolic link to the pavucontrol-gtk2 executable. I don't find any config file.

Thank you

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: pavucontrol gtk2 icons
« Reply #3 on: March 08, 2019, 11:26:33 PM »
Hi alexo
In the folder you suggest there is only the symbolic link to the pavucontrol-gtk2 executable. I don't find any config file.
That doesn't sound right. Are you sure? Doesn't the following command dump the contents of a brief script:
Code: [Select]
cat /usr/local/tce.installed/pavucontrol-gtk2

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: pavucontrol gtk2 icons
« Reply #4 on: March 09, 2019, 02:00:48 AM »
Hi Rich,

this is the output of the command:

Code: [Select]
cat: can't open '/usr/local/tce.installed/pavucontrol-gtk2': No such file or directory

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: pavucontrol gtk2 icons
« Reply #5 on: March 09, 2019, 08:57:24 AM »
Hi alexo
For every loaded extension, there is a directory entry with that extensions name in:
Code: [Select]
/usr/local/tce.installed/That directory entry will be one of two things, either a link to a script in the extension, or an empty file created by  tce-load.
In neither case should you see  "No such file or directory".  Does this produce an output:
Code: [Select]
ls -L /usr/local/tce.installed/ | grep -i pav

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: pavucontrol gtk2 icons
« Reply #6 on: March 09, 2019, 10:01:45 AM »
Hi alexo
  • Some icons in the pavucontrol GUI are missing (they are not shown correctly) - how can I fix it?
    gnome-icons-theme, hicolor-icon-theme and adwaita-icon theme are in the onboot list already but the problem still exists
Just a shot in the dark, but maybe you need to update gtk cache for hicolor before starting  pavucontrol:
Code: [Select]
sudo gtk-update-icon-cache -q -f -t /usr/local/share/icons/hicolor

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: pavucontrol gtk2 icons
« Reply #7 on: March 10, 2019, 07:16:12 AM »
Hi Rich,
this is the output of the command you suggested me:

Code: [Select]
tc@box:~$ ls -L /usr/local/tce.installed/ | grep -i pav
pavucontrol-gtk2


I run the other command you gave me and I relaunched pavucontrol-gtk2 but nothing has changed. Here is a screenshot showing pavucontrol-gtk2 GUI in action
« Last Edit: August 15, 2021, 12:05:55 PM by Rich »

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: pavucontrol gtk2 icons
« Reply #8 on: March 10, 2019, 07:19:45 AM »
after having updated the gtk cache I run again

Code: [Select]
tc@box:~$ cat /usr/local/tce.installed/pavucontrol-gtk2
#!/bin/sh

read USER < /etc/sysconfig/tcuser

if [ ! -d /home/"$USER"/.config ]; then
  mkdir /home/"$USER"/.config
  chown "$USER":staff /home/"$USER"/.config
fi

this time I have the script listed.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: pavucontrol gtk2 icons
« Reply #9 on: March 11, 2019, 01:28:54 AM »
The install script for adwaita-icon-theme (gnome-icon-theme is depreciated) updates the icon cache.

To get the icons to appear in pavucontrol-gtk2, create a file such that:
Code: [Select]
$ cat ~/.gtkrc-2.0
gtk-icon-theme-name = "Adwaita"

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: pavucontrol gtk2 icons
« Reply #10 on: March 11, 2019, 09:07:31 AM »
Hi Juanito,

with your suggestion the situation greatly improved. Almost all icons are showing up.
I attach a screenshot showing the actual situation. Just a single icon is now missing.

I tried to uninstall gnome-icon-theme but Apps says it will be removed evince2 too. If I deselect evince2 from the removing list the icon theme too is removed from the list. So I decided to keep the thing as they are now.


Thank you
« Last Edit: August 15, 2021, 12:06:18 PM by Rich »

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: pavucontrol gtk2 icons
« Reply #11 on: March 11, 2019, 09:28:00 AM »
joining together the ideas of Rich and Juanito I solved the problem as can be seen from the screenshot attached to this post.

this is what I did:


  • install gnome-icon-theme
  • sudo gtk-update-icon-cache -q -f -t /usr/local/share/icons/gnome
  • edit the file ~/.gtkrc-2.0 containing the following line: gtk-icon-theme-name = "gnome"

Just a note:

the command: cat /usr/local/tce.installed/pavucontrol-gtk2
shows the content of the file only after that pavucontrol-gtk2 has been started at least once otherwise it says the file doesn't exist.

thank you 

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: pavucontrol gtk2 icons
« Reply #12 on: March 11, 2019, 09:34:56 AM »
I forgot to post the screenshot.

sorry : )


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: pavucontrol gtk2 icons
« Reply #13 on: March 11, 2019, 09:38:47 AM »
Hi alexo
... the command: cat /usr/local/tce.installed/pavucontrol-gtk2
shows the content of the file only after that pavucontrol-gtk2 has been started at least once otherwise it says the file doesn't exist....
Do you by any chance have  pavucontrol-gtk2  loading  ondemand  instead of  onboot?

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: pavucontrol gtk2 icons
« Reply #14 on: March 11, 2019, 09:44:20 AM »
yes Rich,

pavucontrol-gtk2 is in the ondemand list.
This should explain why it was not found after the reboot. I'll put it onboot.

Thank you