Does pulseaudio have an alternative?

Kernels & Hardware, configuring network, installing services

Does pulseaudio have an alternative?

Postby Scorpion » 2020-03-30 15:56

I am using debian 10 with gnome.

I would like to try alsa intead, if possible.
User avatar
Scorpion
 
Posts: 243
Joined: 2018-10-17 11:38

Re: Does pulseaudio have an alternative?

Postby Head_on_a_Stick » 2020-03-30 16:47

Scorpion wrote:I would like to try alsa intead

You're already using ALSA, it's a kernel component on top of which PulseAudio functions.

If you mean that you want to try pure ALSA without PA then you should be able to remove it in GNOME but that will remove the desktop task & metapackages and leave several important packages (including the X server itself) marked as auto-removable.

Use this:
Code: Select all
apt -s purge pulseaudio

Then take the list of packages that apt(8) says can be removed with 'autoremove' and run
Code: Select all
# apt install pulseaudio- ${list of auto-removable packages}

Replace ${list of auto-removable packages} with the actual list of packages, that will mark them as manually installed and prevent their auto-removal in future.

Other potential methods listed in this thread: viewtopic.php?t=104157

Once PulseAudio is removed the usual audio controls for the GNOME desktop won't work so you will have to edit the keyboard shortcuts, remove the configuration for the audio keys and add new custom shortcuts using these commands:
Code: Select all
amixer sset 'Master' 10%+ unmute # raise volume
amixer sset 'Master' 10%- unmute # lower volume
amixer sset 'Master' mute # mute volume

Depending on your hardware it may also be necessary to manually configure the default sound card: https://wiki.archlinux.org/index.php/Ad ... sound_card

And if you want an alternative to ALSA and PulseAudio try JACK instead: https://wiki.debian.org/JACK
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12744
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Does pulseaudio have an alternative?

Postby Scorpion » 2020-03-31 14:54

As I thought there is not a proper alternative so.
Since gnome uses it.

Code: Select all
apt -s purge pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libberkeleydb-perl libfreezethaw-perl libjson-perl libmldbm-perl rtkit
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  gnome* gnome-core* libcanberra-pulse* pulseaudio* pulseaudio-module-bluetooth* task-gnome-desktop*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
Purg gnome [1:3.30+1]
Purg task-gnome-desktop [3.53]
Purg gnome-core [1:3.30+1]
Purg libcanberra-pulse [0.30-7]
Purg pulseaudio-module-bluetooth [12.2-4+deb10u1]
Purg pulseaudio [12.2-4+deb10u1]

Is the -s option for show?

What does - do? Like in "apt install pulseaudio-".

Now I am installing a lot of packages:
Code: Select all
apt install pulseaudio- gnome* gnome-core* libcanberra-pulse* pulseaudio* pulseaudio-module-bluetooth* task-gnome-desktop*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'gnome-shell-extension-suspend-button' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-top-icons-plus' for glob 'gnome*'
Note, selecting 'gnome-builder' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-shortcuts' for glob 'gnome*'
Note, selecting 'gnome-remote-desktop' for glob 'gnome*'
Note, selecting 'gnome-boxes' for glob 'gnome*'
Note, selecting 'gnome-js-common' for glob 'gnome*'
Note, selecting 'gnome-color-manager' for glob 'gnome*'
Note, selecting 'gnome-flashback-common' for glob 'gnome*'
Note, selecting 'gnome-control-center-data' for glob 'gnome*'
Note, selecting 'gnome-power-manager' for glob 'gnome*'
Note, selecting 'gnome-keyring' for glob 'gnome*'
Note, selecting 'gnome-settings-daemon-common' for glob 'gnome*'
Note, selecting 'gnome-calendar' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-hide-veth' for glob 'gnome*'
Note, selecting 'gnome-common' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-desktop-icons' for glob 'gnome*'
Note, selecting 'gnome-accessibility-themes' for glob 'gnome*'
Note, selecting 'gnome-settings-daemon-schemas' for glob 'gnome*'
Note, selecting 'gnome-contacts' for glob 'gnome*'
Note, selecting 'gnome-video-effects' for glob 'gnome*'
Note, selecting 'gnome-session' for glob 'gnome*'
Note, selecting 'gnome-colors-common' for glob 'gnome*'
Note, selecting 'gnome-applets-data' for glob 'gnome*'
Note, selecting 'gnome-icon-theme-nuovo' for glob 'gnome*'
Note, selecting 'gnome-video-effects-dev' for glob 'gnome*'
Note, selecting 'gnome-human-icon-theme' for glob 'gnome*'
Note, selecting 'gnome-session-common' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-kimpanel' for glob 'gnome*'
Note, selecting 'gnome-logs' for glob 'gnome*'
Note, selecting 'gnome-photos' for glob 'gnome*'
Note, selecting 'gnome-control-center' for glob 'gnome*'
Note, selecting 'gnome-www-browser' for glob 'gnome*'
Note, selecting 'gnome-chess' for glob 'gnome*'
Note, selecting 'gnome-dictionary' for glob 'gnome*'
Note, selecting 'gnome-dust-icon-theme' for glob 'gnome*'
Note, selecting 'gnome-system-monitor' for glob 'gnome*'
Note, selecting 'gnome-video-effects-frei0r' for glob 'gnome*'
Note, selecting 'gnome-user-docs' for glob 'gnome*'
Note, selecting 'gnome-system-tools' for glob 'gnome*'
Note, selecting 'gnome-software-plugin-snap' for glob 'gnome*'
Note, selecting 'gnome-wise-icon-theme' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-dashtodock' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-taskbar' for glob 'gnome*'
Note, selecting 'gnome-sudoku' for glob 'gnome*'
Note, selecting 'gnome-video-arcade' for glob 'gnome*'
Note, selecting 'gnome-packagekit-session' for glob 'gnome*'
Note, selecting 'gnome-mime-data' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-weather' for glob 'gnome*'
Note, selecting 'gnome-mousetrap' for glob 'gnome*'
Note, selecting 'gnome-api-docs' for glob 'gnome*'
Note, selecting 'gnome-brave-icon-theme' for glob 'gnome*'
Note, selecting 'gnome-breakout' for glob 'gnome*'
Note, selecting 'gnome-wine-icon-theme' for glob 'gnome*'
Note, selecting 'gnome-panel-control' for glob 'gnome*'
Note, selecting 'gnome-desktop3-data' for glob 'gnome*'
Note, selecting 'gnome-sudo' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-move-clock' for glob 'gnome*'
Note, selecting 'gnome-games' for glob 'gnome*'
Note, selecting 'gnome-klotski' for glob 'gnome*'
Note, selecting 'gnome-icon-theme-yasis' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-mediaplayer' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-disconnect-wifi' for glob 'gnome*'
Note, selecting 'gnome-icon-theme' for glob 'gnome*'
Note, selecting 'gnome-pilot' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-autohidetopbar' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-redshift' for glob 'gnome*'
Note, selecting 'gnome-pkg-tools' for glob 'gnome*'
Note, selecting 'gnome-software' for glob 'gnome*'
Note, selecting 'gnome-icon-theme-suede' for glob 'gnome*'
Note, selecting 'gnome-packagekit' for glob 'gnome*'
Note, selecting 'gnome-recipes' for glob 'gnome*'
Note, selecting 'gnome-noble-icon-theme' for glob 'gnome*'
Note, selecting 'gnome-orca' for glob 'gnome*'
Note, selecting 'gnome-themes-standard' for glob 'gnome*'
Note, selecting 'gnome-session-canberra' for glob 'gnome*'
Note, selecting 'gnome-settings-daemon' for glob 'gnome*'
Note, selecting 'gnome-software-dev' for glob 'gnome*'
Note, selecting 'gnome-mahjongg' for glob 'gnome*'
Note, selecting 'gnome-software-doc' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-hard-disk-led' for glob 'gnome*'
Note, selecting 'gnome-screenshot' for glob 'gnome*'
Note, selecting 'gnome-subtitles' for glob 'gnome*'
Note, selecting 'gnome-audio' for glob 'gnome*'
Note, selecting 'gnome-sushi' for glob 'gnome*'
Note, selecting 'gnome-colors' for glob 'gnome*'
Note, selecting 'gnome-packagekit-data' for glob 'gnome*'
Note, selecting 'gnome-themes-standard-data' for glob 'gnome*'
Note, selecting 'gnome-panel-data' for glob 'gnome*'
Note, selecting 'gnome-online-miners' for glob 'gnome*'
Note, selecting 'gnome-theme-gilouche' for glob 'gnome*'
Note, selecting 'gnome-bluetooth' for glob 'gnome*'
Note, selecting 'gnome-cards-data' for glob 'gnome*'
Note, selecting 'gnome-utils' for glob 'gnome*'
Note, selecting 'gnome-shell-extensions-gpaste' for glob 'gnome*'
Note, selecting 'gnome-doc-utils' for glob 'gnome*'
Note, selecting 'gnome-tweak-tool' for glob 'gnome*'
Note, selecting 'gnome-dvb-daemon' for glob 'gnome*'
Note, selecting 'gnome-2048' for glob 'gnome*'
Note, selecting 'gnome-software-manager' for glob 'gnome*'
Note, selecting 'gnome-disk-utility' for glob 'gnome*'
Note, selecting 'gnome-mplayer' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-workspaces-to-dock' for glob 'gnome*'
Note, selecting 'gnome-nds-thumbnailer' for glob 'gnome*'
Note, selecting 'gnome-user-guide' for glob 'gnome*'
Note, selecting 'gnome-icon-theme-full' for glob 'gnome*'
Note, selecting 'gnome-tweaks' for glob 'gnome*'
Note, selecting 'gnome-multi-writer' for glob 'gnome*'
Note, selecting 'gnome-icon-theme-symbolic' for glob 'gnome*'
Note, selecting 'gnome-devel-docs' for glob 'gnome*'
Note, selecting 'gnome-extra-icons' for glob 'gnome*'
Note, selecting 'gnome-music' for glob 'gnome*'
Note, selecting 'gnome-font-viewer' for glob 'gnome*'
Note, selecting 'gnome-paint' for glob 'gnome*'
Note, selecting 'gnome-dvb-client' for glob 'gnome*'
Note, selecting 'gnome-icon-theme-gartoon' for glob 'gnome*'
Note, selecting 'gnome-calculator' for glob 'gnome*'
Note, selecting 'gnome-genius' for glob 'gnome*'
Note, selecting 'gnome-network-admin' for glob 'gnome*'
Note, selecting 'gnome-gmail' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-hide-activities' for glob 'gnome*'
Note, selecting 'gnome-twitch-player-backend-gstreamer-clutter' for glob 'gnome*'
Note, selecting 'gnome-maps' for glob 'gnome*'
Note, selecting 'gnome-mastermind' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-dash-to-panel' for glob 'gnome*'
Note, selecting 'gnome-recipes-data' for glob 'gnome*'
Note, selecting 'gnome-usage' for glob 'gnome*'
Note, selecting 'gnome-sound-recorder' for glob 'gnome*'
Note, selecting 'gnome-shell-mailnag' for glob 'gnome*'
Note, selecting 'gnome-desktop-testing' for glob 'gnome*'
Note, selecting 'gnome-power-statistics' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-caffeine' for glob 'gnome*'
Note, selecting 'gnome-twitch-player-backend-gstreamer-cairo' for glob 'gnome*'
Note, selecting 'gnome-panel' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-multi-monitors' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-no-annoyance' for glob 'gnome*'
Note, selecting 'gnome-software-plugin-flatpak' for glob 'gnome*'
Note, selecting 'gnome-codec-install' for glob 'gnome*'
Note, selecting 'gnome-games-app' for glob 'gnome*'
Note, selecting 'gnome-tetravex' for glob 'gnome*'
Note, selecting 'gnome-shell-common' for glob 'gnome*'
Note, selecting 'gnome-search-tool' for glob 'gnome*'
Note, selecting 'gnome-screensaver-flags' for glob 'gnome*'
Note, selecting 'gnome-exe-thumbnailer' for glob 'gnome*'
Note, selecting 'gnome-split' for glob 'gnome*'
Note, selecting 'gnome-online-accounts' for glob 'gnome*'
Note, selecting 'gnome-nettool' for glob 'gnome*'
Note, selecting 'gnome-todo-common' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-appindicator' for glob 'gnome*'
Note, selecting 'gnome-core' for glob 'gnome*'
Note, selecting 'gnome-twitch' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-pixelsaver' for glob 'gnome*'
Note, selecting 'gnome-shell-pomodoro-data' for glob 'gnome*'
Note, selecting 'gnome-initial-setup' for glob 'gnome*'
Note, selecting 'gnome' for glob 'gnome*'
Note, selecting 'gnome-shell-extensions' for glob 'gnome*'
Note, selecting 'gnome-screensaver' for glob 'gnome*'
Note, selecting 'gnome-keysign' for glob 'gnome*'
Note, selecting 'gnome-session-bin' for glob 'gnome*'
Note, selecting 'gnome-phone-manager' for glob 'gnome*'
Note, selecting 'gnome-applets' for glob 'gnome*'
Note, selecting 'gnome-characters' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-remove-dropdown-arrows' for glob 'gnome*'
Note, selecting 'gnome-nibbles' for glob 'gnome*'
Note, selecting 'gnome-media' for glob 'gnome*'
Note, selecting 'gnome-control-center-dev' for glob 'gnome*'
Note, selecting 'gnome-lokkit' for glob 'gnome*'
Note, selecting 'gnome-flashback' for glob 'gnome*'
Note, selecting 'gnome-terminal-data' for glob 'gnome*'
Note, selecting 'gnome-todo' for glob 'gnome*'
Note, selecting 'gnome-mpv' for glob 'gnome*'
Note, selecting 'gnome-clocks' for glob 'gnome*'
Note, selecting 'gnome-taquin' for glob 'gnome*'
Note, selecting 'gnome-devel' for glob 'gnome*'
Note, selecting 'gnome-keyring-pkcs11' for glob 'gnome*'
Note, selecting 'gnome-user-share' for glob 'gnome*'
Note, selecting 'gnome-books' for glob 'gnome*'
Note, selecting 'gnome-shell' for glob 'gnome*'
Note, selecting 'gnomekiss' for glob 'gnome*'
Note, selecting 'gnome-mines' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-tilix-shortcut' for glob 'gnome*'
Note, selecting 'gnome-osd' for glob 'gnome*'
Note, selecting 'gnome-control-center-signon' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-system-monitor' for glob 'gnome*'
Note, selecting 'gnome-pie' for glob 'gnome*'
Note, selecting 'gnome-themes-extra-data' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-tilix-dropdown' for glob 'gnome*'
Note, selecting 'gnome-shell-pomodoro' for glob 'gnome*'
Note, selecting 'gnome-documents' for glob 'gnome*'
Note, selecting 'gnome-weather' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-log-out-button' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-trash' for glob 'gnome*'
Note, selecting 'gnome-hwp-support' for glob 'gnome*'
Note, selecting 'gnome-desktop-environment' for glob 'gnome*'
Note, selecting 'gnome-system-log' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-easyscreencast' for glob 'gnome*'
Note, selecting 'gnome-terminal' for glob 'gnome*'
Note, selecting 'gnome-core-devel' for glob 'gnome*'
Note, selecting 'gnome-themes-extra' for glob 'gnome*'
Note, selecting 'gnome-software-common' for glob 'gnome*'
Note, selecting 'gnome-settings-daemon-dev' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-show-ip' for glob 'gnome*'
Note, selecting 'gnome-alsamixer' for glob 'gnome*'
Note, selecting 'gnome-session-flashback' for glob 'gnome*'
Note, selecting 'gnome-session-fallback' for glob 'gnome*'
Note, selecting 'gnome-robots' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-onboard' for glob 'gnome*'
Note, selecting 'gnome-getting-started-docs' for glob 'gnome*'
Note, selecting 'gnome-backgrounds' for glob 'gnome*'
Note, selecting 'gnome-platform-devel' for glob 'gnome*'
Note, selecting 'gnome-twitch-player-backend-mpv-opengl' for glob 'gnome*'
Note, selecting 'gnome-shell-extension-impatience' for glob 'gnome*'
Note, selecting 'gnome-twitch-player-backend-gstreamer-opengl' for glob 'gnome*'
Note, selecting 'gnome-illustrious-icon-theme' for glob 'gnome*'
Note, selecting 'gnome-shell-timer' for glob 'gnome*'
Note, selecting 'gnome-menus' for glob 'gnome*'
Note, selecting 'adwaita-icon-theme' instead of 'gnome-icon-theme-symbolic'
Note, selecting 'gnome-settings-daemon-common' instead of 'gnome-settings-daemon-schemas'
Note, selecting 'gnome-system-tools' instead of 'gnome-network-admin'
Note, selecting 'gksu' instead of 'gnome-sudo'
Note, selecting 'gnome-core' for glob 'gnome-core*'
Note, selecting 'gnome-core-devel' for glob 'gnome-core*'
Note, selecting 'libcanberra-pulse' for glob 'libcanberra-pulse*'
Note, selecting 'pulseaudio' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-module-lirc' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-module-gsettings' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-dlna' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-module-raop' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-module-zeroconf' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-module-jack' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-module-bluetooth' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-equalizer' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-esound-compat' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-utils' for glob 'pulseaudio*'
Note, selecting 'pulseaudio-module-bluetooth' for glob 'pulseaudio-module-bluetooth*'
Note, selecting 'task-gnome-desktop' for glob 'task-gnome-desktop*'
adwaita-icon-theme is already the newest version (3.30.1-1).
gnome-backgrounds is already the newest version (3.30.0-1).
gnome-bluetooth is already the newest version (3.28.2-4~deb10u1).
gnome-calculator is already the newest version (3.30.1-2).
gnome-calendar is already the newest version (3.30.1-2).
gnome-characters is already the newest version (3.30.0-2).
gnome-chess is already the newest version (1:3.30.1-1).
gnome-chess set to manually installed.
gnome-clocks is already the newest version (3.30.1-2).
gnome-color-manager is already the newest version (3.30.0-2).
gnome-contacts is already the newest version (3.30.2-1).
gnome-control-center is already the newest version (1:3.30.3-2~deb10u1).
gnome-control-center-data is already the newest version (1:3.30.3-2~deb10u1).
gnome-control-center-data set to manually installed.
gnome-desktop3-data is already the newest version (3.30.2.1-2).
gnome-desktop3-data set to manually installed.
gnome-dictionary is already the newest version (3.26.1-5).
gnome-disk-utility is already the newest version (3.30.2-3).
gnome-documents is already the newest version (3.31.92-1).
gnome-font-viewer is already the newest version (3.30.0-2).
gnome-getting-started-docs is already the newest version (3.30.0-1).
gnome-icon-theme is already the newest version (3.12.0-3).
gnome-icon-theme set to manually installed.
gnome-keyring is already the newest version (3.28.2-5).
gnome-keyring-pkcs11 is already the newest version (3.28.2-5).
gnome-keyring-pkcs11 set to manually installed.
gnome-klotski is already the newest version (1:3.22.3-3).
gnome-klotski set to manually installed.
gnome-logs is already the newest version (3.30.0-2).
gnome-mahjongg is already the newest version (1:3.22.0-4).
gnome-mahjongg set to manually installed.
gnome-maps is already the newest version (3.30.3-1).
gnome-menus is already the newest version (3.31.4-3).
gnome-mime-data is already the newest version (2.18.0-2).
gnome-mime-data set to manually installed.
gnome-mines is already the newest version (1:3.30.1.1-2).
gnome-mines set to manually installed.
gnome-music is already the newest version (3.30.2-1).
gnome-nibbles is already the newest version (1:3.24.1-2).
gnome-nibbles set to manually installed.
gnome-online-accounts is already the newest version (3.30.1-2).
gnome-online-miners is already the newest version (3.30.0-2).
gnome-packagekit is already the newest version (3.30.0-1).
gnome-packagekit-data is already the newest version (3.30.0-1).
gnome-packagekit-data set to manually installed.
gnome-pkg-tools is already the newest version (0.21.1).
gnome-remote-desktop is already the newest version (0.1.7-1).
gnome-robots is already the newest version (1:3.22.3-3).
gnome-robots set to manually installed.
gnome-screenshot is already the newest version (3.30.0-2).
gnome-session is already the newest version (3.30.1-2).
gnome-session-bin is already the newest version (3.30.1-2).
gnome-session-bin set to manually installed.
gnome-session-common is already the newest version (3.30.1-2).
gnome-session-common set to manually installed.
gnome-settings-daemon is already the newest version (3.30.2-3).
gnome-settings-daemon-common is already the newest version (3.30.2-3).
gnome-settings-daemon-common set to manually installed.
gnome-shell is already the newest version (3.30.2-11~deb10u1).
gnome-shell-common is already the newest version (3.30.2-11~deb10u1).
gnome-shell-common set to manually installed.
gnome-shell-extensions is already the newest version (3.30.1-1).
gnome-software is already the newest version (3.30.6-5).
gnome-software-common is already the newest version (3.30.6-5).
gnome-software-common set to manually installed.
gnome-sound-recorder is already the newest version (3.28.2-2~deb10u1).
gnome-sudoku is already the newest version (1:3.30.0-2).
gnome-sudoku set to manually installed.
gnome-sushi is already the newest version (3.30.0-2).
gnome-system-monitor is already the newest version (3.30.0-2).
gnome-system-tools is already the newest version (3.0.0-8).
gnome-system-tools set to manually installed.
gnome-taquin is already the newest version (3.30.0-2).
gnome-taquin set to manually installed.
gnome-terminal is already the newest version (3.30.2-2).
gnome-terminal-data is already the newest version (3.30.2-2).
gnome-terminal-data set to manually installed.
gnome-tetravex is already the newest version (1:3.22.0-3).
gnome-tetravex set to manually installed.
gnome-accessibility-themes is already the newest version (3.28-1).
gnome-accessibility-themes set to manually installed.
gnome-themes-extra is already the newest version (3.28-1).
gnome-themes-extra-data is already the newest version (3.28-1).
gnome-themes-extra-data set to manually installed.
gnome-themes-standard is already the newest version (3.28-1).
gnome-todo is already the newest version (3.28.1-2).
gnome-todo set to manually installed.
gnome-todo-common is already the newest version (3.28.1-2).
gnome-todo-common set to manually installed.
gnome-tweak-tool is already the newest version (3.30.2-1).
gnome-tweaks is already the newest version (3.30.2-1).
gnome-tweaks set to manually installed.
gnome-user-docs is already the newest version (3.30.2-1).
gnome-user-guide is already the newest version (3.30.2-1).
gnome-user-share is already the newest version (3.28.0-2).
gnome-video-effects is already the newest version (0.4.3-3).
gnome-video-effects set to manually installed.
gnome-weather is already the newest version (3.26.0-5).
gnome-session-canberra is already the newest version (0.30-7).
gnome-session-canberra set to manually installed.
libcanberra-pulse is already the newest version (0.30-7).
gnome is already the newest version (1:3.30+1).
gnome set to manually installed.
gnome-core is already the newest version (1:3.30+1).
gnome-games is already the newest version (1:3.30+1).
pulseaudio is already the newest version (12.2-4+deb10u1).
pulseaudio-module-bluetooth is already the newest version (12.2-4+deb10u1).
pulseaudio-utils is already the newest version (12.2-4+deb10u1).
pulseaudio-utils set to manually installed.
task-gnome-desktop is already the newest version (3.53).
gnome-orca is already the newest version (3.36.1-1~bpo10+1).
gksu is already the newest version (2.0.2-9+b1).
gksu set to manually installed.
gnome-alsamixer is already the newest version (0.9.7~cvs.20060916.ds.1-5+b1).
The following packages were automatically installed and are no longer required:
  libberkeleydb-perl libfreezethaw-perl libjson-perl libmldbm-perl
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  accerciser autoconf-archive bluetooth cython3 devhelp devhelp-common dleyna-renderer dtv-scan-tables
  elfutils exe-thumbnailer exuberant-ctags fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data
  fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-frontend-qt5
  fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-ui-classic
  fcitx5-module-quickphrase-editor finger flac flatpak flatpak-builder gdb genius-common
  gir1.2-appstreamglib-1.0 gir1.2-ayatanaappindicator3-0.1 gir1.2-flatpak-1.0 gir1.2-gcab-1.0
  gir1.2-gepub-0.6 gir1.2-gpaste-1.0 gir1.2-gtksource-4 gir1.2-template-1.0 gitg glade gnokii-common gpaste
  gstreamer1.0-doc gstreamer1.0-gtk3 im-config intltool iputils-tracepath ipython3 lame libamtk-5-0
  libamtk-5-common libappstream-glib-dev libasm1 libatk3.0-cil libbabeltrace1 libbfio1 libc6-dbg
  libcairo1.10-cil libcanberra-doc libclutter-1.0-dev libclutter-1.0-doc libclutter-gtk-1.0-dev
  libclutter-gtk-1.0-doc libcogl-dev libcogl-doc libcogl-pango-dev libcogl-path-dev libcpupower1
  libdevhelp-3-6 libfcitx-config4 libfcitx-core0 libfcitx-gclient1 libfcitx-qt5-1 libfcitx-qt5-data
  libfcitx-utils0 libflatpak0 libgail-3-doc libgbm-dev libgcab-1.0-0 libgcab-dev libgdk-pixbuf2.0-doc
  libgdk3.0-cil libgepub-0.6-0 libgettextpo0 libgio3.0-cil libgladeui-2-6 libgladeui-common libglib3.0-cil
  libgnokii6 libgoocanvas-2.0-9 libgoocanvas-2.0-common libgpaste11 libgstreamer1.0-dev
  libgstrtspserver-1.0-0 libgtk-3-doc libgtk3.0-cil libgtkd-3-0 libgtkhex-3-0 libgtksourceview-4-0
  libgtksourceview-4-common libgtksourceview2.0-0 libgtksourceview2.0-common libgtksourceviewmm-3.0-0v5
  libipt2 libjava-gnome-java libjava-gnome-jni libjs-sphinxdoc libjs-underscore libjsonrpc-glib-1.0-1
  liblinear3 liblnk-utils liblnk1 libmanette-0.2-0 libmetacity1 libmpv1 libmsi0 libnotify-doc libosinfo-bin
  libostree-1-1 libpanel-applet3 libpango3.0-cil libphobos2-ldc-shared82 libpresage-data libpresage1v5
  libpugixml1v5 libretro-gtk-0.14-0 libsdl2-ttf-2.0-0 libsnapd-glib1 libtelepathy-glib-doc
  libtemplate-glib-1.0-0 libtemplate-glib-common libvala-0.42-0 libvala-0.42-dev libvted-3-0 libxml2-doc
  libyaml-dev magic-wormhole mailnag mame mame-data meson metacity msitools nemiver ninja-build nmap
  nmap-common onboard onboard-common onboard-data opus-tools ostree policykit-1-doc presage
  python-concurrent.futures python-dbus.mainloop.pyqt5 python-docopt python-libxml2 python-netifaces
  python-notify2 python-protobuf python-psutil python-pyqt5 python-pyroute2 python-setproctitle python-xdg
  python-zeroconf python3-attr python3-autobahn python3-automat python3-cbor python3-click python3-colorama
  python3-constantly python3-decorator python3-future python3-geoip python3-hkdf python3-humanize
  python3-hyperlink python3-incremental python3-ipython python3-ipython-genutils python3-jedi python3-lz4
  python3-nacl python3-opencv python3-openssl python3-parso python3-pickleshare python3-png
  python3-prompt-toolkit python3-pyasn1 python3-pyasn1-modules python3-pygments python3-pyqrcode
  python3-qrcode python3-service-identity python3-simplegeneric python3-snappy python3-spake2 python3-tqdm
  python3-traitlets python3-trie python3-twisted python3-twisted-bin python3-txaio python3-txtorcon
  python3-u-msgpack python3-ubjson python3-wcwidth python3-wsaccel python3-zope.interface redshift snapd
  squashfs-tools sysprof tango-icon-theme tilix tilix-common valac-0.42-vapi valgrind valgrind-dbg whois
  xdg-desktop-portal xdg-desktop-portal-gtk
