LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 09-09-2015, 07:32 AM   #1
fredvej
LQ Newbie
 
Registered: Dec 2004
Location: Denmark
Distribution: SuSE
Posts: 3

Rep: Reputation: 0
set up keyboard layout independet of language - how ?


When I boot 4MLinux 13.1 it opens with lang.conf in an editor, and I can select language.

I want to keep the english language, but I need to use a danish keyboard layout. How can I do that ?

I have tried to write keyboard=dk and xkeyboard=dk on the command line for booting from syslinux - no effect.

I have tried to write keyb=dk and keyboard=dk and xkeyboard=dk in lang.conf - no effect.

I cannot find a setting in the configuration for JWM that selects keyboard layout.

There is no program on the path named *key* that can choose a keyboard layout.

Any ideas ?
 
Old 09-09-2015, 08:21 AM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
The lang.conf file mentioned by you looks as follows:
# Default language and keyboard layout in JWM
# (supported languages: de,en,es,fr,it,pl,pt,ru)
LANG=en


Just set LANG=dk in this file. Your "language request" will be ignored by 4MLinux, but your "keyboard request" will be accepted. The layout should be changed immediately (if not, restart X).
 
1 members found this post helpful.
Old 09-10-2015, 02:36 AM   #3
fredvej
LQ Newbie
 
Registered: Dec 2004
Location: Denmark
Distribution: SuSE
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by zk1234 View Post
Just set LANG=dk in this file. Your "language request" will be ignored by 4MLinux, but your "keyboard request" will be accepted. The layout should be changed immediately (if not, restart X).
Thank you very much, it works without restarting X.

The danish letters æøåÆØÅ and the keys for ½ § and ¤ work in the text editor, but not in the terminal, but I do not need those characters on the command line anyway, so that wont be a problem.

As stated in the FAQ, by editing /etc/aterm/transparency.cfg to TRANSPARENCY=no I can make the terminal useful and see what I write. The desktop wallpaper is very pretty, but not practical for a working surface.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add keyboard language / layout isaac.dvorz Linux - Desktop 6 07-21-2015 12:25 AM
HOWTO setup different system language and keyboard layout? carlosemanglano Linux - Laptop and Netbook 3 10-28-2011 04:56 AM
International language keyboard layout tables for remapping - Where are they? richard.robin Linux - General 1 09-13-2008 04:44 PM
How do I change language and keyboard layout for Yo0 Linux? lectraplayer Linux - Distributions 2 05-18-2008 08:00 AM
crash when changing language(keyboard layout) atkbd.c cuk Mandriva 0 06-20-2004 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration