[xubuntu-users] switch keyboard layout

jules s s.julez at gmail.com
Tue May 10 06:10:49 UTC 2016


Hi!

I'm using both the german and the english keymapping on my machines. I
don't really know about special character languages like japanese behave
but I guess it should be the same, concidering the right locales are
activated and installed on your machine.

Anyway, here's what I use in my $HOME/bin/ directory:

:~$ cat bin/keyboard.sh
#!/bin/bash
# configure machine to use both the english and german keyboard layout
# switch between layouts by pressing "roll"
# glowing "roll-LED" indicates that the german layout is present
setxkbmap -layout us,de              # setup two keyboard layouts. 'us'
will be the default
setxkbmap -option grp:sclk_toggle    # switch between keyboard layouts via
scroll lock key
setxkbmap -option grp_led:scroll     # indicate that I'm using the
alternative layout (de)


2016-05-09 18:00 GMT+02:00 Petter Adsen <petter at synth.no>:

> On Tue, 10 May 2016 00:24:03 +0900
> Thomas Blasejewicz <nyuwa at hb.tp1.jp> wrote:
>
> > Good morning
> > (I was not able to recover the messed up installation the other day)
> >
> > Now I NEWLY (from scratch) installed xubuntu 15.10 (16.04 did not
> > allow me to install ANY other language beside English).
> > I am repeating the procedure now for the THIRD time, since both
> > preceding very laborous and time consuming installations led to
> > a blank black screen, where the ONLY possible action / activity was
> > cutting the power.
>
> 15.10 goes EOL in three months.
>
> > Now during the third attempt at installing the OS I am running again
> > (I did experience this already before!) into other annoying problems.
> > Here in particular (since I have not yet gotten further than OS
> > installation and update):
> > I have (set) two keyboard layouts: Japanese + German.
> > My customary switch is left Alt+Shift.
> > I could set that, but EVERY TIME I restart the computer, this setting
> > is forgotten and has to be changed.
> > Changed: change it to anything, it does not matter what. But when the
> > computer is turned off, this setting is lost.
> >
> > Is there any way to convince the computer, that it has to remember
> > that setting?
>
> Put '/usr/bin/setxkbmap -option grp:lalt_lshift_toggle' in
> ~/.xsessionrc and log out and back in. See 'man xkeyboard-config' for
> other options or alternative keybindings.
>
> Petter
>
> --
> "I'm ionized"
> "Are you sure?"
> "I'm positive."
>
> --
> xubuntu-users mailing list
> xubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20160510/02bc13ac/attachment.html>


More information about the xubuntu-users mailing list