You are not logged in.

#1 2017-08-30 18:38:58

adesh
Member
Registered: 2016-10-05
Posts: 167

[SOLVED] readline - macro does not work whithout Shift

From https://wiki.archlinux.org/index.php/Readline#Macros, I added following to my ~/.inputrc:

"\e\C-l":"\C-e | less\C-m"

But pressing Ctrl+Alt+L does nothing while Ctrl+Alt+Shift+L activates the macro as intended.
My laptop has a "simple" English keyboard. Caps Lock is off.
Tried changing "l" to "L" in the macro, which obviously didn't change anything.

I'm using XFCE Terminal. Some outputs:

$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules:      evdev
model:      pc105
layout:     us
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+inet(evdev)
geometry:   pc(pc105)
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+us+inet(evdev)"	};
	xkb_geometry  { include "pc(pc105)"	};
};
$ locale
LANG=en_US.UTF-8
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATION=
LC_ALL=

Last edited by adesh (2017-08-31 08:04:45)

Offline

#2 2017-08-31 06:24:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [SOLVED] readline - macro does not work whithout Shift

Ctrl+Alt+l grabbed by some other client (xfwm4)?
Try the behavior in a failsafe session (only an xterm, no desktop environment - ideally use xinit/startx)

Last edited by seth (2017-08-31 06:24:51)

Offline

#3 2017-08-31 08:04:15

adesh
Member
Registered: 2016-10-05
Posts: 167

Re: [SOLVED] readline - macro does not work whithout Shift

You are absolutely right! Ctrl+Alt+L is mapped to xflock, but I don't use a locker.
I think I'll have to use some other key combination!

Offline

#4 2017-08-31 09:34:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [SOLVED] readline - macro does not work whithout Shift

Maybe you can also get rid of the xflock binding (but I don't use xfce)

Offline

Board footer

Powered by FluxBB