diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2019-02-06T00·00+0000 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2019-02-06T00·00+0000 |
commit | 0f7269c4ec666eb8bcf2616abbb5af46087cbdea (patch) | |
tree | 6b6ceb5b7f120a4671178b33d687ffa1da312629 /xinitrc | |
parent | 44629818bacf3e3a10a37e570fdee2e963dbcc7b (diff) |
Add input method support
; The code is basically refactored from ; https://github.com/ch11ng/exim to get better maintenance. * exwm-xim.el: New module making Emacs's builtin input methods usable for interacting with X windows. * exwm-core.el (exwm--intern-atom): New function for intern X11 atoms. * exwm-input.el (exwm-input--init): * exwm-manage.el (exwm-manage--init): Use it.
Diffstat (limited to 'xinitrc')
-rw-r--r-- | xinitrc | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/xinitrc b/xinitrc index 0adc06845078..591e4199144f 100644 --- a/xinitrc +++ b/xinitrc @@ -1,17 +1,20 @@ -# Disable access control +# Disable access control for the current user. xhost +SI:localuser:$USER # Make Java applications aware this is a non-reparenting window manager. export _JAVA_AWT_WM_NONREPARENTING=1 -# Themes, etc -gnome-settings-daemon & - -# Fallback cursor +# Set default cursor. xsetroot -cursor_name left_ptr -# Keyboard repeat rate +# Set keyboard repeat rate. xset r rate 200 60 -# Start Emacs -exec dbus-launch --exit-with-session emacs +# Uncomment the following block to use the exwm-xim module. +#export XMODIFIERS=@im=exwm-xim +#export GTK_IM_MODULE=xim +#export QT_IM_MODULE=xim +#export CLUTTER_IM_MODULE=xim + +# Finally start Emacs +exec emacs |