Solved CWM not responding to key bindings

Hello there! So I pinched my nose and jumped into trying the exact thing I want while knowing all the pain it will cause me to get there. Which is CWM running on FreeBSD. I'm not handy with machines, or in general, but am stubborn enough that I have gotten fairly good at a number of things. So here we go, don't laugh.

Since I have not done much with my FreeBSD install, I decided to do a clean slate to try this. I did the clean slate approach twice now, and get the same result. I am running FreeBSD-14.3-RELEASE-amd64 on a Dell Latitude E5440. By clean slate I mean reinstalling FreeBSD from scratch.

First I downloaded vim, because whatever. Then the following:

Code:
pkg install xorg

Code:
vim /boot/loader.conf
Wherein I included:
Code:
kern.vty=vt

Code:
pkg install drm-kmod
Code:
vim /etc/rc.conf
wherein I included
Code:
kd_list"/boot/modules/i915kms.ko"

I created /.xinitrc in my home directory, and vimmed:
Code:
exec /usr/local/bin/cwm

Code:
pkg install cwm

I wrote the following command:
Code:
sysctl kern.evdev.rcpt_mask=6
and then I added the parameter to a conf file which I can no longer remember and has disappeared from my command history, as recommended by the dialogue at the end of the xorg install.

There is some possibility of a few other things I may have done which have slipped my recollection. Importantly, whatever I did I did exactly the same both clean slates, and I did almost the same in a couple of previous tries with some variations in order.

Every time I managed to get the thing up and running, a beautiful, non descript, non decorated box of text on a black background. I can hover my mouse over the screen, click into the box, and write things in it. I can hover the mouse outside the box, when it becomes an "X," click, and the box no longer receive my keyboard input, uintil I click the box again.

However, I cannot get a single key binding to work. I tried the defaults, I tried making a .cwmrc file in my home directory with a couple of simple custom bindings, I tried dragging things with the mouse, rebooting several times, to no avail. It's like the whole window management part of the thing is asleep.

I could just go back to Fedora Plasma, but I like the way it hurts. But anyway please help if possible. Danke.
 
Yes, thank you, I did check that thread. As for the videos, I hope I don't come off as impossible if I say that I don't like watching them. ADD.

The correct syntax here is
Code:
kld_list="/boot/modules/i915kms.ko"
Is that a typo in your post?
Yes, it was a typo in the post, I wrote it your way in the config file.

This too:
It should be /home/$USER/.xinitrc (or $HOME/.xinitrc, ~/.xinitrc, it's always the same).

Now this I had missed. Will try and report back. But it seems to me that at least the defaults should have kicked in, no? Stand by.
 
Ah, it's working now. Opened the right config file at the right directory, and magic.

Full disclosure, I was sort of maybe kind of doing everything as root. For any other noobs having this problem in the future, I guess cwm does expect you to have a user. I created one and now have the software working as advertised. Now on to configuration. Thanks one million once again, Maxnix !

Thanks to vmisev as well.
 
Back
Top