-
Notifications
You must be signed in to change notification settings - Fork 36
/
bambam.6
104 lines (104 loc) · 3.79 KB
/
bambam.6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.TH bambam 6 "24 August 2024" "version 1.4.0"
.SH NAME
bambam \- a keyboard mashing and doodling game for babies and toddlers
.SH SYNOPSIS
.B bambam
[\fIOPTIONS\fR]
.SH DESCRIPTION
.TP
\fB\-u\fR, \fB\-\-uppercase\fR
Show UPPER-CASE letters.
.TP
\fB\-d\fR, \fB\-\-deterministic\-sounds\fR
Produce same sounds on same key presses.
.TP
\fB\-D\fR, \fB\-\-dark\fR
Use a dark background instead of a light one.
.TP
\fB\-m\fR, \fB\-\-mute\fR
Start muted.
.TP
\fB\-\-sticky\-mouse\fR
Start with sticky mouse buttons enabled.
.TP
\fB\-\-sound_blacklist\fR=\fIGLOB\fR
List of sound filename patterns to never play.
.TP
\fB\-\-image_blacklist\fR=\fIGLOB\fR
List of image filename patterns to never show.
.TP
\fB\-\-extension\fR=\fIEXTENSION\fR
Use the specified extension.
.TP
\fB\-\-wayland\-ok\fR
Do not prevent running under Wayland. See the \fBNOTES\fR section.
.PP
bambam is a keyboard and mouse game for babies written in Python.
Pressing letter keys prints them in random locations and colours.
Pressing any other key draws little pictures in random locations.
Dragging the mouse while the mouse button is pressed draws in randomly changing
colours.
The screen is cleared at random.
.SH NOTES
.B
To quit, directly type the command mentioned in the upper left-hand corner of the window. In the English locales, this is the word: quit.
.PP
\fBBe aware\fR that there are ways to switch to another application from bambam:
.IP \(bu
when running under Wayland, it is not currently possible for bambam to grab all
key presses.
A consequence of that is that if you use GNOME Shell, pressing the Windows
(a.k.a. Super) key will activate the activities overview.
Please check your environment.
As a workaround, starting with version 1.1.2, bambam will try to detect if it
is running under Wayland. If this is the case, bambam will display a warning
and refuse to work.
You can disable this workaround, with the \fB\-\-wayland\-ok\fR option.
.IP \(bu
bambam does not block virtual terminal switching (e.g.
CTRL+ALT+F1). See the example 50-dont-vt-switch.conf file if you would like to
block that.
.IP \(bu
there may be other yet unknown ways in other environments and window managers.
.PP
For the above reasons, starting with version 1.2.0,
.B
it is possible and recommended to run bambam in a dedicated login session.
.IP \(bu
One way to do this is to select BamBam session type from your display manager
settings when logging in (look for a gear icon).
.IP \(bu
Another way is use command such as \fBexec startx bambam\fR from a text
console.
.PP
To turn the sound off and on, type \fBsound\fR in the game.
The legacy \fBmute\fR and \fBunmute\fR commands are also supported for now,
they will be removed in a future version.
.PP
To toggle sticky mouse buttons, type \fBmouse\fR in the game.
In this mode, the mouse button only needs to be pressed once to start or stop drawing.
.PP
bambam loads images (GIF, JPEG, PNG and TIFF files) and sounds (WAV and OGG
files) from the following directories:
.IP \(bu
the \fBdata\fR directory distributed with the game,
.IP \(bu
the \fBdata\fR directory in bambam's \fB$XDG_DATA_HOME\fR subdirectory (typically ~/.local/share/bambam/data)
.PP
When scanning directories for files, bambam \fBdoes\fR follow symbolic links
and descend directories. This makes is easy to have bambam use files located
elsewhere.
.PP
As of version 1.3.0 bambam has experimental support for extensions,
which are a way of changing the program behaviour.
Bambam loads extensions from the following directories:
.IP \(bu
the \fBextensions\fR directory distributed with the game,
.IP \(bu
the \fBextensions\fR directory in bambam's \fB$XDG_DATA_HOME\fR subdirectory (typically ~/.local/share/bambam/extensions)
.PP
See the EXTENSIONS.md file for documentation on creating and modifying extensions.
.SH AUTHOR
Spike Burch <[email protected]>
.BR
Marcin Owsiany <[email protected]>