2005-11-18 18:54:58 +03:00
|
|
|
#!9PREFIX/bin/rc
|
|
|
|
# display a welcome message that contains the wmii tutorial
|
|
|
|
|
|
|
|
xmessage -file - <<END
|
|
|
|
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
|
2005-12-25 23:09:35 +03:00
|
|
|
familiar with wmii.
|
2005-11-18 18:54:58 +03:00
|
|
|
|
2005-12-25 23:09:35 +03:00
|
|
|
NOTE: Some characters in shortcuts have a special meaning. S is the Shift
|
|
|
|
key, C is the Ctrl key, M is the Meta key (usually Alt), and the hyphen means
|
|
|
|
that you have to press the surrounding keys at the same time.
|
2005-11-18 18:54:58 +03:00
|
|
|
|
|
|
|
Let's go!
|
|
|
|
|
2005-12-25 23:09:35 +03:00
|
|
|
- Start two xterms by pressing M-t twice.
|
2005-11-18 18:54:58 +03:00
|
|
|
- Switch between the three windows: M-j, M-k
|
|
|
|
You can also use M-Tab instead of M-j. If you prefer the mouse, then
|
|
|
|
just move the pointer above the desired window; no click is required.
|
2005-12-25 23:09:35 +03:00
|
|
|
- Create a new page: M-C-y
|
2005-11-18 18:54:58 +03:00
|
|
|
IMPORTANT: this text will then no longer be visible. In order to continue
|
|
|
|
reading you'll now often have to go back to the first page. Use M-h
|
|
|
|
or M-l for cycling through the existing pages. The digit in the left
|
|
|
|
corner at the bottom indicates which page you're on. You can directly
|
2005-12-25 23:09:35 +03:00
|
|
|
select a specific page as well: M-S-1, etc. Make sure that you are on the
|
2005-11-18 18:54:58 +03:00
|
|
|
second page before performing the next steps.
|
2005-12-25 23:09:35 +03:00
|
|
|
- Apply the float layout to the current page: M-S-f
|
2005-11-18 18:54:58 +03:00
|
|
|
Watch the leftmost bar label: the 't', which stood for 'tiled', has now
|
|
|
|
turned into an 'f', for 'float'.
|
2005-12-25 23:09:35 +03:00
|
|
|
- Open the programs menu: M-C-p
|
2005-11-18 18:54:58 +03:00
|
|
|
Type 'xclock' and press Enter.
|
|
|
|
- Resize the xclock window: left-click on the border and, while holding the
|
|
|
|
button down, move the cursor around.
|
|
|
|
- Move the xclock window: left-click on the title bar and, while holding
|
|
|
|
the button down, move the cursor around.
|
2005-12-25 23:09:35 +03:00
|
|
|
- Open the actions menu: M-C-a
|
|
|
|
Remove the current page by selecting the rmpage action. The xclock window
|
|
|
|
will be automatically detached and we'll land on the first page.
|
2005-11-18 18:54:58 +03:00
|
|
|
- Attach the xclock window again: M-a
|
2005-12-25 23:09:35 +03:00
|
|
|
- Select one of the terminals and close it: M-C-c
|
2005-11-18 18:54:58 +03:00
|
|
|
Close xclock as well.
|
|
|
|
- Swap the remaining terminal with the left master tile by moving the terminal
|
|
|
|
window somewhere to the left. Afterwards, swap them once again, but this
|
2005-12-25 23:09:35 +03:00
|
|
|
time by pressing M-Enter.
|
2005-11-18 18:54:58 +03:00
|
|
|
- We'll now have a look at the internal filesystem used by wmii. Executing
|
2005-12-12 17:08:16 +03:00
|
|
|
wmiir read /
|
2005-11-18 18:54:58 +03:00
|
|
|
in the shell of the terminal will list all the files in the root directory.
|
|
|
|
Files ending with a slash are directories. As you can see, / contains a
|
|
|
|
"normal" file and four directories. These directories correspond to the
|
2005-12-18 18:55:06 +03:00
|
|
|
four main components of wmii: wmiiwm, wmiibar, wmiikeys, and wmiimenu. If you
|
2005-11-18 18:54:58 +03:00
|
|
|
are curious, you can now dig deeper into the directory trees. For instance,
|
2005-12-12 17:08:16 +03:00
|
|
|
wmiir read /bar/1/b1press
|
2005-11-18 18:54:58 +03:00
|
|
|
will show you which command gets executed when you left-click on the page
|
|
|
|
label in the bar.
|
|
|
|
|
2005-12-25 23:09:35 +03:00
|
|
|
We hope that these steps gave you an idea of how wmii works. You can reread
|
|
|
|
them at any time by pressing M-C-a and selecting 'welcome'.
|
|
|
|
|
|
|
|
You should now take a look at the wmii(1) man page. An FAQ is available on
|
2005-11-18 18:54:58 +03:00
|
|
|
<http://wmii.de>.
|
|
|
|
END
|