Suggested packages:
  bluez-cups cython-doc vim | nvi | vile | emacsen fcitx-m17n fcitx-tools kdialog plasma-widgets-kimpanel
  bzr | brz gdb-doc gdbserver xgnokii | gnokii-cli gnome-core-devel python-doc tomboy arc-brave
  shiki-brave-theme arc-colors shiki-colors anjuta anjuta-extras arc-dust shiki-dust-theme arc-human
  shiki-human-theme arc-illustrious shiki-illustrious-theme arc-noble shiki-noble-theme compiz arc-wine
  shiki-wine-theme arc-wise shiki-wise-theme lha lame-doc libgcab-doc liblinear-tools liblinear-dev
  monodoc-gtk3.0-manual libyaml-doc gir1.2-gnomekeyring-1.0 mame-doc mame-extra mame-tools ncat ndiff zenmap
  libav-tools python-netaddr gir1.2-rsvg-3.0 python-psutil-doc python-pyqt5-dbg python-pyroute2-doc
  python-attr-doc python-future-doc python-nacl-doc python-openssl-doc python3-openssl-dbg
  python-pygments-doc ttf-bitstream-vera python-trie-doc python3-gtk2 python3-glade2 python3-qt4
  python3-serial python3-wxgtk2.8 python3-twisted-bin-dbg python-txaio-doc kdelibs-data valgrind-mpi
  kcachegrind alleyoop valkyrie
