Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't detect inkscape window #25

Open
sleepymalc opened this issue Sep 27, 2021 · 0 comments
Open

Can't detect inkscape window #25

sleepymalc opened this issue Sep 27, 2021 · 0 comments

Comments

@sleepymalc
Copy link

Caveat: I'm using macOS, which is not supported by this originally.

Since I see that xlib is now available for macOS users, hence I start to configure this. But I find out that after I run main.py, I have something like
{'style': PosixPath('/Users/pbb/.config/inkscape-shortcut-manager/styles'), 'object': PosixPath('/Users/pbb/.config/inkscape-shortcut-manager/objects')}, which seems working. But then, when I open an inkscape window, nor did the expected output from the script like "Found existing window" or "New window!" is printed. I'm not sure why...
I have installed python.xlib, xQuartz. And I need to activate xserver before I execute main.py. In detail, I need to
xhost +, and DISPLAY=":0" python3 main.py to let it near runs. Hope there is someone in the same situation can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant