Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.

kpie doesnt get any info #17

Closed
medeirosjoaquim opened this issue Sep 12, 2017 · 2 comments
Closed

kpie doesnt get any info #17

medeirosjoaquim opened this issue Sep 12, 2017 · 2 comments
Labels

Comments

@medeirosjoaquim
Copy link

Hi. Just compiled in debian jessie. Everything went fine. But I run
./kpie --debug
it goes to
Loading configuration file: /home/johnbox/.kpie.lua

and never returns any info. I've tried kpie because I 've switched to Xmonad and both devilspie and devilspie2 stopped returning info.

How could I start debugging this?

Thanks in advance.

@skx
Copy link
Owner

skx commented Sep 17, 2017

(I'm sorry it took so long to reply.)

I'm not familiar with Xmonad, but I suspect that the reason that kpie/devilspie are failing is because they use the lower-level libwnck library to do the work of reacting to events. I suspect that Xmonad isn't submitting the appropriate events because it is more minimal/lightweight. (e.g. not supporting a pager / virtual desktops.)

So in practice I think there is a problem here, but it isn't a bug in either kpie / devilspie , instead it is a missing features in xmonad.

@medeirosjoaquim
Copy link
Author

I' m more familiar with Xmonad now and I agree with you. I guess that this has something to do with
baskerville/bspwm#28 . I had some problems with javafx also and the the fix was to use "setWMName "LG3D". Didn't had time to think it over and try to debug it.

Just to register this info: xprop can read the properties of the windows, for example, in URXVT I get

_NET_WM_STATE(ATOM) = 
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_PID(CARDINAL) = 25943
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
WM_LOCALE_NAME(STRING) = "pt_BR.UTF-8"
WM_CLASS(STRING) = "urxvt", "URxvt"
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0x1400009
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified minimum size: 15 by 27
		program specified resize increment: 11 by 23
		program specified base size: 4 by 4
		window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "host"
WM_COMMAND(STRING) = { "urxvt" }
_NET_WM_ICON_NAME(UTF8_STRING) = "xprop {~} (user@host)"
WM_ICON_NAME(STRING) = "xprop {~} (user@host)"
_NET_WM_NAME(UTF8_STRING) = "xprop {~} (user@host)"
WM_NAME(STRING) = "xprop {~} (user@host)"


Hope it can help someonelse looking for some info

@skx skx added the question label Apr 12, 2019
@skx skx closed this as completed Apr 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants