When I edit my ~/.XCompose file, I need to reboot Ubuntu 16.04 for the changes to take effect. Is there a way to tell Ubuntu to reload the definitions in the file without doing a full reboot?
When I edit my ~/.XCompose file, I need to reboot Ubuntu 16.04 for the changes to take effect. Is there a way to tell Ubuntu to reload the definitions in the file without doing a full reboot?
Restart the input method program you are running. For a brute force approach, if your OS comes with
pidof
, you can use the following command:(Just replace with the actual command for your input method program.)
Your input method may include a command to restart it. In my case, it's
fcitx
, which offers this command:All changes are instantly activated. However, some applications may be need to be restarted.
As ARX mentions in comments,
ibus
has its own command to restart as well: