2024-06-15 09:13:52 +02:00
|
|
|
echo "The xinitrc file has been deprecated. We do not recommend using
|
|
|
|
xinitrc directly as is. Instead copy the relevant settings to your
|
|
|
|
xsession or xinitrc file and modify them as needed. The code from here
|
|
|
|
will be moved out of the source repository to the manual after the
|
|
|
|
next release. See https://github.com/emacs-exwm/exwm/issues/57."
|
|
|
|
|
2019-02-06 00:00:00 +00:00
|
|
|
# Disable access control for the current user.
|
2015-11-15 03:35:54 +00:00
|
|
|
xhost +SI:localuser:$USER
|
2015-10-28 18:55:49 +08:00
|
|
|
|
2018-02-19 00:04:27 +08:00
|
|
|
# Make Java applications aware this is a non-reparenting window manager.
|
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
|
|
|
2019-02-06 00:00:00 +00:00
|
|
|
# Set default cursor.
|
2015-10-28 18:55:49 +08:00
|
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
|
2019-02-06 00:00:00 +00:00
|
|
|
# Set keyboard repeat rate.
|
2015-10-28 18:55:49 +08:00
|
|
|
xset r rate 200 60
|
|
|
|
|
2019-02-06 00:00:00 +00:00
|
|
|
# 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
|