You are not logged in.

#151 2007-02-20 12:07:00

lateralus_
Member
From: Belgium
Registered: 2007-01-07
Posts: 17

Re: The wmii thread

Celti wrote:

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

#152 2007-02-20 13:13:58

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#153 2007-02-22 21:00:17

alcazoid
Member
From: Russia
Registered: 2006-03-11
Posts: 35

Re: The wmii thread

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 wink

Last edited by alcazoid (2007-02-22 21:03:59)

Offline

#154 2007-02-23 04:17:55

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#155 2007-03-30 09:19:22

benplaut
Member
From: Not-so-sunny Hawaii
Registered: 2006-06-13
Posts: 383

Re: The wmii thread

Has anyone made a pkgbuild of the latest snapshots? according the the dev, 3.5 is "sickening" wink

http://www.suckless.org/snaps


<zyth> OH GOD IT HURTS rauble
<Monk-e> rauble, roflrofl
<Monk-e> wtf?
<rauble> arpil fooz!

Offline

#156 2007-03-30 12:57:50

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#157 2007-03-30 13:32:05

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#158 2007-03-31 02:17:54

benplaut
Member
From: Not-so-sunny Hawaii
Registered: 2006-06-13
Posts: 383

Re: The wmii thread

heh heh... same issue here.  I'm working on it, too.

<edit>
Got it!!  Wherever you put wmiistartrc (an executable) has to be in your login shell path.  I'll make a pkgbuild, one sec.

Last edited by benplaut (2007-03-31 03:13:01)


<zyth> OH GOD IT HURTS rauble
<Monk-e> rauble, roflrofl
<Monk-e> wtf?
<rauble> arpil fooz!

Offline

#159 2007-03-31 03:43:58

benplaut
Member
From: Not-so-sunny Hawaii
Registered: 2006-06-13
Posts: 383

Re: The wmii thread

<edit>
Sorry, these don't work.

Last edited by benplaut (2007-04-01 08:00:03)


<zyth> OH GOD IT HURTS rauble
<Monk-e> rauble, roflrofl
<Monk-e> wtf?
<rauble> arpil fooz!

Offline

#160 2007-04-01 02:50:09

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#161 2007-04-01 07:57:49

benplaut
Member
From: Not-so-sunny Hawaii
Registered: 2006-06-13
Posts: 383

Re: The wmii thread

woops, that pack is screwy.. one sec.

Also, note to those who get it working: config is now in ~/.wmii-3.5/rc.wmii instead of wmiirc.

Also, the default theme is UGLY AS SIN!!!!!!!
Known bug (...), but there are some alts here:
http://www.suckless.org/wiki/wmii/tips/themes


<zyth> OH GOD IT HURTS rauble
<Monk-e> rauble, roflrofl
<Monk-e> wtf?
<rauble> arpil fooz!

Offline

#162 2007-04-01 08:30:11

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#163 2007-04-02 07:32:28

benplaut
Member
From: Not-so-sunny Hawaii
Registered: 2006-06-13
Posts: 383

Re: The wmii thread

Great job, it works!  Incredible!! big_smile


<zyth> OH GOD IT HURTS rauble
<Monk-e> rauble, roflrofl
<Monk-e> wtf?
<rauble> arpil fooz!

Offline

#164 2007-04-04 08:45:30

raf_kimmig
Member
Registered: 2007-04-04
Posts: 4

Re: The wmii thread

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

#165 2007-04-04 20:25:25

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#166 2007-04-19 13:42:36

fatdev
Member
Registered: 2007-04-19
Posts: 2

Re: The wmii thread

lateralus_ wrote:
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

#167 2007-04-19 15:27:20

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#168 2007-05-11 03:27:46

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#169 2007-05-31 15:45:25

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: The wmii thread


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

#170 2007-05-31 22:40:35

upsidaisium
Member
From: Vietnam
Registered: 2006-09-16
Posts: 263
Website

Re: The wmii thread

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

#171 2007-06-01 12:55:38

F
Member
Registered: 2006-10-09
Posts: 322

Re: The wmii thread

Why is wmii in aur soooooo behind?

Offline

#172 2007-06-01 15:20:42

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: The wmii thread

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

#173 2007-06-01 23:17:31

Celti
Member
From: Phoenix, AZ, USA
Registered: 2004-02-28
Posts: 43
Website

Re: The wmii thread

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

#174 2007-06-02 15:00:19

upsidaisium
Member
From: Vietnam
Registered: 2006-09-16
Posts: 263
Website

Re: The wmii thread

Celti wrote:

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

#175 2007-06-04 10:44:13

nicholai
Member
Registered: 2005-04-26
Posts: 51

Re: The wmii thread

Celti wrote:

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

Board footer

Powered by FluxBB