Recommended packages:
  gstreamer0.10-ffmpeg
The following NEW packages will be installed:
  accerciser autoconf-archive bluetooth cython3 devhelp devhelp-common dleyna-renderer dtv-scan-tables
  elfutils exe-thumbnailer exuberant-ctags fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data
  fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-frontend-qt5
  fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-ui-classic
  fcitx5-module-quickphrase-editor finger flac flatpak flatpak-builder gdb genius-common
  gir1.2-appstreamglib-1.0 gir1.2-ayatanaappindicator3-0.1 gir1.2-flatpak-1.0 gir1.2-gcab-1.0
  gir1.2-gepub-0.6 gir1.2-gpaste-1.0 gir1.2-gtksource-4 gir1.2-template-1.0 gitg glade gnokii-common
  gnome-2048 gnome-api-docs gnome-applets gnome-applets-data gnome-audio gnome-books gnome-boxes
  gnome-brave-icon-theme gnome-breakout gnome-builder gnome-cards-data gnome-colors gnome-colors-common
  gnome-common gnome-control-center-dev gnome-desktop-testing gnome-devel gnome-devel-docs gnome-doc-utils
  gnome-dust-icon-theme gnome-dvb-client gnome-dvb-daemon gnome-exe-thumbnailer gnome-extra-icons
  gnome-flashback gnome-flashback-common gnome-games-app gnome-genius gnome-gmail gnome-human-icon-theme
  gnome-hwp-support gnome-icon-theme-gartoon gnome-icon-theme-nuovo gnome-icon-theme-suede
  gnome-icon-theme-yasis gnome-illustrious-icon-theme gnome-initial-setup gnome-js-common gnome-keysign
  gnome-mastermind gnome-mousetrap gnome-mpv gnome-multi-writer gnome-nds-thumbnailer gnome-nettool
  gnome-noble-icon-theme gnome-packagekit-session gnome-paint gnome-panel gnome-panel-control
  gnome-panel-data gnome-phone-manager gnome-photos gnome-pie gnome-platform-devel gnome-power-manager
  gnome-recipes gnome-recipes-data gnome-screensaver gnome-screensaver-flags gnome-session-flashback
  gnome-settings-daemon-dev gnome-shell-extension-appindicator gnome-shell-extension-autohidetopbar
  gnome-shell-extension-caffeine gnome-shell-extension-dash-to-panel gnome-shell-extension-dashtodock
  gnome-shell-extension-desktop-icons gnome-shell-extension-disconnect-wifi
  gnome-shell-extension-easyscreencast gnome-shell-extension-hard-disk-led
  gnome-shell-extension-hide-activities gnome-shell-extension-hide-veth gnome-shell-extension-impatience
  gnome-shell-extension-kimpanel gnome-shell-extension-log-out-button gnome-shell-extension-mediaplayer
  gnome-shell-extension-move-clock gnome-shell-extension-multi-monitors gnome-shell-extension-no-annoyance
  gnome-shell-extension-onboard gnome-shell-extension-pixelsaver gnome-shell-extension-redshift
  gnome-shell-extension-remove-dropdown-arrows gnome-shell-extension-shortcuts gnome-shell-extension-show-ip
  gnome-shell-extension-suspend-button gnome-shell-extension-system-monitor
  gnome-shell-extension-tilix-dropdown gnome-shell-extension-tilix-shortcut
  gnome-shell-extension-top-icons-plus gnome-shell-extension-trash gnome-shell-extension-weather
  gnome-shell-extension-workspaces-to-dock gnome-shell-extensions-gpaste gnome-shell-mailnag
  gnome-shell-pomodoro gnome-shell-pomodoro-data gnome-shell-timer gnome-software-dev gnome-software-doc
  gnome-software-plugin-flatpak gnome-software-plugin-snap gnome-split gnome-subtitles gnome-system-log
  gnome-theme-gilouche gnome-twitch gnome-twitch-player-backend-gstreamer-cairo
  gnome-twitch-player-backend-gstreamer-clutter gnome-twitch-player-backend-gstreamer-opengl
  gnome-twitch-player-backend-mpv-opengl gnome-usage gnome-video-arcade gnome-video-effects-dev
  gnome-video-effects-frei0r gnome-wine-icon-theme gnome-wise-icon-theme gnomekiss gpaste gstreamer1.0-doc
  gstreamer1.0-gtk3 im-config intltool iputils-tracepath ipython3 lame libamtk-5-0 libamtk-5-common
  libappstream-glib-dev libasm1 libatk3.0-cil libbabeltrace1 libbfio1 libc6-dbg libcairo1.10-cil
  libcanberra-doc libclutter-1.0-dev libclutter-1.0-doc libclutter-gtk-1.0-dev libclutter-gtk-1.0-doc
  libcogl-dev libcogl-doc libcogl-pango-dev libcogl-path-dev libcpupower1 libdevhelp-3-6 libfcitx-config4
  libfcitx-core0 libfcitx-gclient1 libfcitx-qt5-1 libfcitx-qt5-data libfcitx-utils0 libflatpak0
  libgail-3-doc libgbm-dev libgcab-1.0-0 libgcab-dev libgdk-pixbuf2.0-doc libgdk3.0-cil libgepub-0.6-0
  libgettextpo0 libgio3.0-cil libgladeui-2-6 libgladeui-common libglib3.0-cil libgnokii6 libgoocanvas-2.0-9
  libgoocanvas-2.0-common libgpaste11 libgstreamer1.0-dev libgstrtspserver-1.0-0 libgtk-3-doc libgtk3.0-cil
  libgtkd-3-0 libgtkhex-3-0 libgtksourceview-4-0 libgtksourceview-4-common libgtksourceview2.0-0
  libgtksourceview2.0-common libgtksourceviewmm-3.0-0v5 libipt2 libjava-gnome-java libjava-gnome-jni
  libjs-sphinxdoc libjs-underscore libjsonrpc-glib-1.0-1 liblinear3 liblnk-utils liblnk1 libmanette-0.2-0
  libmetacity1 libmpv1 libmsi0 libnotify-doc libosinfo-bin libostree-1-1 libpanel-applet3 libpango3.0-cil
  libphobos2-ldc-shared82 libpresage-data libpresage1v5 libpugixml1v5 libretro-gtk-0.14-0 libsdl2-ttf-2.0-0
  libsnapd-glib1 libtelepathy-glib-doc libtemplate-glib-1.0-0 libtemplate-glib-common libvala-0.42-0
  libvala-0.42-dev libvted-3-0 libxml2-doc libyaml-dev magic-wormhole mailnag mame mame-data meson metacity
  msitools nemiver ninja-build nmap nmap-common onboard onboard-common onboard-data opus-tools ostree
  policykit-1-doc presage pulseaudio-dlna pulseaudio-equalizer pulseaudio-module-gsettings
  pulseaudio-module-jack pulseaudio-module-lirc pulseaudio-module-raop pulseaudio-module-zeroconf
  python-concurrent.futures python-dbus.mainloop.pyqt5 python-docopt python-libxml2 python-netifaces
  python-notify2 python-protobuf python-psutil python-pyqt5 python-pyroute2 python-setproctitle python-xdg
  python-zeroconf python3-attr python3-autobahn python3-automat python3-cbor python3-click python3-colorama
  python3-constantly python3-decorator python3-future python3-geoip python3-hkdf python3-humanize
  python3-hyperlink python3-incremental python3-ipython python3-ipython-genutils python3-jedi python3-lz4
  python3-nacl python3-opencv python3-openssl python3-parso python3-pickleshare python3-png
  python3-prompt-toolkit python3-pyasn1 python3-pyasn1-modules python3-pygments python3-pyqrcode
  python3-qrcode python3-service-identity python3-simplegeneric python3-snappy python3-spake2 python3-tqdm
  python3-traitlets python3-trie python3-twisted python3-twisted-bin python3-txaio python3-txtorcon
  python3-u-msgpack python3-ubjson python3-wcwidth python3-wsaccel python3-zope.interface redshift snapd
  squashfs-tools sysprof tango-icon-theme tilix tilix-common valac-0.42-vapi valgrind valgrind-dbg whois
  xdg-desktop-portal xdg-desktop-portal-gtk
