; 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.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| # 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
 |