reboot keyboard
asked 2015-02-08 11:27:45 +0200

This post is a wiki. Anyone with karma >75 is welcome to improve it.
I'm trying to play with the UI. I figure I'll try to write my own keyboard layout. What do I need to do to apply the modified layout without reboot?
I looked at a package that includes a keyboard layout:
$ rpm -qp --scripts hebrewvkbnew-2ar-2lang-0.8-1.armv7hl.rpm
postinstall scriptlet (using /bin/sh):
if [ $1 = 1 ]; then
// Do stuff specific for first install
echo "It's first time install"
fc-cache -f
killall maliit-server
killall jolla-messages
killall jolla-email
killall jolla-notes
killall jolla-clock
else
if [ $1 = 2 ]; then
// Do stuff specific to upgrades
killall maliit-server
fi
fi
postuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
// Do stuff specific to uninstalls
rm -rf /usr/share/maliit/plugins/com/jolla/custom-he
killall maliit-server
else
if [ $1 = 1 ]; then
// Do stuff specific to upgrades
echo "It's just upgrade"
fi
fi
Is this what I should do? Kill maliit-server (it will restart itself?)