0 upgraded, 356 newly installed, 0 to remove and 0 not upgraded.
Need to get 343 MB/344 MB of archives.
After this operation, 1,291 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
User avatar
Scorpion
 
Posts: 243
Joined: 2018-10-17 11:38

Re: Does pulseaudio have an alternative?

Postby Head_on_a_Stick » 2020-03-31 17:29

Scorpion wrote:As I thought there is not a proper alternative so.
Since gnome uses it.

I only posted my advice after confirming that PA could be removed on a GNOME system without forcing removal of the rest of the desktop or breaking audio.

Scorpion wrote:Is the -s option for show?

Yes, I suppose. It's better to check the man page for questions like that though. And *never* run a command unless you understand exactly what all of the applied options do.

Scorpion wrote:What does - do? Like in "apt install pulseaudio-".

It causes the removal of the package even though the install option is being passed. Again, read the man page.

Scorpion wrote:Now I am installing a lot of packages:
Code: Select all
apt install pulseaudio- gnome* gnome-core* libcanberra-pulse* pulseaudio* pulseaudio-module-bluetooth* task-gnome-desktop*

Go back and read my post again, I didn't tell you to manually install those packages:
I wrote:take the list of packages that apt(8) says can be removed with 'autoremove'

You obviously can't keep "pulseaudio*" if you want to remove pulseaudio, can you?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12744
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Does pulseaudio have an alternative?

