You are not logged in.

#101 2006-08-16 21:41:33

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: The wmii thread

I have sucessfully created a spectacularly hackish ruby-wmii pkg!
It installs the necessary files and a bash wrapper install script to /usr/share/ruby-wmii.

It saves installing darcs and checking out code and makes it simple to install for multiple users.  I think we can all manage with darcs in our own wee geeky world...but it proves that versionpkg can handle darcs!

ruby-wmii is in my repo (see sig)

Offline

#102 2006-09-12 03:05:05

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: The wmii thread

ZOMG! Thread revival! A recent message on the wmii mailing list points out a new, alternate ruby-wmii that uses ruby-ixp instead of calls to the wmiir utility. The script is here. Honestly, I haven't tried it out yet, but I thought other wmii'ers might be interested.


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

#103 2006-11-02 10:17:58

appolito
Member
From: Kutna Hora, Czech Republic
Registered: 2005-08-17
Posts: 30

Re: The wmii thread

AllTom wrote:

... Now that we have plugins, I'm polishing my IM notification one so it might be easier to share if anyone is interested ...

Hi, AllTom. It's been a while since you wrote this. But I am still interested  smile
Could you post that plugin for weechat, please?

Offline

#104 2006-11-11 23:44:21

AllTom
Member
Registered: 2006-01-02
Posts: 60
Website

Re: The wmii thread

appolito wrote:
AllTom wrote:

... Now that we have plugins, I'm polishing my IM notification one so it might be easier to share if anyone is interested ...

Hi, AllTom. It's been a while since you wrote this. But I am still interested  smile
Could you post that plugin for weechat, please?

Amazingly, I forgot to back up the wmii scripts when I reformatted last, and just didn't notice because I've been using GNOME/Gaim instead of wmii/weechat since then. Sorry about that! I do have the weechat plugin, though:

def weechat_init
  Weechat.register('WMII-Blink', '0.2', 'destroy', 'Blinks an IM bar on highlight messages')
  Weechat.add_message_handler('privmsg', 'on_msg')
  return Weechat::PLUGIN_RC_OK
end

def destroy
  return 1
end

def on_msg(server, args)
  address = ENV['WMII_ADDRESS'] || 'unix!/tmp/ns.tom.:0/wmii'
  IO.popen("wmiir -a #{address} write /event",'w') { |io| io.puts "IMEvent #{args.chomp[0..240]}" }
  return Weechat::PLUGIN_RC_OK
end

Note that I have /tmp/ns.tom hard-coded in there as a fallback for when WMII_ADDRESS was not set (like when you start weechat before X).

The good news is that the wmiirc bit was about 20 lines of Ruby to intercept the events and allow scrolling with the mouse wheel. I'm sure somebody still using Ruby-WMII could write that up quickly enough.

Offline

#105 2006-11-26 07:16:16

AllTom
Member
Registered: 2006-01-02
Posts: 60
Website

Re: The wmii thread

croak77 wrote:

Question. I've tried ruby-wmii but I can't seem to get Alt-Return to run a terminal. Am I missing something? I have xterm and urxvt installed. Alt-Return worked fine with the default wmiirc. The wmiirc.log shows "wmiisetsid: execvp: No such file or directory" whenever I attempted Alt-Return.

Set plugin_config["standard"]["x-terminal-emulator"] in wmiirc-config.rb.

Offline

#106 2006-12-29 23:04:14

AllTom
Member
Registered: 2006-01-02
Posts: 60
Website

Re: The wmii thread

aluk wrote:

How resize windows in wmii 3.5 with keyboard?
I read what it is imposible!!! :0

Yes, it's currently not implemented.

Offline

#107 2007-01-04 21:27:02

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: The wmii thread

As I am interested as well in this feature I googled a bit and wrote this shell script (hope it's isn't too poor):

wnd_exp

I added the script to the shortcuts control-h|j|k|l.
Works fine for me.

Btw. I don't use wmii-ruby, just in case this is important for eventual use.

edit: I just realize that a shell script isn't really useful. You can just add the corresponding lines as shortcuts:

Control-h)
    echo -n "+0 +0 -48 +0"|wmiir write /view/sel/sel/geom;;

Nevermind...


Hail to the thief!

Offline

#108 2007-01-04 23:56:47

caust1c
Member
Registered: 2005-12-02
Posts: 56

Re: The wmii thread

