Re: [dev] wmii can save settings on close, can't it ?

2009-11-13 Thread djp

Quoting Yannic Haupenthal :

Hm ok, i get it now ;)

I have the same problem, so i wrote in my wmiirc (in the Tagging Rules
section):

/Firefox.*/ -> 3
/Thunderbird.*/ -> 2
/Pidgin.*/ -> 4
/alsamixer.*/ -> 0
/weechat.*/ -> 4

Ok, looks like I'll have to learn tagging rules next..


And yes, i know that Firefox and Thunderbird sucks ;)

yeah, but sometimes you need them, and nothing the sucks less.. works ;-)


At system start i run a little script:

thunderbird & &>/dev/null
firefox & &>/dev/null
pidgin & &>/dev/null
urxvt -T "weechat" -e sh -c "weechat-curses"& &>/dev/null
urxvt -T "alsamixer" -e sh -c "alsamixer"& &>/dev/null

/dev/nul starts the app and then kills the xterm ?


So there is every program on a predefined window.

ohhh... I'm starting to get it... wow!


Is this is a solution for you?

I think (if I understand correctly) that this solution will be perfect.
Thanks so much, It made me sad to think I was going to have to leave  
my new-found-friend; wmii.

I will probably be tugging your chain down the road,
djp



Re: [dev] wmii can save settings on close, can't it ?

2009-11-13 Thread djp

Quoting Suraj Kurapati :


On Fri, Nov 13, 2009 at 8:15 AM, David J Patrick  wrote:

I can take me a couple of days to get everything arranged just nice,
it like the best work-environment I have ever used,
and if the set-up can't be saved, then there's really no point.


Why not suspend/hibernate your machine to the swap partition (on your
USB disk)?  I've used this approach for some months now and haven't
bothered about persistent "sessions" ever since.  It also helps me
save power consumption at night, when I'm not using the computer.


and when it DOES have to be restarted, you lose MONTHS of  
configuration.. no thanks.
I'm also planning on using it for a USBkey environment, so the  
re-start is a given.

djp




Re: [dev] wmii can save settings on close, can't it ?

2009-11-13 Thread djp

Quoting Yannic Haupenthal :

I have the same problem, so i wrote in my wmiirc (in the Tagging Rules
section):

/Firefox.*/ -> 3
/Thunderbird.*/ -> 2
/Pidgin.*/ -> 4
/alsamixer.*/ -> 0
/weechat.*/ -> 4

so this pre-defines where various apps will start ?
(yes, I'll read tthe documentation)


And yes, i know that Firefox and Thunderbird sucks ;)

and we both still use them !


At system start i run a little script:

thunderbird & &>/dev/null
firefox & &>/dev/null
pidgin & &>/dev/null
urxvt -T "weechat" -e sh -c "weechat-curses"& &>/dev/null
urxvt -T "alsamixer" -e sh -c "alsamixer"& &>/dev/null

So there is every program on a predefined window.

Is this is a solution for you?

In the right direction.

So if I may re-iterate,
pre-define where apps will open, using the tagging scripts,
and then open each one from another script, and voila ?
I /will/ need to lern more about dem tags.

here's a riddle or two;
How do I include the column, and the order within the column, of each item ?
Is there any way to also direct the window-mode (stack, default,  
maximum) for each column ?


I know this is asking a lot, but this functionality is make-or-break for me,
and I'll bet important for may other potential-users who sometimes  
turn their computers off.


thanks again,
djp



Re: [dev] wmii can save settings on close, can't it ?

2009-11-14 Thread djp

Quoting Kris Maglione :


On Fri, Nov 13, 2009 at 11:15:24AM -0500, David J Patrick wrote:
I'd pay someone to do it, but there's not a chance in hell I will  
be able to myself

(time and coding skills in short supply)


That can certainly be arranged, if it's that important to you.


now ew're getting somewhere :)
How much work do do you suppose it would be to make a script that  
saved you entire wmii session ?

