i3에서 기본적으로 Guake를 부동 창으로 열고 싶습니다. ~/.i3/config 아래에 다음 내용으로 항목을 만들었습니다.
내 코드는 -
for_window [class="guake"] floating enable
내 창 xprop은 -
$ xprop
GDK_TIMESTAMP_PROP(GDK_TIMESTAMP_PROP) = 0x61
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE, _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
window id # of group leader: 0x1200001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 18874401
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME(CARDINAL) = 3768611
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1200020
WM_CLIENT_LEADER(WINDOW): window id # 0x1200001
_NET_WM_PID(CARDINAL) = 1265
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "class-VirtualBox"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified location: 0, 0
program specified minimum size: 1 by 1
window gravity: North
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "guake", "Main.py"
WM_ICON_NAME(STRING) = "Guake Terminal"
_NET_WM_ICON_NAME(UTF8_STRING) = "Guake Terminal"
WM_NAME(STRING) = "Guake Terminal"
_NET_WM_NAME(UTF8_STRING) = "Guake Terminal"
i3에서 열 때 guake를 항상 부동 상태로 만드는 방법은 무엇입니까?
답변1
올바른 명령은 -
for_window [instance="guake"] floating enable
guake가 제대로 실행되고 부동할 수 있도록 ~/.i3/config에 위 내용을 추가하세요.