• Audio problems with YouTube

    From bob prohaska@3:770/3 to All on Sat Dec 10 15:59:42 2022
    Anybody seeing audio problems when viewing YouTube videos?

    Pi4, up-to-date 32-bit RasPiOS, both Firefox and Chromium.

    Chromium tends to crash unless YouTube service worker cookies
    are deleted before each YouTube session. Even then, there's no
    sound on videos. The problem dissapared for a while but is back
    now.

    Firefox plays YouTube videos, but some, mostly musical performances,
    have no sound. Others do have sound but the volume control on the
    YouTube playback window turns off all sound when set to less than
    maximum volume.

    Some kind soul explained the trick of removing Youtube service
    worker cookies to get chromium working, can't remember who. I'm
    hopeful there might be a similar workaround for the audio issues.

    Thanks for reading,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to bob prohaska on Sat Dec 17 01:49:14 2022
    bob prohaska <bp@www.zefox.net> wrote:
    Anybody seeing audio problems when viewing YouTube videos?

    Pi4, up-to-date 32-bit RasPiOS, both Firefox and Chromium.

    Chromium tends to crash unless YouTube service worker cookies
    are deleted before each YouTube session. Even then, there's no
    sound on videos. The problem dissapared for a while but is back
    now.

    Firefox plays YouTube videos, but some, mostly musical performances,
    have no sound. Others do have sound but the volume control on the
    YouTube playback window turns off all sound when set to less than
    maximum volume.

    Some kind soul explained the trick of removing Youtube service
    worker cookies to get chromium working, can't remember who. I'm
    hopeful there might be a similar workaround for the audio issues.

    The no sound problems are not limited to muic videos. Using Firefox
    it seems quite random whether a given video will have sound or not.
    In one case (so far) the sound came on after the video had been running
    for a couple of minutes.

    Sound is taken off the HDMI output by the monitor and sent to the
    amp/speakers via headphone jack on the monitor. No indication it's
    a bad connection, in that replugging the audio cable has no effect.
    The video is fine at all times.

    One oddity is that there's no sound icon in the top menu bar.
    Raspi-config reports the audio output goes to hdmi, and that
    is at least sometimes true. The lack of a GUI sound control
    seems a bit strange, and perhaps a clue.

    Can anybody tell me the name of the program that normally
    puts the sound control icon in the top level menu? Maybe
    it can be reinstalled.

    Thanks for reading,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to bob prohaska on Tue Dec 20 19:14:04 2022
    bob prohaska <bp@www.zefox.net> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Anybody seeing audio problems when viewing YouTube videos?

    In the end it turned out that pulseaudio had to be installed.
    Manually, for some reason. The package name escapes me and I
    could not find the link to the solution in my search history.

    Anyway, sound seems to work now.

    hth,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to bob prohaska on Wed Dec 21 12:14:00 2022
    On 20/12/2022 19:14, bob prohaska wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Anybody seeing audio problems when viewing YouTube videos?

    In the end it turned out that pulseaudio had to be installed.
    Manually, for some reason. The package name escapes me and I
    could not find the link to the solution in my search history.

    Anyway, sound seems to work now.

    hth,

    bob prohaska


    Yeah bob, ISTR I had to do the same on my 'Pi-Fi' system.

    Like you, no idea why...

    --
    “A leader is best When people barely know he exists. Of a good leader,
    who talks little,When his work is done, his aim fulfilled,They will say,
    “We did this ourselves.”

    ― Lao Tzu, Tao Te Ching

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to The Natural Philosopher on Wed Dec 21 15:49:00 2022
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 20/12/2022 19:14, bob prohaska wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Anybody seeing audio problems when viewing YouTube videos?

    In the end it turned out that pulseaudio had to be installed.
    Manually, for some reason. The package name escapes me and I
    could not find the link to the solution in my search history.

    Anyway, sound seems to work now.

    Yeah bob, ISTR I had to do the same on my 'Pi-Fi' system.

    Like you, no idea why...


    Must have been a very local oddity in our setups. The lack of
    net traffic makes clear that very few people had the problem.

    Thanks for writing,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to bob prohaska on Wed Dec 21 19:27:34 2022
    On 21/12/2022 15:49, bob prohaska wrote:
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 20/12/2022 19:14, bob prohaska wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Anybody seeing audio problems when viewing YouTube videos?

    In the end it turned out that pulseaudio had to be installed.
    Manually, for some reason. The package name escapes me and I
    could not find the link to the solution in my search history.

    Anyway, sound seems to work now.

    Yeah bob, ISTR I had to do the same on my 'Pi-Fi' system.

    Like you, no idea why...


    Must have been a very local oddity in our setups. The lack of
    net traffic makes clear that very few people had the problem.

    Thanks for writing,

    bob prohaska

    I think the issue is that I was running a headless server installation.
    I had no desktop or even x windows, and as such most of the normal audio
    stuff wasnt installed.

    I just kept adding sound packages until it worked

    I am surprised that pulseaudio is not an installation default on a PI
    desktop. It is on this *86 desktop


    --
    “There are two ways to be fooled. One is to believe what isn’t true; the other is to refuse to believe what is true.”

    —Soren Kierkegaard

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to The Natural Philosopher on Thu Dec 22 07:27:54 2022
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    I am surprised that pulseaudio is not an installation default on a PI desktop. It is on this *86 desktop

    For Firefox, I consider it a feature for it not to be able to
    access audio. There's no circumstance where that behaviour is
    desirable to me in a web browser (I always download videos
    separately). So I don't want any audio dependencies installed with
    it.

    As a side-note, it's possible to compile Firefox with either
    PulseAudio or ALSA audio support, so the exact behaviour might
    depend on which was selected by the package creator for your
    distro.

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dennis Lee Bieber@3:770/3 to All on Wed Dec 21 21:24:36 2022
    On Wed, 21 Dec 2022 19:27:34 +0000, The Natural Philosopher <tnp@invalid.invalid> declaimed the following:


    I am surprised that pulseaudio is not an installation default on a PI >desktop. It is on this *86 desktop

    https://www.raspberrypi.com/news/new-raspberry-pi-os-release-december-2020/
    It supposedly has been for two years.

    But if you've just been running apt update/apt upgrade on a
    pre-December-2020 install, it wouldn't be.


    --
    Wulfraed Dennis Lee Bieber AF6VN
    wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Computer Nerd Kev on Thu Dec 22 06:21:00 2022
    On 21/12/2022 21:27, Computer Nerd Kev wrote:
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    I am surprised that pulseaudio is not an installation default on a PI
    desktop. It is on this *86 desktop

    For Firefox, I consider it a feature for it not to be able to
    access audio. There's no circumstance where that behaviour is
    desirable to me in a web browser (I always download videos
    separately). So I don't want any audio dependencies installed with
    it.

    Its possible to mute a firefox tab. I think its possible to disallow it
    to access audio entirely. Not sure and cant be arsed to look

    As a side-note, it's possible to compile Firefox with either
    PulseAudio or ALSA audio support, so the exact behaviour might
    depend on which was selected by the package creator for your
    distro.

    Mmm. That's another thought entirely. In which case if you got it from
    a distro its should have e.g.pulseaudio as a dependency

    I do recall that the programs I installed that didn't work didn't have
    pulse audio as a dependency either.

    --
    When plunder becomes a way of life for a group of men in a society, over
    the course of time they create for themselves a legal system that
    authorizes it and a moral code that glorifies it.

    Frédéric Bastiat

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Dennis Lee Bieber on Thu Dec 22 06:22:00 2022
    On 22/12/2022 02:24, Dennis Lee Bieber wrote:
    On Wed, 21 Dec 2022 19:27:34 +0000, The Natural Philosopher <tnp@invalid.invalid> declaimed the following:


    I am surprised that pulseaudio is not an installation default on a PI
    desktop. It is on this *86 desktop

    https://www.raspberrypi.com/news/new-raspberry-pi-os-release-december-2020/ It supposedly has been for two years.

    But if you've just been running apt update/apt upgrade on a
    pre-December-2020 install, it wouldn't be.


    Think my install predates that

    --
    "Corbyn talks about equality, justice, opportunity, health care, peace, community, compassion, investment, security, housing...."
    "What kind of person is not interested in those things?"

    "Jeremy Corbyn?"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to Dennis Lee Bieber on Thu Dec 22 19:20:26 2022
    Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:

    https://www.raspberrypi.com/news/new-raspberry-pi-os-release-december-2020/ It supposedly has been for two years.

    But if you've just been running apt update/apt upgrade on a
    pre-December-2020 install, it wouldn't be.

    That might be the answer to my confusion. Looks like my system
    was set up in February 2020, so no default pulseaudio.

    But, using apt-update/upgrade, wouldn't an update to chromium
    have pulled in pulseaudio? /usr/bin/chromium-browser is dated
    October, 2021.

    Or, have I locked myself into an obsolete browser?

    Thanks for writing!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dennis Lee Bieber@3:770/3 to All on Fri Dec 23 18:28:02 2022
    On Thu, 22 Dec 2022 19:20:27 -0000 (UTC), bob prohaska <bp@www.zefox.net> declaimed the following:


    That might be the answer to my confusion. Looks like my system
    was set up in February 2020, so no default pulseaudio.

    But, using apt-update/upgrade, wouldn't an update to chromium
    have pulled in pulseaudio? /usr/bin/chromium-browser is dated
    October, 2021.


    On a Buster system (actually a Pi-Star custom configuration of Raspberry Buster).

    chromium-browser/oldstable 92.0.4515.98~buster-rpt2 armhf
    Chromium web browser, open-source version of Chrome

    Depends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0
    = 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.16), libcairo2 (>=
    1.6.0), libcups2 (>= 1.7.0), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.5),
    libglib2.0-0 (>= 2.39.4), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>= 0.5.0), libxrandr2, libxshmfence1, bash (>= 4),
    libgtk-3-0, xdg-utils, chromium-codecs-ffmpeg-extra (= 92.0.4515.98~buster-rpt2) | chromium-codecs-ffmpeg (= 92.0.4515.98~buster-rpt2), libraspberrypi0, libgl1-mesa-dri

    I believe "libasound" is the ALSA interface.

    On a system running Bullseye I show

    chromium-browser/stable,now 104.0.5112.105-rpt2 armhf [installed]
    Chromium web browser, open-source version of Chrome

    Depends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0
    = 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>=
    1.6.0), libcups2 (>= 1.7.0), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.60), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc-s1 (>= 3.5),
    libglib2.0-0 (>= 2.39.4), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libwayland-client0 (>= 1.0.2), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.4.5), libxdamage1
    = 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>= 0.5.0), libxrandr2,
    bash (>= 4), libgtk-3-0, xdg-utils, chromium-codecs-ffmpeg-extra (= 104.0.5112.105-rpt2) | chromium-codecs-ffmpeg (= 104.0.5112.105-rpt2), libraspberrypi0, libgl1-mesa-dri, libgles2, libegl1, libpulse0

    Note that last item -- I think libpulse0 is the PulseAudio interface.

    So... Buster has not added PulseAudio as a requirement to the browser, Bullseye appears to have added it.



    --
    Wulfraed Dennis Lee Bieber AF6VN
    wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to Dennis Lee Bieber on Sat Dec 24 01:08:22 2022
    Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:

    So... Buster has not added PulseAudio as a requirement to the browser,
    Bullseye appears to have added it.

    Does the name (Buster or Bullseye) appear in any system query command?
    Uname doesn't mention it at all and I don't remember what I selected 8-(

    Thanks for writing!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to bob prohaska on Sat Dec 24 14:43:54 2022
    bob prohaska <bp@www.zefox.net> wrote:
    Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:

    So... Buster has not added PulseAudio as a requirement to the browser,
    Bullseye appears to have added it.

    Does the name (Buster or Bullseye) appear in any system query command?
    Uname doesn't mention it at all and I don't remember what I selected 8-(

    "cat /etc/debian_version".

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From mm0fmf@3:770/3 to bob prohaska on Sat Dec 24 10:44:18 2022
    On 24/12/2022 01:08, bob prohaska wrote:
    Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:

    So... Buster has not added PulseAudio as a requirement to the browser,
    Bullseye appears to have added it.

    Does the name (Buster or Bullseye) appear in any system query command?
    Uname doesn't mention it at all and I don't remember what I selected 8-(

    Thanks for writing!

    bob prohaska

    X@raspberrypi:~ $ uname -a
    Linux raspberrypi 5.15.76+ #1597 Fri Nov 4 12:11:43 GMT 2022 armv6l
    GNU/Linux

    X@raspberrypi:~ $ cat /etc/debian_version
    11.5

    ^^^

    11 is Bullseye. See

    https://en.wikipedia.org/wiki/Debian_version_history

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Computer Nerd Kev on Sat Dec 24 13:47:48 2022
    On 24/12/2022 04:43, Computer Nerd Kev wrote:
    cat /etc/debian_version"

    gives me 9.13, so I am in fact no wiser :-).

    --
    "I guess a rattlesnake ain't risponsible fer bein' a rattlesnake, but ah
    puts mah heel on um jess the same if'n I catches him around mah chillun".

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to The Natural Philosopher on Sat Dec 24 14:06:24 2022
    The Natural Philosopher wrote:

    Computer Nerd Kev wrote:

    cat /etc/debian_version"

    gives me 9.13, so I am in fact no wiser :-).

    Sounds like 'stretch'

    <https://wiki.debian.org/LTS>

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dennis Lee Bieber@3:770/3 to All on Sat Dec 24 12:30:36 2022
    On Sat, 24 Dec 2022 13:47:48 +0000, The Natural Philosopher <tnp@invalid.invalid> declaimed the following:

    On 24/12/2022 04:43, Computer Nerd Kev wrote:
    cat /etc/debian_version"

    gives me 9.13, so I am in fact no wiser :-).

    That is ANCIENT... That's not even Buster.

    Buster is 10.x
    Bullseye is 11.x

    You appear to be running Stretch, which I'm pretty sure ended support a few years ago (Even Buster may be in security-only updates, since Debian
    tends to run a two year cycle and Bullseye came out last year).


    --
    Wulfraed Dennis Lee Bieber AF6VN
    wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to The Natural Philosopher on Sun Dec 25 07:24:10 2022
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 24/12/2022 04:43, Computer Nerd Kev wrote:
    cat /etc/debian_version"

    gives me 9.13, so I am in fact no wiser :-).

    I actually prefer the version numbers to the names because I can
    never remember the order of the latter (except by trying to
    remember its corresponding number, in which case the name is just
    surplus information).

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Dennis Lee Bieber on Sat Dec 24 22:21:02 2022
    On 24/12/2022 17:30, Dennis Lee Bieber wrote:
    On Sat, 24 Dec 2022 13:47:48 +0000, The Natural Philosopher <tnp@invalid.invalid> declaimed the following:

    On 24/12/2022 04:43, Computer Nerd Kev wrote:
    cat /etc/debian_version"

    gives me 9.13, so I am in fact no wiser :-).

    That is ANCIENT... That's not even Buster.

    Buster is 10.x
    Bullseye is 11.x

    You appear to be running Stretch, which I'm pretty sure ended support a few years ago (Even Buster may be in security-only updates, since Debian tends to run a two year cycle and Bullseye came out last year).


    *shrug*. It works, its not on the Internet. If it were running CP/M I
    wouldn't care, if it worked!
    --
    Those who want slavery should have the grace to name it by its proper
    name. They must face the full meaning of that which they are advocating
    or condoning; the full, exact, specific meaning of collectivism, of its
    logical implications, of the principles upon which it is based, and of
    the ultimate consequences to which these principles will lead. They must
    face it, then decide whether this is what they want or not.

    Ayn Rand.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to bob prohaska on Sun Dec 25 08:05:18 2022
    bob prohaska <bp@www.zefox.net> wrote:
    Does the name (Buster or Bullseye) appear in any system query command?

    cat /etc/apt/sources.list | head -n1 | awk '{print $3}'

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to A. Dumas on Sun Dec 25 21:19:40 2022
    A. Dumas <alexandre@dumas.fr.invalid> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Does the name (Buster or Bullseye) appear in any system query command?

    cat /etc/apt/sources.list | head -n1 | awk '{print $3}'


    Simplified to
    head /etc/apt/sources.list
    There's a reasonable chance I'll remember it.

    Thank you!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to A. Dumas on Mon Dec 26 09:14:46 2022
    A. Dumas <alexandre@dumas.fr.invalid> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Does the name (Buster or Bullseye) appear in any system query command?

    cat /etc/apt/sources.list | head -n1 | awk '{print $3}'

    Although often that just picks up a comment, and in any case it's
    possible to use a "suite name" like stable or testing in
    sources.list instead of the exact "codename".

    There can also be space-separated options before the "suite", as
    shown in the example from the man page:
    deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]

    If your really want a name, instead of a nice sensible version
    number, you can read /etc/os-release.

    Or print just the name with:
    expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to Computer Nerd Kev on Mon Dec 26 22:12:16 2022
    On 26-12-2022 00:14, Computer Nerd Kev wrote:
    A. Dumas <alexandre@dumas.fr.invalid> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Does the name (Buster or Bullseye) appear in any system query command?

    cat /etc/apt/sources.list | head -n1 | awk '{print $3}'

    Although often that just picks up a comment, and in any case it's
    possible to use a "suite name" like stable or testing in
    sources.list instead of the exact "codename".

    There can also be space-separated options before the "suite", as
    shown in the example from the man page:
    deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]

    If your really want a name, instead of a nice sensible version
    number, you can read /etc/os-release.

    Ah yes, that is simpler. I disagree that my command can go wrong,
    though; not on Raspberry Pi OS, about which the question was asked.

    Or print just the name with:
    expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'

    fgrep VERSION_CODENAME /etc/os-release | cut -d= -f2

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to A. Dumas on Tue Dec 27 08:48:14 2022
    A. Dumas <alexandre@dumas.fr.invalid> wrote:
    On 26-12-2022 00:14, Computer Nerd Kev wrote:
    A. Dumas <alexandre@dumas.fr.invalid> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Does the name (Buster or Bullseye) appear in any system query command?

    cat /etc/apt/sources.list | head -n1 | awk '{print $3}'

    Although often that just picks up a comment, and in any case it's
    possible to use a "suite name" like stable or testing in
    sources.list instead of the exact "codename".

    There can also be space-separated options before the "suite", as
    shown in the example from the man page:
    deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]

    If your really want a name, instead of a nice sensible version
    number, you can read /etc/os-release.

    Ah yes, that is simpler. I disagree that my command can go wrong,
    though; not on Raspberry Pi OS, about which the question was asked.

    The sources.list file is something that people often need/want to
    edit themselves (or possibly copy/paste things like extra repo
    entries from the web), so I'd consider its formatting to be
    uncertain on any distro. I usually comment-out the original entries
    and replace them with alternatives using an Australian (or as close
    as possible) mirror on the line below.

    Or print just the name with:
    expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'

    fgrep VERSION_CODENAME /etc/os-release | cut -d= -f2

    Each to their own.

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to Computer Nerd Kev on Tue Dec 27 13:23:12 2022
    Computer Nerd Kev <not@telling.you.invalid> wrote:
    The sources.list file is something that people often need/want to
    edit themselves (or possibly copy/paste things like extra repo
    entries from the web),

    Almost no one on any distro will ever edit their sources.list, is my guess.
    And if you do, you already know where to look.

    so I'd consider its formatting to be
    uncertain on any distro.

    Sure. And I don't want to say my original version is better, because it
    isn't, but even if it fails the first time at least you would know where to look for the distro code name. Like Bob changed it: just a full cat of the file.

    expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'

    fgrep VERSION_CODENAME /etc/os-release | cut -d= -f2

    Each to their own.

    Simplicity definitely wins here, I think, even with reliance on two
    external programs. But the insight that that file exists is the most
    important thing.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to A. Dumas on Wed Dec 28 07:18:38 2022
    A. Dumas <alexandre@dumas.fr.invalid> wrote:
    Computer Nerd Kev <not@telling.you.invalid> wrote:
    The sources.list file is something that people often need/want to
    edit themselves (or possibly copy/paste things like extra repo
    entries from the web),

    Almost no one on any distro will ever edit their sources.list, is my guess.

    Come on, then a whole lot of mirror servers would just be sitting
    there doing nothing, I'd guess it's one of the most edited files in
    /etc.

    And if you do, you already know where to look.

    Not really, people may set it up at installation/upgrade, possibly copying/pasting things off a guide on the web, then forget about it
    until next time.

    so I'd consider its formatting to be
    uncertain on any distro.

    Sure. And I don't want to say my original version is better, because it isn't, but even if it fails the first time at least you would know where to look for the distro code name. Like Bob changed it: just a full cat of the file.

    Unless it just shows "stable" or similar.

    expr "`cat /etc/os-release`" : '.*VERSION_CODENAME=\([[:alpha:]]*\)'

    fgrep VERSION_CODENAME /etc/os-release | cut -d= -f2

    Each to their own.

    Simplicity definitely wins here, I think, even with reliance on two
    external programs.

    "cut" is like a drug. Once you start using it, you then start
    bolting multiple "cuts" together and before long you've got a
    monstrosity. Better to always go for a regular expression in the
    first place when doing this sort of thing, then you're never
    tempted. But each to their own.

    V="`grep VERSION_CODENAME /etc/os-release`" && echo "${V#VERSION_CODENAME=}"

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to bob prohaska on Wed Dec 28 18:13:30 2022
    bob prohaska <bp@www.zefox.net> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Anybody seeing audio problems when viewing YouTube videos?

    In the end it turned out that pulseaudio had to be installed.

    FWIW, experiments with the latest 64-bit release have cleared up
    the last remnants of misbehavior using chromium to view Youtube.

    Those last remnants of misbehavior were erratic audio levels
    and some amount of distortion via the HDMI output.

    Working on a permanent upgrade now.

    Thanks for reading,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to Computer Nerd Kev on Sat Dec 31 12:38:36 2022
    On 2022-12-24, Computer Nerd Kev <not@telling.you.invalid> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:

    So... Buster has not added PulseAudio as a requirement to the browser,
    Bullseye appears to have added it.

    Does the name (Buster or Bullseye) appear in any system query command?
    Uname doesn't mention it at all and I don't remember what I selected 8-(

    "cat /etc/debian_version".


    or better ...

    cat /etc/os-release

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)