You are not logged in.
ruby-wmii doesn't support wmii 3.5.1.
Which version does it support ? wmii 3.1 ?
There are a lot of lies going around.... and half of them are true.
-- Winston Churchill
Offline
Yes, wmii 3.1 I apologise for neglecting to mention this.
The latest snapshot is quite usable, though, and I highly recommend it if you can deal with the stock wmiirc.
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
Hi everybody.
I just wanted to ask few questions.
1) Is there any way to start application on defined workspaces on wmii's start? For example, I want to start opera and centericq on 1st workspace, ncmpc on 2, rssowl on 3 etc
2) Some applications are starting in "floating" mode(?) and I need to press Mod1+Shift+Space to switch this mode off. So, can I make this applications start in "non-floating" mode by default?
3) If I want to autostart 2 applications with wmii, how can I it like "start centericq under opera window and switch to stack mode(Mod1+S)"?
Thanks a lot, guys
Last edited by alcazoid (2007-02-22 21:03:59)
Offline
For #1: Put the proper rules in your tagrules configuration. Read the docs for details.
#2: Not easily. Check your tagrules to see if it might be the culprit, otherwise, the app is likely requesting floating mode.
#3: You might try scripting it with wmiir.
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
.
Last edited by benplaut (2021-06-25 12:30:24)
Offline
Not the absolute latest ones yet, no.
However, now that I know about them, I should have one shortly.
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
Here it is.
...or not. I screwed up. Lemme fix.
...fixed-ish, but $WMII_ADDRESS isn't being set. Not sure why, possibly upstream. *pleh*
I'll work on it later, need sleep.
Last edited by Celti (2007-03-30 15:22:55)
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
.
Last edited by benplaut (2021-06-25 12:30:16)
Offline
.
Last edited by benplaut (2021-06-25 12:30:03)
Offline
Um... you've got an empty package, there. DESTDIR doesn't work with the latest snap.
Here, my non-working one (although wmiistartrc IS in the path... I doubt that's the problem, since for me the wmiirc gets executed, wmii just isn't setting $WMII_ADDRESS), with the config.mk fiddled for DESTDIR working.
...fixed, look below for good ones.
Last edited by Celti (2007-04-01 08:31:16)
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
.
Last edited by benplaut (2021-06-25 12:27:29)
Offline
Haha! I have done it!
The new, improved, working, package-creating wmii-snapshot package!
And ben, rc.wmii is only if you have 9base/plan9port installed. Otherwise it's still wmiirc.
Also, if you're using rc.wmii, you should be using rc.wmii.local for config changes anyway.
...now updated with the 08-May-2007 snapshot.
pkgname=wmii-snap
pkgver=20070508
pkgrel=1
pkgdesc="Next generation WMI (Window Manager Improved 2)"
url="http://suckless.org/wiki/wmii"
license=('MIT')
arch=('i686')
depends=('glibc' 'libx11' 'dmenu')
conflicts=('libixp' 'wmii')
provides=('libixp' 'wmii')
source=(http://www.suckless.org/snaps/wmii+ixp-20070508.tgz config.mk)
build()
{
cd $startdir/src/wmii+ixp-20070508
cp -f ../config.mk .
sed -i "s#%CFLAGS%#$CFLAGS#g" config.mk
sed -i "s#%LDFLAGS%#$LDFLAGS#g" config.mk
make || return 1
mkdir -p $startdir/pkg/{usr/{lib/,bin/,man/},etc/wmii-3.5}
install -D -m 644 libixp/libixp.a $startdir/pkg/usr/lib/libixp.a
install -D -m 644 libixp/ixp_fcall.h $startdir/pkg/usr/lib/ixp_fcall.h
install -D -m 755 cmd/wmii9menu.O $startdir/pkg/usr/bin/wmii9menu
install -D -m 755 cmd/wmii9rc.O $startdir/pkg/usr/bin/wmii9rc
install -D -m 755 cmd/wmiiloop.O $startdir/pkg/usr/bin/wmiiloop
install -D -m 755 cmd/wmiir.O $startdir/pkg/usr/bin/wmiir
install -D -m 755 cmd/wmiistartrc.O $startdir/pkg/usr/bin/wmiistartrc
install -D -m 755 cmd/wmii/wmii.O $startdir/pkg/usr/bin/wmii
install -D -m 755 rc/rc.wmii.O $startdir/pkg/etc/wmii-3.5/rc.wmii
install -D -m 755 rc/wmiirc.O $startdir/pkg/etc/wmii-3.5/wmiirc
install -D -m 755 rc/welcome.O $startdir/pkg/etc/wmii-3.5/welcome
install -D -m 644 man/wmii.1 $startdir/pkg/usr/man/man1/wmii.1
install -D -m 644 man/wmiiloop.1 $startdir/pkg/usr/man/man1/wmiiloop.1
install -D -m 644 man/wmiir.1 $startdir/pkg/usr/man/man1/wmiir.1
install -D -m 644 man/wmiiwm.1 $startdir/pkg/usr/man/man1/wmiiwm.1
install -D LICENSE $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}
# Customised for Arch Linux
PREFIX = /usr
BIN = ${PREFIX}/bin
MAN = ${PREFIX}/share/man
ETC = /etc
LIBDIR = ${PREFIX}/lib
INCLUDE = ${PREFIX}/include
P9PATHS = /usr/local/plan9 /usr/local/9 /opt/plan9 /opt/9 /usr/plan9 /usr/9
INCX11 = -I/usr/include/X11
LIBX11 = -lX11
LIBIXP = ${ROOT}/libixp/libixp.a
INCS = -I. -I${ROOT}/include -I${INCLUDE} -I/usr/include
LIBS = -L/usr/lib -lc
include ${ROOT}/mk/gcc.mk
CFLAGS += -g -Wall ${INCS} -DVERSION=\"${VERSION}\" %CFLAGS%
LDFLAGS += -g ${LIBS} %LDFLAGS%
STATIC = -static
CC = cc -c
LD = cc
AR = ar crs
Everything runs, config doesn't end up in /usr/etc/, it supports your CFLAGS and LDFLAGS... I think this might be free of stupid mistakes!
Last edited by Celti (2007-05-11 03:26:35)
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
.
Last edited by benplaut (2021-06-25 12:28:23)
Offline
you could change
P9PATHS = /usr/local/plan9 /usr/local/9 /opt/plan9 /opt/9 /usr/plan9 /usr/9
to
P9PATHS = /opt/plan9
as both plan9port and 9base default to that folder
can anybody confirm that rc.wmii is only working with plan9port and not with 9base?
/edit
another one:
when using wmiirc wmiiloop seems unable to parse keybindings with more than one var correctly
example:
Key $MODKEY-$LEFT
gets parsed to
$ wmiir read /keys | grep \$LEFT
Mod4-$LEFT
$ grep LEFT\= ~/.wmii-3.5/wmiirc
LEFT=h
Last edited by raf_kimmig (2007-04-04 09:27:04)
Offline
The multi-variable thing is likely a problem with wmiiloop. rc.wmii is better. ^^
I've used rc.wmii with both p9p and 9base without issue, however, the project recommends grabbing the latest version of 9base from hg.
I like p9p better, really. Has several useful bits. 9base, however, has the one-true-awk. Decisions...
Whoops. forgot something:
As for stripping the paths variable, we don't explicitly depend on 9base or p9p, which means someone might end up using their own package, installed elsewhere. And then find it doesn't work. Long shot, but if I stripped it, someone would complain. Just watch.
Last edited by Celti (2007-04-04 20:28:17)
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
Celti wrote:ruby-wmii doesn't support wmii 3.5.1.
Which version does it support ? wmii 3.1 ?
Is it worth going back to version 3.1 for ruby-wmii support?
What way would you recommend that I install it? The newest package is: extra/wmii 3.5.1-3 - is there still a 3.1 around somewhere? I haven't been able to find one...
Offline
It's not worth it. The new rc.wmii in the snapshots has comparable functionality, and the new wmii is much much better than the old - the devs actively discourage using 3.5.1 in favour of the latest snapshots, and they refuse to support 3.1.
If you want to use wmii, use my package above, and install plan9port. Or, bug Mauricio to update ruby-wmii.
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
New snapshot out, see above for PKGBUILD.
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
theres a new snapshot out http://www.suckless.org/snaps/wmii+ixp-20070516.tgz
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
i've been using the version that's in the extra repository for a bit now, and it's working just fine -- any reason in particular why i should bother to build the latest snapshot? will there be a new release soon (ie: very near future) that i can wait for, or should i be building a new snapshot every time they make one available?
I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!
Offline
Why is wmii in aur soooooo behind?
Offline
u can use the above PKGBUILD and change only the day and checksums of the snap.
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
Sorry guys; I'll update the PKGBUILD above when I get a chance - I got ninjaed by real life.
upsidaisium: You can use the version in extra, but the wmii devs no longer support it. Everything is being focused on the latest branch. A "stable" release should be out by the end of the year at the latest, although the snapshots tend to be quite stable enough to use.
F: I haven't submitted this PKGBUILD to the AUR because it's not the ideal medium for these things; someone would have to verify it as safe every time I updated it with a new snapshot, which is often enough to make the process annoying.
dolby: Sometimes. The build process has a tendency to change from snapshot to snapshot.
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
upsidaisium: You can use the version in extra, but the wmii devs no longer support it. Everything is being focused on the latest branch. A "stable" release should be out by the end of the year at the latest, although the snapshots tend to be quite stable enough to use.
i guess if i'm going to be waiting that long for the next proper release, i might as well be using these snapshots. thanks celti.
I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!
Offline
It's not worth it. The new rc.wmii in the snapshots has comparable functionality, and the new wmii is much much better than the old - the devs actively discourage using 3.5.1 in favour of the latest snapshots, and they refuse to support 3.1.
If you want to use wmii, use my package above, and install plan9port. Or, bug Mauricio to update ruby-wmii.
I just started to relook into wmii. Any documentation/hints on how the snapshort has comparable functionality to the ruby scripts? I'm playing around with the status bar which is rather easy with ruby, but are there any scripts laying around to use with the snapshot or would I have to write them myself?
Cheers,
Nicholai
Desktop :Athlon64 2.2 GHz
Laptop :Toshiba R100 1GHz
Offline