Development/Examples

Examples

These are examples used by various installers as a starting point for new users.

This includes the files for capture filters, display filters and coloring rules.

Probably we should add a very limited amount of example capture files too.

The situation so far (and why it should be changed)

Currently, the installers will only install the files which are needed for Wireshark to do its job.

There are no Example files, no files with default settings and such.

So if a newbie installs Wireshark, they'll be presented with a blank page for capture filters, display filters, and coloring rules.

This will really make it hard to get a start with these features.

On the devlist, I've often heard something like:

"The user should read the documentation (help, getting started, ...), which describes the way such settings have to be done".

Well, that's actually not how things work. A typical newbie will install a program, "play" with it for a while, and only read the documentation once they're comfortable with it, to gain deeper knowledge.

Please note that if the user gets stuck somewhere, that's the moment when they might abandon using the program and begin searching for alternatives. (Some might say there's no alternative to Wireshark, but I would say such a person may be right; however, they're still a bit arrogant 😉)

That's the main reason why usability guides should make things as easy as possible for new users. If someone gets comfortable with a program and tries to use its full potential, they'll read the documentation and often get a "wow, I didn't know that; it sounds useful" reaction.

Saying all of this, I'm trying to explain why adding some basic defaults is really important.

Install defaults

Instead of leaving things empty, the installer should provide default files.

Of course, the installer should never overwrite already available configuration files.

Example Policies

An Example should be:

Example Filter Files

The example files can now be found in the Wireshark sources:

Capturing files

We might add the example test.cap from the user's guide screenshots here.

Discussion

Some example files were added in 14595