You are not logged in.

#1 2015-10-10 19:32:18

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Virtual console-pipe problem

I can write every character (including ğ, ş etc.) in virtual consoles, but can't write pipes ( | ). Do you have any idea about why?


/etc/vconsole.conf

KEYMAP=trq
FONT=lat5-16

Last edited by betseg (2015-10-10 19:32:31)

Offline

#2 2015-10-11 13:18:41

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: Virtual console-pipe problem

I still can't write | on virtual consoles.

Offline

#3 2015-10-11 13:28:42

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: Virtual console-pipe problem

What happens when you try to type a pipe? Are you able to get pipes with default settings? Are you sure it's not a font issue? Are you sure you have the right keymap?

Offline

#4 2015-10-11 13:34:21

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: Virtual console-pipe problem

Nothing happens. Default settings make ni difference, also ğ etc. look like question marks in default settings. Yes, not an font issue. I'm not sure about key map.

Last edited by betseg (2015-10-11 13:35:37)

Offline

#5 2015-10-11 14:08:05

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: Virtual console-pipe problem

Use showkey to get the key code of the key you expect to be set to |.

Also post the output of dumpkeys and search in the output for "bar" (the name of | if I'm not mistaken). What key(s) is "bar" set to?

If the key you want it to be and the key reported by dumpkeys are not the same you need a different keymap.

Offline

#6 2015-10-11 14:58:29

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: Virtual console-pipe problem

keycode 100 and 13 (altgr + "-") is |

dumpkeys says

keycode  86 = less             greater          bar             

I can write bar using altgr+"<" (less) but I want to write with altgr+"-" (minus) (also this is how I write with Xorg and Wayland), how can I change this?

Last edited by betseg (2015-10-11 15:00:26)

Offline

#7 2015-10-11 17:23:26

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: Virtual console-pipe problem

Looks like you need to find the correct keymap for your keyboard if there is one, or create one yourself (based on the one you have now).

Based on your current settings I guess you could go the easy way and create a file based on /usr/share/kbd/keymaps/i386/qwerty/trq.map.gz.

You may have to take a look at the manuals of loadkeys and keymaps, but I think it should be easy enough. I've never done this myself though.

Offline

#8 2015-10-11 17:35:23

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: Virtual console-pipe problem

I tried to change the keymap, but:

$ loadkeys trq--
Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 2: Permission denied
Keymap 3: Permission denied
Keymap 4: Permission denied
Keymap 5: Permission denied
Keymap 6: Permission denied
KDSKBENT: Operation not permitted: could not deallocate keymap 7

Offline

#9 2015-10-11 17:53:59

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: Virtual console-pipe problem

Okay, I changed /etc/vconsole.conf and am using my keymap now. Should I make a bug report to kbd upstream or what?

Last edited by betseg (2015-10-11 18:32:12)

Offline

#10 2015-10-11 20:11:20

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: Virtual console-pipe problem

I honestly don't know, I have never seen  or used a Turkish keyboard in my entire life ^^
But I guess it wouldn't hurt, worst thing that could happen is that you get directed to the right keymap for your keyboard, which is actually a good thing.

Good to know that you got it sorted out.

Offline

#11 2016-05-30 19:54:11

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: Virtual console-pipe problem

Offline

Board footer

Powered by FluxBB