Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keymap on Plasma (konsole&generally) still US layout[SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Fri Feb 17, 2017 4:58 pm    Post subject: Keymap on Plasma (konsole&generally) still US layout[SOL Reply with quote

Had to do a clean reinstall of my Gentoo system, got uefi boot working and now plasma up and running.

But keyboard layout got me to a screeching halt and I have lost track on it. I cannot for the life of me find out
why I still have the a US layout when I need a German layout.

Code:
locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
en_US
en_US.iso88591
en_US.utf8
german
POSIX


Code:
cat /etc/conf.d/keymaps
# Use keymap to specify the default console keymap.  There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.
keymap="de-latin1-nodeadkeys"

# 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:
rc-update show
            alsasound | boot                                   
               binfmt | boot                                   
             bootmisc | boot                                   
          consolefont | boot                                   
               cronie |      default                           
                 dbus |      default                           
                devfs |                                 sysinit
                dmesg |                                 sysinit
                 fsck | boot                                   
             hostname | boot                                   
              hwclock | boot                                   
              keymaps | boot                                   
            killprocs |                        shutdown       
    kmod-static-nodes |                                 sysinit
                local |      default nonetwork                 
           localmount | boot                                   
             loopback | boot                                   
              modules | boot                                   
             mount-ro |                        shutdown       
                 mtab | boot                                   
             net.eno1 |      default                           
             netmount |      default                           
               procfs | boot                                   
                 root | boot                                   
            savecache |                        shutdown       
                 sshd |      default                           
                 swap | boot                                   
               sysctl | boot                                   
                sysfs |                                 sysinit
             sysklogd |      default                           
         termencoding | boot                                   
         tmpfiles.dev |                                 sysinit
       tmpfiles.setup | boot                                   
                 udev |                                 sysinit
              urandom | boot                                   


Code:
emerge --info
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.4, glibc-2.23-r3, 4.9.6-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E3-1240_v3_@_3.40GHz-with-gentoo-2.3
KiB Mem:    16372884 total,  14868988 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 17 Feb 2017 13:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bitmap-fonts bluetooth branding bzip2 cairo cdda cdr cleartype cli colord consolekit corefonts cracklib crypt cups cxx dbus declarative directfb dri dts dvd dvdr emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif glamor gphoto2 gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp oss pam pango pcre pdf plasma png policykit ppds qml qt3support qt4 qt5 readline sasl scanner sdl seccomp semantic-desktop session spell ssl startup-notification svg tcpd tiff tracker truetype udev udisks unicode upower usb utf8 vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


I never had to set the unifont in /etc/conf.d/consolefont before.

Before I startx and enter gui environment the keymap is just fine. As soon as X has started I struggle with the US layout not onlz on konsole but just about everywhere.
It might be trivial and it sure feels ridiculous but right now I do not see what else is missing.

If anyone could shove me into some direction that could lead to progress I would be happy.


Last edited by EasterParade on Fri Mar 03, 2017 12:16 pm; edited 3 times in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Feb 17, 2017 5:08 pm    Post subject: Reply with quote

transsib ... something like the following:

/etc/X11/xorg.conf.d/10-keyboard.conf:
Section "InputDevice"
   Identifier  "keyboard0"
   Driver      "kbd"
   Option      "AutoServerLayout" "on"
   Option      "XkbRules" "xorg"
   Option      "XkbModel" "pc105"
   Option      "XkbLayout" "de"
EndSection

... though I would have expected kde to provide some method to switch and/or define this.

HTH & best ... khay
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Fri Feb 17, 2017 5:24 pm    Post subject: Reply with quote

I do have a keyboard.conf but may be I should rename it to 10-keyboard.conf.
Mine is named 30-keyboard.conf.
Do not tell me it could be that simple 8O

Mine looks like this
Code:
Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbLayout" "de"
        Option "XkbModel" "Cherry generic"
        Option "XkbRules" "xorg"
        Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
        Option "XkbVariant" "qwertz"
        MatchIsKeyboard "on"
EndSection


EDIT It is not that simple.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Fri Feb 17, 2017 6:07 pm    Post subject: Reply with quote

What about consolekit? Do I still have to add that to runlevel too?

Proper keyboard layout is set in systemsettings but plasma seems to ignore that.

Would it help if I delete konsolerc in HOME .config/? Nah ... there is nothing in there that
affects keyboard.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Fri Feb 17, 2017 6:45 pm    Post subject: Reply with quote

Got this in Xorg.0.log

Code:
[    44.482] (EE) Error loading keymap /tmp/server-0.xkm
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Feb 17, 2017 7:10 pm    Post subject: Reply with quote

transsib wrote:
What about consolekit? Do I still have to add that to runlevel too?

transsib ... that would be a question for astrum (or other kde users), I would expect that answer to be yes, kde/plasma requires consolekit.

BTW, the numbering in xorg.conf.d simply states the order, so 30-keyboard.conf is fine.

transsib wrote:
Code:
[    44.482] (EE) Error loading keymap /tmp/server-0.xkm

Do you also see the 'option' defined?

grep XkbLayout /var/log/Xorg.0.log:
[1110914.982] (**) Option "XkbLayout" "en_US"

You might try 'de_DE'.

best ... khay
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Fri Feb 17, 2017 7:29 pm    Post subject: Reply with quote

Code:
[  1254.445] (**) Option "xkb_layout" "de"


is what I see in the log.
I put de_DE into keyboard.conf if I find underscore :)

But I am quite pessimistic right about now.

Nope ... was to be expected. No change. Looks like I need to take a break
and wait for a new idea to pop out of that swiss cheese of a brain :D

Thanks khayyam
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Fri Feb 17, 2017 10:38 pm    Post subject: Reply with quote

Could it be something to do with the following 2011 commit in X Windows?:

https://cgit.freedesktop.org/xkeyboard-config/commit/?id=fd830658afb205d998fde9bf1a760347476884af

Quote:
Got rid of de(qwerty)
Permitted by Matej Kosik (the author), in favor of de(us)


EDIT: There is no quertz XkbVariant for de, you need to specify qwerty instead, but if I read that commit correctly, that XkbVariant has been removed too. There is a list of variants in a file installed by X Windows somewhere on my machine, but here is one from 2010 I found on the Web: http://pastebin.com/v2vCPHjs Perhaps you should comment out that Option and see what happens.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sat Feb 18, 2017 6:53 am    Post subject: Reply with quote

Oh hei Fitzcarraldo :)

