PDA

View Full Version : [xubuntu] [Maverick] Xfce4-terminal keys act weird/wrong



Hero of Time
October 16th, 2010, 11:41 PM
Since the upgrade to Xubuntu 10.10, I'm having issues with Xfce4-terminal. When I use aptitude, the home and end keys don't scroll the list to the top or bottom. With vim, it generates input of adding a new line with F or H on it above the current line. Ctrl+arrow left/right also generate unwanted signals/characters.
This does not happen with Kubuntu or Ubuntu and when I install Gnome-terminal and use that, everything works as you expect. This even happens on the live environment. I don't want to use gnome-terminal, as it pulls in more packages than I need and the Xfce4-terminal should just work.

Another thing that happens is that when I read a man page or close vim or aptitude, it behaves as if it's in a TTY: the text it just showed stays on screen or it clears the bunch in the current view and puts the prompt at the bottom. It should be that the application just closes and you get the prompt back the way it was before you started to read the man page for example.

It is purely a terminal emulator problem. Does anyone have a solution for these issues?

Hero of Time
October 19th, 2010, 10:09 PM
Anybody?

Hero of Time
November 5th, 2010, 07:05 PM
Ok, I figured out it's a bug and should be fixed according to https://bugs.launchpad.net/ubuntu/+source/guake/+bug/621927. But when I check the output of 'env', the TERM variable is linux, not xterm as what should be set by xfce4-terminal. Does anyone know of a solution, other than putting export TERM=xterm in .bashrc or some other file?

themtx
November 5th, 2010, 08:38 PM
putting export TERM=xterm in .bashrc

That's what I ended up doing.

Hero of Time
November 6th, 2010, 01:10 PM
So you upgraded from 10.04 to 10.10 too? Then it would appear that's the problem. Somewhere in the upgrade, this problem arises. I have a clean 10.10 install at work and that one doesn't give a problem. Got a clean install on a VM and that too doesn't give a problem. Maybe it's something in our terminalrc file.

Hero of Time
November 14th, 2010, 01:12 PM
I figured it's not there when you use GDM or KDM (no idea about other login managers). I use LXDM and that gives this issue. I'm keeping track of https://bugs.launchpad.net/ubuntu/+source/guake/+bug/621927 and have already posted a few replies there.