i3ipc-python
i3
Our great sponsors
i3ipc-python | i3 | |
---|---|---|
16 | 200 | |
832 | 9,053 | |
0.6% | 1.7% | |
0.0 | 7.6 | |
3 months ago | 7 days ago | |
Python | C | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
i3ipc-python
- How to switch focus to last selected window?
-
Is it possible to force all windows that move to a specific workspace and/or monitor to automatically become floating?
i3ipc-python seems to do what I want -- it even has a script specifically for this -- and for existing windows moving to the space I think I can just use the binding.
-
Use the same shortcut to switch containers and workspaces?
Any reason not to use i3ipc-python? The module will talk over the ipc socket rather than calling out to (relatively expensive) i3-msg subprocesses to do it.
-
How to send all keystrokes to a specific window with a specific WM_CLASS regexp?
Untested but with i3ipc-python you should be able to write a script something like this:
-
Can you alt+tab in i3 WM?
here you go, there's more stuff on the arch wiki
-
Super Tab behavior like any other DE do with apps.
And this is the specific script to focus the last focused workspace https://github.com/altdesktop/i3ipc-python/blob/master/examples/focus-last.py
-
sway-menu extended
Looks good, if you want to go even further you could replace calls to swaymsg with a python implementation python-i3ipc / i3ipc-python
-
Issues with Runekit on Linux.
I could probably use the i3ipc-python (https://github.com/altdesktop/i3ipc-python) library (which works with both i3 and Sway) to make a Sway-specific implementation, but then it would be up to other people to implement support for things like KDE Wayland and Gnome Wayland.
-
How to catch name of a window *at the exact moment of creation* before it changes? example: zoom notifications, them sly devils!
This is kind of interesting for me. I ran into a problem with spotify, I couldn't assign it to its proper workspace... The reason was because spotify does not put proper values in at startup (sometimes it manages, but mostly not), in bspwm there were subscribe that just dumped data out. I3 you can subscribe as well, but it seems they want you to use more libraries. I found this https://i3wm.org/docs/ipc.html, through that I found https://github.com/altdesktop/i3ipc-python, installed it with
-
Vertical Sidebar
The end goal is to make something that interacts with https://github.com/altdesktop/i3ipc-python, or something similar, so I'm fine with something closer to a library.
i3
-
Show HN: Chrome Reaper
While I believe Memory Saver was a great improvement, it only works if the tab is hidden or the window minimized. I recently learned the required state is not triggered if the tab is open but on another virtual desktop. At least this is the case with many of not all Linux window managers. Some of the many discussion threads on the topic:
https://github.com/i3/i3/issues/4353
-
Firefox 121 defaults to Wayland on Linux
> This is very true, and unfortunately there are very few people working on linux accessibility (including not me! I am part of the problem!).
Accessibility work itself ironically suffers from an accessibility problem. I brought up i3wm above, the issue for that is pretty illuminating: https://github.com/i3/i3/issues/3393
It's not that the devs are saying "this doesn't matter", the devs behind one of the most popular tiling window managers in the X11 ecosystem are saying, "this does matter, but we don't know how to fix it. We don't know what changes we'd need to make to get Orca working."
It's a really fundamental breakdown that's kind of a tragedy because I honestly believe that if accessibility communities were more heavily baked into testing and development in Linux and if this wasn't treated like two separate worlds, it would be better for everyone -- fixing accessibility concerns very often improves interfaces across the board and makes them more powerful.
But... how do you bridge that gap? I don't really know, I tried looking into Orca to see what would need to happen here and bounced off of it pretty hard, it's not a very approachable tech stack and there aren't tutorials or getting started guides. And on the other side of the issue I can preach about needing accessibility input during interface design, but I'm not in a position to give specific advice because I don't use screenreaders or alternate control schemes and I don't know what the biggest problems are.
The people who need to be involved in that process can't get involved because there's a tech barrier in place even for technically inclined people, and because the underlying software locks them out from the start. i3wm isn't ever going to get someone who's intimately familiar with Orca to jump into the conversation because the people who need to use Orca can't use i3wm. So that leaves the people who can address that tech barrier, but they don't know what to do or how to approach the problem because of the lack of involvement and because the communities are isolated from each other. So it's a chicken-and-egg problem and I don't know how to solve it.
-
"We understand" ;)
This is partially why i use tools like i3 (/ sway). i like the tool; it works extremely well for me; the design has stayed the same for 20 years; there's no profit motive to come along and fuck everything up. it just works. it is boring in the best way possible.
-
what machines have you used for development, and what do you prefer?
I use MacBook Pro (Retina, 15-inch, Mid-2014) with Manjaro as OS using i3 as a window manager. It isn't perfect, but I'm thrilled with it. I have been a Mac OS user for the last 15 years and wouldn't change what I have now for a Mac OS because I don't need more than what I'm using for development.
-
The future of /r/i3wm
Even though, we have moved the official i3 support channel to GitHub discussions, i3's biggest community is still on reddit and if things continue like that there is going to be a lot of helpful content on an increasingly closed platform.
- while in i3wm, krita dockers move downwards a bit each time they're spawned - how do I fix this?
- i3wm-like window switching for Windows
-
egui_overlay - A transparent Overlay window where you can only click the "egui parts"
for example, take i3. https://github.com/i3/i3/issues/4478
- How to start on a Linux desktop environment?
-
Machine for pentesting and general use?
For daily usage I really like kubuntu with i3wm, but it takes some configuration and getting used to the shortcuts, but it's well worth it
What are some alternatives?
rofi - Rofi: A window switcher, application launcher and dmenu replacement
sway - i3-compatible Wayland compositor
runekit - Alt1-compatible widget host for RuneScape 3
awesome - awesome window manager
psuinfo - A psutil-based command to display customizable system usage info in a single line, for Tint2 executors or CLI
bspwm - A tiling window manager based on binary space partitioning
i3-autoname
wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
wofi-scripts - Scripts for wofi, a wayland compatible program launcher
xmonad - The core of xmonad, a small but functional ICCCM-compliant tiling window manager
i3-focus-last
tmux - tmux source code