You are not logged in.
@adamlau..
That one is going to be tough. Maximizing all the windows can be done, but if you meant restoring every thing back to the old state, then i think all the position/size details will have to be stored and restored.... i fear in the end everything will be too slow. If you have any ideas on how this can be done, i will be happy to look into it.
Offline
Your script is just fantastic!
Feature request (not so important though): call the script with some other parameter, then click on a window and obtain the effect of "swap" parameter with the selected window as the active one.
Offline
Your script is just fantastic!
Thanks
Feature request (not so important though): call the script with some other parameter, then click on a window and obtain the effect of "swap" parameter with the selected window as the active one.
Does this have any advantage over clicking a window to make it active and then calling swap?
Offline
Max all windows is what I meant. Restoring past state could be realized with a snapshot type of setup. Unsure of how to implement, start with maximizing all to start.
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
Does this have any advantage over clicking a window to make it active and then calling swap?
Not really, you're right.
I'm using your script now and the only relevant problem I encounter is some misbehaviour with maximized windows. The script tries to tile them (i.e. lets some empty space as if they would fit into it), but their geometry seems not to be changeable (Openbox). IMHO, either one of the following ways could be feasible.
1. The script de-maximizes all windows on the current desktop and then tiles them.
2. The script detects which windows are currently maximized and ignores them in the tiling process. That way no empty space would be wasted for them.
Offline
@isonofabio
I tried your first suggestion to de-maximize all windows, but it lead to lot of fluttering.
As a workaround for all openboxers ( ) , i have added a function to maximize the current window. it will maximize your window, but wont toggle its maximized state. Replace openbox maximize with "manage.py maximize" and enjoy
As usual, let me know if you find any bugs ...
Last edited by u_no_hu (2009-03-25 20:25:38)
Offline
it lead to lot of fluttering.
Fluttering... lol (the problem seems to be directly related to the single window manager and the way it repositions windows, so no simple way out is in sight from my modest advice).
As a workaround for all openboxers ...
It works, but it's dirty :-) ! Have you tried the second solution, i.e. to detect all maximized windows and exclude them from being tiling?
Offline
@isonofabio
It will become complicated, especially in window cycling etc. I like to keep it simple . And more comparing and checking means slow response.
Offline
@isonofabio
It will become complicated, especially in window cycling etc. I like to keep it simple . And more comparing and checking means slow response.
Maybe you have reason. More advanced features would translate into choosing a tiling window manager from the beginning.
Offline
I have added a config file .managerc . The config file will be created first time you run the script
I made a PKGBUILD for this which i want to put in aur, but the name sucks big time. So if you suggest a few names, that will be great
Offline
How about "TileWM"? Doesn't seem to be a project under that name.
Offline
FYI: new version gives me this:
> .bin/manage.py simple
.bin/manage.py: line 5: !DOCTYPE: No such file or directory
.bin/manage.py: line 6: syntax error near unexpected token `newline'
.bin/manage.py: line 6: ` "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
"downgraded" for now to fix it
//github/
Offline
How about "TileWM"? Doesn't seem to be a project under that name.
That sounds like a window manager, could be misleading...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
smartboyathome wrote:How about "TileWM"? Doesn't seem to be a project under that name.
That sounds like a window manager, could be misleading...
ah but is that not what manage.py does? manage windows? kind of like wumwum-light
//github/
Offline
Renamed and moved
http://github.com/TheWanderer/stiler/tree/master
git://github.com/TheWanderer/stiler.git
Offline
I just came back to say thank you!
I have tested your app and I must say I'm quite satisfied with it. It's simple and straight-forward, good job!
EDIT:
I am using it with PekWM, by the way.
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Aur package added http://aur.archlinux.org/packages.php?ID=25038.
Thanks finferflu. PekWM user here too...PWNs openbox in all areas . Especially tabbing works great when used with tiling . Browser, and big windows on the left, small terminal windows all tabbed on right.
Offline
Good job, package voted.
Edit: uh-oh, package not downloading correctly. You should add git to the dependencies.
Last edited by iosonofabio (2009-03-28 09:13:02)
Offline
@iosonofabio
Thanks .. Added git as makedepends
Offline
@u_no_hu
Awesome app. Thanks.
Offline
Now you can maximize all windows with max_all
Offline
stiler max_all does not appear to work with jwm. Also, odd thing with Opera is that tiling pads the bottom even though when padding = 0.
Last edited by adamlau (2009-03-29 22:54:55)
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
using stiler on a dualscreen gives some strange effects here are some screenshots with wmctrl -d and -Gl
http://omploader.org/vMWdnMQ
http://omploader.org/vMWdnMw/2009-03-30 … _scrot.png
forgot to mention, nice program/script.
Last edited by jelly (2009-03-30 11:39:50)
Offline
what do i need to install to fix this?
[mark@markspc ~]$ stiler
Traceback (most recent call last):
File "/usr/bin/stiler", line 102, in <module>
(Desktop,OrigXstr,OrigYstr,MaxWidthStr,MaxHeightStr,WinList) = initialize()
File "/usr/bin/stiler", line 56, in initialize
height = current[8].split("x")[1]
IndexError: list index out of range
[mark@markspc ~]$
Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD
Offline
@markp1989
You should call the script with a parameter like swap,simple,maximize etc ....
Apart from that there is something else wrong .which window manager are you using? JWM?
Last edited by u_no_hu (2009-03-31 20:43:46)
Offline