welcome.sh (2277B)
1 #!/bin/sh 2 # display a welcome message that contains the wmii tutorial 3 4 xmessage -file - <<'EOF' 5 Welcome to wmii, the non-wimp environment of the Suckless Project. 6 7 This is a small step by step tutorial, intended to make you a 8 little bit familiar with wmii. For a more detailed walkthrough, 9 see @DOCDIR@/wmii.pdf. 10 11 From here on, keypresses will be described such that M-a refers to 12 pressing your modifier and a at the same time. The default modifier 13 key, hereafter $MODKEY, is the Windows(R) key, but it may also be Alt. 14 15 Let's go! 16 17 * Start two @TERMINAL@s by pressing M-Return twice. 18 * Switch between the three windows: M-j, M-k, 19 M*h, M-l 20 If you prefer to use the mouse, then just move the pointer to 21 the desired window. 22 * Try the other column modes: M-s for stack mode, 23 M*m for max mode Press M-d to return to default 24 mode. 25 * Create a new column with: M-Shift-l 26 This moves the client rightwards. 27 * Tag the selected client with another tag: M-Shift-2 28 IMPORTANT: before you do the next step, note that you 29 can select the current tag with M-1. 30 * Select the new tag: M-2 31 * Select the floating area: M-Space 32 * Open the programs menu: M-p 33 Type 'xclock' and press Enter. 34 * Move the xclock window: Hold $MODKEY, left-click on the 35 window and move the cursor around. 36 * Resize the xclock window: Hold $MODKEY, right-click the 37 window and move the cursor around. 38 * Kill the selected client (the xclock window) with: M-Shift-c 39 * Open the actions menu: M-a 40 Show the list of key bindings by selecting 'showkeys' 41 * We'll now have a look at the internal filesystem used by 42 wmii. Executing 43 wmiir ls / 44 in the shell of the terminal will list all the files in the 45 root directory. 46 Entries ending with / are directories. 47 If you are curious, you can now dig deeper into the 48 directory trees. For instance, 49 wmiir ls /rbar/ 50 will show you the content of the right half of the bar. 51 52 We hope that these steps gave you an idea of how wmii works. 53 You can reread them at any time by pressing M-a and 54 selecting 'welcome'. 55 56 You should now take a look at the wmii(1) man page. A FAQ is 57 available at <http://wmii.suckless.org>. 58 59 Further documentation, including alternative configuration 60 possibilities, is provided in @DOCDIR@. 61 EOF