How to remove pulseaudio and how to mount partitions with gui

Started by Dj, Fri Jul 29 11:55:12 2022

Previous topic - Next topic

Dj

Hello, I'd like to have system without pulseaudio.
I wonder why is pulseaudio default along with MPV, should we have some freedom to choose ?
Tried to uninstall from terminal without gui "pulseaudio is in use".

I can't mount partitions. Some of them are xfce4, some of them are ntfs.

Istalled fuse, fuse2, gvfs, ntfs-3g.

Mounting works fine with terminal, but not with gui.
I can't restart or shutdown with XFCE, only with terminal.

Thank you.

spiky

Hi Dj

Which Desktop are you using ?
That leads to which gui are you trying to mount partitions with? Mine are all mount on boot "Gnome"
QuoteI can't restart or shutdown with XFCE, only with terminal.
I tested XFCE4 works ok here, hmmm.
pulseaudio might be  a dep of some packages

Dj


aus9

I hope spiky does not mind my 2 cents worth.
QuoteI can't restart or shutdown with XFCE
what display manager (login manager) are you using?
On IceWM, I installed lightdm...modified my /etc/inittab to change the line for xdm* so it reads
Quotex:5:respawn:/usr/bin/lightdm

You may have to edit /etc/lightdm/lightdm.conf....but I have not.

I can click the icewm exit menu -> takes me to login screen and top RH corner is a power icon to
restart or shutdown.

2) there is a way of running pkexec <command> but lets keep it simple?

Quotepulseaudio is in use
I have a different remove command with similar report.....but on your distro, its possible pulseaudio has been
autostarted or respawned.....and won't allow deletion until that process is killed or daemon stopped.

If you have time....report what you see on normal boot up for these commands, run as local user

ps -e | grep pulseaudio

pacmd list-sinks


I do not have pulseaudio installed so I get no hits....and the last command gives me
No PulseAudio daemon running, or not running as session daemon

leaping ahead....if you find it running, I would suggest delete the /etc/init.d/< daemon name>
likely to be pulseaudio reboot and then attempt delete command YMMV

spiky

I did a clean install of xfce4, All linux partitions (ext4) are shown on Desktop and all mount using Thunar. Yes Ntfs not mounting ?.

Pulseaudio is not pulled in on xfce4, Firefox pulls it in as a dep.
Xfce4-extra pulls in xfce4-pulseaudio-plugin, as part of a collection, removeable.

MPV is not pulled in with either Xfce4 or extra

As for Shutdown Reboot xfce4, it dose work. If you have tried to mount the Ntfs that blocks it, reboot, as long as ntfs is not in fstab shutdown reboot works.

Dj

I have installed XFCE from scratch, sorry, forgot to mention that.
When I log in I can reboot without problems.
But as soon I try to mount partitions, reboot and shutdown from gui is greyed out.
I use Lightdm.

Grep is showing this
Quote890 ?        00:00:00 pulseaudio

Quote1 sink(s) available.
  * index: 0
   name: <alsa_output.pci-0000_04_02.0.analog-stereo>
   driver: <module-alsa-card.c>
   flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
   state: SUSPENDED
   suspend cause: IDLE
   priority: 9039
   volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   base volume: 65536 / 100% / 0.00 dB
   volume steps: 65537
   muted: no
   current latency: 0.00 ms
   max request: 0 KiB
   max rewind: 0 KiB
   monitor source: 0
   sample spec: s16le 2ch 48000Hz
   channel map: front-left,front-right
                Stereo
   used by: 0
   linked by: 0
   configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
   card: 1 <alsa_card.pci-0000_04_02.0>
   module: 7
   properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "CA0106"
      alsa.id = "ca0106"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "0"
      alsa.card_name = "CA0106"
      alsa.long_card_name = "Audigy SE [SB0570] at 0xce00 irq 18"
      alsa.driver_name = "snd_ca0106"
      device.bus_path = "pci-0000:04:02.0"
      sysfs.path = "/devices/pci0000:00/0000:00:1e.0/0000:04:02.0/sound/card0"                               [11:44 x86_64 5.18.14-NuTyX linux@linux]
      device.bus = "pci"
      device.vendor.id = "1102"
      device.vendor.name = "Creative Labs"
      device.product.id = "0007"
      device.product.name = "CA0106/CA0111 [SB Live!/Audigy/X-Fi Series] (SB0570 [SB Audigy SE])"
      device.string = "front:0"
      device.buffering.buffer_size = "65536"
      device.buffering.fragment_size = "32768"
      device.access_mode = "mmap+timer"
      device.profile.name = "analog-stereo"
      device.profile.description = "Analog Stereo"
      device.description = "CA0106/CA0111 [SB Live!/Audigy/X-Fi Series] (SB0570 [SB Audigy SE]) Analog Stereo"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   ports:
      analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
         properties:
            
   active port: <analog-output>



spiky

Try removeing Parole package, then maybe pulseaudio, also firefox pulls in pulseaudio

Dj

I don't have Parole or Firefox.
I tried to uninstall Audacious, "package in use".
It's very complicated to use Nutyx, I can't figure out why I can uninstall application that I have installed.

aus9

spiky

Forgive me if I am wrong....but me thinks what you are trying to say is that a member can not delete a package if its  a dependency of another package-name......unless you enter

sudo cards remove packageB packageA

and that suggests to me.....that cards should modify its error message from
"package in use" to
"package is a dependency of a package not being removed"

or words to help us newbies  ;D

spiky

Hi Dj
QuoteI tried to uninstall Audacious, "package in use".
sudo cards remove audacious-plugins audacious

But You need to find out what else is using Pulseaudio to remove it

aus9

Dj

Look at your installed packages please. The main packages that pull in pulseaudio are web browsers and media players and its gui control panel called pavucontrol.

Thierry

Cards package manager tool, provide (like in debian) two differents tools:

One lowlevel one

the available commands are:

pkgadd
pkgrm
pkginfo


Names are self explaining. Nevertheless a help is available for each of them:

pkgadd -h
pkgrm -h
pkginfo -h


Thoses commands do not care of dependencies and nor of depots.
Means you can delete and then break your NuTyX very easily if you not pay attention to what you do...

One HiLevel one

cards

This commands takes care of everything and try to make sure you not  break your distro by removing runtime dependencies (for example).

They is a good help about the command:

cards help


BR,
Thierry

Dj

Hello.
Every audio file that I pull is pulling with itself pulseaudio.
Deadbeef, MPV, Audacious...
I can't install either one without installing pulseaudio.

Quote from: spiky on Mon Aug 01 21:27:56 2022
Hi Dj
QuoteI tried to uninstall Audacious, "package in use".
sudo cards remove audacious-plugins audacious

But You need to find out what else is using Pulseaudio to remove it
Right, thank you.
When I uninstall audacious, I must uninstall audacious-plugins.