You are not logged in.

#76 2009-03-20 09:55:45

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

@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.


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#77 2009-03-24 20:46:44

iosonofabio
Member
From: Italy
Registered: 2008-10-09
Posts: 101

Re: Poor man's Tiling Window manager

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

#78 2009-03-25 07:51:25

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

iosonofabio wrote:

Your script is just fantastic!

Thanks

iosonofabio wrote:

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?


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#79 2009-03-25 09:35:28

adamlau
Member
Registered: 2009-01-30
Posts: 327

Re: Poor man's Tiling Window manager

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.


NetBSD 64-bit + Xfce
Arch Linux / spectrwm

Offline

#80 2009-03-25 11:48:26

iosonofabio
Member
From: Italy
Registered: 2008-10-09
Posts: 101

Re: Poor man's Tiling Window manager

u_no_hu wrote:

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

#81 2009-03-25 20:23:49

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

@isonofabio
I tried your first suggestion to de-maximize all windows, but it lead to lot of fluttering.

As a workaround for all  openboxers ( tongue ) , 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 smile

As usual, let me know if you find any bugs ...

Last edited by u_no_hu (2009-03-25 20:25:38)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#82 2009-03-26 06:49:24

iosonofabio
Member
From: Italy
Registered: 2008-10-09
Posts: 101

Re: Poor man's Tiling Window manager

u_no_hu wrote:

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).

u_no_hu wrote:

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

#83 2009-03-26 08:44:03

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

@isonofabio
It will become complicated, especially in window cycling etc.  I like to keep it simple wink . And more  comparing and checking means slow response.


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#84 2009-03-26 08:56:11

iosonofabio
Member
From: Italy
Registered: 2008-10-09
Posts: 101

Re: Poor man's Tiling Window manager

u_no_hu wrote:

@isonofabio
It will become complicated, especially in window cycling etc.  I like to keep it simple wink . 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

#85 2009-03-26 18:58:36

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

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 smile


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#86 2009-03-26 19:44:37

smartboyathome
Member
From: $HOME
Registered: 2007-12-23
Posts: 334
Website

Re: Poor man's Tiling Window manager

How about "TileWM"? Doesn't seem to be a project under that name. smile

Offline

#87 2009-03-26 22:32:33

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Poor man's Tiling Window manager

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 smile

Offline

#88 2009-03-26 23:59:37

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Poor man's Tiling Window manager

smartboyathome wrote:

How about "TileWM"? Doesn't seem to be a project under that name. smile

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

#89 2009-03-27 00:32:24

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Poor man's Tiling Window manager

moljac024 wrote:
smartboyathome wrote:

How about "TileWM"? Doesn't seem to be a project under that name. smile

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

Offline

#90 2009-03-27 17:05:21

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

Renamed and moved
http://github.com/TheWanderer/stiler/tree/master
git://github.com/TheWanderer/stiler.git


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#91 2009-03-27 18:26:59

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Poor man's Tiling Window manager

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! smile

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

#92 2009-03-27 18:59:41

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

Aur package added  http://aur.archlinux.org/packages.php?ID=25038.


Thanks finferflu.  PekWM user here too...PWNs openbox in all areas wink. Especially tabbing works great when used with tiling . Browser, and big windows on the left, small terminal windows all tabbed on right.


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#93 2009-03-28 09:06:21

iosonofabio
Member
From: Italy
Registered: 2008-10-09
Posts: 101

Re: Poor man's Tiling Window manager

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

#94 2009-03-28 10:55:40

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

@iosonofabio
Thanks .. Added git as makedepends


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#95 2009-03-28 12:14:32

sirmacik
Member
From: Poland/Warsaw
Registered: 2008-06-17
Posts: 63
Website

Re: Poor man's Tiling Window manager

@u_no_hu
Awesome app. Thanks.

Offline

#96 2009-03-29 12:51:04

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

Now you can maximize all windows with max_all


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#97 2009-03-29 22:53:13

adamlau
Member
Registered: 2009-01-30
Posts: 327

Re: Poor man's Tiling Window manager

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)


NetBSD 64-bit + Xfce
Arch Linux / spectrwm

Offline

#98 2009-03-30 11:35:49

jelly
Trusted User (TU)
From: /dev/null
Registered: 2008-06-10
Posts: 711

Re: Poor man's Tiling Window manager

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. smile

Last edited by jelly (2009-03-30 11:39:50)

Offline

#99 2009-03-31 20:38:06

markp1989
Member
Registered: 2008-10-05
Posts: 431

Re: Poor man's Tiling Window manager

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

#100 2009-03-31 20:41:02

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Poor man's Tiling Window manager

@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)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

Board footer

Powered by FluxBB