Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard layout reverted since last update[SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 141

PostPosted: Sat Apr 11, 2015 9:50 am    Post subject: Keyboard layout reverted since last update[SOLVED] Reply with quote

So I survived the abi_x86_32 update after reading the instructions then adding --backtrack=1000 and waiting 8hrs for everything to rebuild but now my keyboard is US

Terminal and xterm in xfce4 is US VT1 is still UK, this is affect terminals that are running shells as root as well

Code:
cat /etc/conf.d/keymaps

Code:
# Use keymap to specify the default console keymap.  There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.
keymap="uk"

# Should we first load the 'windowkeys' console keymap?  Most x86 users will
# say "yes" here.  Note that non-x86 users should leave it as "no".
# Loading this keymap will enable VT switching (like ALT+Left/Right)
# using the special windows keys on the linux console.
windowkeys="YES"

# The maps to load for extended keyboards.  Most users will leave this as is.
extended_keymaps=""
#extended_keymaps="backspace keypad euro2"

# Tell dumpkeys(1) to interpret character action codes to be
# from the specified character set.
# This only matters if you set unicode="yes" in /etc/rc.conf.
# For a list of valid sets, run `dumpkeys --help`
dumpkeys_charset=""

# Some fonts map AltGr-E to the currency symbol ¤ instead of the Euro €
# To fix this, set to "yes"
fix_euro="NO"




Code:
locale

Code:
LANG=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=C
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8


Code:
cat /etc/xdg/autostart/gsettings-data-convert.desktop

Code:
[Desktop Entry]
Version=1.0
Name=GSettings Data Conversion
Name[en_GB]=GSettings Data Conversion
Comment=Migrates user settings from GConf to dconf
Comment[en_GB]=Migrates user settings from GConf to dconf
Exec=gsettings-data-convert
Terminal=false
Type=Application
OnlyShowIn=GNOME;Unity;
X-GNOME-Autostart-Phase=Initialization
phen264 ~ # cat /etc/profile.env
# THIS FILE IS AUTOMATICALLY GENERATED BY env-update.
# DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES
# GO INTO /etc/profile NOT /etc/profile.env

export ANT_HOME='/usr/share/ant'
export CONFIG_PROTECT='/usr/share/gnupg/qualified.txt /var/lib/hsqldb'
export CONFIG_PROTECT_MASK='/etc/gentoo-release /etc/sandbox.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild'
export ES_BASHCOMP_DIRS='/usr/share/bash-completion/completions'
export FLTK_DOCDIR='/usr/share/doc/fltk-1.3.2/html'
export GCC_SPECS=''
export GSETTINGS_BACKEND='dconf'
export GUILE_LOAD_PATH='/usr/share/guile/1.8'
export HG='/usr/bin/hg'
export INFOPATH='/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.4/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/info'
export LADSPA_PATH='/usr/lib64/ladspa'
export LANG='en_GB.UTF-8'
export LC_ADDRESS='en_GB.UTF-8'
export LC_COLLATE='C'
export LC_CTYPE='en_GB.UTF-8'
export LC_IDENTIFICATION='en_GB.UTF-8'
export LC_MEASUREMENT='en_GB.UTF-8'
export LC_MESSAGES='en_GB.UTF-8'
export LC_MONETARY='en_GB.UTF-8'
export LC_NAME='en_GB.UTF-8'
export LC_NUMERIC='en_GB.UTF-8'
export LC_PAPER='en_GB.UTF-8'
export LC_TELEPHONE='en_GB.UTF-8'
export LC_TIME='en_GB.UTF-8'
export LESS='-R -M --shift 5'
export LESSOPEN='|lesspipe %s'
export LIBGL_DRIVERS_PATH='/usr/lib64/dri:/usr/lib32/dri'
export MANPATH='/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.4/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/man:/etc/java-config-2/current-system-vm/man/'
export MULTIOSDIRS='../lib64:../lib32'
export OPENCL_PROFILE='amd'
export OPENGL_PROFILE='ati'
export PATH='/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.4:/usr/lib64/subversion/bin'
export PRELINK_PATH_MASK='/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so:/usr/lib32/libfreebl3.so:/usr/lib32/libnssdbm3.so:/usr/lib32/libsoftokn3.so'
export QT_GRAPHICSSYSTEM='raster'
export ROOTPATH='/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.4:/usr/lib64/subversion/bin'
export XDG_CONFIG_DIRS='/etc/xdg'
export XDG_DATA_DIRS='/usr/local/share:/usr/share'


any ideas what I can check?
_________________
x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB


Last edited by bluenuht on Thu Apr 16, 2015 5:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sat Apr 11, 2015 5:49 pm    Post subject: Reply with quote

bluenuht,

/etc/conf.d/keymaps is for the console.

You want xorf.conf or a file in xorg.conf.d/

I still have xorg.conf

Code:
Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option     "Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbDisable"

     Option "xkblayout" "gb"

# comment out the next line if you don't have a dvorak keyboard
     Option "xkbvariant" "dvorak"

     Option "XkbRules"  "xorg"
     Option "XkbModel"  "pc105"
# why "pc102"
     Option "XkbOptions"  "ctrl:swapcaps"

EndSection

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 141

PostPosted: Sat Apr 11, 2015 8:28 pm    Post subject: Reply with quote

Code:
cat /etc/X11/xorg.conf

gives me
Code:
Section "ServerLayout"
   Identifier     "aticonfig Layout"
   Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]-0"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]-0"
   Driver      "fglrx"
   Option      "UseInternalAGPGART"   "no"
   BusID       "PCI:2:0:0"
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]-0"
   Device     "aticonfig-Device[0]-0"
   Monitor    "aticonfig-Monitor[0]-0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


