KDE

Wrong keyboard layout in lightdm for (k)ubuntu

I’ve had this annoying thing about my keyboard layout being US for my login window in Kubuntu 12.10. This happened after I got a new wireless keyboard with this unifying usb thing at work. I recently upgraded to 13.04 and the error followed, so I dug up the workaround / fix at bugs.launchpad.net .
My fix was adding this to /etc/lightdm/lightdm.conf

[...]
display-setup-script=setxkbmap no
[...]

Kubuntu update manager has been complaining about failed package download / update

If you, like me, got that really annoying message from update manager regarding failed download of additional data ( usually flashplugin-installer in my case) every time you login, I just found the answer at ubuntu forums .

root@saturn:/var/lib/update-notifier/user.d# pwd
/var/lib/update-notifier/user.d
root@saturn:/var/lib/update-notifier/user.d# ls -l | grep failed
-rw-r--r-- 1 root root 24155 Dec 17 10:33 data-downloads-failed
-rw-r--r-- 1 root root 27963 Feb 15 08:16 data-downloads-failed-permanently
root@saturn:/var/lib/update-notifier/user.d# rm data-downloads-failed*
root@saturn:/var/lib/update-notifier/user.d# 

ssh keys in kde4

pontohonk.de wrote some code to have kdewallet supply your ssh keys when ssh-agent requires them. Great code, my problem was that it’s been a while since I used kde and f.example qmake wasn’t something I’m used to. So here’s how I did it in OpenSuse 12.1 .

download askpass.C and askpass.pro from pontohonk.de
Issue:

# zypper install libqt4-devel
# zypper install libkde4-devel
# qmake
# make
$ cp askpass /path/to/home/.local/bin/

The rest is well explained by pontohonk.de

Opensuse 12.1 gave me ‘wrong’ AltGr+4 character

In opensuse 12.1 having English (GB) as language and with norwegian keyboard I got the € character when pressing AltGr + 4 in txt console … In kde 4 my keyboard gave me a $ which is the character I’m used to get when typing that combination of keys.
In OpenSuse look in /etc/sysconfig/keyboard, in my case I changed the line KEYTABLE=”no-latin1.map.gz” to KEYTABLE=”no.map.gz” and I got my AltGr + 4 back to ‘normal’ .

Are my tray icons in kde 4.2.x finally working ?

I came over this post: forum.kde.org
and I got really interested when someone there says they no longer have problems with garbled icons in kde 4.2.x .
I’m still a bit reluctant to upgrade to kde 4.3 simply because kde 4.2.x which I’m running right now is almost perfect, the only thing that really annoys me are those occasionally garbled icons in the tray.
So I ended up adding the QT 4.5 repo from http://en.opensuse.org/KDE/Repositories#KDE_4.2.4 and upgraded all my qt 4.4 packages to 4.5.
My first impression after restarting kdm is that this might just have been the final milestone for me to get happy with kde 4 🙂

Add your ssh-key when logging on to Kde 4.x in OpenSUSE

I wanted my ssh-keys automatically loaded when loging on to my box.
In OpenSUSE you can easily fix this.

Make sure you got these packages installed:

joar@linux-xsuv:~> rpm -qa | grep ssh
pam_ssh-1.96-26.112
openssh-5.1p1-40.15
openssh-askpass-5.1p1-40.15

Now edit /etc/pam.d/xdm and add the lines

>auth     sufficient     pam_ssh.so
session  required       pam_ssh.so

don’t delete anything there, just add those lines mentioned above.

This ensures ssh-agent is started while logging on and pam tries to unlock any of your ssh keys by using your login password as a passphrase.

Obviously this requires your ssh-key passphrase to equal your login password 🙂

I’ve tested this on OpenSUSE 11.1.

Source for this info at opensuse.org