udisks.xplr - Device/mount management in xplr using UDisks2 #762
Replies: 2 comments 2 replies
|
Another pain point I had during development which I'd like to note is that my plugin, which uses a seconh thread due to event loop shenanigans has no way to send messages to xplr. I needed messaging to tell xplr to redraw when things change asynchronously, which I have for now implemented by sending a SIGWINCH to the current process which triggers a redraw. |
|
Thank you for sharing the plugin.
xplr probably won't have a built-in plugin manager, so compilation steps can be added in the external plugin manager implementations, like https://github.com/dtomvan/xpm.xplr.
Is it a problem if xplr freezes for a short time while the mount/umount operation is going on? If yes, the current hack seems to be the best way to handle it. |
Uh oh!
There was an error while loading. Please reload this page.
udisks.xplr is a plugin that allows managing devices using the ubiquitous UDisks2 system, as common GUI file managers would allow you to do.
This one was quite challenging because it's mostly not written in Lua but C++ so it could talk directly to udisksd. As a question on the side, how are we planning to handle plugins that need a compilation step like mine does? The installation procedure for my plugin is currently rather annoying.
All reactions