You are not logged in.
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
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
... 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
Could you post that plugin for weechat, please?
Offline
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
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
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
How resize windows in wmii 3.5 with keyboard?
I read what it is imposible!!! :0
Yes, it's currently not implemented.
Offline
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):
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
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
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
Sure! If I can use your PKGBUILDs i havn't to make me myself on
Offline
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
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 ) 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
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
Hail to the thief!
Offline
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
...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
As i know, this isn't supported right now
Offline
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]
EDIT: and done.
Offline
It should be up tonight though... in [extra]
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
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]
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
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
harlekin
you can use my PKGBUILD's posted above before 3.5.1-2 will be out
Offline
Mh, funny. Same problem. oO
I cannot even make sense of the error message.
Hail to the thief!
Offline
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
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
veek
Thanks!
I offered libixp PKGBUILD when it was not yet in extra(same with wmii-3.5.1)
Offline