You are not logged in.

#1 2012-03-11 11:59:39

xhc
Member
Registered: 2012-02-01
Posts: 113

keymap in tty console

where I can set a keymap in console tty 1 - 6 ? thnx


#Awesome window manager

Offline

#2 2012-03-11 12:02:26

guelfi
Member
From: /home/guelfi
Registered: 2011-07-01
Posts: 111

Re: keymap in tty console

Search the wiki. It directly gets you to the right page.

Offline

#3 2012-03-11 12:03:33

xhc
Member
Registered: 2012-02-01
Posts: 113

Re: keymap in tty console

do you think rc.conf ? ... it doesnt run in console tty


#Awesome window manager

Offline

#4 2012-03-11 12:07:34

guelfi
Member
From: /home/guelfi
Registered: 2011-07-01
Posts: 111

Re: keymap in tty console

xhc wrote:

do you think rc.conf ? ... it doesnt run in console tty

I'm sorry, what are you trying to say?

Offline

#5 2012-03-11 12:08:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: keymap in tty console

What *exactly* is your problem? You don't get the right characters in the console? What settings are you using? Can you post your rc.conf?

Offline

#6 2012-03-11 12:12:23

xhc
Member
Registered: 2012-02-01
Posts: 113

Re: keymap in tty console

I think on console Ctrl + Alt + F1 - F6

in console Terminator (X11) I have right keymap ...

my rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
#   Note: Using "localtime" is discouraged, using "" makes hwclock fall back
#   to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
#   Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#

HARDWARECLOCK="localtime"
TIMEZONE="Europe/Bratislava"
KEYMAP="sk-qwertz"
CONSOLEFONT=
CONSOLEMAP=
LOCALE="sk_SK.UTF-8"
DAEMON_LOCALE="yes"
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
#   Replace every !module by an entry as on the following line in a file in
#   /etc/modprobe.d:
#     blacklist module
#   See "man modprobe.conf" for details.
#
MODULES=()
# *HC COMMENT* usblp -epson

# Udev settle timeout (default to 30)
#UDEV_TIMEOUT=30

# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"

# Scan for BTRFS volumes at startup
USEBTRFS="no"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archlinux"

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
#   - broadcast: broadcast address (ignored for DHCP) (optional)
#   - gateway: default route (ignored for DHCP)
# 
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

interface=eth0
address=
netmask=
broadcast=
gateway=

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(!hwclock dbus networkmanager vnstat syslog-ng !network @bluetooth netfs @crond !cpusd @alsa)

Last edited by xhc (2012-03-11 23:47:55)


#Awesome window manager

Offline

#7 2012-03-11 12:13:19

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: keymap in tty console

I think he's trying to set it to Slovene.


Yes, rc.conf. Search the wiki for "keymap". And don't forget to mark it as solved.

Edit: You should also use the [ code ] tags instead of quoting. Preferably pastebin.com if it's too long.

Last edited by DSpider (2012-03-11 12:15:59)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#8 2012-03-11 12:20:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: keymap in tty console

A bit OT, but are you sure your system is up to date? It doesn't look like it is.

Offline

#9 2012-03-11 12:24:43

xhc
Member
Registered: 2012-02-01
Posts: 113

Re: keymap in tty console

it is up to date ... I just "saved" comments in file (rc.conf.pacnew) ... I think, I must editing in rc.conf CONSOLEMAP .... trying which map is for Slovakia ( NO SLOVENIA! - it is another land :-)


#Awesome window manager

Offline

#10 2012-03-11 13:46:07

xhc
Member
Registered: 2012-02-01
Posts: 113

Re: keymap in tty console

added to rc.conf:

KEYMAP="sk-qwertz" <OR> KEYMAP="sk"

added:

CONSOLEFONT="lat2-16"
CONSOLEMAP="8859-2"

added to /etc/mkinitcpio.conf:
HOOKS="... consolefont keymap"

made:

# mkinitcpio -p linux


RESULT: still no right keys in tty console (slovak), it has eng keymap !!!

Last edited by xhc (2012-03-12 18:55:42)


#Awesome window manager

Offline

Board footer

Powered by FluxBB