You are not logged in.

#1 2021-09-20 05:49:31

gardenair
Member
Registered: 2021-08-17
Posts: 42

[SOLVED]Sound icon Issue in xfce

hi,
        I am using Dell Latitude 6430 Laptop and I have installed fresh arch Linux on it using XFCE. I just install

[root@testpc ~]# pacman -S alsa-utils 

then

[root@testpc ~]# alsamixer

In Master i click on "MM" and "change it to "oo"

root@testpc ~]# speaker-test -c2

speaker-test 1.2.5.1

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.651985
 0 - Front Left
 1 - Front Right

I can hear sound from the laptop speakers. Even if I click on any mp4 video I can listen the sound.The issue is that I can't control the volume icon which is located on system tray. There is a tiny cross with the speaker  icon .By single click on  on the sound icon,then Audio mixer,  it shows  a dialog box with message as following

       Error
Failed to execute command "pavucontrol".
Failed to execute child process  "pavucontrol" (No such file or directory)

I even can not control my Microphone because these is cross on icon.

Well If I issue the command

[root@testpc ~]# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD93BXX Analog [92HD93BXX Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[root@testpc ~]# 

To test Microphone sound from command line.

[root@testpc ~]# arecord --duration=5 --format=dat test-mic.wav
Recording WAVE 'test-mic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[root@testpc ~]# aplay test-mic.wav
Playing WAVE 'test-mic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[root@testpc ~]# 

I can’t listen any voice/sound back.Screen shorts links  are  as under.

https://ibb.co/ZSYQhBj
https://ibb.co/3czJ3Rd

Thanks in advance.
gardenair

Last edited by gardenair (2021-09-20 10:09:07)

Offline

#2 2021-09-20 05:58:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Sound icon Issue in xfce

Are you running your graphical session as root? If not, why are you running all of those commands with elevated privileges?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-09-20 06:49:36

gardenair
Member
Registered: 2021-08-17
Posts: 42

Re: [SOLVED]Sound icon Issue in xfce

Yes I just login as root  and perform the action. Using my regular account there are same things regarding to sound.Is it  xfce problem ? Kindly guide how may I fix the issue.
Thanks

Offline

#4 2021-09-20 07:59:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Sound icon Issue in xfce

Don't run X as root.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2021-09-20 08:07:28

gardenair
Member
Registered: 2021-08-17
Posts: 42

Re: [SOLVED]Sound icon Issue in xfce

Yes of course from X  I switch into my regular user.

Offline

#6 2021-09-20 08:16:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]Sound icon Issue in xfce

pacman -Q pavucontrol
pacman -Q xfce4-goodies

Last edited by jasonwryan (2021-09-20 08:18:42)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2021-09-20 08:50:39

gardenair
Member
Registered: 2021-08-17
Posts: 42

Re: [SOLVED]Sound icon Issue in xfce

Thanks for your reply. Well I use the command

[pc@testpc ~] $ sudo pacman -S pulseaudio-alsa
[pc@testpc ~] $ sudo pacman -S pulseaudio-equalizer
[pc@testpc ~] $ sudo pacman -S pulseaudio-jack

After applying these commands I reboot the laptop ,login into my normal user.This time I can see that that the tiny cross from the speaker is disappeared and I can control my sound and microphone volume by single click on it.
When I click on Audio mixer it shows same dialog box

                             Error
Failed to execute command "pavucontrol".
Failed to execute child process  "pavucontrol" (No such file or directory)

As I apply the commands which you have guided me

[pc@testpc ~] $ sudo pacman -Q pavucontrol
error: package 'pavucontrol'was not found
[pc@testpc ~] $ sudo pacman -Q xfce4-goodies
error: package 'xfce4-goodies'was not found

Well during Arch installation I use the command

$ sudo pacman -S xorg xfce4 xfce4-goodies lightdm lightdm-gtk-greeter
$ sudo systemctl enable lightdm

Now I does 't know why xfce-goodies not showing output.

Offline

#8 2021-09-20 08:56:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,650

Re: [SOLVED]Sound icon Issue in xfce

xfce4-goodies is a package group rather than a normal package so it's normal a -Q query isn't found. To make the pulse plugin/pavucontrol integration work you'll just need to install pavucontrol.

Offline

#9 2021-09-20 09:50:05

kermit63
Member
Registered: 2018-07-04
Posts: 174

Re: [SOLVED]Sound icon Issue in xfce

The critical package that you need from xfce4-goodies is xfce4-pulseaudio-plugin. I'm not sure if it's selected by default by installing xfce4-goodies. It wasn't installed by default when I created my arch xfce install about 5 years ago, so I have to manually install it.

Online

#10 2021-09-20 10:07:40

gardenair
Member
Registered: 2021-08-17
Posts: 42

Re: [SOLVED]Sound icon Issue in xfce

Thanks a lot for the guidance. Now every thing related to sound is working on my  laptop. The site  https://wiki.archlinux.org/title/PulseAudio also help me in this regard.

Offline

Board footer

Powered by FluxBB