LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Keyboard Layout problems (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/keyboard-layout-problems-4175472880/)

Nikhil_Lagwankar 08-10-2013 07:19 AM

Keyboard Layout problems
 
hi,

i've just installed Cent OS 6.4(final) on my Dell Studio 1558.

While all alphabets and numbers are working fine, there is a problem with symbol keys .Though the pipe symbol is above enter key

Shift+backslash gives --> ~

while i need
Alt+'~' to get '|' (pipe symbol).

I've tried changing layouts but it didn't help.

This is the link to Dell studio 1558 keyboard's picture if it's any help...

http://stechchd.com/images/dell%201558.jpg

Please help...

DavidMcCann 08-10-2013 11:22 AM

Does that key give a backslash on its own (US), or a hash (UK)?

The keyboard is a US one, and the US driver should give "\" shifting to "|" as shown on the keycap. The UK driver in the "international with dead keys" variant should give "#" shifting to dead tilde, with "|" on the third level.

I don't know anything shifting to "~" with "|" on the third level. What output do you get from
Code:

setxkbmap -print
If you can't get the right driver, you can edit one. They live in /usr/share/X11/kxb/symbols/ and the key you're having trouble with is called <BKSL>.

Nikhil_Lagwankar 08-10-2013 07:53 PM

Quote:

Originally Posted by DavidMcCann (Post 5006826)
Does that key give a backslash on its own (US), or a hash (UK)?

it gives # ,it should give a backslash.


Quote:

Originally Posted by DavidMcCann (Post 5006826)
What output do you get from
Code:

setxkbmap -print


it gives this...

Code:

$ setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)"        };
        xkb_types    { include "complete"        };
        xkb_compat    { include "complete"        };
        xkb_symbols  { include "pc+gb+inet(evdev)+terminate(ctrl_alt_bksp)"        };
        xkb_geometry  { include "pc(pc105)"        };
};


DavidMcCann 08-11-2013 11:19 AM

In other words, you've got a British keyboard driver on an American keyboard! Run your keyboard configuration tool and switch to the US driver.

Nikhil_Lagwankar 08-11-2013 12:26 PM

Keyboard Layout problems
 
hey thanks.... problem solved


All times are GMT -5. The time now is 08:25 AM.