Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: alexo 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
-
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:
/usr/local/tce.installed/pavucontrol-gtk2
You might take a look at what it does and make sure it succeeded.
-
Hi Rich,
this is the message I get launching pavucontrol-gtk2 fro terminal:
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
-
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:
cat /usr/local/tce.installed/pavucontrol-gtk2
-
Hi Rich,
this is the output of the command:
cat: can't open '/usr/local/tce.installed/pavucontrol-gtk2': No such file or directory
-
Hi alexo
For every loaded extension, there is a directory entry with that extensions name in:
/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:
ls -L /usr/local/tce.installed/ | grep -i pav
-
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:
sudo gtk-update-icon-cache -q -f -t /usr/local/share/icons/hicolor
-
Hi Rich,
this is the output of the command you suggested me:
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
-
after having updated the gtk cache I run again
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.
-
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: $ cat ~/.gtkrc-2.0
gtk-icon-theme-name = "Adwaita"
-
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
-
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
-
I forgot to post the screenshot.
sorry : )
-
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?
-
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
-
Hi alexo
Aha! So you were not being honest with me when you stated:
hello everyone in the forum,
I've installed and correctly configured pulseaudio and I've downloaded pavucontrol-gtk2 onboot. ...
That was very naughty. Very naughty indeed. ;D
-
Rich, I've not been clear. Sorry for the misunderstanding.
I had pulseaudio onboot and, evidently, pavucontrol-gtk2 ondemand. I expressed that wrongly. :o
All's well what ends well...
thank you,
cheers