[SOLVED] Down Arrow Shows Tilde

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

[SOLVED] Down Arrow Shows Tilde

Post 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
Last edited by Atip on 15. Jul 2011, 08:30, edited 1 time in total.
djemos
Salix Warrior
Posts: 1465
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Down Arrow Shows Tilde

Post 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.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Down Arrow Shows Tilde

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6364
Joined: 6. Jun 2009, 17:40

Re: Down Arrow Shows Tilde

Post 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.
Image
Image
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Down Arrow Shows Tilde

Post 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.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: Down Arrow Shows Tilde

Post 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:

Code: Select all

gtkkeyboardsetup
or even

Code: Select all

keyboardsetup
Image
What really matters is where you are going, not where you come from.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Down Arrow Shows Tilde

Post 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:

Code: Select all

gtkkeyboardsetup
or even

Code: Select all

keyboardsetup
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
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Down Arrow Shows Tilde

Post by thenktor »

What's the content of the file /etc/X11/xorg.conf.d/10-keymap.conf?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Down Arrow Shows Tilde

Post 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.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Down Arrow Shows Tilde

Post 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".
Post Reply