And would you have a guestimate on how much money that would translate to ?

djp






Re: [dev] wmii can save settings on close, can't it ?

2009-11-14 Thread djp

Quoting Kris Maglione :


No, that's not possible (except perhaps to launch them in the right  
order and hope they open in that order again).


well hang on a minute there.
wmii, as I understand it, builds a whole virtual file tree to manage  
every aspect of the session...


couldn't that virtual file tree just be saved and then reloaded ?




I know this is asking a lot, but this functionality is make-or-break for me,
and I'll bet important for may other potential-users who sometimes  
turn their computers off.


Yes, indeed it's asking a lot. Can I ask what other window manager  
provides anything approaching that functionality?


..uhh yes, I think so.. can't gnome and kede "save sessions" ?
yes, I think they can!

It also seems a bit superfluous. The whole point of dynamic window  
managers is to make static layouts unimportant. I've never missed  
those kinds of features.

Well you and I have different use-cases then.
I'm trying to build a "control centre" for my business, using wmii  
tabs and windows arranged with various applications and associated  
files. These views can consist of a dozen elements per "tag"  and the  
consistancy of layout is important. I'm using primarily cli and  
ncurses apps on the super-light-weight distro, Slitaz, and plan to  
have the whole thing on a bootable USB stick, so rebooting is a given.

This is not an average desk-top, by a long stretch.
Just because you don't care for it, doesn't mean my application is  
superfluous.

djp



Re: [dev] wmii can save settings on close, can't it ?

2009-11-14 Thread djp

Quoting Yannic Haupenthal :

Are you sure? Because I tried yesterday to build exactly this. And you
can use wmiir ls /client/ or wmiir read event for this function, then it
seems, that every application gets the same notations ...


What about saving and reloading the entire wmiir virtual file tree ?
djp



[dev] suckless tools should be packaged for Slitaz

2009-11-14 Thread djp
Slitas is a very small, very smart built-from-scratch linux distro. It  
features some surprisingly good ideas, is active and in use, and is  
very much the sort of distro that would "resonate" with the sorts of  
folks who like tools that suckless.


Slitaz's package management is very simple and very clever, and is  
based on the murcurial CVS. I have been probing Slitaz users and  
developers of this up-and-coming distro, to see if they like wmii (for  
example) but they are not familiar with your work, even though it is  
very much in line with your philosophy,


I would suggest that one of the suckless devs might look into it and  
step up as the package maintainer for Slitaz.


These are your people ;-)

djp



Re: [dev] suckless tools should be packaged for Slitaz

2009-11-14 Thread djp

Quoting d...@linuxcaffe.ca:
I would suggest that one of the suckless devs might look into it and  
step up as the package maintainer for Slitaz.


At the moment, the default wm for Slitaz is OpenBox, and it also ships  
with jwm.

I think wmii should be the third default option.
djp



Re: [dev] suckless tools should be packaged for Slitaz

2009-11-14 Thread djp

Quoting Jacob Todd :

http://sta.li

wow

would you call that a distro ?
do you run a daily system on it ? (probably stupid question)
can the method/code be adopted within another distro ?
how is it maintained ?
is it good for perhaps an embedded or appliance application ?
is it good for serving up runnable file-systems ?
would you use it to make a single image that contains all of the  
working suckless tools in one distributable, runs anywhere form ?


just asking,
djp



Re: [dev] wmii can save settings on close, can't it ?

2009-11-14 Thread djp

Quoting Jonas Domeij :

Thing is, wmii is kind of supposed to be inconsistent in that way,
instead allowing you to quickly change layout & position for different
usage patterns. Perhaps you should be looking for a static tiling wm
instead, if I understand you correctly. Ion[1] seems to fit your usage
pattern better, might be worth a try.


.. y'know..
you may be on to something..
I grok wmii keyboarding, though, and that's worth a lot.

thank for the perspective,
djp



[1] http://www.modeemi.fi/~tuomov/ion/