The officially official Devuan Forum!

You are not logged in.

#1 2025-11-24 21:34:53

Altoid
Member
Registered: 2017-05-07
Posts: 1,922  

[SOLVED] File in ~/.config/pulse

Hello:

I run on Devuan Daedalus and thought I had safely purged all traces of pulseaudio.

$ apt list | grep installed | grep pulse*
--- snip ...
libpulse0/oldstable,now 16.1+dfsg1-2+b1 amd64 [installed,automatic]
libpulse0/oldstable,now 16.1+dfsg1-2+b1 i386 [installed,automatic]
$
$ apt list | grep installed | grep *audio
$ 

But it maybe that is not an accurate description (?) of my system's present situation.

libpulse0 is required by the conky-all package:

$ aptitude why libpulse0
i   conky-all Depends libpulse0 (>= 0.99.1)
$ 

I still have a ~/.config/pulse directory with a dangling* symlink:

$ ls ~/.config/pulse
86091d88be5305f82484a8e9692432e0-runtime
$ 
$ readlink ~/.config/pulse/86091d88be5305f82484a8e9692432e0-runtime
/tmp/pulse-aHntD7qg1y0a
$ 

* terminal shows it in red and mc shows it both in red and with an exclamation mark
ie: !86091d88be5305f82484a8e9692432e0-runtime

But I cannot see it if I look for it in /tmp:

$ ls /tmp
Temp-a369b4bc-a28a-43a1-8f07-5cd9fe1dc0d8
dbus-AL25kJh8OL
dbus-zhBDcWiF0J
mc-groucho
ssh-KCuRXh08Mpzn
$

Is something pulseaudio related generating that symlink?
If so, any idea what it may be?

Synaptic does not show any residual configuration files.

Best,

A.

Last edited by Altoid (2025-11-24 21:35:23)

Offline

#2 2025-11-25 17:10:25

chris2be8
Member
Registered: 2018-08-11
Posts: 356  

Re: [SOLVED] File in ~/.config/pulse

ls -l ~/.config/pulse should tell you when it was created. If that was before you purged pulseaudio then you can just delete it (and presunably then rmdir ~/.config/pulse as well).

Offline

#3 2025-11-25 17:22:07

fanderal
Member
Registered: 2017-01-14
Posts: 108  

Re: [SOLVED] File in ~/.config/pulse

Pulseaudio never installed.

apt list | grep installed | grep pulse*
apulse/unstable,now 0.1.14-1 amd64 [installed]
libpulse0/unstable,now 17.0+dfsg1-2+b1 amd64 [installed]

All lines commented in libpulse0's /etc/pulse/client.conf.

No pulse dir/file in ~/.config or /tmp

aptitude why libpulse0
i  mpv Depends libpulse0 (>= 0.99.4)

Conky-std installed, no libpulse0 dep.

Offline

#4 2025-11-25 17:56:26

Altoid
Member
Registered: 2017-05-07
Posts: 1,922  

Re: [SOLVED] File in ~/.config/pulse

Hello:

fanderal wrote:

ls -l ~/.config/pulse should tell you when ...
... then you can just delete it ...

Thanks.
But it has become a moot point.

Seeing that I purged it and then blocked it from being dragged in by any other package using an entry in /etc/apt/preferences.d, I decided to just nuke the remnants. ie: if I say 'no pulseaudio' I mean exactly that: 'no pulseaudio'

$ ls -1 /etc/apt/preferences.d
--- snip ---
avoid_pulseaudio
--- snip ---
$ 
$ cat /etc/apt/preferences.d/avoid_pulseaudio
Package: pulseaudio:*
Pin: version *
Pin-Priority: -1
$ 

Since this last pulseaudio clean-up, I have not found any more pulseaudio instances in my system.
Hopefully it will stay that way.

Thanks for your input.

Best,

A.

Offline

#5 2025-11-25 18:19:43

Altoid
Member
Registered: 2017-05-07
Posts: 1,922  

Re: [SOLVED] File in ~/.config/pulse

Hello:

fanderal wrote:

Pulseaudio never installed.

Good first step.
Next one is to block it in /etc/apt/preferences.d.

fanderal wrote:
apt list | grep installed | grep pulse*
apulse/unstable,now 0.1.14-1 amd64 [installed]
libpulse0/unstable,now 17.0+dfsg1-2+b1 amd64 [installed]

