xfce4-alsa-plugin

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Shadow in Fire
Level 2
Level 2
Posts: 57
Joined: Fri Jul 20, 2018 1:18 am

xfce4-alsa-plugin

Post by Shadow in Fire »

Hello, I need help with installing the xfce4-alsa-plugin package to my copy of Linux Mint 18.3, using Xfce as the DE.

I chose to purge PulseAudio and its components. In turn, all sound will go through ALSA and/or OSS for a simpler environment. Sadly, Xfce's panel plugins don't offer an ALSA-compatible volume manager by default, so I discovered that someone put one together for ALSA in place.

Although I was able to download the source and get to compiling, I ran into this issue:

Code: Select all

Meson encountered an error in file meson.build, line 14, column 0:
Native dependency 'alsa' not found
The instructions list needed dependencies (I should have them already):

Code: Select all

# xfce4-alsa-plugin
Simple ALSA volume control for xfce4-panel

## Installation
### Dependencies
- Vala
- Meson >= 0.37.0
- ALSA userspace library (libasound)
- gettext >= 0.19.7

- libxfce4panel-1.0

OR
- libxfce4panel-2.0 >= 4.13.0
- gtk+-3.0 >= 3.20.0

### Building
```sh
# meson build -Dgtk3=true
meson build
ninja -C build
ninja -C build install
```
It's really strange to me that I can't get it to compile correctly. Arch Linux and Gentoo have binary packages already, so I'm actually surprised that Ubuntu doesn't. Therefore, what can I do to remedy this issue? I'd like to conveniently manage my volume controls from the panel itself, instead of launching a GUI mixer.

Thanks!
User avatar
Flemur
Level 19
Level 19
Posts: 9091
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: xfce4-alsa-plugin

Post by Flemur »

Shadow in Fire wrote:
Wed Feb 27, 2019 9:20 pm
I chose to purge PulseAudio and its components.
I do that, but there are still some pieces around.
In turn, all sound will go through ALSA and/or OSS for a simpler environment. Sadly, Xfce's panel plugins don't offer an ALSA-compatible volume manager by default, so I discovered that someone put one together for ALSA in place.
You can make your own fairly easily (well, I adjust the volume with the keyboard and "amixer sset Master,0 1-" (or 1+) routine)

Code: Select all

Meson encountered an error in file meson.build, line 14, column 0:
Native dependency 'alsa' not found
...
- ALSA userspace library (libasound)
You probably need to install "libasound2-dev".
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Shadow in Fire
Level 2
Level 2
Posts: 57
Joined: Fri Jul 20, 2018 1:18 am

Re: xfce4-alsa-plugin

Post by Shadow in Fire »

Flemur wrote:
Wed Feb 27, 2019 10:12 pm
I do that, but there are still some pieces around.
Fair point. The Poettering plague will never truly go away.
Flemur wrote:
Wed Feb 27, 2019 10:12 pm
You can make your own fairly easily (well, I adjust the volume with the keyboard and "amixer sset Master,0 1-" (or 1+) routine)
Yeah, I already had the keybindings set in place. I'd just like to also click and manage it from the panel.
Flemur wrote:
Wed Feb 27, 2019 10:12 pm
You probably need to install "libasound2-dev".
Thank you. Got that installed. I'm now getting this (I even checked and saw all instances of this package are installed):

Code: Select all

Meson encountered an error in file meson.build, line 26, column 4:
Native dependency 'libxfce4panel-1.0' not found
User avatar
Flemur
Level 19
Level 19
Posts: 9091
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: xfce4-alsa-plugin

Post by Flemur »

Shadow in Fire wrote:
Wed Feb 27, 2019 10:30 pm

Code: Select all

Native dependency 'libxfce4panel-1.0' not found
Probably the same thing there (need -dev version) - search in synaptic for libxfce4panel.
FWIW, I'm pretty sure you can delete the -dev stuff after you finish the build.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Shadow in Fire
Level 2
Level 2
Posts: 57
Joined: Fri Jul 20, 2018 1:18 am

Re: xfce4-alsa-plugin

Post by Shadow in Fire »

I searched, and this is all I found:

Code: Select all

i   libxfce4panel-2.0-4                                                                              - Xfce4 panel libraries (GTK3 variant)                                                                      
p   libxfce4panel-2.0-4:i386                                                                         - Xfce4 panel libraries (GTK3 variant)                                                                      
i   libxfce4panel-2.0-dev                                                                            - Xfce4 panel libraries (GTK3 variant)                                                                      
p   libxfce4panel-2.0-dev:i386                                                                       - Xfce4 panel libraries (GTK3 variant)
Looks like all instances are installed. I probably am missing something.
Post Reply

Return to “Software & Applications”