Page 7 of 7

Re: Desktop that Moves

Posted: Wed Feb 10, 2016 9:22 pm
by ChefIronBelly
Using yank to do what I was doing above with dmenu thanks bacon for that bit.

https://u.teknik.io/Xx5sL.webm

edit: not sure why osd looks like shite in the webm but that will get integrated into bar anyway.

if on testing or unstable.

Code: Select all

search yank
https://github.com/mptre/yank

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 3:17 pm
by ChefIronBelly
Thanks to bones for this one.
x11fs is a tool for manipulating X windows.
It creates a vitual filesystem to represent open windows, similar to what /proc does for processes.
This allows windows to be controlled using any language or tool with simple file IO, in a true unix fashion.
https://github.com/sdhand/x11fs

Just playing around a bit with this for now. You can see some of the raw filesystem and some of the values. I will be spending more time with this now that I have the basics working. Mostly just need to convert my wmutils scripts over and group indicator scripts should be painless.

https://u.teknik.io/hr8om.webm

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 3:51 pm
by machinebacon
^ looks fun - is there any advantage using this over wmutils?

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 4:35 pm
by ChefIronBelly
Not sure there is any at this point, just a different rabbit hole.

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 5:11 pm
by franksinistra
Looks a lot like the akemi project from 6c37 group in github, or does this actually related?

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 5:15 pm
by ChefIronBelly
^ have no idea about that one.

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 6:14 pm
by pidsley
Looks a little like Rio (the Plan9 window manager.) http://man.cat-v.org/plan_9/4/rio

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 6:47 pm
by ChefIronBelly
yes it does and the kid (with respect) would have been well served to reference that man page for his README.

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 9:15 pm
by pidsley
ChefIronBelly wrote:just a different rabbit hole.
Image

Just a different rabbit. :)

Re: Desktop that Moves

Posted: Thu Mar 10, 2016 9:22 pm
by bones
Look at that, chef, very cool!

Re: Desktop that Moves

Posted: Fri Mar 11, 2016 10:02 am
by wuxmedia
One thought: shared over SSHfs or something, X11 can be remotely manipulated.
Why? err not sure why.
I suppose you can use scripts to make the windows do what you want, which I imagine wm-tools does.
continuously pipe randomesque numbers into the all windows geometry to make it like you are hideously pissed
"everything's moving".

Re: Desktop that Moves

Posted: Fri Mar 11, 2016 1:45 pm
by ChefIronBelly
hehe that would be funny and possibly hilarious if someone got into your filesystem thru ssh and ran a random pos and size loop on your open windows.

And that takes me back to plan9 and how when you mount filesystems (cloud) they become local and transparent. Never really thought about that security, I guess we use SSH and lock it down (no root).

I actually have this x11fs running smoothly now. I will update this moving scrot soon.

Re: Desktop that Moves

Posted: Fri Mar 11, 2016 2:19 pm
by wuxmedia
^ as long as there is a random window...

move=$(cat /001020/pos/y + random number [-3,3]) ; echo $move /001020/pos/y

or something...

Re: Desktop that Moves

Posted: Fri Mar 11, 2016 3:34 pm
by ChefIronBelly

Re: Desktop that Moves

Posted: Sun Mar 13, 2016 3:59 pm
by dkeg
I'd like to hear more about you conclusion with benefits or detraction's over wmutils, like performance, configuration, responsiveness, control (i.e., you kill firefox child window, kills child and parent).

Thanks for testing it out and showing us.

Re: Desktop that Moves

Posted: Sun Mar 13, 2016 4:44 pm
by ChefIronBelly
^ It's early days but in a nutshell z3bra and gang put alot of thought and work to get us a out of the box wmutils satisfaction (just tweak). This is a raw filesystem with the same potential even if we take the thoughts from wmutils it still needs the work to get it there. But that raw-ness is what attracted me to it to be honest.

I am using now as a daily driver (git mostly updated). The work I need to do is with keyboard focus (alt+tab), border color, groups. Today I added a indicator to lemonbar to track WID, etc to help debug.

Let me bore you all with another ;)
https://u.teknik.io/bQsUK.webm

Edit in the scrot I am using my main 3 scripts.

fifty - 50% of screen, left,right,up and down. aka franksn
middles - places windows middle left, center and right.
fullscreen - obvious.

I really dont need anymore but maybe tile or something not sure.