$ sudo update-alternatives --install /usr/bin/x-editor \
x-editor /usr/bin/geany 1
# file ~/.config/i3/config
# add line
bindsym mod4+e exec x-editor
$ sudo update-alternatives --install /usr/bin/x-editor \
x-editor /usr/bin/geany 1
# file ~/.config/i3/config
# add line
bindsym mod4+e exec x-editor