Drop obsolete xinitrc

* xinitrc: Drop obsolete file.
* exwm.el: Update commentary.
This commit is contained in:
Daniel Mendler 2024-08-18 21:03:08 +02:00
parent 3179085c29
commit fa3393806c
No known key found for this signature in database
GPG key ID: D88ADB2A2693CA43
2 changed files with 4 additions and 27 deletions

View file

@ -52,7 +52,10 @@
;; (setq exwm-input-global-keys `(([?\s-r] . exwm-reset))) ;; (setq exwm-input-global-keys `(([?\s-r] . exwm-reset)))
;; (exwm-enable) ;; (exwm-enable)
;; ;;
;; 3. Link or copy the file 'xinitrc' to '~/.xinitrc'. ;; 3. Add the following lines to '~/.xinitrc':
;;
;; exec emacs
;;
;; 4. Launch EXWM in a console (e.g. tty1) with ;; 4. Launch EXWM in a console (e.g. tty1) with
;; ;;
;; xinit -- vt01 ;; xinit -- vt01

26
xinitrc
View file

@ -1,26 +0,0 @@
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."
# 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
# Set default cursor.
xsetroot -cursor_name left_ptr
# Set keyboard repeat rate.
xset r rate 200 60
# 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