Kooha icon indicating copy to clipboard operation
Kooha copied to clipboard

Support for Window Managers

Open im-n1 opened this issue 3 years ago • 7 comments

I'm getting this error when I run the program.

Traceback (most recent call last):
  File "/app/share/kooha/kooha/main.py", line 63, in do_activate
    self.window = KoohaWindow(application=self)
  File "/app/share/kooha/kooha/window.py", line 58, in __init__
    desktop_environment = os.environ['XDG_CURRENT_DESKTOP']
  File "/usr/lib/python3.8/os.py", line 675, in __getitem__
    raise KeyError(key) from None
KeyError: 'XDG_CURRENT_DESKTOP'

im-n1 avatar Mar 29 '21 14:03 im-n1

what are your system informations? distro etc.

SeaDve avatar Mar 30 '21 02:03 SeaDve

  • debian testing
  • bspwm
  • python 3.9.2

im-n1 avatar Mar 30 '21 07:03 im-n1

Ahh, the error is coming from the desktop environment check wherein it tests if you are using gnome, but since you are not using a DE it might not work. I do recommend RecApp.

SeaDve avatar Mar 30 '21 22:03 SeaDve

So this app is Gnome-only?

im-n1 avatar Apr 02 '21 11:04 im-n1

Yes, as off now. Although, I'm working on support for other in v2.0

SeaDve avatar Apr 02 '21 11:04 SeaDve

#65 If your window manager support org.freedesktop.portal.Screencast, it should also work there

SeaDve avatar May 26 '21 12:05 SeaDve

Hi, would like to confirm if kooha now works on certain window managers. it would be great to build main branch or this already built package https://github.com/SeaDve/Kooha/suites/3015646991/artifacts/68284776

SeaDve avatar Jun 17 '21 03:06 SeaDve