You are not logged in.
In a bash shell, my left ALT key creates special characters that I use my compose key for. For instance, alt + g creates 'ã'. This doesn't happen in graphical programs. I don't want this behavior, because I can't navigate a bash prompt well without an alt key. How do I disable it? I can't find any information online, though I'm not sure what to look for. Help appreciated.
Last edited by jouissance (2015-08-04 17:18:22)
Offline
What's the output of
localectlWhat DE / WM are you using, what graphical applications?
Offline
What's the output of
localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: n/aWhat DE / WM are you using, what graphical applications?
I'm using xmonad. I'm thinking this can't be a WM issue because I've remapped its modifier key (ALT by default). I've tried firefox and gimp.
Last edited by jouissance (2015-08-02 00:41:49)
Offline
You need to set a VC Keymap in the /etc/vconsole.conf file:
KEYMAP=<your choice>
Offline
To be clear, this is a problem with xorg, not virtual consoles. But I tried setting both with
localectl set-x11-keymap uswhich was successful, but it didn't change things.
Offline
Try to add a variant parameter:
$ localectl --no-pager list-x11-keymap-variants us
alt-intl
altgr-intl
chr
colemak
dvorak
dvorak-alt-intl
dvorak-classic
dvorak-intl
dvorak-l
dvorak-r
dvp
euro
hbs
intl
mac
olpc2
rus
workman
workman-intlOffline
I've tried intl, alt-intl, and altgr-intl with no change to the ALT functionality. I'm not sure which other ones would be relevant.
Offline
So your left ALT key is defined as your compose key somewhere, maybe at the graphical terminal configuration stage.
If you use another terminal, do you get the same compose key issue?
Offline
I only get the issue in X11 terminals. And I have Caps Lock set as my compose key in .xinitrc:
setxkbmap -option "compose:caps"The ALT behavior isn't compose behavior anyway.
Offline
Sorry I have no idea what ALT behavior you are speaking about.
And there are different X11 terminal programs that you could try.
What is the result of:
setxkbmap -print
Offline
Sorry I have no idea what ALT behavior you are speaking about.
And there are different X11 terminal programs that you could try.
What is the result of:setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)+compose(caps)" };
xkb_geometry { include "pc(pc104)" };
};Happy 1000th post.
Last edited by jouissance (2015-08-04 07:46:31)
Offline
Happy 1000th post.
Thanks; this doesn't happen every day!
Your left-alt key may be redefined by your window manager; but in this case, I don't understand why it writes something in the terminal.
The only idea I have is to change something (window manager, X11 terminal) for testing, and see if the problem persists.
If not, there will be a direction for searching where the left-alt key is reconfigured.
I have no other idea, sorry.
Offline
Sounds like you need
XTerm*metaSendsEscape: truein your ~/.Xresources.
(Adjust accordingly if you're not using XTerm.)
Offline
Sounds like you need
XTerm*metaSendsEscape: truein your ~/.Xresources.
(Adjust accordingly if you're not using XTerm.)
Thanks, that did it.
Offline
[edit: disregard please]
Last edited by jouissance (2015-09-19 13:11:41)
Offline