Re: enabling the pc speaker

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

 



Cool!  I'll save this message, and write up that script after supper!
Appreciate the idea.


Mark Peveto
Registered Linux user number 600552
Everything happens after coffee!

On Wed, 15 Mar 2017, Chris Adams wrote:

> Once upon a time, Mark Peveto <southernprince73@xxxxxxxxx> said:
> > New to Fedora, although not all that new to linux itself.
> > How do I go about enabling the pc speaker in Fedora 25?  I can't seem to
> > find any blacklist file in modprobe.d, but it's definitely turned off.
> > Thanks.
>
> Make a script in /etc/sysconfig/modules (name it "<something>.modules");
> it just needs to be:
>
> #!/bin/sh
> modprobe pcspkr > /dev/null 2>&1 || :
>
> and make it executable.  That'll load the module on each boot.  That
> should be all you need for the console.  To get it in X can depend on
> the desktop; under MATE, I have the following in a script that I added
> to the default applications list:
>
> #!/bin/sh
> pitch=698
> len=100
> xset b $len $pitch 60
> xkbset bell
> top=/org/mate/desktop/peripherals/keyboard
> dconf write $top/bell-duration $len
> dconf write $top/bell-pitch $pitch
>
> IIRC xkbset is not in the default package set, but the RPM is just
> called "xkbset".
> --
> Chris Adams <linux@xxxxxxxxxxx>
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux