Page 1 of 2
[SOLVED] Down Arrow Shows Tilde
Posted: 11. Jul 2011, 04:12
by Atip
Fluxbox-13.37
In all terminals pressing down arrow it shows the tilde "~". This is rather annoying especially when editing in "joe".
In "nano" the down arrow does not work at all.
How can that be corrected?
Thanks in advance
Re: Down Arrow Shows Tilde
Posted: 11. Jul 2011, 10:33
by djemos
This is ~/.bashrc
export PS1='\u[\W]\$ '
export PAGER="most"
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
Look if you have it in your system.
Re: Down Arrow Shows Tilde
Posted: 12. Jul 2011, 01:40
by Atip
djemos wrote:This is ~/.bashrc
export PS1='\u[\W]\$ '
export PAGER="most"
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
Look if you have it in your system.
Yes that is my .bashrc.
Now I found if on a terminal I put command: "setxkbmap us" or others like "de", arrow key
starts behaving properly.
Should I put this command than into .bashrc or is there a better way to do it in xorg.conf-vesa
and how?
Re: Down Arrow Shows Tilde
Posted: 12. Jul 2011, 09:19
by gapan
What keyboard type did you select when you installed salix? It's only normal that keys won't work properly if you selected the wrong keyboard type. Just run the keyboard configuration tool from the system menu and select the right keyboard type.
Re: Down Arrow Shows Tilde
Posted: 13. Jul 2011, 04:02
by Atip
gapan wrote:What keyboard type did you select when you installed salix? It's only normal that keys won't work properly if you selected the wrong keyboard type. Just run the keyboard configuration tool from the system menu and select the right keyboard type.
In System-Keyboard the setting is "qwerty" and "us".
In xorg.conf-vesa settings are:
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
# These are the default XKB settings for X.Org
#
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
I have tried to change "pc105" to "pc101" and it did not help. My KB is one of those small ones
like for a laptop and usb connected.
Re: Down Arrow Shows Tilde
Posted: 13. Jul 2011, 05:13
by Akuna
Atip wrote: xorg.conf-vesa settings are:
xorg.conf-vesa is only a sample configuration file which is not in use.
The idea is to use the keyboard configuration tool from the system menu
or else, as root in a terminal:
or even
Re: Down Arrow Shows Tilde
Posted: 14. Jul 2011, 03:14
by Atip
Akuna wrote:Atip wrote: xorg.conf-vesa settings are:
xorg.conf-vesa is only a sample configuration file which is not in use.
The idea is to use the keyboard configuration tool from the system menu
or else, as root in a terminal:
or even
Sorry, nothing doing. Seems to be kind of a bug if you ask me. Never had such problem in many
years with Linux accross several Linux distros. Will try later Fluxbox Live.
Put command "setxkbmap us" now into startup.
Regards
Re: Down Arrow Shows Tilde
Posted: 14. Jul 2011, 08:29
by thenktor
What's the content of the file /etc/X11/xorg.conf.d/10-keymap.conf?
Re: Down Arrow Shows Tilde
Posted: 14. Jul 2011, 11:15
by Atip
thenktor wrote:What's the content of the file /etc/X11/xorg.conf.d/10-keymap.conf?
$ cat /etc/X11/xorg.conf.d/10-keymap.conf
Section "InputClass"
Identifier "Keyboard settings"
MatchIsKeyboard "yes"
Driver "evdev"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" ""
Option "XkbOptions" ""
EndSection
I added "Option "XkbModel" "pc105"" which did not change anything.
BTW on the console 'down arrow' works. In Salix-Fluxbox-Live no problem either.
Re: Down Arrow Shows Tilde
Posted: 15. Jul 2011, 02:54
by Atip
The following might further clarify this problem:
-- If I login using gdm (init 4) in terminals down arrow shows tilde.
-- If I login as root from console into fluxbox down arrow acts properly in terminal.
-- if I login as user from console into fluxbox down arrow acts properly in terminal.
-- if I login as user from fluxbox terminal "startx -- :2" in that new fluxbox down arrow acts properly.
So it seems the problem relates to gdm login. I hate gdms anyhow and normally don't use them
preferring "init 2".