Author Topic: How to remove pulseaudio and how to mount partitions with gui  (Read 315 times)

Dj

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
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.
« Last Edit: Fri Jul 29 13:11:54 2022 by Dj »

spiky

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #1 on: Fri Jul 29 20:43:57 2022 »
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"
Quote
I 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

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #2 on: Fri Jul 29 22:22:26 2022 »
Hello, I have been using XFCE.

aus9

  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #3 on: Sat Jul 30 03:38:01 2022 »
I hope spiky does not mind my 2 cents worth.
Quote
I 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
Quote
x: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?

Quote
pulseaudio 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

Code: [Select]
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

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #4 on: Sat Jul 30 09:32:31 2022 »
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

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #5 on: Sat Jul 30 09:44:53 2022 »
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
Quote
890 ?        00:00:00 pulseaudio

Quote
1 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

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #6 on: Sat Jul 30 11:00:14 2022 »
Try removeing Parole package, then maybe pulseaudio, also firefox pulls in pulseaudio

Dj

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #7 on: Sat Jul 30 21:49:31 2022 »
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

  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #8 on: Sun Jul 31 03:01:16 2022 »
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

Code: [Select]
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
« Last Edit: Sun Jul 31 03:12:04 2022 by aus9 »

spiky

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #9 on: Mon Aug 01 21:27:56 2022 »
Hi Dj
Quote
I tried to uninstall Audacious, "package in use".
Code: [Select]
sudo cards remove audacious-plugins audacious
But You need to find out what else is using Pulseaudio to remove it

aus9

  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #10 on: Tue Aug 02 00:13:37 2022 »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 644
  • Karma: +11/-0
  • Gender: Male
    • NuTyX distribution
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #11 on: Tue Aug 02 09:52:18 2022 »
Cards package manager tool, provide (like in debian) two differents tools:

One lowlevel one

the available commands are:

Code: [Select]
pkgadd
pkgrm
pkginfo

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

Code: [Select]
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

Code: [Select]
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:

Code: [Select]
cards help

BR,
Thierry

Dj

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: How to remove pulseaudio and how to mount partitions with gui
« Reply #12 on: Tue Aug 02 13:38:31 2022 »
Hello.
 Every audio file that I pull is pulling with itself pulseaudio.
 Deadbeef, MPV, Audacious...
 I can't install either one without installing pulseaudio.

Hi Dj
Quote
I tried to uninstall Audacious, "package in use".
Code: [Select]
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.