Score:0

Command recall (up/down arrow) is not working with Ubuntu Desktop 20/04 running as kvm container

in flag

The title says it all. I am using a .bashrc similar to what's running on my desktop. I've googled for an answer but I came up empty.

Any suggestions would be helpful.

Yolateng0 avatar
us flag
hi, is it only as the login shell of your non-root user?
user1424074 avatar
in flag
It doesn't work for root either. I just checked, it's system wide, noit limited to bash. It doesn't work in vi either. All the other positioning keys work fine, down arrow, right, left, pageup, pagedown, home, end. It's just the up arrow that fails.
user1424074 avatar
in flag
I ran xev. Up arrow doesn't produce anything. On the host it works fine. Not on the container.
Score:0
in flag

It was a setting in my xmodmap. I removed it and all is well. Jim

David avatar
cn flag
More details are required. What setting? How did you remove it? This info is for future users who may have the same issue.
Score:0
in flag

It's rather specific to my environment. The file, .Xmodmap, I have set up to allow me to easily construct special characters, like ñ, Ø, ¢ etc. There was a
line in it that referenced the up arrow. I don't recall the exact format of the line since I've deleted it. The command that I use to make the changes is xmodmap .Xmodmap. Here is my .Xmodmap file:

clear Lock
keycode 0x42 =  Multi_key       Mode_switch

This is on the host not the container. I composed this thing years ago and don't have a clue what the remove line was supposed to do.

Hope that helps, Jim.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.