sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

Keychains #453

Open sillysloft opened 19 years ago

sillysloft commented 19 years ago

Hi,

I suppose there is a bug in Keys. When defining

Mod1 x :ExecCommand xmms Mod1 x Mod1 p :ExecCommand xmms -t

it complains about not being able to merge the keytrees.

Cheers, Martin

Reported by: sorje

sillysloft commented 19 years ago

Original comment by: akir

sillysloft commented 19 years ago

Logged In: YES user_id=1101187

works pefectly for me. about which version are you talking? how do you press the keys? what do you expect?

Original comment by: akir

sillysloft commented 19 years ago

Original comment by: akir

sillysloft commented 19 years ago

Original comment by: sorje

sillysloft commented 19 years ago

Logged In: YES user_id=1223871

I've just compiled fluxbox-cvs and tried it again. I press Mod1, then x and - still keeping Mod1 pressed - p I expect the command to be executed. When I delete "Mod1 x :ExecCommand xmms" it executes the command. It's still printing "Keys: Failed to merge keytree!"

Original comment by: sorje

sillysloft commented 19 years ago

Original comment by: akir

sillysloft commented 19 years ago

Logged In: YES user_id=1101187

Mod1 x p :ExecCommand xmms -t

should exactly do what you want: press alt, x, keep alt pressed, p, release -> xmms -t is executed.

the error message you are getting basicly indicates, that you have 2 (or more) keybindings which are triggered by the same keychain. maybe there is an error in it, i ll check it.

Original comment by: akir

sillysloft commented 19 years ago

Logged In: YES user_id=1101187

an error in merging the keytree is mostly triggered when you define the same keychain multiple times. check your key-file for doubles.

Mod1 x p :ExecCommand xterm

behaves as

Mod1 x Mod1 p :ExecCommand

Original comment by: akir

sillysloft commented 19 years ago

Original comment by: akir

sillysloft commented 19 years ago

Logged In: YES user_id=1101187

i ll close this one. if you get "merge tree failed" then its because of double entries in the keysfile.

Original comment by: akir