Ubuntu :: Weirdness With Terminal - Cursor Keys Don't Work
Aug 23, 2010
I've never seen it before and its entirely possible that I may have done something to my system to cause it. Basically, when I open any new terminal window I have a '$' sign instead of the usual blah@blah etc. Also, the cursor keys don't work
Ubuntu 10.04 - Gnome Termainal - BASH pressing cursor keys in certain users produces garbage. For example:
pressing up arrow produces: ^[[A pressing down arrow produces: ^[[B pressing right arrow produces: ^[[C pressing left arrow produces: ^[[D
Naturally, I'd like my bash history instead of this. For root and my main user I have no problems. I have a few system users (who don't have a standard home directory) and this seems to occur with those users. For example, my amandabackups user has a home directory of /var/lib/amanda.
I'm running Debian (both Sarge and Lenny, on different systems) under Gnome and have a number of thin client workstations that connect to a software application on an AIX server. I'm using gnome-terminal to provide terminal emulation for this software. Unfortunately, the emulation leaves something to be desired, and doesn't catch all of the F keys properly. It seems F1-F4 act as some form of escape key, exiting out of the software back to the command line, when they should be performing different functions in the software. F5 and F6 work as they should in the emulation. Is there a setting I can apply to my gnome-terminal launcher that will make this behave like it I want? The terminal should ideally match the behavior of a Link MC5 terminal (we have some of these old beasts still around, still crunching away), but alas, I don't know how to implement this.
This is not a programming question and this is why I am asking it here.I tested the program "dc" for cursor keys behaviour keys and the system responded by printing strange "^[[A" to the screen instead of doing what cursor keys should do. I am thinking that, I have some package missing that is making interactive CLI programs to misprint characters to the screen.Does anyone know what I need to install, because I must assume, programs in Stable must behave properly.
I have been doing alot of work in the terminal lately (mostly just for fun) and I was womdering is there a way to use the mouse cursor in the terminal? So I could select and copy/paste text? I know it can be done because I have seen it in slackware before.
Im running ubuntu 9.04 remotley via ssh, using putty on a windows computer to control it. I want to redefine one key (I have a swedish keyboard where I have to press AltGr+key to get a tilde sign, would be better if I could get the tilde without AltGr modifier).
I read about xmodmap and xev. Using them I succesfully redefined the key for x-programs. For example if I start firefox over ssh and press the key I get the correct key. But in the terminal session the changes does not take effect. Which is probably logical since xmodmap does only work on the x-server. But how do I redefine the keys for terminal use?
I want to reassign ctrl-shift-C and ctrl-shift-V. How is that done? (I'm using a Mac keyboard and I'd like to take advantage of the command key to avoid having to hit two modifiers.)
I was trying to sign my Ubuntu Conduct Agreement with the key I created for luanchpad. I have one other key that is used for my private folder. While using pgp --clearsign to sign my agreement it kept using the first key I created for my private folder. My work around was to create an email and then copy/paste using the correct key. how can I select between multiple keys from the terminal with pgp --clearsign?
I am having trouble using home and end keys in a terminal, to go to the end or beginning of a line. With xterm it will only work with the bash shell, while under zsh nothing is output. With urxvt, mrxvt and aterm pressing the keys in either bash or zsh always just results in a tilde being printed. Is this perhaps because urxvt, aterm and mrxvt are emulating a different terminal type to xterm by default?
Why does xterm work for bash but not for zsh? I don't just want a solution, I want to understand why it doesn't work by default. As a side question, is there any way to press alt+enter within a terminal? I tried to use wicd-curses where you have to use alt+enter to save settings, and it didnt register in any of the terminals, even xterm.
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?
I did something stupid; I think while creating some new short+keys for the terminal, I must have enabled an unknown feature to me. The keypad now acts like a mouse. For example; With NumLock on, I press 7 the mouse goes north+west. I press 6 the mouse pointer goes east.
I use an ancient text editor - Jove - that I maintain and update myself. It has worked fine on Fedora 6, 7 and 8 under gnome-terminal (known to the Jove editor as xterm). I just installed Fedora 12. When moving around a file being edited, the cursor often 'replicates' itself into a series of blocks (or underlines, depending on the cursor type setting) that seem to correspond to tab-stops. I initially thought it was stumbling on TABs, but it does this weirdness on long strings of blanks, as well. Clearing and redrawing the screen cleans things up until the next movement command.
I _intensively_ checked the code for anything that might be sensitive to the new termcap strings that have come with F12, but nothing. I could live with this if the underline cursor blinked so that I could SEE it in text, but alas, there ain't a blinking cursor. Just found out how to get the cursor blinking on another thread. But, I'd _still_ like go get the 'block' to work right. I compared the termcaps used by Jove in LF8 and LF9 and they were identical. Since the "7-block-wide" cursor bug happens in LF9, 10, 11, and 12 but not in LF8, I can confidently conclude that support for termcap/terminfo has been broken as of Fedora 9. And people ask me why I have four computers. (So I can run F8 F9 and F12 and compare their performance!).
I have recently added a new keyboard layout - international U.S with dead keys - so I can type accentes and so in spanish. Ever since that gnome-terminal doesn't recognize the shortcuts keys like <ctrl>r or <ctrl>c and I get my other language charecters instead. thats happen with any keyboard layout I swith to. Furthermore, <alt><ctrl>+F1...F9 doesn't work either.
Is there any way to disable shortcut keys in XFCE Terminal ? I can't seem to bind the shortcut keys, and F1 especially really gets in the way for some programs. Have no clue who thought it would be a good idea to bind F1 to a stupid help screen, when many terminal programs need this. I am using fluxbox, so maybe this has something to do with it.
My ubuntu does not allow cursor selection, under system-preferences-cursor selection, the windows pops up but when I choose a particular cursor type, it does not take effect.
I recently put Ubuntu on my HP G series laptop that originally had Windows Vista and ever since some select function keys (i.e. dim/brighten display) and the num lock/num pad won't work. Why is this and can I fix it?
I've been an ubuntu user for a few years now, I just never joined the forums since I never really had problems with my installations. Today, however, is completely different. I recently converted my server from windows 2k3 to ubuntu server 10.04, and have been setting ssh and VNC so that I can access it remotely. Both x11vnc and ssh are installed and working fine, as I can connect to the server from my Macbook, but here is where it gets weird. When in VNC, none of the modifier keys work(shift, ctrl, alt, super) and caps lock only works half the time. (I have to press it twice to turn it on and twice to turn it off).
Server Specs: Dell Poweredge 2500 1x Intel Pentium III 1Ghz (coppermine) 1GB RAM
I have installed Xubuntu 11.04 on a HP Probook 4510S and the FN Keys of brightness only works when I on the login screen (gdm). Until I enter to my desktop the FN Keys stop Working. This is a XFCE Issue? I have another Laptop, a IBM THinkpad X40, with the same Xubuntu 11.04 and the FN Keys works perfect! Even the keyboard light Works! I think this is a ACPI related problem, I google it the problem with out a specific issue like this. The only thing that I can do it is use of xbacklight when I'm on my session.
root@xavierc-lt-xub:~# ls /proc/acpi/ ac_adapter battery button event wakeup root@xavierc-lt-xub:~#
CC is now complete (didn't have access to the internet for 3 days so I couldn't upload it) but its working fine. Tested it out with an ISO and it works perfect. Rename to .deb and install it. Even though it says 11.04 - it works on any system with a problematic version of compiz. It is also harmless on a system without compiz although it does depend on it. cc-11.04.deb.zip
I am dual-booting Karmic/OS X. I have a MacBook Pro 5,1. When using the keyboard to change the backlight, the graphic in the top left does move to indicate a higher brightness (albeit, it moves extremely slowly).
I, of course, have all the necessary drivers installed.
I have all the packages I needed from the Mactel repository. This has been a problem within Karmic since I've put it on my MBP. There have been several updates from the Mactel repository concerning the Nvidia backlight package (I don't remember exactly what that package is called though). I hope each time that it will fix what is going on, but obviously, it hasn't.
Is there any program that I could use to otherwise change the backlight? When I'm sitting outside it's really difficult to see what's on my screen as it also doesn't automatically respond to the change in environmental brightness by making the screen brighter.
i use a HP Pavilion dv6-3016ax everything works perfectly and i am very happy with ubuntu! If i could get the Brightness keys to work and the microphone i'd be even better. The brightness FN keys change the slider but make no physical difference of the brightness. And the microphone just doesn't work.
I have tried two different keyboards on 3 distros (Xubuntu, LM 10, LM 9) and I run into the same problem.I the volume (+/-) & mute buttons always work upon login and sometime into the session they just stop working. There seems to be no logic what kills it. The audio , mixer and volume applications work fine just the key bindings somehow get broke. Other key bindings have no issue.
I'm running an up-to-date installation of Lucid, and have come upon a little problem. It seems that applications are having trouble communicating with gnome-keyring-daemon.
When I connect to wireless networks -- even ones that are in the network manager -- it always asks me for a password.
Gwibber is crashing because it can't connect to the gnome keyring daemon.
And when I open the Passwords and Encryption Keys utility (on the Accessories menu), I get the error: "Couldn't communicate with key ring daemon."
I have verified that the daemon is starting up when I log in, that all of the appropriate keyring-related login items (certificate and key storage, secret service, & SSH key agent) are in place, and that the keyring works in other accounts on my machine. I have tried deleting my extant keyrings, but that has produced any success. And when I kill and restart the keyring daemon once I'm already logged in, the problem seems to abate.
I don't know if it matters, but for OS X compatibility purposes, I'm running as a UID under 1000.
I have two versions of Natty that I'm running on my EeePC 900. Both are clean installs. As they're both installed on removable flash drives, I expect a certain degree of sluggishness. One installation is the full version with Unity. It boots in about 25 seconds or so, which is slower than Lucid on the same machine, but not too bad.
The other installation was a command-line install with Openbox and GDM for logging in. You'd think this would be quicker, but it's taking a full minute to boot. When it gets to the GDM login screen, I can't see the mouse pointer. If I move the mouse into the lower right-hand corner, I can see the invisible pointer hover over the shutdown button and then I can select it. Alternatively, if I press return (to select my login) and then move the mouse vigorously, a pointer will eventually appear, but it's a large X and not the standard pointer.
SOLVED (for my laptop at least - Acer Aspire 5740)
The trick was to add "acpi_osi=" (without the quotation marks) to the GRUB parameters. Setting the parameter to an empty string means that no OS is reported to the BIOS. By default acpi_osi is set to Windows NT. I had previously tried "acpi_osi=Linux" but it didn't work, apparently it had to be an empty string.The brightness keys work now I think it might work for other models as well if they have core i3 processors.
I use Ubuntu 10.04 32 bits and I have one keyboard Logitech Comfort Wave 450 with some multimedia keys (PLAY/PAUSE, VOLUME UP/DOWN, MUTE,.This multimedia keys works well in Rhythmbox but in Qmmp and Audacious2 doesn't. I explain this: Start my Gnome session. I open Qmmp/Audacious with one playlist charged, I press PLAY/PAUSE in my keyboard, but Qmmp/Audacious doesn't play. Close Qmmp/Audacious. I open again Qmmp/Audacious and now, when I press PLAY/PAUSE, it works! It also works if I open Rhythmbox before to open Qmmp/Audacious.