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'
|
2007-02-26 07:29:16 +03:00
|
|
|
Welcome to wmii, the non-wimp environment of the Suckless Project.
|
2006-02-25 21:36:53 +03:00
|
|
|
|
2006-12-25 00:41:13 +03:00
|
|
|
This is a small step by step tutorial, intended to make you a
|
|
|
|
little bit familiar with wmii.
|
2006-02-25 21:36:53 +03:00
|
|
|
|
2007-02-26 07:29:16 +03:00
|
|
|
From here on, keypresses will be described such that M-a refers to
|
|
|
|
pressing $MODKEY and a at the same time. $MODKEY refers to a
|
2007-06-08 20:35:19 +04:00
|
|
|
configuration variable which contains the Alt key by default.
|
2006-03-16 10:24:04 +03:00
|
|
|
|
2006-02-25 21:36:53 +03:00
|
|
|
Let's go!
|
|
|
|
|
2009-10-10 00:40:33 +04:00
|
|
|
- Start two @TERMINAL@s by pressing M-Return twice.
|
2007-02-26 07:29:16 +03:00
|
|
|
- Switch between the three windows: M-j, M-k,
|
|
|
|
M-h, M-l
|
|
|
|
If you prefer to use the mouse, then just move the pointer to
|
2006-12-25 00:41:13 +03:00
|
|
|
the desired window.
|
2007-02-26 07:29:16 +03:00
|
|
|
- Try the other column modes: M-s for stack mode,
|
|
|
|
M-m for max mode Press M-d to return to default
|
2006-12-25 00:41:13 +03:00
|
|
|
mode.
|
2007-02-26 07:29:16 +03:00
|
|
|
- Create a new column with: M-Shift-l
|
|
|
|
This moves the client rightwards.
|
|
|
|
- Tag the selected client with another tag: M-Shift-2
|
2006-12-25 00:41:13 +03:00
|
|
|
IMPORTANT: before you do the next step, note that you
|
2007-02-26 07:29:16 +03:00
|
|
|
can select the current tag with M-1.
|
|
|
|
- Select the new tag: M-2
|
|
|
|
- Select the floating area: M-Space
|
|
|
|
- Open the programs menu: M-p
|
2006-02-25 21:36:53 +03:00
|
|
|
Type 'xclock' and press Enter.
|
2007-02-26 07:29:16 +03:00
|
|
|
- Move the xclock window: Hold $MODKEY, left-click on the
|
|
|
|
window and move the cursor around.
|
|
|
|
- Resize the xclock window: Hold $MODKEY, right-click the
|
|
|
|
window and move the cursor around.
|
2007-09-27 15:30:59 +04:00
|
|
|
- Kill the selected client (the xclock window) with: M-Shift-c
|
2007-02-26 07:29:16 +03:00
|
|
|
- Open the actions menu: M-a
|
2006-12-24 02:20:28 +03:00
|
|
|
Rerun wmiirc by selecting 'wmiirc'.
|
2006-12-25 00:41:13 +03:00
|
|
|
- We'll now have a look at the internal filesystem used by
|
|
|
|
wmii. Executing
|
|
|
|
wmiir ls /
|
|
|
|
in the shell of the terminal will list all the files in the
|
|
|
|
root directory.
|
2007-02-26 07:29:16 +03:00
|
|
|
Entries ending with / are directories.
|
2006-12-25 00:41:13 +03:00
|
|
|
If you are curious, you can now dig deeper into the
|
|
|
|
directory trees. For instance,
|
|
|
|
wmiir ls /rbar/
|
|
|
|
will show you the content of the right half of the bar.
|
2006-02-25 21:36:53 +03:00
|
|
|
|
2006-12-25 00:41:13 +03:00
|
|
|
We hope that these steps gave you an idea of how wmii works.
|
|
|
|
You can reread them at any time by pressing $MODKEY-a and
|
|
|
|
selecting 'welcome'.
|
2006-02-25 21:36:53 +03:00
|
|
|
|
2006-12-25 00:41:13 +03:00
|
|
|
You should now take a look at the wmii(1) man page. A FAQ is
|
2007-02-26 07:29:16 +03:00
|
|
|
available at <http://wmii.suckless.org>.
|
2006-02-25 21:36:53 +03:00
|
|
|
EOF
|