How to adjust the volume on FreeBSD after installing XFCE?

Hello, I'm new to FreeBSD. After installing FreeBSD along with XFCE, I then installed Firefox to watch videos and listen to music on YouTube. However, when I watch videos or listen to music on YouTube, the volume is quite low, and I don't know how to adjust the volume to my liking.

I would appreciate any help or advice from everyone. Thank you!
 
Doesn't xfce have a control widget somewhere to control volume? Sound settings, Pulsaudio mixer?
Perhaps I actually went into the XFCE settings and didn't see the volume control button from 0% to 100%. I wonder if I've missed installing a package for XFCE, or if there's another way to adjust the sound?
 
mixer(8) is the standard for X to be used in shell.
in ~/.xinit I have
sh:
mixer vol 100:100
mixer speaker 100:100
mixer mix 100:100
to set all audio output to 100% by default.
You can use mixer to have control over your whole audio I/O channels, but to do it all in the shell is not very comfortable.
For individual volume adjusting in usage I use the according software's regulator (VLC, mpv), or use the physical rotary knob for master volume of my speaker system.
 
Perhaps I actually went into the XFCE settings and didn't see the volume control button from 0% to 100%. I wonder if I've missed installing a package for XFCE, or if there's another way to adjust the sound?
I don't know about a missing package, it's been a long time since I've used xfce.
But bda65 has the standard solution on FreeBSD. You may need to run it as root.
 
If you run a standard FreeBSD Xfce4 install, you want to install xfce4-pulseaudio-plugin. Then it just as simple as right-clicking on your panel of choice, do "Panel". "Add New Item" and the choose the PulseAudio plugin.
 
I bound mixer to Volume keys (keyboard knob controls volume on Xfce without notification):
Code:
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/AudioRaiseVolume' --type 'string' --set "'/usr/sbin/mixer' 'vol'='+5%'" --create
Code:
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/AudioLowerVolume' --type 'string' --set "'/usr/sbin/mixer' 'vol'='-5%'" --create
Code:
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/AudioMute' --type 'string' --set "'/usr/sbin/mixer' 'vol'.'mute'='toggle'" --create
 
Back
Top