Last 12 weeks · 0 commits
2 of 6 standards met
While tinkering with a script to rename and select virtual desktops from a Python script, using xpybutil, I ran into a scenario in which my desktop manager had 8 virtual desktops, but ewhm.get_desktop_names() seemed to be returning some old/cached value from a good while back (probably more than an hour old). Other ewmh APIS seem to be working correctly (giving current/accurate results). Not sure if this is a bug in the ewhm module of xpybutil, or something deeper (something buggy in the Mate desktop manager?) -- but the Workspace Switcher Preferences dialog for the panel applet appears to be correct/accurate, and works correctly, which seems to suggest that the bug is not in the desktop manager... (?) Here's my sample script (as testgetnames.txt -- ironic that it's not possible to attach a python script as "*.py" here...) and a screen shot of the results, showing the bug. testgetnames.txt !Capture Note, I'm using Python 3.11.0 on x86_64 GNU/Linux, and Mate Desktop Environment 1.16.2.
Hi, For my project I need to set the geometry of a window, but it does not seem to work as I expect it. Here is a code snippet: Which fails with I saw that you recommend to use the version of the method or call the on the cookie, I don't see any in the module, and it seems that this module already handle the call to . Do I do something wrong?
Repository: BurntSushi/xpybutil. Description: An incomplete xcb-util port plus some extras Stars: 62, Forks: 14. Primary language: Python. Languages: Python (100%). License: WTFPL. Open PRs: 0, open issues: 2. Last activity: 6y ago. Community health: 42%. Top contributors: whitelynx, fennerm, BurntSushi, felixonmars, waldyrious, ryneeverett.
Hi! I did some work today to get pytyle3 and xpybutils to run on python3. Here are the results of what I did so far. This works mostly great! There is one thing I don't get and even despite the fact that you stated a couple years ago that you don't want to work on xpybutil and pytyle3 anymore (we had some contact about this), I'll give it a shot; may you have an idea: In `` request. Then the keymap is updated. This update takes a long time to run and is very resource intensive. So much, that I can't use pytyle3. I added a return statement so the update is simply skipped. I have the impression that this is run quite frequently and that other tilers do it too. Why is it so costly? It is not supposed to take that long. When is this run? Any ideas how to fix this? Thanks for the awesome work you did :) don't forget, pytyle3 has a clingy fanbase ;) <3
This way it will be more consistent with . Currently you can pass, say, to but if you want to account for decorations will fail when doing .