but the modified date is 2013

apart from the wacom file nothing seems to have been updated in xorg.conf.d either

Code:
ls /usr/share/X11/xorg.conf.d/ -al
total 20
drwxr-xr-x 2 root root 4096 Apr 10 06:37 .
drwxr-xr-x 7 root root 4096 Apr  9 22:59 ..
-rw-r--r-- 1 root root 1099 Mar 11 22:40 10-evdev.conf
-rw-r--r-- 1 root root 1350 Mar 11 22:40 10-quirks.conf
-rw-r--r-- 1 root root  858 Apr 10 06:37 50-wacom.conf
 ~ # cat /usr/share/X11/xorg.conf.d/*
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

# https://bugzilla.redhat.com/show_bug.cgi?id=523914
# Mouse does not move in PV Xen guest
# Explicitly tell evdev to not ignore the absolute axes.
Section "InputClass"
        Identifier "Xen Virtual Pointer axis blacklist"
        MatchProduct "Xen Virtual Pointer"
        Option "IgnoreAbsoluteAxes" "off"
        Option "IgnoreRelativeAxes" "off"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=55867
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL
Section "InputClass"
        Identifier "Tag trackballs as XI_TRACKBALL"
        MatchProduct "trackball"
        MatchDriver "evdev"
        Option "TypeName" "TRACKBALL"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=62831
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly
Section "InputClass"
        Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE"
        MatchProduct "La-VIEW Technology Naos 5000 Mouse"
        MatchDriver "evdev"
        Option "TypeName" "MOUSE"
EndSection
Section "InputClass"
   Identifier "Wacom class"
   MatchProduct "Wacom|WACOM|Hanwang|PTK-540WL|ISD-V4"
   MatchDevicePath "/dev/input/event*"
   Driver "wacom"
EndSection

Section "InputClass"
   Identifier "Wacom serial class"
   MatchProduct "Serial Wacom Tablet"
   Driver "wacom"
EndSection

Section "InputClass"
        Identifier "Wacom serial class identifiers"
        MatchProduct "WACf|FUJ02e5|FUJ02e7|FUJ02e9"
        Driver "wacom"
EndSection

# Waltop tablets
Section "InputClass"
   Identifier "Waltop class"
   MatchProduct "WALTOP"
   MatchIsTablet "on"
   MatchDevicePath "/dev/input/event*"
   Driver "wacom"
EndSection

# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
   Identifier "Wacom N-Trig class"
   MatchProduct "HID 1b96:0001|N-Trig Pen|N-Trig DuoSense"
   MatchDevicePath "/dev/input/event*"
   Driver "wacom"
   Option "Button2" "3"
EndSection


So I am not saying your are wrong but I did not have those UK keyboard specific settings in there previously.
_________________
x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB
Back to top
View user's profile Send private message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 141

PostPosted: Thu Apr 16, 2015 5:06 pm    Post subject: Reply with quote

a power cut took out the machine and now it is back to normal.

I will set the thread as solved but any ideas why the keyboard layout would have changed during the update and are there any commands I could have run to fix it without rebooting?
_________________
x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB
Back to top
View user's profile Send private message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 141

PostPosted: Sat May 16, 2015 1:26 pm    Post subject: Reply with quote

Found out what is wrong. When certain (not very common) things happen the keyboard acts like it has been unplugged and replugged, as seen in dmesg.

Cannot find out why it defaulting to us layout but

Code:
setxkbmap gb


fixes it.
_________________
x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum