Re: 新立得里面过滤“window manager”找到的有趣的东西
发表于 : 2011-08-12 21:29
带标记的都是有毛病不好用的。
Sawfish很好用,不用加标记。
Sawfish很好用,不用加标记。
感动啊,楼主爱用否?ljj_jjl2008 写了:带标记的都是有毛病不好用的。
Sawfish很好用,不用加标记。
还好了。反正你看我把40个wm合起来写的shell里面,把他放到第一位了。liu滔 写了:感动啊,楼主爱用否?ljj_jjl2008 写了:带标记的都是有毛病不好用的。
Sawfish很好用,不用加标记。
你那个shell代码太长加上自己不是很懂,所以没怎么看就跳过去了ljj_jjl2008 写了:还好了。反正你看我把40个wm合起来写的shell里面,把他放到第一位了。liu滔 写了:感动啊,楼主爱用否?ljj_jjl2008 写了:带标记的都是有毛病不好用的。
Sawfish很好用,不用加标记。
代码: 全选
LabelFontNameXft="wenquanyi,wenquanyi bitmap song:size=12"
其余两个也是很瘦的After starting evilwm you will see nothing but a mouse cursor and a black background (or other background if you specified it as above). To open a terminal, use the key combination Ctrl+Alt+Return. Programs can then be run from the terminal using ProgramName&.
Keyboard controls
Using the keyboard combination of Ctrl+Alt plus a third key gives you these functions:
(Ctrl+Alt作为主键)
Return – spawns new terminal(开新终端)
Escape – Deletes current window(关程序)
Insert – Lowers current window(降低窗口)
H,J,K,L – Move window left, down, up, right 16 pixels(移动窗口)
Y,U,B,N – Move window to top-left, top-right, bottom-left, bottom-right corner(移动到边)
I – Show information about current window(窗口信息)
= – Maximize current window vertically (toggle)(横向放大)
X – Maximize current window full-screen (toggle)(全屏)
Mouse controls
By holding down the Alt key, you can perform these functions with the mouse:
Button 1 – Move window(移动窗口)
Button 2 – Resize window(缩放)
Button 3 – Lower window(降低)
Virtual desktops
Using the keyboard combination of Ctrl+Alt plus a third key gives you these virtual desktop functions:
1-8 – Switch virtual desktop(切换桌面)
left – Previous virtual desktop
right – Next virtual desktop
F – Fix or unfix current window
To move a window from one virtual desktop to another, fix it, switch desktop, then unfix it. Alt+Tab can also be used to cycle through windows on the current desktop.
Tips & Tricks
Horizontal window maximize
The key combination of Ctrl+Alt+= will maximize a window vertically. To maximize a window horizontally, use Ctrl+Alt+= to maximize it vertically, then Ctrl+Alt+X to maximize it horizontally (as opposed to just using Ctrl+Alt+X to maximize it full-screen).
Exit evilwm by ending a program
By default, evilwm has no quit option. To exit, simply kill X with Ctrl+Alt+Backspace. If you wish, you can exit evilwm by closing a specific program. Instead of using exec evilwm in your ~/.xinitrc file, you can transfer exec to another program. Killing this program will then exit evilwm. For example:
(Ctrl+Alt+Backspace杀死WM)
下面是我所安装的wmii目录里面的文档:优点:(里面的alt键,实际测试应该是win键。)
wmii是对窗口管理功能的一种极致的诠释。倚重于键盘快键操作,而渐少鼠标的无意义移动。
整个桌面窗口自动排列,不会浪费你一点移动鼠标的时间。 可以轻松实现自己需要的窗口布局。 其他的事情,就是你的工作了,窗口管理器?忘掉它吧。
wmii基于plan9文件操作思想,即一切操作皆可看成文件操作,使得wmii定制性很强,可以用任意脚本来操作wmii提供的文件来扩展和改变wmii的功能和特性,目前wmii操作脚本即为bash脚本,而现在ruby脚本和wmii的结合也很多,提供了许多扩展功能。
这里只是一个简介,更多的信息请参考官方文档。 wmii 指南中文版(校对中....)
简单操作指引:
1、进入wmii後,面对的如同twm般空荡荡的桌面,但是不要以为一切依然平庸,alt-p键(1),进入程序启动选单,可以敲入你常用的程序名,例如:firefox,还未等你敲完,firefox的选项就会显示,回车,就启动了firefox,窗口直接最大化。
2、再启动一个gnome-terminal,还是按alt-p键,敲入gnome-ter...,启动,别担心,窗口会自动排列。
3、如何在程序之间进行切换呢? alt-j 或 alt-k键。
4、我如果想让窗口并列显示呢?alt-shift-l。
5、我想关闭一个窗口:alt-shift-c
6、我想退出wmii:alt-a,然後选择quit
7、我好像输错命令了,怎么取消? 简单地按一下 ESC 键。
进阶操作指引:
我想重启wmii:alt-a,选择wmii-rc(在改变wmii-rc设置後重启); 我想让窗口并排显示(上下窗口),alt-d 此时,我想其中一个窗口最大化,alt-m 我想切换焦点,alt-j 我想让窗口并列显示(左右窗口),alt-shift-l alt-shift-l 是增加列显示,可以用此快键,继续自动增加列 切换列窗口焦点,用alt-h alt-l 互换列窗口(左右窗口互换),alt-ctrl-h 或 alt-ctrl-l 如何关闭列?列内窗口关闭,列模式就会自动关闭。 我想让窗口浮出:alt-ctrl-space 我想取消窗口浮出,依然选择同样的组合键:alt-ctrl-space 我想开一个新tab:alt-shift-NUMBER(例如:alt-shift-2),此时,获得焦点的窗口自动进入新tab区。 我想让新区的窗口回到指定的旧区,alt-ctrl-NUMBER 我想关闭新区:不用操心,新区如果没窗口,自动关闭 我想选择一个区:alt-NUMBER
复杂操作指引:
我想调整一个窗口大小: alt-鼠标右键,同时拖动,会显示出窗口的4个区域框,每个框区代表不同的调整方式。 我想混合显示,即有并排,又有并列 没问题,首先你要保证有足够的窗口 wmii并不会给你一块空白的区域; 记住,列之间的切换用 alt-h alt-l,而列内窗口的切换用 alt-j; 偶想加入更多列,没问题,alt-shift-l,可以继续加入; 我想让这些窗口其中一个最大化,这里似乎有点困难,不过有个巧妙的办法,就是新建一个tab,直接在这个窗口上按 alt-shift-NUMBER键(例如:alt-shift-5),这里,这个窗口自动最大化。 我想让这个最大化的窗口回到旧区,依然保持窗口布局,在新区的最大化窗口上按 alt-ctrl-NUMBER键(例如:alt-ctrl-1)回到旧区。 我想将3、4区的窗口合并: 例如:在3区的窗口上,alt-shift-4,则将此窗口置于4区。
高级操作指引:
wmii-rc的配置文件:/usr/X11R6/etc/wmii-3/ 如何动态访问wmii-rc配置? $wmiirc read / 这里是wmii的高级功能,如同访问一个文件系统一样地访问wmii的配置及其功能选项。详情请参考文档。
Welcome to wmii, the non-wimp environment of the Suckless Project.
This is a small step by step tutorial, intended to make you a
little bit familiar with wmii. For a more detailed walkthrough,
see /usr/share/doc/wmii/wmii.pdf.
From here on, keypresses will be described such that M-a refers to
pressing your modifier and a at the same time. The default modifier
key, hereafter $MODKEY, is the Windows(R) key, but it may also be Alt.
Let's go!
* Start two x-terminal-emulators by pressing M-Return twice.
* 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
the desired window.
* Try the other column modes: M-s for stack mode,
M*m for max mode Press M-d to return to default
mode.
* Create a new column with: M-Shift-l
This moves the client rightwards.
* Tag the selected client with another tag: M-Shift-2
IMPORTANT: before you do the next step, note that you
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
Type 'xclock' and press Enter.
* 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.
* Kill the selected client (the xclock window) with: M-Shift-c
* Open the actions menu: M-a
Show the list of key bindings by selecting 'showkeys'
* 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.
Entries ending with / are directories.
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.
We hope that these steps gave you an idea of how wmii works.
You can reread them at any time by pressing M-a and
selecting 'welcome'.
You should now take a look at the wmii(1) man page. A FAQ is
available at <http://wmii.suckless.org>.
Further documentation, including alternative configuration
possibilities, is provided in /usr/share/doc/wmii.pdf
tint2的透明需要依靠设置tint2本身来实现。而在我的机子上,我在配置文件里面自动了tint2和用habak设置了壁纸,不过经常会出现tint2不透明的情况,尽管我已经在配置文件中设置了tint2使用透明的panel背景了 遇到这种情况,重新设置壁纸就可以了,原因不知ljj_jjl2008 写了:Sawfish
安装后用我的shell批命令启动起来后,没有选择任何部件时,就是一个黑屏幕,按鼠标中键会出现一个菜单,中文的,字体也很优美。在菜单内简单选择“定制”可以进一步处理一下,设置一下字体什么的。
中键菜单也能用来切换已经打开的程序。所以这个应该是最灵活的,不管怎么搭配都很好用。
缺陷:
1,他把上面列出的(Window Maker)的控件,都当成窗口了。
2,启动tint2时有一个提示,说他只会出现在第一个虚拟桌面上。(实际上好像并不是这样)
3,tint2和conky好像都不是透明的。
针对第一个问题,我们论坛的高手们,直接告诉我怎么设置一下吧。
窗口打开后默认就很漂亮,感觉很好。窗口标题也是中文的。
代码: 全选
Style dock !Title, !Borders, !Iconifiable, Sticky, StaysOnBottom
Style tint2 UseStyle dock
Style *panel UseStyle dock
Style *dock UseStyle dock
Style *tray UseStyle dock
Style *clock UseStyle dock
Style tray* UseStyle dock
Style wm* UseStyle dock
Style as* UseStyle dock
代码: 全选
{
MultiByteText = YES;
SystemFont = "WenQuanYi Bitmap Song:slant=0:weight=80:width=100:pixelsize=12";
BoldSystemFont = "WenQuanYi Bitmap Song:slant=0:weight=80:width=100:pixelsize=12:bold";
DefaultFontSize = 12;
AntialiasedText = Yes;
}