2006-02-25 21:36:53 +03:00
|
|
|
#!/bin/sh
|
|
|
|
# display a welcome message that contains the wmii tutorial
|
|
|
|
|
2006-03-22 18:05:12 +03:00
|
|
|
xmessage -file - <<'EOF'
|
2006-02-25 21:36:53 +03:00
|
|
|
Welcome to wmii, the non-wimp environment of the WMI Project.
|
|
|
|
|
|
|
|
This is a small step by step tutorial, intended to make you a little bit
|
|
|
|
familiar with wmii.
|
|
|
|
|
2006-03-22 18:05:12 +03:00
|
|
|
Note: $MODKEY is the Alt-key by default.
|
2006-03-16 10:24:04 +03:00
|
|
|
|
2006-02-25 21:36:53 +03:00
|
|
|
Let's go!
|
|
|
|
|
2006-04-12 16:49:23 +04:00
|
|
|
- Start two xterms by pressing $MODKEY-Return twice.
|
2006-03-22 18:05:12 +03:00
|
|
|
- Switch between the three windows: $MODKEY-j, $MODKEY-k
|
2006-05-01 23:50:51 +04:00
|
|
|
If you prefer the mouse, then just move the pointer to the desired window.
|
2006-05-14 17:43:12 +04:00
|
|
|
- Try the other column modes: $MODKEY-s for stack mode, $MODKEY-m for max mode
|
|
|
|
Press $MODKEY-d to return to default mode.
|
2006-04-12 16:49:23 +04:00
|
|
|
- Create a new column with: $MODKEY-Shift-l
|
2006-05-01 23:50:51 +04:00
|
|
|
This moves the client right-wards.
|
2006-03-22 18:05:12 +03:00
|
|
|
- Tag the selected client with another tag: $MODKEY-Shift-2
|
2006-12-24 02:20:28 +03:00
|
|
|
IMPORTANT: before you do the next step, note that you can select the current tag
|
2006-05-01 23:50:51 +04:00
|
|
|
with $MODKEY-1.
|
2006-03-22 18:05:12 +03:00
|
|
|
- Select the new tag: $MODKEY-2
|
|
|
|
- Select the floating area: $MODKEY-space
|
2006-04-11 12:38:47 +04:00
|
|
|
- Open the programs menu: $MODKEY-p
|
2006-02-25 21:36:53 +03:00
|
|
|
Type 'xclock' and press Enter.
|
2006-05-01 23:50:51 +04:00
|
|
|
- Move the xclock window: Press $MODKEY, left-click on the window and, while holding
|
2006-05-02 00:31:47 +04:00
|
|
|
the button down, move the cursor around.
|
2006-05-01 23:50:51 +04:00
|
|
|
- Resize the xclock window: Press $MODKEY, right-click the window and, while holding
|
2006-02-25 21:36:53 +03:00
|
|
|
the button down, move the cursor around.
|
2006-04-11 12:38:47 +04:00
|
|
|
- Open the actions menu: $MODKEY-a
|
2006-12-24 02:20:28 +03:00
|
|
|
Rerun wmiirc by selecting 'wmiirc'.
|
2006-02-25 21:36:53 +03:00
|
|
|
- We'll now have a look at the internal filesystem used by wmii. Executing
|
2006-12-24 02:20:28 +03:00
|
|
|
wmiir read /
|
2006-02-25 21:36:53 +03:00
|
|
|
in the shell of the terminal will list all the files in the root directory.
|
2006-05-02 00:31:47 +04:00
|
|
|
Entries beginning with a 'd' are directories.
|
2006-03-16 10:06:31 +03:00
|
|
|
If you are curious, you can now dig deeper into the directory trees. For instance,
|
2006-12-24 02:20:28 +03:00
|
|
|
wmiir read /bar/
|
2006-03-16 10:06:31 +03:00
|
|
|
will show you the content of the bar.
|
2006-02-25 21:36:53 +03:00
|
|
|
|
|
|
|
We hope that these steps gave you an idea of how wmii works. You can reread
|
2006-04-11 16:23:13 +04:00
|
|
|
them at any time by pressing $MODKEY-a and selecting 'welcome'.
|
2006-02-25 21:36:53 +03:00
|
|
|
|
2006-05-02 00:35:23 +04:00
|
|
|
You should now take a look at the wmii(1) man page. A FAQ is available on
|
2006-12-24 02:39:37 +03:00
|
|
|
<http://wmii.suckless.org>.
|
2006-02-25 21:36:53 +03:00
|
|
|
EOF
|