is it possible to tweak wmii that it isnt that slow?
i'm using dwm right now, but im missing some layout features from wmii

Offline

#109 2007-01-05 23:04:59

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

Re: The wmii thread

Does anybody know, when will wmii 3.5.1 be submitted to community repositary?

Updated: I made PKGBUILDs for wmii-3.5.1 and libixp-0.2, which is needed for it, from the old PKGBUILD. Does anybody need it?
P.S. PKGBUILD for dmenu already was in AUR

Offline

#110 2007-01-06 11:12:30

dongiovanni
Member
From: Germany
Registered: 2006-10-06
Posts: 110

Re: The wmii thread

Sure! If I can use your PKGBUILDs i havn't to make me myself on big_smile

Offline

#111 2007-01-06 21:21:36

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

Re: The wmii thread

wmii-3.5.1

PKGBUILD

pkgname=wmii
pkgver=3.5.1
pkgrel=1
pkgdesc="Next generation WMI (Window Manager Improved 2)"
url="http://suckless.org/"
depends=('libx11' 'libixp')
source=(http://suckless.org/download/$pkgname-$pkgver.tar.gz config.mk)

build()
{
  cd $startdir/src/$pkgname-$pkgver
  cp $startdir/config.mk $startdir/src/$pkgname-$pkgver
  sed -i "s#%CFLAGS%#$CFLAGS#g" config.mk
  sed -i "s#%LDFLAGS%#$LDFLAGS#g" config.mk

  make || return 1
  make DESTDIR=$startdir/pkg install
}

config.mk

PREFIX = /usr
CONFPREFIX = /etc
MANPREFIX = ${PREFIX}/man
X11INC = /usr/include/xorg
X11LIB = /usr/lib
VERSION = 3.5.1
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 -lixp -lm
CFLAGS = -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} 
    -DVERSION="${VERSION}" 
LDFLAGS = ${LIBS} %LDFLAGS%
LD = cc
AR = ar cr
CC = cc
RANLIB = ranlib

libixp-0.2

PKGBUILD

pkgname=libixp
pkgver=0.2
pkgrel=1
pkgdesc="Stand-alone client/server 9P library, needed by wmii 3.5.1"
url="http://suckless.org/"
source=(http://libs.suckless.org/download/$pkgname-$pkgver.tar.gz config.mk)

build()
{
  cd $startdir/src/$pkgname-$pkgver
  cp $startdir/config.mk $startdir/src/$pkgname-$pkgver
  sed -i "s#%CFLAGS%#$CFLAGS#g" config.mk
  sed -i "s#%LDFLAGS%#$LDFLAGS#g" config.mk

  make || return 1
  make DESTDIR=$startdir/pkg install

}

config.mk

VERSION = 0.2
PREFIX = /usr
CONFPREFIX = /etc
MANPREFIX = ${PREFIX}/man
INCS = -I. -I/usr/include
LIBS = -L/usr/lib -lc -L.
CFLAGS = -O2 ${INCS} -DVERSION="${VERSION}"
LDFLAGS = ${LIBS}
AR = ar cr
CC = cc
LD = ${CC}
RANLIB = ranlib

:?  :?  :?

Offline

#112 2007-01-06 23:26:35

espo
Member
From: Stuttgart - Germany
Registered: 2006-08-11
Posts: 74

Re: The wmii thread

hi everybody :>,
ill give wmii a trie after reading this all. But im totaly lost :> nothing is working right. I'll read the stuff on suckless.org but nothing is working right i installed wmii with pacman -S wmii.
The only thing working is mod+enter smile) and mod+a but then switching betweens windows won't work etc. Maybe some of you can give me some good link about wmii where i can read something about it to use it right.

Greetings
eSpo

Offline

#113 2007-01-07 02:27:30

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: The wmii thread

As gentoo wiki refers to a older version of wmii, the best documentation I've found was on suckless.org: Guide to wmii

Whats not working for you that is documented there?

