You are not logged in.

#126 2007-01-08 19:36:08

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

Re: The wmii thread

Thanks for the hint, veek. But I still cannot get wmii to work.

I've reinstalled libixp from extra.
I've built dmenu from AUR and I've built wmii with the PKGBUILD from abs.
I edited wmii's PKGBUILD that it depends on dmenu and libixp and for completeness libx11 as well.

dmenu, libixp and wmii are properly installed but when I want to start X I still get this error:

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

(Translated error message)

Any suggestions? :

I run wmii via startx and this in my .xinitrc:

exec wmii

Hail to the thief!

Offline

#127 2007-01-08 20:43:44

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

Re: The wmii thread

Hey harlekin.

edit:
Just reboot your computer, and wmii should start fine. If not
you can take a look at the other stuff I spewed out below.

Details:

Look in the folder /tmp. There should be a folder called something like ns.yourusername.:0.

For me the folder is /tmp/ns.moveek.:0. Yours would be something like
/tmp/ns.harlekin.:0. If you look inside the folder it's probably empty,
and that's the problem.

Delete that folder and run startx. This time wmii should start properly
and that folder will be recreated with a socket inside.

More Details:

The real problem is that wmiiwm looks for
a socket in /tmp/ns.yourhostname.:0/, and if it doesn't find the socket it is supposed to create it.

The problem is that without dmenu installed wmiiwm creates the folder
in /tmp but it doesn't create the socket. Once you install dmenu, wmiiwm
tries to create the socket, but there is already a folder (empty) there so it doesn't
actually create it. So there is still no socket.

The solution is to remove the empty folder previously created in /tmp
then when wmii is run again it can create the folder and the socket.

In my case it is: /tmp/ns.moveek.:0/wmii.

/usr/bin/wmii is actually a script that calls /usr/bin/wmiiwm.

You can take a look in there if you want to know exactly what's going on.

Offline

#128 2007-01-08 23:19:27

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

Re: The wmii thread

veek wrote:

Hey harlekin.

edit:
Just reboot your computer, and wmii should start fine.

Come on... Rebooting is not unix-way of solving problems...

Offline

#129 2007-01-09 05:40:54

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

Re: The wmii thread

Well... as I don't like to reboot my computer I tried first to delete the folder in /tmp. In fact there were even two folders:
ns.harlekin.:0 and ns.harlekin.:1 properly because I ran xinit -- :1 some time ago.
I deleted both of them and tried to run startx but I got the same problem as mentioned above.
I looked into /usr/bin/wmii and I see that ~/tmp/ns.$user.$display is created there but I couldn't find a line that creates a socket.

Neither I couldn't find a argument to wmiiwm or dmenu that creates a socket. I can tell wmiiwm which socket to use (-a) but if this does create the socket, the folder is there every time before wmiiwm is executed (first call to create directory then exec wmiiwm in /usr/bin/wmii).

Does anyone has other suggestions? (Thanks so far!)


Hail to the thief!

Offline

#130 2007-01-09 06:35:21

tbroderick
Member
Registered: 2005-05-06
Posts: 45

Re: The wmii thread

harlekin wrote:

Does anyone has other suggestions? (Thanks so far!)

I do. I got the same error you did about /usr/bin/wmiiwm from installing libixp and wmii from extra. There is something wrong with the pkg's. Use the PKGBUILD and config.mk for wmii and libixp on the previous page that were posted by alcazoid and the dmenu from AUR. That worked for me.

Offline

#131 2007-01-09 15:20:04

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

Re: The wmii thread

alcazoid

Hehe smile

harlekin

I was so sure I knew what the problem was .

I think the line that creates the socket is in the wmiiwm binary.
I think the -a line in /usr/bin/wmii just tells wmiiwm where to create the socket.

After you delete the existing folders in /tmp and then run startx
does the folder and socket get created in /tmp (even if wmii fails to start)?
Or does it only create the folder?

Also try removing libixp entirely and starting wmii. I'm able to get into
wmii without libixp even though I can't do anything. The socket should
get created when booting without libixp.

Offline

#132 2007-01-09 15:33:26

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

Re: The wmii thread

