flexibeast / ewmctrl

Use wmctrl to manage desktop windows from Emacs
27 stars 7 forks source link

ewmctrl doesn't show windows of all desktops. #4

Open flexibeast opened 9 years ago

flexibeast commented 9 years ago

As noted by @sanel, ewmctrl does not list windows from all desktops.

sanel commented 9 years ago

I'm running EDE, with pekwm window manager. When I run wmctrl -d, I get correct desktop numbers with their names. Can you test it under xfce?

flexibeast commented 9 years ago

i just tested under an XFCE (4.8) session with xfwm4 as the window manager, and ewmctrl indeed listed all windows on all desktops. i then installed pekwm and ran pekwm --replace, and ewmctrl again listed all windows on all desktops.

By "EDE", do you mean "Equinox Desktop Environment"?

sanel commented 9 years ago

Yes.

Ahh, just probably figured out the reason why I don't see them. I'm running Emacs from terminal; after I run ewmctrl from GUI Emacs, it see all windows.

From terminal, it displaying only terminal from where Emacs is run. Any ideas?

flexibeast commented 9 years ago

Huh. That's odd indeed! i just tried running Emacs from a terminal in the above XFCE/pekwm setup, and ewmctrl again lists all windows on all desktops.

As a starting point, perhaps check the value of the process-environment variable in terminal-based Emacs and compare it to the value of that variable in GUI-based Emacs?

flexibeast commented 9 years ago

@sanel:

Further to the discussion thread for issue #3, can this issue be closed also? Or would you prefer it left open for now?