Re: how to disable system beep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16Dec2007 14:26, Nigel Henry <cave.dnb@xxxxxxxxxx> wrote:
| If you mean the annoying beep when the login screen comes up, I've just fixed 
| that by adding the following to /etc/modprobe.conf on F8.
| 
| install pcspkr /bin/true
| 
| See the man page for true. It's a bit sparce, but gives you the general idea.

"man 1p true" is less spartan, but true and false are commands with
pretty simple semantics:-)

In the good old days, /bin/true was simply an executable _empty_ file.
A shell would thus invoke a shell to run it, which found an empty script
and succeeded trivially.

A bit later I examined it on a SunOS4 system (I think). It was a file
consisting of a big fat copyright notice. And no code or other content.
So, some bloat.

Later still, on an AIX system, I examined it. It was an executable.
Bleah:-(

On Linux its and executable too. I know this is fractionally faster
than loading a shell to run it (though in the Old Days a shell was a
much tinier thing too). But it still makes me feel... ill. And since
true and false are built in to most shells, the /bin/true executable
would rarely be used anyway.

I suspect the real reason these days is that /bin/true must be
a general purpose executable - anything must be able to exec() it, not
just a shell. So the smallest this you could probably do is this:

  #!/bin/sh

I will return you to your mainline beep discussion now...

BTW, is it possible to disable the PC speaker but _not_ disable the
headphones? That would be pretty desirable to me.

And, under F8, has PulseAudio finally worked around the "browser-with
Flash has stolen my audio device" problem?

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

This calls for a really stupid and futile gesture.      - Strayhorn

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux