Page 1 of 1

(WORKAROUND)Mga8Plasma,KeybordIndicator not show CapsLock

PostPosted: Jun 2nd, '21, 12:35
by kajosim
Hi

I have installed Mga 8 on 2 ThinkPad: T520 and T530 . On both I have the issue using KDE Plasma :
In Systen Tray - Keyboard Indicator is set to show when CapsLock is pressed , but it does not show .

I was only aware of it missing because it worked fine on Mga 7 .
The T520 has a small LED lighting when CapsLock is pressed, but T530 has no physical indication of CapsLock

I have tried in MCC to look at what sevices is running but have no clue of what to look for.

Regards.

Re: Mga 8 Plasma , Keybord Indicator not showing CapsLock

PostPosted: Jun 2nd, '21, 16:12
by doktor5000
Does the keyboard indicator applet itself not show at all, or only capslock does not show if pressed in the applet ? What about e.g. numlock ?

Re: Mga 8 Plasma , Keybord Indicator not showing CapsLock

PostPosted: Jun 2nd, '21, 17:35
by kajosim
keyboard indicator applet (icon) shows in the system tray as it should
At the right of the system tray you click an arrow for "show hidden icons". clicking a "sub-window" pops up. At the right of the title bar ( "Status and Notifications" ) there is an icon for configuration. Clicking gives a lot of options.
In the applet I have added NumLock as suggested , but unfortunately I do not have a NumLock key on neither T520 nor T530
The icon for the applet is a keyboard. And it does not change when the Numlock key is pressed.

In Mga 7 you right-click the "show hidden icons" for configurating the system tray and the options and possibilities is more simple than in Mga 8
The icon for the applet is also a keyboard but when you press the NumLock key the icon changes til a key (a rectangle) with "A" inside and a small arrow beneath the rectangle (I think)
And usually when the icon is a keyboard it is a hidden icon, but when it changes to a key with "A" it appears in the system tray

My laptops has Danish keyboard layout and all keys works as they should also the CapsLock when I write in an editor or eg. a file name in Dolphin.

Re: Mga 8 Plasma , Keybord Indicator not showing CapsLock

PostPosted: Jun 2nd, '21, 22:08
by doktor5000
I think I had a similar issue. You might be missing some packages. Can you check if you have any suggested packages which are not installed yet via

Code: Select all
for pkg in $(rpm -qa --queryformat '%{RECOMMENDNAME} \n' | sort -u | grep -v '(none)'); do rpm -q ${pkg} &>/dev/null || echo ${pkg}; done

Re: Mga 8 Plasma , Keybord Indicator not showing CapsLock

PostPosted: Jun 2nd, '21, 23:31
by kajosim
Hi, Thanks for reply.

I copied your code into Konsole as root and got :
Code: Select all
[root@localhost ~]# for pkg in $(rpm -qa --queryformat '%{RECOMMENDNAME} \n' | sort -u | grep -v '(none)'); do rpm -q ${pkg} &>/dev/null || echo ${pkg}; done
a52dec
akregator-handbook
allegro4
alsa-plugins-pulseaudio
anacron
ark-handbook
aspell-dictionary
audacious-pulse
bolt
dragon
firefox-l10n
font(cantarell)
gcalctool
geoclue2
geoip
gimp-help
gnome-directory-thumbnailer
google-noto-emoji-fonts
gsound
gstreamer1.0-faac
gstreamer1.0-farstream
gstreamer1.0-fluidsynth
gtk3(x86-64)
gvfs-archive
gvfs-goa
gwenview-handbook
hawkey-man
html2text
hugin
hunspell-dictionary
iscan
kaddressbook-handbook
kamera-handbook
kate-handbook
kcalc-handbook
kcharselect-handbook
kcm_cddb-handbook
kcron-handbook
kdeconnect-kde-handbook
kguiaddons
kldap-handbook
kleopatra-handbook
kmailtransport-handbook
knotes-handbook
kolourpaint-handbook
konsole-doc
krfb-handbook
ksudoku-handbook
ktexteditor-plugins
ktimer-handbook
kwalletmanager-handbook
lib64canberra-gtk0
lib64gvfs0
lib64lame0
libalsa-plugins-pulseaudio
libdnf-lang
libgxps-tools
libinput-tools
libksieve-handbook
mariadb-extra(x86-64)
mdv-rpm-summary
netprofile-plugin-firewall
notification-daemon-engine-nodoka
npapi-vlc
okular-handbook
openssh-askpass
openswan
packagekit-gtk-module
pinentry-gnome3
pipewire(x86-64)
plasma-browser-integration
plasma-disks
polkit-desktop-policy
python3dist(pysmbc)
quota-rpc
rdesktop
rpm-plugin-ima
samba-winbind-clients
sasl2-plugin-kdexoauth2
sectool
smb-client
speech-dispatcher
tpm2-tss
transcode
uniconvertor
vlc-plugin-samba
[root@localhost ~]#



The T530 install is new so I am willing to do some experiment, because if anything goes wrong I will just re-install a new Mga8.

Regards.

Re: Mga 8 Plasma , Keybord Indicator not showing CapsLock

PostPosted: Jun 3rd, '21, 00:09
by doktor5000
Install all those packages, then try again. I think libinput-tools is what makes the keyboard indicator work, but why not install all as they should be installed ...

So in one command:
Code: Select all
urpmi $(for pkg in $(rpm -qa --queryformat '%{RECOMMENDNAME} \n' | sort -u | grep -v '(none)'); do rpm -q ${pkg} &>/dev/null || echo ${pkg}; done)

Re: Mga 8 Plasma , Keybord Indicator not showing CapsLock

PostPosted: Jun 3rd, '21, 17:46
by kajosim
First I tried only to install libinput-tools
Code: Select all
root@localhost test]# urpmi libinput-tools
    $MIRRORLIST: media/core/release/libinput-tools-1.16.4-1.mga8.x86_64.rpm
installing libinput-tools-1.16.4-1.mga8.x86_64.rpm from /var/cache/urpmi/rpms                                 
Preparing...                     #############################################################################
      1/1: libinput-tools        #############################################################################
[root@localhost test]#


This did not solve the issue. So :

Code: Select all
[root@localhost test]# urpmi $(for pkg in $(rpm -qa --queryformat '%{RECOMMENDNAME} \n' | sort -u | grep -v '(none)'); do rpm -q ${pkg} &>/dev/null || echo ${pkg}; done)
No package named gstreamer1.0-faac
No package named gtk3(x86-64)
No package named kmailtransport-handbook
No package named lib64gvfs0
No package named lib64lame0
No package named mdv-rpm-summary
No package named npapi-vlc
No package named packagekit-gtk-module
No package named polkit-desktop-policy
No package named sectool
No package named uniconvertor
[root@localhost test]#


It seems it diid not install anything and I do not know how to fix it.
So the issue is not solved.

I have just bought a new Thinkpad E14G2 and in order to check whether Mga 8 would have any hardware issues I ran a Mga8 Live on this laptop and now CapsLock shows up perfect.
I then installed the normal Mga 8 and then it is as before , not showing anything.

So a work around seems to be to install Mga8 Live.

I will shortly be off for some family gathering and will be back at my computers monday afternoon.
It is only my T530 which do not have LED-indicator for CapsLock that is a problem, so I will monday try to install Mga8 Live on the HD replacing the normal Mga 8 on T530.

Doktor5000 thanks for your help

Regards.