[ubuntu-studio-users] ubuntu-studio-users Digest, Vol 120, Issue 9
Hans Schneidhofer
hans_linuser at aon.at
Sat Apr 15 12:31:44 UTC 2017
hi list,
thought about an only "Music-Workstation" without any Browser or some
other Programs outside a Music-Workstation.
Such things I can do with another one PC or an Odroid/Raspi.
But sometimes I find Effect-Programs which installs a hidden-pulseaudio
and for that crazy thing I will do a better control to not installs
this Software with pulseaudio-dependencies.
Think your ideas are very helpful so I will try out.
Thanks a lot so I hope, I can get rid of that.
bye hans
Am Samstag, den 15.04.2017, 12:00 +0000 schrieb ubuntu-studio-users-
request at lists.ubuntu.com:
> Send ubuntu-studio-users mailing list submissions to
> ubuntu-studio-users at lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
> or, via email, send a message with subject or body 'help' to
> ubuntu-studio-users-request at lists.ubuntu.com
>
> You can reach the person managing the list at
> ubuntu-studio-users-owner at lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ubuntu-studio-users digest..."
>
>
> Today's Topics:
>
> 1. what a nice day (akvenugopal)
> 2. pulseaudio (Hans Schneidhofer)
> 3. Re: pulseaudio (Ralf Mardorf)
> 4. Re: pulseaudio (Ralf Mardorf)
>
>
> -------------------------------------------------------------------
> ---
>
> Message: 1
> Date: Fri, 14 Apr 2017 22:37:15 -0500
> From: "akvenugopal" <akvenugopal at yahoo.com>
> To: "ubuntu-studio-users" <ubuntu-studio-users at lists.ubuntu.com>,
> "ubuntu-studio-users-bounces"
> <ubuntu-studio-users-bounces at lists.ubuntu.com>,
> "ubuntu-studio-users-request"
> <ubuntu-studio-users-request at lists.ubuntu.com>
> Subject: [ubuntu-studio-users] what a nice day
> Message-ID: <1824404687.20170415063715 at yahoo.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hey,
>
> I've had a really nice day and I just wanted to share something
> really cool with you, please take a look http://www.blog.lasercap
> .com/african.php?2425
>
>
> Bests, akvenugopal
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.ubuntu.com/archives/ubuntu-studio-users/attachmen
> ts/20170414/daba15f7/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 15 Apr 2017 11:12:12 +0200
> From: Hans Schneidhofer <hans_linuser at aon.at>
> To: ubuntu-studio-users at lists.ubuntu.com
> Subject: [ubuntu-studio-users] pulseaudio
> Message-ID: <1492247532.3712.300.camel at aon.at>
> Content-Type: text/plain; charset="UTF-8"
>
> hi list,
>
> how can I forbid the installation of pulseaudio in any additional
> package ? Or my be better to say - how can I get a better information
> on pakages, which will require pulseaudio ?
>
> On my ubuntu-studio-pc I must work only with alsa. But every time I
> should install a needed programm, this pulseaudio is hidden behind
> some
> other libs etc.
>
> The result then is, that I get trouble with the latences in the
> soundcard. (It's an RME-Soundcard)
>
> >
> > From my sight I would prefer any possibility to only install
> > packages
> without this pulseaudio. So I can see dependecies before I install
> some
> packages. Is there any way to see this ?
>
> An ideal way would be a special Ubuntu Studio only for ALSA sound.
> And
> all packages that are to taken later can brought on this basis and
> ALSA.
> For me this would be a dream of Ubuntustudio. But maybe, some
> possibilities exists to realize this behavior ?
>
> thanks in advance
> bye hans
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 15 Apr 2017 12:22:27 +0200
> From: Ralf Mardorf <ralf.mardorf at alice-dsl.net>
> To: ubuntu-studio-users at lists.ubuntu.com
> Subject: Re: [ubuntu-studio-users] pulseaudio
> Message-ID: <20170415122227.149d0ca3 at archlinux.localdomain>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi,
>
> On Sat, 15 Apr 2017 11:12:12 +0200, Hans Schneidhofer wrote:
> >
> > how can I forbid the installation of pulseaudio in any additional
> > package ?
> sudo -i
> apt update && apt install equivs
> equivs-control pulseaudio
> nano pulseaudio # Edit the file similar to [1]
> equivs-build
> dpkg -i pulseaudio*deb
>
> More information:
> https://www.debian.org/doc/manuals/apt-howto/ch-helpers.en.html
>
> >
> > pulseaudio is hidden behind some other libs etc.
> Then the command line or the synaptic GUI does show what dependencies
> get installed. Simply read what packages get installed, before you
> confirm to install them. However, it's safe to use an empty dummy
> package. OTOH there usually is no need to install such a dummy
> package,
> since pulseaudio much likely isn't required, perhaps just an optional
> dependency (recommended or suggested).
>
> FWIW in the future Firefox will drop ALSA support completely and
> requires pulseaudio. At the moment upstream's default is already to
> compile without ALSA support, just package maintainers might still
> compile with ALSA enabled.
>
> Consider to build and install http://github.com/i-rinat/apulse if
> you should use Firefox in the future without pulseaudio installed.
> This
> should work for skype, too, but I only tested it with Firefox, so I
> only can confirm that it will work with Firefox compiled without ALSA
> support and a RME HDSPe AIO.
>
> Regards,
> Ralf
>
> [1]
> [rocketmouse at archlinux ~]$
> cat /mnt/moonstudio/usr/src/dummies/pulseaudio Priority: optional
> Standards-Version: 3.9.2
>
> Package: pulseaudio
> Version: 2016:07-13-moonstudio
> Maintainer: Weremouse <silver.bullet at zoho.com>
> Architecture: all
> Description: Dummy package
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 15 Apr 2017 12:49:57 +0200
> From: Ralf Mardorf <ralf.mardorf at alice-dsl.net>
> To: ubuntu-studio-users at lists.ubuntu.com
> Subject: Re: [ubuntu-studio-users] pulseaudio
> Message-ID: <1492253397.947.3.camel at alice-dsl.net>
> Content-Type: text/plain; charset="UTF-8"
>
> Alternatively you could allow to install the package, but to
> automatically rename the important files. You need to verify the
> script
> yourself, actually I don't know if I made a typo and if there is any
> reason for the sed command. You also need to check if I missed
> another
> important file. However, once you run dpkg-divert it automatically
> works
> each time pulseaudio gets installed/upgraded.
>
> #!/bin/bash
>
> divert () {
> cat<<EOF
> #!/bin/dash
> name=\$(echo \$(basename \$0) | sed -e 's/[0-9]\+ *//')
> printf "\n \033[7m\$(basename \$0) was renamed
> \$name.real\033[0m\n\n"
> exit
> EOF
> }
>
> for s in /etc/xdg/autostart/pulseaudio.desktop \
> ? /usr/bin/pulseaudio \
> ? /usr/bin/start-pulseaudio-x11 \
> do
> ??dpkg-divert --add --rename --divert $s.real $s && divert > $s
> ??chmod a+x $s
> done
>
> exit
>
> Actually I once wrote a script, that works, to safely get rid of GRUB
> crap:
>
> [rocketmouse at archlinux ~]$ cat /mnt/moonstudio/usr/src/dpkg-divert-
> grub.sh
> #!/bin/bash
>
> divert () {
> cat<<EOF
> #!/bin/dash
> name=\$(echo \$(basename \$0) | sed -e 's/[0-9]\+ *//')
> printf "\n \033[7m\$(basename \$0) was renamed
> \$name.real\033[0m\n\n"
> exit
> EOF
> }
>
> case $1 in
>
> --add)
> for s in grub-mkconfig update-grub
> do
> s=/usr/sbin/$s
> dpkg-divert --add --rename --divert $s.real $s && divert > $s
> chmod a+x $s
> done;;
>
> --remove)
> for s in grub-mkconfig update-grub
> do
> s=/usr/sbin/$s
> rm $s && dpkg-divert --rename --remove $s
> done;;
>
> --list)
> dpkg-divert --list | grep "local diversion of"
> ls -hlv /usr/sbin/grub-mkconfig* /usr/sbin/update-grub*|grep -v
> "gf"
> ;;
> *)
> cat $0;
>
> esac
>
> exit
>
>
>
> ------------------------------
>
More information about the ubuntu-studio-users
mailing list