Wmii

From Gentoo Linux Wiki

Jump to: navigation, search
This article is not very long. You could help Gentoo-Wiki by editing this article.

Window managers TOC

Back to X.Org


Contents

[edit] About

wmii (window manager improved 2) is a small and dynamic window manager which supports classic and tiling window management. It can easily be controlled by only the keyboard.

[edit] Installation and Setup

[edit] USE Flags

Use Flags: python (?)

[edit] Installation

# emerge -av wmii

[edit] Usage

Usually the MOD-Key is Alt, but it can be changed in the wmiirc.


To start a program, press Mod+p and a bar on the top will occur. Then type the name of the program followed by Return. Usually the first few characters will fit. Typing a partial command will result in the first match (sorted alphabetically) being highlighted, and a Return at this point will launch the highlighted program. Command-line arguments can be appended to any program directly from the menu simply by typing them:

$ gnome-terminal --window-with-profile="Profile1"

You can switch between Clients in the current view by pressing Mod+(h,j,k,l) (just like in vim). Clients can be moved around with Mod+Shift+(h,j,k,l).

[edit] Tags

Tags are Strings which group clients together. One Tag can have multiple Clients and one Client can have multiple Tags.

Tags 0-9 can be directly accessed via MOD+Number. With MOD+Shift+Number you can assign a Client to a number-Tag.

MOD+t can be used to access all Views (even those with strings). Use MOD+Shift+t to assign a Client a new Tag.

[edit] Troubleshooting

If wmii refuses to pass keystrokes on to X clients applications (e.g. in gnome-terminal the cursor box flashes as you type but no characters appear), but wmii shortcuts still work (e.g. Mod+Enter still opens a terminal, Mod+2 still switches to view 2), be sure that your /etc/wmii-3.5/wmiirc does not contain any Key lines for keysyms that do not exist or are unassigned and does not contain multiple bindings for the same keysym. For example, the following will cause this problem if XF86Sleep is unassigned:

File: /etc/wmii-3.5/wmiirc
        Key XF86Sleep
                xset dpms force standby # yes, this only blanks the monitor

Removing these two lines or running

$ xmodmap -e "keycode ### = XF86Sleep"

will fix the problem. Substitute the ### with any number 8-255; find an empty keycode to use with

$ xev

first.

[edit] Installing

If when installing you get a message telling you that this package is masked, just run:

ACCEPT_KEYWORDS="~x86" emerge wmii
Personal tools