网站地图
jwm

JWM -- Joe's Window Manager 

JWM 是一个以GPL许可证分发源码,简洁实用的X11窗口管理器。JWM支持壁纸设定、任务栏、状态栏、菜单编辑(不建议使用,落后、低效率而且繁琐)。它与SpaceFM等文件管理器搭配,即可组成一个现代化的桌面。

作者的自我介绍

My name is Joe Wingbermuehle. I was born in 1981 in Missouri. I graduated from UMR in May 2004 with a BS in Computer Science and a BS in Applied Mathematics. After school I worked for SBC for a year and then Exegy for five years. I am currently a graduate student at WUSTL. Besides computers, I also enjoy reading science fiction, playing piano, and listening to classical and punk music.

JWM使用C语言编写,最小化编译可以仅使用Xlib库,依赖极少。以下库作为可选项扩展JWM功能: 

1, libXext for the shape extension 

2, libXext for the render extension 

3, libXmu for drawing rounded windows (shape extension also needed) 

4, libXinerama for Xinerama support 

5, libXpm for XPM backgrounds and icons 

6, libjpeg for JPEG backgrounds and icons 

7, libpng for PNG backgrounds and icons 

8, libxft for antialiased and true type fonts 

9, libfribidi for right-to-left language support 

JWM支持MWM和EWMH。JWM编译后仅生成一个二进制文件jwm,启动后使用配置文件~/.jwmrc,若~/.jwmrc不存在则使用默认配置文件/etc/system.jwmrc(具体位置与编译选项有关)。

JWM 配置文件可以参考官方网站,以下为默认样式

一个简单的~/.jwmrc

<JWM>
<Key key="F1">exec:xterm -title XTerm -e "cd /path/;bash"</Key>
<Key mask="A" key="F1">restart</Key>
<Key mask="C" key="F1">exit</Key>
<Key mask="A" key="Tab">next</Key>
<Key mask="4" key="F1">close</Key>
<DoubleClickDelta>1</DoubleClickDelta>
<DoubleClickSpeed>400</DoubleClickSpeed>
<FocusModel>click</FocusModel>
<MoveMode>outline</MoveMode>
<PopupStyle enabled="false"></PopupStyle>
<ResizeMode>outline</ResizeMode>
<SnapMode distance="10">border</SnapMode>
<Tray height="26" layer="below" x="0" y="-1">
<TaskList maxwidth="256"/>
<Dock/>
<Clock format="%H:%M:%S %u %d/%m"></Clock>
</Tray>
<Desktops height="1" width="1" count="1">
</Desktops>
<RootMenu onroot="">
<Exit confirm="false"/>
</RootMenu>
<WindowStyle>
<Font>WenQuanYi Zen Hei Sharp-10</Font>
<Height>21</Height>
<Width>4</Width>
<Active>
<Text>white</Text>
<Title>#70849d:#2e3a67</Title>
<Outline>black</Outline>
</Active>
<Inactive>
<Text>#aaaaaa</Text>
<Title>#808488:#303438</Title>
<Outline>black</Outline>
</Inactive>
</WindowStyle>
<TaskListStyle>
<Font>WenQuanYi Zen Hei Sharp-10</Font>
<ActiveForeground>black</ActiveForeground>
<ActiveBackground>gray80:gray90</ActiveBackground>
<Background>gray90:gray80</Background>
<Foreground>black</Foreground>
</TaskListStyle>
<MenuStyle>
<Font>WenQuanYi Zen Hei Sharp-10</Font>
<Foreground>black</Foreground>
<Background>gray90</Background>
<ActiveForeground>white</ActiveForeground>
<ActiveBackground>#70849d:#2e3a67</ActiveBackground>
</MenuStyle>
<TrayStyle>
<Font>unifont</Font>
<Background>gray90</Background>
<Foreground>black</Foreground>
</TrayStyle>
<PopupStyle>
<Font>unifont</Font>
<Outline>black</Outline>
<Foreground>black</Foreground>
<Background>yellow</Background>
</PopupStyle>
</JWM>


相关文章推荐:
JWM | GPL | 窗口管理器 | 任务栏 | 状态栏 | SBC | C语言 | Xlib | MWM | 二进制文件 |
相关词汇词典