bell(n) Tk Built-In Commands bell(n)

```

```

# [NAME](#NAME)

bell - Ring a display's bell

# [SYNOPSIS](#SYNOPSIS)

**bell** ?**-displayof window**? ?**-nice**?

```

```

# [DESCRIPTION](#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](#KEYWORDS)

beep, bell, ring

8.4 Tk

---

Document: bell(n) from tk 9.1.0-r0 (Chainguard OS)
Source: https://downloads.sourceforge.net/sourceforge/tcl/tk9.1.0-src.tar.gz