Where is that file to be found?

it certainly looks like a Xorg issue. Plasma is not to be blamed.
May be I did not have set locale properly before I started compiling
xorg-server.

This is what is in Xorg log today

Code:
 590.325] (EE) Error loading keymap /tmp/server-0.xkm


I have already removed the QWERTZ variant and more from the config
file.
I have also now recompiled xorg-server but then I have done it a few times.
I am still stuck with the damned US keyboard layout.

Why does it not find the keymap!? I must have forgotten something somewhere.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sat Feb 18, 2017 10:31 am    Post subject: Reply with quote

transsib wrote:
Code:
 590.325] (EE) Error loading keymap /tmp/server-0.xkm

transsib ... what are the permissions on /tmp?

ls -ld /tmp:
drwxrwxrwt 8 root root 4096 2017-02-18 11:11 /tmp/

best ... khay
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sat Feb 18, 2017 10:43 am    Post subject: Reply with quote

Found it: /usr/share/X11/xkb/rules/xorg.lst (which is actually a symlink to /usr/share/X11/xkb/rules/base.lst)

All the allowable models, layouts, variants and options are listed in that file.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sat Feb 18, 2017 12:18 pm    Post subject: Reply with quote

Code:
ls -ld /tmp
drwxrwxrwt 4 root root 4096 18. Feb 12:08 /tmp


Fitz what am I looking at in base.lst?
There exist German layouts but Swizterland, Austria et al but no
German Germany for what is is worth. :lol:

Code:
 nodeadkeys      de: German (eliminate dead keys)


only listing that might fit

or this
Code:
de_nodeadkeys   ch: German (Switzerland, eliminate dead keys)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sat Feb 18, 2017 1:30 pm    Post subject: Reply with quote

Your desctop environment should have a startup file.

E.g. i3wm

Code:
ASUS-G75VW roman # cat .i3/config
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

#set the modifier button to the windows button
set $mod Mod4

#set kayboard german layout
exec setxkbmap de


running
Code:
setxkbmap de


should do the trick. I suggest you add it to your startup file of your xorg.server / desctop environment

I do not have any keyboard xorg related sections.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sat Feb 18, 2017 1:53 pm    Post subject: Reply with quote

Quote:
Your desctop environment should have a startup file.

E.g. i3wm

Code:
ASUS-G75VW roman # cat .i3/config
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

#set the modifier button to the windows button
set $mod Mod4

#set kayboard german layout
exec setxkbmap de


running
Code:
setxkbmap de


should do the trick. I suggest you add it to your startup file of your xorg.server / desctop environment

I do not have any keyboard xorg related sections.


Thank you so much Roman_Gruber: that did the trick.

But hell, up to now my .xinitrc never needed this. The keyboard.conf in xorg.conf.d was enough to set the layout right.
The .xinitrc was there to startkde - basta. Now it needs this to get the desktop to use the proper keymap too!?

Why is it that whenever something comes up you have to add a little line somewhere to get s**t going!

I thank Fitzcarraldo and khayyam too for their help.

:)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sat Feb 18, 2017 2:28 pm    Post subject: Reply with quote

some desktop use another tool to handle keyboard.

i think what you see is that:
- xorg set de (because of the presence of [ 1254.445] (**) Option "xkb_layout" "de" )
- plasma set us (no idea of the tool plasma use for that, ask some plasma user)
- and because last one win, setxkbmap set de

i can only point you to the tool i know doing that: mate-keyboard-properties (not really a great help for plasma user)
so your real solve would be find what plasma tool is use to do that, where it store the keyboard configuration, and remove/reset/edit it to.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Sat Feb 18, 2017 2:40 pm    Post subject: Reply with quote

Plasma users have always set their keyboard layout in systemsettings, even though the default is to just take the system default.

If you recently switched to libinput, setting the layout in xorg.conf does not work anymore and you have to take to systemsettings.


Last edited by asturm on Sat Feb 18, 2017 2:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sat Feb 18, 2017 2:42 pm    Post subject: Reply with quote

krinn, it looked like X is to be blamed, not plasma.
Of course I could be wrong. So now that I won't have to spend more time on searching for
the right key I can continue setting up stuff and I'll keep one eye open for anything plasma
concerning keyboard layout-specific.
In systemsettings de-latin1-nodeadkeys is set though although it had no effect at all.

That setxkbmap de was the only successful measure here.

Other than that last one wins is just fine for me :wink:
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sun Feb 19, 2017 12:02 am    Post subject: Reply with quote

transsib wrote:
Code:
ls -ld /tmp
drwxrwxrwt 4 root root 4096 18. Feb 12:08 /tmp


Fitz what am I looking at in base.lst?
There exist German layouts but Swizterland, Austria et al but no
German Germany for what is is worth. :lol:

Code:
 nodeadkeys      de: German (eliminate dead keys)


only listing that might fit

or this
Code:
de_nodeadkeys   ch: German (Switzerland, eliminate dead keys)

I have the following allowable variants in that X Windows file:

Code:
# grep de: /usr/share/X11/xkb/rules/xorg.lst
  deadacute       de: German (dead acute)
  deadgraveacute  de: German (dead grave acute)
  nodeadkeys      de: German (eliminate dead keys)
  T3              de: German (T3)
  ro              de: Romanian (Germany)
  ro_nodeadkeys   de: Romanian (Germany, eliminate dead keys)
  dvorak          de: German (Dvorak)
  sundeadkeys     de: German (Sun dead keys)
  neo             de: German (Neo 2)
  mac             de: German (Macintosh)
  mac_nodeadkeys  de: German (Macintosh, eliminate dead keys)
  dsb             de: Lower Sorbian
  dsb_qwertz      de: Lower Sorbian (qwertz)
  qwerty          de: German (qwerty)
  tr              de: Turkish (Germany)
  ru              de: Russian (Germany, phonetic)
  legacy          de: German (legacy)

So it appears that de(qwerty) is still a possible variant in the version of X Windows I am using (x11-base/xorg-server-1.18.4).

asturm wrote:
If you recently switched to libinput, setting the layout in xorg.conf does not work anymore and you have to take to systemsettings.

That's useful to know. I'll have to bear that in mind if I make the change to libinout.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Mon Feb 20, 2017 6:26 am    Post subject: Reply with quote

I had to remove the SOLVED tag.
US keyboard layout is back. It reverted back to wrong keymaps.

My keyboard is fine; keymap is ok on Windows and Ubuntu.
I have the same version of xorg-server as you, Fitzcarraldo.

Now what ...

:evil:
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Mon Feb 20, 2017 7:22 am    Post subject: Reply with quote

Please tell me it is not a bug.

I just checked ...
Code:
dev-libs/libinput-1.4.2


There also is x11-drivers/xf86-input-libinput which is not installed.
But would that change anything? And what is xf86-input-evdev and xf86-input-keyboard still worth?
This input driver does not compile anyway... so what ...

libinput is for wayland right? What do I need libinput if I do not have wayland?

What is going on here again?

Correcting myself, I do have wayland. Does it conflict with xorg-server?
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Mon Feb 20, 2017 10:17 am    Post subject: Reply with quote

Unlike you, I don't use Wayland. Anyway, I see from the Arch Linux Wiki that it has a configuration file named ~/.config/weston.ini (What is this thing? Windows?!) and in that you specify the keymap, amongst other things:

Code:
[keyboard]
keymap_layout=de
#keymap_options=caps:ctrl_modifier,shift:both_capslock_cancel
### keymap_options from /usr/share/X11/xkb/rules/base.lst ###
numlock-on=true

Try that?
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Mon Feb 20, 2017 3:59 pm    Post subject: Reply with quote

Fitzcarraldo,

I did not choose wayland.
This is a fresh install.
All I did was pick the profile.

And weston, or whatever, is a run service. What for do we have to put yet another run service up
on top of all the others, when we have xorg-server and all the xf86 drivers for evdev, keyboard
and mouse? Although it seems as if it belonged to systemd, which I do not run at the moment.

If anything fails and you gotta troubleshoot, having so many layers on top of X makes finding
the culprit next to impossible.

Where is all this going? Does anyone still in control of where Gentoo is going?

I doubt it.

So ...

But if that also fails I will throw out that Westin hotel off my fresh system faster than I gonna put it into it.

There also is no such file as weston.ini in .config
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Mon Feb 20, 2017 5:46 pm    Post subject: Reply with quote

If I open run and run setxkbmap de it sets my German layout.
I think I will have to do it each time I log in.

Instead of disturbing my system with wayland I will workaround my issue with it.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Mon Feb 20, 2017 5:57 pm    Post subject: Reply with quote

You have my sympathy! Fortunately I'm not in your boat, but I'm getting increasingly worried about the direction Linux is moving in. These days I don't have time to mess around with partially-developed software. It's like coming home every day and finding your furniture has been rearranged yet again. Anyway, as you're using Plasma, you can configure it via 'System Settings' > 'Startup and Shutdown' so that it runs the 'setxkbmap de' command automatically when you login.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Mon Feb 20, 2017 6:15 pm    Post subject: Reply with quote

Erm, how did this deteriorate into an end-is-nigh discussion? First of all, just because libinput is a requirement by wayland does not mean wayland is in any way involved when you rightfully use libinput in X. Second, when you don't have xf86-input-libinput installed, all that is moot anyway. Third, weston is not even remotely connected with all that, it's just a reference compositor. I have logged into a Plasma Wayland session without any trace of weston (and systemd, for that matter) on my system. All the while with Plasma correctly setting my keyboard layout.
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
Goto page 1, 2  Next
Page 1 of 2

 
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