Postby Scorpion » 2020-04-01 15:38

Where can I see the main page of debian' s apt?
-s is for --simulate so nothing happens if you use it.

You obviously can't keep "pulseaudio*" if you want to remove pulseaudio, can you?

So I copied the wrong packages list and I did not notice pulseaudio*.

Now it is different:
Code: Select all
apt -s purge pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libberkeleydb-perl libfreezethaw-perl libjson-perl libmldbm-perl python-dbus.mainloop.pyqt5 python-pyqt5
  rtkit
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  gnome* gnome-core* libcanberra-pulse* pulseaudio* pulseaudio-equalizer* pulseaudio-module-bluetooth*
  pulseaudio-module-gsettings* pulseaudio-module-jack* pulseaudio-module-lirc* pulseaudio-module-raop*
  pulseaudio-module-zeroconf* task-gnome-desktop*
0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.
Purg gnome [1:3.30+1]
Purg task-gnome-desktop [3.53]
Purg gnome-core [1:3.30+1]
Purg libcanberra-pulse [0.30-7]
Purg pulseaudio-equalizer [12.2-4+deb10u1]
Purg pulseaudio-module-raop [12.2-4+deb10u1]
Purg pulseaudio-module-zeroconf [12.2-4+deb10u1]
Purg pulseaudio [12.2-4+deb10u1] [pulseaudio-module-lirc:amd64 pulseaudio-module-gsettings:amd64 pulseaudio-module-jack:amd64 pulseaudio-module-bluetooth:amd64 ]
Purg pulseaudio-module-bluetooth [12.2-4+deb10u1] [pulseaudio-module-lirc:amd64 pulseaudio-module-gsettings:amd64 pulseaudio-module-jack:amd64 ]
Purg pulseaudio-module-gsettings [12.2-4+deb10u1] [pulseaudio-module-lirc:amd64 pulseaudio-module-jack:amd64 ]
Purg pulseaudio-module-jack [12.2-4+deb10u1] [pulseaudio-module-lirc:amd64 ]
Purg pulseaudio-module-lirc [12.2-4+deb10u1]


Code: Select all
apt install pulseaudio- libberkeleydb-perl libfreezethaw-perl libjson-perl libmldbm-perl python-dbus.mainloop.pyqt5 python-pyqt5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libberkeleydb-perl is already the newest version (0.55-2).
libberkeleydb-perl set to manually installed.
libfreezethaw-perl is already the newest version (0.5001-2).
libfreezethaw-perl set to manually installed.
libjson-perl is already the newest version (4.02000-1).
libjson-perl set to manually installed.
libmldbm-perl is already the newest version (2.05-2).
libmldbm-perl set to manually installed.
python-dbus.mainloop.pyqt5 is already the newest version (5.11.3+dfsg-1+b3).
python-dbus.mainloop.pyqt5 set to manually installed.
python-pyqt5 is already the newest version (5.11.3+dfsg-1+b3).
python-pyqt5 set to manually installed.
The following package was automatically installed and is no longer required:
  rtkit
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
  gnome gnome-core libcanberra-pulse pulseaudio pulseaudio-equalizer pulseaudio-module-bluetooth
  pulseaudio-module-gsettings pulseaudio-module-jack pulseaudio-module-lirc pulseaudio-module-raop
  pulseaudio-module-zeroconf task-gnome-desktop
0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.
After this operation, 7,721 kB disk space will be freed.
Do you want to continue? [Y/n]

I should not remove gnome package, right? I will be left with no GUI.

To use jack do you use:
Code: Select all
qjackctl
?

Maybe is best to keep pulseaudio then, since I want to keep gnome.
User avatar
Scorpion
 
Posts: 243
Joined: 2018-10-17 11:38

Re: Does pulseaudio have an alternative?

Postby Bloom » 2020-04-01 15:41

Pulseaudio is married to Gnome, but I use an XFCE desktop and there I could use only ALSA and that suits me fine.
User avatar
Bloom
 
Posts: 302
Joined: 2017-11-11 12:23

