index
目录
1 Exwm-X
1.1 What is Exwm-X
Exwm-X is an extension of exwm (emacs x window manager), which can make exwm easier for Mouse-Control-People to use.
1.2 Feature
- Shortcuts, toolbar and other window operate buttons in mode-line.
- Move or resize a floating-window without press WIN key.
- Jump-or-exec, which will switch to an exist app instead of launch it again.
1.3 Pictures and videos
Tilling windows
Floating windows
Exwm-X videos
1.4 Install
- Config melpa repository, please seeļ¼http://melpa.org/#/getting-started
- M-x package-install RET exwm-x RET
1.5 Configure
1.5.1 Edit "~/.initrc" file or "~/.xsession" file
You should edit "~/.initrc" file or "~/.xsession" file like below example:
# The below line make sure "exwm-x-example" package correct loaded, # don't delete! export exwm_x_enable="yes" # Emacs X input method (exim) setting # export XMODIFIERS=@im=exim # export GTK_IM_MODULE=xim # export QT_IM_MODULE=xim # export CLUTTER_IM_MODULE=xim # xhost + exec dbus-launch --exit-with-session emacs
1.5.2 Edit emacs configure
Add the below two lines to your emacs configure file:
(require 'exwm-x) (require 'exwm-x-example) ;; Adjust this line.
Note: Package "exwm-x-example" is Exwm-X buildin example, user can use it to test Exwm-X's features. If it doesn't suit for your need, just copy and paste its useful pieces to your own exwm config :-)