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 01:00:00 +01:00
|
|
|
# Disable access control for the current user.
|
2015-11-15 04:35:54 +01:00
|
|
|
xhost +SI:localuser:$USER
|
2015-10-28 11:55:49 +01:00
|
|
|
|
2018-02-18 17:04:27 +01:00
|
|
|
# Make Java applications aware this is a non-reparenting window manager.
|
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
|
|
|
2019-02-06 01:00:00 +01:00
|
|
|
# Set default cursor.
|
2015-10-28 11:55:49 +01:00
|
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
|
2019-02-06 01:00:00 +01:00
|
|
|
# Set keyboard repeat rate.
|
2015-10-28 11:55:49 +01:00
|
|
|
xset r rate 200 60
|
|
|
|
|
2019-02-06 01:00:00 +01: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
|