Re: Does pulseaudio have an alternative?

Postby Head_on_a_Stick » 2020-04-01 16:41

Scorpion wrote:Where can I see the main page of debian' s apt?

Code: Select all
man apt

But that's just a brief summary because apt(8) is a wrapper for apt-get(8) so also read
Code: Select all
man apt-get

And while you're at it read these as well:
Code: Select all
man man
man intro

Scorpion wrote:-s is for --simulate so nothing happens if you use it.

Yes, that's right, it just shows you what would have happened.

Scorpion wrote:I should not remove gnome package, right? I will be left with no GUI.

It's fine to remove it because it's just a metapackage and does not provide the actual GUI.

I've already told you that I tested my method, if you don't believe me then make a full system backup before trying (which you should be doing anyway).

Scorpion wrote:To use jack

Read the Debian wiki page. I've never used it myself.

Bloom wrote:Pulseaudio is married to Gnome

No it's not. I've removed it without breaking GNOME and sound still works in that desktop with just ALSA.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12744
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Does pulseaudio have an alternative?

Postby Scorpion » 2020-04-02 15:13

It's fine to remove it because it's just a metapackage and does not provide the actual GUI.

I've already told you that I tested my method, if you don't believe me then make a full system backup before trying (which you should be doing anyway).

I did it it works so now I do not have pulseaudio.
But I cannot use xbind:
~/.xbindkeysrc
Code: Select all
##################################

# Lower volume on thumb wheel down
 "xte 'key XF86AudioLowerVolume'"
  b:8

# Raise volume on thumb wheel up
"xte 'key XF86AudioRaiseVolume'"
  b:9

# End of xbindkeys configuration #
##################################

Buttons 8 and 9 are mouse buttons, mouse 4 and mouse 5.



I did not use any gnome audio keyboard shortcut I do not know by default what there is.
On the notebook I could not use the fn(?) shortcuts.
Read the Debian wiki page. I've never used it myself.

I did it there is write to use that package.

Seems better to keep pulseaudio.
It works fine just the pulseaudio --system for root does not work.
So you have to copy some pulseaudio files from a normal user to use it as root.
User avatar
Scorpion
 
Posts: 243
Joined: 2018-10-17 11:38

Re: Does pulseaudio have an alternative?

Postby Head_on_a_Stick » 2020-04-02 15:41

Scorpion wrote:But I cannot use xbind

You should use the GNOME desktop's shortcut keys instead.

Click on the power symbol at the top right corner of the desktop and then click on the little crossed spanner & screwdriver symbol to access the settings and navigate to Devices → Keyboard.

The preset audio keys are under "Sound and Media", click on them and press <backspace> to unset then add your own (with the amixer commands I listed earlier) in the "Custom Shortcuts" section.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12744
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Does pulseaudio have an alternative?

Postby Scorpion » 2020-04-02 17:51

Does it work also for mouse buttons?
I like volume up and down with mouse 4 and mouse 5.

I can see them, as "Audio lower volume" set as default for "Volume down" and "Audio raise volume" set as default for "Volume up.
I think that is because of xbind.

Not sure what it uses to works.
How can I set play/pause with xbind, for mouse 3?

Seems that there aren' t shortcuts set, I cannot see not even a key:
Eject | Eject
Launch media player | Audio media
Next track | Audio next
[...]


I should set some keyboard shortcuts now that I think about it.
Like Ctrl+F10 or Ctrl+N...
User avatar
Scorpion
 
Posts: 243
Joined: 2018-10-17 11:38

Re: Does pulseaudio have an alternative?

Postby Head_on_a_Stick » 2020-04-02 18:25

Scorpion wrote:Does it work also for mouse buttons?

No.

Scorpion wrote:I can see them, as "Audio lower volume" set as default for "Volume down" and "Audio raise volume" set as default for "Volume up.
I think that is because of xbind.

No, those are the GNOME defaults. Click on them and use the <backspace> key to clear them.

Scorpion wrote:How can I set play/pause with xbind, for mouse 3?

No idea, I don't use xbindkeys.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12744
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Does pulseaudio have an alternative?

Postby Scorpion » 2020-04-02 19:58

No.

With xbind seems so.
No, those are the GNOME defaults. Click on them and use the <backspace> key to clear them.

Are mouse 4 and 5 gnome default? If I set mouse 4 as "Next track" I will see:
Next track | Audio lower volume

I did it, It works.

If I add mouse 3 to the xbind conf maybe I can use that too.
User avatar
Scorpion
 
Posts: 243
Joined: 2018-10-17 11:38

Re: Does pulseaudio have an alternative?

Postby Danielsan » 2020-04-05 04:02

The alternative to pulseaudio will be Pipewire when distros will start to adopt it: https://pipewire.org/
User avatar
Danielsan
 
Posts: 602
Joined: 2010-10-10 22:36

Re: Does pulseaudio have an alternative?

Postby stevepusser » 2020-04-05 04:08

Why on earth do you need audio as the root user?

It might be better to install and use apulse if you don't want pulseaudio:
The program provides an alternative partial implementation of the PulseAudio
API. It consists of a loader script and a number of shared libraries with the
same names as from original PulseAudio, so applications could dynamically load
them and think they are talking to PulseAudio. Internally, no separate sound
mixing daemon is used. Instead, apulse relies on ALSA's dmix, dsnoop, and plug
plugins to handle multiple sound sources and capture streams running at the
same time. dmix plugin muxes multiple playback streams; dsnoop plugin allow
multiple applications to capture from a single microphone; and plug plugin
transparently converts audio between various sample formats, sample rates and
channel numbers.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12124
Joined: 2009-10-06 05:53

Re: Does pulseaudio have an alternative?

Postby Scorpion » 2020-04-05 06:40

The alternative to pulseaudio will be Pipewire when distros will start to adopt it: https://pipewire.org/

By default I have that package installed.
Why on earth do you need audio as the root user?

It might be better to install and use apulse if you don't want pulseaudio:

Because I am logged as root.

I installed apulse:
Usage:
Code: Select all
apulse <program>


Can it fully replace pulseaudio?

Actually I have no problem with pulseaudio because I can use it as root but by default you can' t.
User avatar
Scorpion
 
Posts: 243
Joined: 2018-10-17 11:38

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 17 guests

fashionable