(Arch wiki just refers to wmii-ruby smile


Hail to the thief!

Offline

#114 2007-01-07 16:28:51

dongiovanni
Member
From: Germany
Registered: 2006-10-06
Posts: 110

Re: The wmii thread

hi,

i can confirm, that this version doesn't work correctly! I often use wmii3.1 and it works well, but in this version i can't controll anything with my keyboard.

Offline

#115 2007-01-07 16:36:55

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: The wmii thread

dongiovanni wrote:

...but in this version i can't controll anything with my keyboard.

Maybe you have to copy /etc/wmii-3/* to ~/.wmii-3/ manually?

edit: As noony answers my question in the screenshot thread, I'll ask it here again:
Can I achieve an arrangement of columns like this?

 _____________ 
|             |
|_____________|
|      |      |
|______|______|

And if, how?


Hail to the thief!

Offline

#116 2007-01-07 18:08:21

dongiovanni
Member
From: Germany
Registered: 2006-10-06
Posts: 110

Re: The wmii thread

As i know, this isn't supported right now

Offline

#117 2007-01-08 05:11:39

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: The wmii thread

just a heads up, I was trying to build wmii 3.5.1, but it was breaking, so I relaxed.

It should be up tonight though... in [extra] smile

EDIT: and done.

Offline

#118 2007-01-08 05:43:13

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: The wmii thread

codemac wrote:

It should be up tonight though... in [extra] smile

EDIT: and done.

Awesome. As I am a little late I cannot build it myself using your PKGBUILD right now. But I now have something to look forward when I'm in school. Thanks! (:

edit: Ah, damn. I tried to build it anyway because my ftp isn't synced already but I am missing libipx and I cannot find it with pacman either.

edit2: Ah, I just saw the libipx PKGBUILD above. Guess I'll wait until my ftp synced. <:


Hail to the thief!

Offline

#119 2007-01-08 11:34:54

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

Re: The wmii thread

codemac wrote:

just a heads up, I was trying to build wmii 3.5.1, but it was breaking, so I relaxed.

It should be up tonight though... in [extra] smile

EDIT: and done.

Why do you still have VERSION = 3 in your config.mk? Is there any difference between VERSION = 3 and VERSION = 3.5.1 which is used in original config.mk coming with wmii sources?

Offline

#120 2007-01-08 11:59:48

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: The wmii thread

Well, as I can see there is a bug in the PKGBUILD nevertheless.

It's dependencies refert to libipx which must be libixp as I can see.

As well I cannot run the new version of wmii. I changed libipx to libixp in wmii's PKGBUILD and ran makepkg. Everything turned out fine but when I run `startx` I get this message:

/usr/bin/wmii: line 10: /usr/bin/wmiiwm: No such file or directory
/usr/bin/wmii: line 10: /usr/bin/wmiiwm: success

The file /usr/bin/wmiiwm exists though:

$ ls -lh /usr/bin|grep wmiiwm
-rwxr-xr-x  1 root     root   68K  8. Jan 12:57 wmiiwm

Also I noticed that wmii's new config file depends on `which` which I hadn't installed. But I don't know wether you have to add it to dependencies because then other bash commons have to be added as well.


Hail to the thief!

Offline

#121 2007-01-08 14:27:00

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

Re: The wmii thread

harlekin
you can use my PKGBUILD's posted above before 3.5.1-2 will be out

Offline

#122 2007-01-08 15:22:27

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: The wmii thread

Mh, funny. Same problem. oO
I cannot even make sense of the error message.


Hail to the thief!

Offline

#123 2007-01-08 16:44:11

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

Re: The wmii thread

harlekin
Same problem, sure. You should build and install libixp package from my PKGBUILDs first and then try to build wmii.
I'm working with wmii right now, no problems.

Offline

#124 2007-01-08 18:49:25

veek
Member
Registered: 2006-03-10
Posts: 167

Re: The wmii thread

Short guide to solve everyone's problems:

1) libixp is in extra. Install it with pacman. alcazoid's generously
offered libixp PKGBUILD is not necessary. However, you can use his wmii
PKGBUILD because it fixes a typo.

2) wmii has another dependency not listed in the PKGBUILD. The package
is called dmenu. Install this package from AUR (seems it's not in any of the main repos.)

3) Until the wmii PKGBUILD is updated in the extra repo you need to download
it and change the dependency libipx to libixp, or use alcazoid's wmii PKGBUILD, posted a bit earlier in the thread.

Most problems people wrote about recently in this thread are occurring because wmii is searching for dmenu.

I submitted a bugreport in flyspray mentioning these issues with the PKGBUILD.

Offline

#125 2007-01-08 19:22:38

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

Re: The wmii thread

veek
Thanks!
I offered libixp PKGBUILD when it was not yet in extra(same with wmii-3.5.1) wink

Offline

Board footer

Powered by FluxBB