在DWM中, EMACS不能放在正确的坐标

各种窗口管理器和美化相关
回复
头像
sw2wolf
帖子: 435
注册时间: 2007-10-05 21:02

在DWM中, EMACS不能放在正确的坐标

#1

帖子 sw2wolf » 2013-06-07 8:30

In config.h, there is

代码: 全选

    static const char *emacs[] = {"emacs", "--geometry", "177x38+0+378", NULL };
    { MODKEY, XK_e, spawn, {.v = emacs } } 
The layout is:

代码: 全选

{ "><>",  NULL } 
"--geometry"启作用了,但总不能将窗口放于正确的坐标。

如果在终端执行:emacs --geometry 177x38+0+378
GConf 错误:联系配置服务器失败;某些可能原因是需要为 ORBit 启用 TCP/IP 联网,或者由于系统崩溃,您的 NFS 锁定已失效。请访问 http://projects.gnome.org/gconf/ 了解详细信息。(详细信息 - 1: 获取到会话的连接失败:执行子进程“dbus-launch”失败(No such file or directory))
头像
sw2wolf
帖子: 435
注册时间: 2007-10-05 21:02

Re: 在DWM中, EMACS不能放在正确的坐标

#2

帖子 sw2wolf » 2013-06-26 19:53

Adding the following into ~/.Xdefaults:

代码: 全选

Emacs.geometry: 178x36+0+363
Emacs*toolBar: off
Emacs*menuBar: off
it is OK now !
BTW, using floating layout only, i get a very small DWM(25k) :em11
https://github.com/sw2wolf/dwm

Regards!
回复