bell(n) Tk Built-In Commands bell(n)
__________________________________________________________________________________________________________________________________________________NAME
bell - Ring a display's bell
SYNOPSIS
bell ?-displayof window? ?-nice?
_________________________________________________________________DESCRIPTION
This command rings the bell on the display for window and returns an empty string. If the -displayof option is omitted, the display of the
application's main window is used by default. The command uses the current bell-related settings for the display, which may be modified
with programs such as xset.
If -nice is not specified, this command also resets the screen saver for the screen. Some screen savers will ignore this, but others will
reset so that the screen becomes visible again.
KEYWORDS
beep, bell, ring
Tk 8.4 bell(n)
Check Out this Related Man Page
XDeviceBell(3X11)XDeviceBell(3X11)NAME
XDeviceBell - ring a bell on a device supported through the input extension
SYNOPSIS
Status XDeviceBell(display, device, feedbackclass, feedbackid, percent)
Display *display;
XDevice *device;
XID *feedbackclass;
XID *feedbackid;
int *percent;
ARGUMENTS
Specifies the connection to the X server. Specifies the device with which the bell is associated. Specifies the class of the feedback
with which the bell is associated. Specifies the id of the feedback with which the bell is associated. Specifies the volume in the range
-100 to 100 at which the bell should be rung.
DESCRIPTION
The XDeviceBell request causes the server to ring a bell on the specified feedback of the specified device, if possible. The specified vol-
ume is relative to the base volume for the bell. If an invalid device is specified, a BadDevice error will be returned. The feedbackclass
and feedbackid parameters contain values returned by an XGetFeedbackControl request and uniquely identify the bell to ring. If a feedback-
class is specified that does not support a bell, or if a nonexistent feedbackid is specified, or a percent value is specified that is not
in the range -100 to 100, a BadValue error will be returned.
The volume at which the bell is rung when the percent argument is nonnegative is:
base - [(base * percent) / 100] + percent
The volume at which the bell rings when the percent argument is negative is:
base + [(base * percent) / 100]
To change the base volume of the bell, use XChangeFeedbackControl.
XDeviceBell can generate a BadDevice or a BadValue error.
DIAGNOSTICS
An invalid device was specified. The specified device does not exist, or has not been opened by this client via XOpenInputDevice. An
invalid feedbackclass, feedbackid, or percent value was specified.
SEE ALSO XChangeFeedbackControl(3X11), XBell(3X11)
Programming With Xlib
XDeviceBell(3X11)
hi everybody,
I just installed Suse on an old Packard Bell.
When the install was at detecting my moden, it hung. I couldn't free it sooooo, I pressed ctrl+alt+backspace.
Yup that killed the process alright.
The machine went right down and upon reboot it is now at the KDE welcome page.
Here... (2 Replies)
I keep getting the following errors and I don't know where to look to resolve the problem. Any ideas?
bellmail: lockf(/usr/spool/mail/uucp): permission denied
bellmail: lockf(/usr/spool/mail/root): permission denied
bellmail: lockf(/usr/spool/mail/daemon): no such file or directory....
AIX... (1 Reply)
hey peeps
has anyone done the "Enhance the spell_check script (Sobell page 646) to accept an optional third argument" script. I am fully having trouble getting it to work. if you have done the script and dont mind sharing with others, please help me out.
thanks
mila :confused: (0 Replies)
I am running OpenIndiana development version oi_148 32-bit on a seven-year-old Dell Inspiron 8600.
Seems to be running fine except for one particular annoyance: It freezes whenever a system bell/beep plays.
I have mitigated this by turning the system bell off in gnome-terminal, which I use... (3 Replies)
I am writing a ksh script in cygwin though it could just as easily be bash and am trying to make an alert for myself where the bell rings many times like
print '\a'or
echo '^G'except I want it to ping me many times not just once. For some reason doing
print '\a\a\a\a\a\a\a\a\a\a'or similar... (7 Replies)
We are having a problem with initializing Solaris 8 installed on a Sunblade 1500 after having cloned the hard disc.
(The cloning process was done in a windows environment. Not a UNIX environment.)
Immediately after the cloning process neither hard disc would boot until the format label... (10 Replies)
I am looking to whitelist a corporate financial website to brokers who can re-sell our products.
A commonly cited approach is to clone the codebase and sub-domain it for each client which will allow for their own
media assets and any bespoke programming. The big downside here is maintaining... (1 Reply)