Desktop that Moves

Forum rules
Post your scrot in the appropriate section. If the section does not exist yet - open a new thread ;)
User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Desktop that Moves

Unread post by ChefIronBelly » Wed Feb 10, 2016 9:22 pm

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
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Desktop that Moves

Unread post by ChefIronBelly » Thu Mar 10, 2016 3:17 pm

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
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Desktop that Moves

Unread post by machinebacon » Thu Mar 10, 2016 3:51 pm

^ looks fun - is there any advantage using this over wmutils?
..gnutella..

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Desktop that Moves

Unread post by ChefIronBelly » Thu Mar 10, 2016 4:35 pm

Not sure there is any at this point, just a different rabbit hole.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
franksinistra
Ivana Fukalot
Posts: 1093
Joined: Mon Jan 27, 2014 2:03 am
Location: 印尼国

Re: Desktop that Moves

Unread post by franksinistra » Thu Mar 10, 2016 5:11 pm

Looks a lot like the akemi project from 6c37 group in github, or does this actually related?
rice no more.

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Desktop that Moves

Unread post by ChefIronBelly » Thu Mar 10, 2016 5:15 pm

^ have no idea about that one.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Desktop that Moves

Unread post by pidsley » Thu Mar 10, 2016 6:14 pm

Looks a little like Rio (the Plan9 window manager.) http://man.cat-v.org/plan_9/4/rio

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Desktop that Moves

Unread post by ChefIronBelly » Thu Mar 10, 2016 6:47 pm

yes it does and the kid (with respect) would have been well served to reference that man page for his README.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Desktop that Moves

Unread post by pidsley » Thu Mar 10, 2016 9:15 pm

ChefIronBelly wrote:just a different rabbit hole.
Image

Just a different rabbit. :)

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: Desktop that Moves

Unread post by bones » Thu Mar 10, 2016 9:22 pm

Look at that, chef, very cool!

User avatar
wuxmedia
Grasshopper
Posts: 6447
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Desktop that Moves

Unread post by wuxmedia » Fri Mar 11, 2016 10:02 am

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".
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Desktop that Moves

Unread post by ChefIronBelly » Fri Mar 11, 2016 1:45 pm

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.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
wuxmedia
Grasshopper
Posts: 6447
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Desktop that Moves

Unread post by wuxmedia » Fri Mar 11, 2016 2:19 pm

^ as long as there is a random window...

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

or something...
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Desktop that Moves

Unread post by ChefIronBelly » Fri Mar 11, 2016 3:34 pm

(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Desktop that Moves

Unread post by dkeg » Sun Mar 13, 2016 3:59 pm

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.

Work hard; Complain less

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Desktop that Moves

Unread post by ChefIronBelly » Sun Mar 13, 2016 4:44 pm

^ 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.
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

Post Reply