LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-03-2023, 04:20 AM   #1
zandyg
LQ Newbie
 
Registered: Dec 2023
Posts: 2

Rep: Reputation: 1
keyboard layout switch


Hi. I want to have two keyboard layout in 4MLinux and switch bitween them. Is this possible? Tell me, please, how to do it.
 
Old 12-03-2023, 04:49 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,853

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
4MLinux has jwm as window manager, and you can configure a menu item to change keyboard map (see setxkbmap) http://techtimejourney.net/wp-conten...jwm.x70132.pdf
 
1 members found this post helpful.
Old 12-03-2023, 11:20 AM   #3
zandyg
LQ Newbie
 
Registered: Dec 2023
Posts: 2

Original Poster
Rep: Reputation: 1
I found the following solution:
First, I copied /usr/share/X11/xorg.conf.d/90-keyboard-layout.conf to /etc/X11/xorg.conf.d
and edit it with Option "XkbOptions" "grp:alt_shift_toggle"
Next I added layout in /etc/kbd.conf
LAYOUT=us,ru (for example).
After reboot I can to switch keyboard layouts with alt+shift.
 
1 members found this post helpful.
Old 12-03-2023, 12:13 PM   #4
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by zandyg View Post
I found the following solution:
First, I copied /usr/share/X11/xorg.conf.d/90-keyboard-layout.conf to /etc/X11/xorg.conf.d
and edit it with Option "XkbOptions" "grp:alt_shift_toggle"
Next I added layout in /etc/kbd.conf
LAYOUT=us,ru (for example).
After reboot I can to switch keyboard layouts with alt+shift.
Bravo you!

To tell the truth I had no idea that such an option existed

.

Last edited by zk1234; 12-03-2023 at 12:15 PM.
 
  


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
Selecting the correct keyboard layout corresponding to my laptop's physical layout nidra Linux - Newbie 2 08-28-2017 08:14 AM
Switching keyboard layout - Mandriva2006 - K.D.E. Windows Layout! itz2000 Mandriva 3 08-13-2006 06:43 PM
How do i switch keyboard layout in Gnome? z-vet Linux - Newbie 1 10-15-2004 05:02 AM
choosing default keyboard layout in KDE or how to switch languages correctly sensovision Linux - General 3 05-23-2004 04:56 PM
How to switch keyboard layout in KDE/RedHat 7.2 Bogdan Linux - Newbie 2 12-20-2001 01:01 AM

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

All times are GMT -5. The time now is 09:55 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