The apulse package is (?) a compatibility layer to allow pulseaudio applications to work with ALSA.
Q: do you want pulseaudio applications running in your box?   

If not, check with aptitude why for the reason the apulse package was installed.
If there is no valid dependency, you can probably remove it.

fanderal wrote:

All lines commented in libpulse0's /etc/pulse/client.conf.

aptitude why libpulse0
i  mpv Depends libpulse0 (>= 0.99.4)

Conky-std installed, no libpulse0 dep.

No idea why conky-all wants libpulse0.
See description here: https://packages.debian.org/sid/libpulse0

Apparently it is a package of pulseaudio libraries.
But if you do not have pulseaudio installed, what would the use case be?

BTW:
Please use the [ c ] tag for in-line code and [ code ] tag for blocks of code.

Thanks for your input.

Best,

A.

Offline

#6 Yesterday 06:57:24

fanderal
Member
Registered: 2017-01-14
Posts: 108  

Re: [SOLVED] File in ~/.config/pulse

Altoid wrote:

The apulse package is (?) a compatibility layer to allow pulseaudio applications to work with ALSA.

That's my understanding. Can't recall why I installed it.

Altoid wrote:

Q: do you want pulseaudio applications running in your box?

Nope. Won't use applications with a PA dependency.

Altoid wrote:

If not, check with aptitude why for the reason the apulse package was installed.
If there is no valid dependency, you can probably remove it.

No valid dependency. I removed it.

Altoid wrote:

Apparently it (libpulse0) is a package of pulseaudio libraries.
But if you do not have pulseaudio installed, what would the use case be?

No idea, yet there's a bit more. I set aptitude to purge libpulse0. It would have broken libavdevice62, libguvcview-2.2, libsdl2 and mpv, with no solution.

Offline

#7 Yesterday 10:07:19

Altoid
Member
Registered: 2017-05-07
Posts: 1,922  

Re: [SOLVED] File in ~/.config/pulse

Hello:

fanderal wrote:

Can't recall why I installed it.

Must have been dragged by some other application.
In my case, conky-all needs it.
In yours, it is mpv.

fanderal wrote:

... purge libpulse0.
... broken libavdevice62, libguvcview-2.2, libsdl2 and mpv ...

Just thinking out loud.
Do libavdevice62, libguvcview-2.2, libsdl2 get removed if you purge mpv?
If so, you could use another media player and in the process rid yourself of libpulse0.

Best,

A.

Offline

#8 Today 06:39:30

fanderal
Member
Registered: 2017-01-14
Posts: 108  

Re: [SOLVED] File in ~/.config/pulse

Altoid wrote:

Do libavdevice62, libguvcview-2.2, libsdl2 get removed if you purge mpv?

Good thought, but no.
Note: libguvcview-2.2 is a library for guvcview, an app to test/set webcam functions and create local videos.

# aptitude purge mpv
<snip>
The following packages will be REMOVED:  
  libdisplay-info3{u} liblua5.2-0{u} libmujs3{u} libpipewire-0.3-0t64{u} 
  libsixel1{u} libspa-0.2-modules{u} libva-wayland2{u} 
  libwebrtc-audio-processing-1-3{u} libxpresent1{u} mpv{p} 
0 packages upgraded, 0 newly installed, 10 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 11.8 MB will be freed.

However:

# aptitude purge libpulse0
The following packages will be REMOVED:  
  libasyncns0{u} libpulse0{p} 
0 packages upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 1,044 kB will be freed.
The following packages have unmet dependencies:
 mpv : Depends: libpulse0 (>= 0.99.4) but it is not going to be installed
 libsphinxbase3t64 : Depends: libpulse0 (>= 0.99.1) but it is not going to be installed
 libavdevice61 : Depends: libpulse0 (>= 0.99.1) but it is not going to be installed
 libguvcview-2.2 : Depends: libpulse0 (>= 0.99.1) but it is not going to be installed
 libsdl2-classic : Depends: libpulse0 (>= 5.0) but it is not going to be installed
The following actions will resolve these dependencies:

      Remove the following packages:                             
1)      ffmpeg [7:7.1.2-1+b1 (now, unstable)]                    
2)      guvcview [2.2.1-1 (now, unstable)]                       
3)      libavdevice-dev [7:7.1.2-1+b1 (now, unstable)]           
4)      libavdevice61 [7:7.1.2-1+b1 (now, unstable)]             
5)      libavfilter-dev [7:7.1.2-1+b1 (now, unstable)]           
6)      libavfilter10 [7:7.1.2-1+b1 (now, unstable)]             
7)      libguvcview-2.2 [2.2.1-1 (now, unstable)]                
8)      libpocketsphinx3 [0.8+5prealpha+1-15+b4 (now, unstable)] 
9)      libsdl2-2.0-0 [2.32.10+dfsg-4 (now, unstable)]           
10)     libsdl2-classic [2.32.10+dfsg-4 (now, unstable)]         
11)     libsdl2-image-2.0-0 [2.8.8+dfsg-1 (now, unstable)]       
12)     libsphinxbase3t64 [0.8+5prealpha+1-21+b1 (now, unstable)]
13)     mpv [0.40.0-5+b1 (now, unstable)]                        
14)     pipewalker [1.1-1 (now, unstable)]                       

Accept this solution? [Y/n/q/?]y 

The following packages will be REMOVED:
  ffmpeg{a} guvcview{a} jackd2{u} libass9{u} libasyncns0{u} libavc1394-0{u} 
  libavdevice-dev{a} libavdevice61{a} libavfilter-dev{a} libavfilter10{a} 
  libavformat-dev{u} libbs2b0{u} libcaca0{u} libcdio-cdda2t64{u} 
  libcdio-paranoia2t64{u} libdc1394-25{u} libdisplay-info3{u} libdovi3{u} 
  libfftw3-double3{u} libflite1{u} libgsl28{u} libgslcblas0{u} 
  libguvcview-2.2{a} libiec61883-0{u} libjack-jackd2-0{u} liblilv-0-0{u} 
  liblua5.2-0{u} libmujs3{u} libmysofa1{u} libopenal-data{u} libopenal1{u} 
  libpipewire-0.3-0t64{u} libplacebo351{u} libpocketsphinx3{a} 
  libportaudio2{u} libpostproc-dev{u} libpostproc58{u} >> libpulse0{p} << 
  libraw1394-11{u} librubberband2{u} libsdl2-2.0-0{a} libsdl2-classic{a} 
  libsdl2-image-2.0-0{a} libserd-0-0{u} libshaderc1{u} libsixel1{u} 
  libsndio7.0{u} libsord-0-0{u} libspa-0.2-modules{u} libsphinxbase3t64{a} 
  libsratom-0-0{u} libswscale-dev{u} libswscale8{u} libunibreak6{u} 
  libv4l-0t64{u} libv4lconvert0t64{u} libva-wayland2{u} libvidstab1.1{u} 
  libwebrtc-audio-processing-1-3{u} libxpresent1{u} libzimg2{u} 
  libzix-0-0{u} mpv{a} pipewalker{a} python3-dbus{u} 
0 packages upgraded, 0 newly installed, 65 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 110 MB will be freed.
Do you want to continue? [Y/n/?]n

I can remove it but finding daily use replacements for mpv, ffmpeg and guvcview without needing libpulse0 may prove tedious and not worth the effort.

Altoid wrote:

If so, you could use another media player and in the process rid yourself of libpulse0.

Perhaps there are a few. Thought of vlc but libpulse0 is a dependency. Any suggestions?

Last edited by fanderal (Today 06:43:38)

Offline

#9 Today 06:52:52

Altoid
Member
Registered: 2017-05-07
Posts: 1,922  

Re: [SOLVED] File in ~/.config/pulse

Hello:

fanderal wrote:

Good thought, but no.

It was worth a try.

fanderal wrote:

... replacements for mpv, ffmpeg and guvcview ...
... prove tedious and not worth the effort.

Yes. I agree.
Probably by design. 8^°

fanderal wrote:

Thought of vlc ...

That is what I use if and when I need to play anything.
Suits me fine for the little I do with multimedia.

I seems that libpulse0 will have to stay.
Soon we will neeed it to use a text editor.

Thanks for the effort.

Best,

A.

Last edited by Altoid (Today 06:54:27)

Offline

Board footer