You are not logged in.

#1 2014-11-16 22:52:15

scottro
Member
From: NYC
Registered: 2002-10-11
Posts: 466
Website

Cannot unbind spectrwm default key

Spectrwm has a default keybinding of MOD+. and MOD+, to add and delete from the master area.

I want to unbind those. 

It also has a default of MOD+p being menu. In that case, I was easily able to unbind it by binding it to something else, and then beneath the binding of MOD+p to something else, putting

bind[menu] 		= MOD+Shift+p

However, with this master_add and master_del I have been unable to unbind them. I tried binding them to something else, and binding MOD+. and MOD+, to something else, for example

bind[master_add]    = MOD+d
bind[master_del]     = MOD+i
bind[rg_prev]           = MOD+,
bind[rg_next]           = MOD+,

However, I'm having no luck, and I'm not sure what I'm missing.  Elsewhere in the man page and and in the .spectrwm.conf itself it says that one can invalidate a program by binding it to a [] (left and right bracket--in my browser it's showing up as a square) so I also tried

bind[]      =MOD+. 

(and MOD+,} but with no luck.

Practically speaking, it's not a big deal--I'd wanted to duplicate dwm's default binding of MOD+. and , for next and previous screen in a xinerama setup, and can easily bind other keys to it, but I'm puzzled as to what I'm missing.  While this isn't actually on an Arch installation, I suspect that Arch has more spectrwm users than most other distributions, and I have had the same issue on CentOS and FreeBSD. 

I have the feeling I'm going to see the answer and smack myself in the head, but whatever it is, I'm missing it.  (I should add that I'm not a programmer, and wouldn't know what to look for in the source--I did glance through it but saw nothing obvious enough for my non-existent skills to catch it.)

Offline

Board footer

Powered by FluxBB