> Also, I haven't been able to create a custom keybinding that works.
> Essentially, I only want to create two: one to lock the screen, and
> one to reload euclid in-place without exiting back to the CLI (more on
> this later). The one to lock the screen seems easy enough to
> implement:
>
> bind_custom_01 = M x
> custom_command_01 = xscreensaver-command --lock
You prompted me to test this out a bit more, and the keys don't always
get bound (they do sometimes). I'll have to investigate further.
> As for the restarting of euclid in-place (without closing all windows,
> just reload euclid. sort of how i3 does where then you have to re-move
> all the windows to different desktops, but you can parse your new
> config changes/updated i3 without exiting your session and killing all
> of your application states), I have no idea how to do this. I'm
> wondering if this is a plausible feature of value since it would make
> sense with the consistent updates from the svn tree?
Yeah, this probably makes sense. Shouldn't be too hard either. In fact
I think I can make it so it just reloads the config, and leaves the
windows where they are (maybe not).
> Once the RC is
> out, I intend to continue to maintain both the "Real version" and the
> svn as this is the Arch Way (sort of?), so I'm wondering if there's a
> way to make a script that would do this, if not implement it into the
> RC itself?
I like the idea of having the svn and 0.1 or whatever side by side.
(dev and testing|stable).
I'm not sure I follow what the script is supposed to do though. Please
elaborate.
I'll try to look into these issues this afternoon.
Thanks,
Will
So the keys are getting bound, but there seems to be something odd
going on with starting some screenlockers.
xtrlock (I don't have xscreensaver) won't start from euclid's spawn
function. I notice that it belongs to group "shadow", I wonder whether
this is causing some complication?
On the plus side, slock works.
I'll have to look into this more. Of course if anyone has any ideas
this would be a good time to voice them.
Will
The cost of this is that I'm forking a shell every time spawn() is
called. But in the grand scheme of things, this doesn't seem like a
big cost given the massive benefits to the user and the time savings
for the dev.
If in the future someone wants to rework it to eek out a bit of
performance, he is free to do so, but for now it seems like the right
way forwards.
xscreensaver-command -lock now works on my system.
Cheers,
Will