First of all thanks for all your effort. (=

It's now working!

First wmii from extra if defenetly broken. I could not get wmii to start even I removed to error from it's dependencies (typo). I edited the PKGBUILD and built it which appeared to work out. Even installation was fine but the error I mentioned above occures.

I finally used alcazoid's PKGBUILDs both for libixp and wmii and they're working (except I had to edit the config.mk manually because vim added a space in the end of each line, but thats a vim bug).

I cannot say wether libixp from extra is broken, too. But I guess it's working.

As a matter of completeness:
veek: Only the folder is created. I don't know what actually causes wmii to fail to start.

Well. Thanks a lot again. I finally can and will after submitting this port, switch to wmii again (=


Hail to the thief!

Offline

#133 2007-01-09 15:41:19

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

Re: The wmii thread

Okay harlekin. Confusing business!

I might take a look at alcazoid's PKGBUILDS and see if I
can figure out the difference. I think what may have fixed the problem
is recompiling wmii after dmenu was installed.

There's a new PKGBUILD for wmii in extra that fixes the typo.
It still doesn't mention dmenu as a dependency though.

Glad you got it working, enjoy using wmii!

Offline

#134 2007-01-09 17:38:06

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

Re: The wmii thread

veek
I already looked through it to find the difference. Nothing special except there is VERSION=3 in extra PKGBUILDs, and I'm using VERSION=3.5.1 in my PKGBUILDs(I took it from original wmii-3.5.1 config.mk). I don't know if that makes any sense.
And I'm not sure if there is need to use dmenu as dependency, wmii is working without dmenu, it's just mentioned in wmiirc.
Update:
I just thought that one more reason not to add dmenu as a dependency is that dmenu is only in AUR, not in official repositaries, that's why pacman will be unable to solve the dependency.
Too bad that nobody tested packages before submitting to extra sad

Offline

#135 2007-01-10 04:35:20

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

Re: The wmii thread

Hey alcazoid

I looked into it a little bit more.

The problem and difference is in the config.mk.

Yours, which works, uses different includes.

One difference (among several) is in the X11INC variable:

In your config.mk:  X11INC = /usr/include/xorg.
config.mk in extra: X11INC = /usr/include/X11.

I'm guessing that the pkg in extra is using the wrong / old config.mk
considering that the variable VERSION = 3.

I'm not sure about the dmenu thing. I don't get any menu without it.

Sorry if I sent people on a wild goose chase.
Alcazoid's PKGBUILD solves the issue, specifically he supplied
the correct config.mk.

Good work Alcazoid smile

Offline

#136 2007-01-10 04:48:40

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

Re: The wmii thread

alcazoid

I posted your copy of the config.mk to flyspray, here's the link:

http://bugs.archlinux.org/task/6189

Also are you positive you don't need dmenu?

Without it installed, I don't get the menu at the bar in the bottom of the screen when
I press ALT-a. the one that says:

quit status welcome wmiirc

Also I don't get the run command prompt when I press ALT-p, that
lets me launch programs by typing in the name.

Offline

#137 2007-01-10 05:03:29

tbroderick
Member
Registered: 2005-05-06
Posts: 45

Re: The wmii thread

The announcement on the wmii mailing list says dmenu and libixp are mandatory. So dmenu should be in extra too. I believe dmenu  is only optional in dwm.

Offline

#138 2007-01-10 05:15:12

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

Re: The wmii thread

Wow.

I haven't screwed up on a package like this in a _while_.

I really apologize to the users of wmii, I really needed to test this package a bit more thoroughly.  Like at all.


This was me just acting too quickly.

I'd also like to thank everyone who notified me about this.  Normally my interaction with users has been that of demand and disrespect.  EVERYONE I've talked to about these bugs has been polite, courteous, and even helpful with solutions.

The reason for the error in this package was that the "LD = ${CC}" line was missing.  Don't know how, but it was.  Fixed, and tested smile

PS: If you _really_ need to get a hold of me ( like a packaging error in [extra] ) please directly email me.  I try to check the forums regularly, but it's hard with so many posts these days.  The bug tracker is a good way too.

If your mirror wont have the packages, they are:
http://people.cs.vt.edu/~codemac/dmenu-1.8-1.pkg.tar.gz
http://people.cs.vt.edu/~codemac/wmii-3 … pkg.tar.gz

Offline

#139 2007-01-10 11:39:49

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: The wmii thread

Codemac,

Everybody makes mistakes from time to time, so no sweat there.  What I appreciate and thank you for is your response and speed in determining the problem, fixing it, and pushing out an updated pkg.

Thanks.

Offline

#140 2007-01-19 18:09:20

russ816
Member
Registered: 2006-06-09
Posts: 18

Re: The wmii thread

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

Is this supposed to work? I haven't been able to get it to. Is their another work around?

Offline

#141 2007-01-19 22:53:17

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

Re: The wmii thread

It doesn't work with 3.5 anymore. It worked with the prior version. I don't know how to handle this with the current wmii. You can resize the Windows using MOD + RightClick (and moving your mouse) but I'd like to resize my windows using my keyboard. Does anyone know how I can do that?


Hail to the thief!

Offline

#142 2007-01-19 23:50:03

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: The wmii thread

It seems that the /view directory no longer exists in 3.5  Does anyone know of any documentation for the new version?  The only stuff I can find on the wmii website applies to 3.1 only.

Offline

#143 2007-01-20 11:09:51

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

Re: The wmii thread

I found this and I guess it is applying to wmii-3.5 but I cannot make sense out of it. I cannot find where app's geometry is saved. It may be handled different in 3.5?

http://suckless.org/~denisg/spec_3.7


Hail to the thief!

Offline

#144 2007-01-20 13:40:54

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: The wmii thread

From the wmii-3.7 spec linked above:

/tag/<tag>/index
    Reading index outputs the layout of the view belonging to the tag:
        # ~ <floating_area_width> <floating_area_height>n
        ~ <client_id> <x_y_width_height> <client_props>n
        ~ <...>n
        # <column_number> <column_width> <column_height>n
        <column_number> <client_id> <y> <height> <client_props>n
        <...>n
    Writing is not allowed.

Note:  I added the underscores to make the text show up correctly in the forums.

These directories seem to exist and also to contain the information described above, so although they are for 3.7 it appears that they may apply to 3.5 as well.  If you look at the last line, however, it appears that changing the client geometry via a keyboard shortcut is not possible.

Offline

#145 2007-01-22 15:40:54

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: The wmii thread

I'm sorry if this has been discussed already, i must have missed it.

How do you people manage using wmii and say irssi at the same time while using Alt for MOD1? do you change all the other keymaps to use something other than Alt for MOD (i know i'd have to change irssi, my browser and gaim, just to name a few), or do you switch the MOD1 for wmii.
And if you do, what do you change it to? ctrl? winkey? (i've seen some keybindings in wmii-ruby which use the winkey already)


In Linux there are no secrets!

Offline

#146 2007-01-22 16:07:38

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

Re: The wmii thread

I just switched accessing my irssi channels with ESC as MODKEY instead of ALT. At least for the windows 1 to 10. From 11 I can juse ALT again.

Another - I guess really senseless - thing I noticed is, that I can communicate with irssi if capslock is activated. Somehow irssi still responds to alt but wmii doen't.


Hail to the thief!

Offline

#147 2007-01-22 16:50:52

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: The wmii thread

Wow the CAPS key really works wonders, it even works with firefox!
thanks!

hope it's a feature, not a bug, so it never gets fixed smile


In Linux there are no secrets!

Offline

#148 2007-01-22 19:02:28

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: The wmii thread

You can also use ctrl-p or crtl-n to cycle irssi windows (p = previous, n = next)

Offline

#149 2007-02-19 17:08:30

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

Re: The wmii thread

Hi all,

I have some problems to get ruby-wmii working.
My wmii version is 3.5.1-3 and I have try with both the darcs version and the 0.3.1 version of ruby-wmii.
After running the installation of ruby-wmii (ruby install.rb), the $HOME/.wmii-3 is created.
However, when I first start wmii, a new empty directory $HOME/.wmii-3-5 is also created, disabling the other one sad

How can I solve this problem ?

Thanks in advance


There are a lot of lies going around.... and half of them are true.
        -- Winston Churchill

Offline

#150 2007-02-20 06:48:32

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

Re: The wmii thread

ruby-wmii doesn't support wmii 3.5.1.

I poked Mauricio about this a while ago, he says he'll release a version for wmii 3.6. This may take a few weeks, though, as wmii development has hit a slight snag and we're back to snapshots instead of a new rc.


“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

Board footer

Powered by FluxBB