251
1
Hey everyone, I am trying to use EXWM beside the Lightdm as my window manager on Debian. I created this .desktop file which calls a bash script to run Emacs with the expected parameters.
[Desktop Entry]
Encoding=UTF-8
Name=EXWM
GenericName=EXWM
Comment=exwm
MimeType=text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-java;application/x-shellscript;text/x-c;text/x-c++;text/x-ruby;text/x-python;text/x-clojure;text/css;text/html;text/x-javascript;
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupWMClass=exwm
Exec=/home/user/src/personal/wm/ew-wm.sh
Icon=icon
Version=0.1
X-LightDM-DesktopName=EXWM
DesktopNames=EXWM
Here is how I initialize Exwm
(defun wm/initialize ()
"Initilize EXWM window manager with the given PARAMS."
(use exwm)
(interactive)
(require 'exwm)
(require 'exwm-config)
(require 'exwm-systemtray)
(exwm-config-default)
)
But it ends with this error and warnings
Debugger entered--Lisp error: (cl-no-applicable-method xcb:-+request nil #)
signal(cl-no-applicable-method (xcb:-+request nil #))
cl-no-applicable-method(#s(cl--generic :name xcb:-+request :dispatches ((1 #s(cl--generic-generalizer :name cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (name &rest _) #) :specializers-function #f(compiled-function (tag &rest _) #))) (0 #s(cl--generic-generalizer :name eieio--generic-generalizer :priority 50 :tagcode-function cl--generic-struct-tag :specializers-function #f(compiled-function (tag &rest _) #)) #s(cl--generic-generalizer :name cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (name &rest _) #) :specializers-function #f(compiled-function (tag &rest _) #)))) :method-table (#s(cl--generic-method :specializers (xcb:connection t) :qualifiers nil :uses-cnm nil :function #f(compiled-function (obj request) #))) :options nil) nil #)
apply(cl-no-applicable-method #s(cl--generic :name xcb:-+request :dispatches ((1 #s(cl--generic-generalizer :name cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (name &rest _) #) :specializers-function #f(compiled-function (tag &rest _) #))) (0 #s(cl--generic-generalizer :name eieio--generic-generalizer :priority 50 :tagcode-function cl--generic-struct-tag :specializers-function #f(compiled-function (tag &rest _) #)) #s(cl--generic-generalizer :name cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (name &rest _) #) :specializers-function #f(compiled-function (tag &rest _) #)))) :method-table (#s(cl--generic-method :specializers (xcb:connection t) :qualifiers nil :uses-cnm nil :function #f(compiled-function (obj request) #))) :options nil) (nil #))
#f(compiled-function (&rest args) #)(nil #)
apply(#f(compiled-function (&rest args) #) nil #)
xcb:-+request(nil #)
exwm-input--exit()
exwm-exit()
exwm-init()
run-hooks(window-setup-hook)
#f(compiled-function () #)()
normal-top-level()
Warning (comp): exwm-workspace.el:1454:8: Warning: docstring wider than 80 characters Disable showing Disable logging Warning (comp): exwm-core.el:95:1: Warning: defcustom for ‘exwm-debug’ fails to specify containing group Disable showing Disable logging Warning (comp): exwm-core.el:95:1: Warning: defcustom for ‘exwm-debug’ fails to specify containing group Disable showing Disable logging Warning (comp): xcb-ewmh.el:171:1: Warning: Ambiguous initform needs quoting: xcb:Atom:UTF8_STRING Disable showing Disable logging Warning (comp): xcb-ewmh.el:184:1: Warning: Ambiguous initform needs quoting: xcb:Atom:ATOM Disable showing Disable logging Warning (comp): xcb-ewmh.el:184:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_SUPPORTED Disable showing Disable logging Warning (comp): xcb-ewmh.el:194:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WINDOW Disable showing Disable logging Warning (comp): xcb-ewmh.el:194:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_CLIENT_LIST Disable showing Disable logging Warning (comp): xcb-ewmh.el:204:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_CLIENT_LIST_STACKING Disable showing Disable logging Warning (comp): xcb-ewmh.el:215:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:215:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_NUMBER_OF_DESKTOPS Disable showing Disable logging Warning (comp): xcb-ewmh.el:231:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_DESKTOP_GEOMETRY Disable showing Disable logging Warning (comp): xcb-ewmh.el:247:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_DESKTOP_VIEWPORT Disable showing Disable logging Warning (comp): xcb-ewmh.el:262:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_CURRENT_DESKTOP Disable showing Disable logging Warning (comp): xcb-ewmh.el:271:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_CURRENT_DESKTOP Disable showing Disable logging Warning (comp): xcb-ewmh.el:277:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_DESKTOP_NAMES Disable showing Disable logging Warning (comp): xcb-ewmh.el:286:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WINDOW Disable showing Disable logging Warning (comp): xcb-ewmh.el:286:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_ACTIVE_WINDOW Disable showing Disable logging Warning (comp): xcb-ewmh.el:302:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:302:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WORKAREA Disable showing Disable logging Warning (comp): xcb-ewmh.el:312:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_SUPPORTING_WM_CHECK Disable showing Disable logging Warning (comp): xcb-ewmh.el:324:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_VIRTUAL_ROOTS Disable showing Disable logging Warning (comp): xcb-ewmh.el:329:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WINDOW Disable showing Disable logging Warning (comp): xcb-ewmh.el:329:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_VIRTUAL_ROOTS Disable showing Disable logging Warning (comp): xcb-ewmh.el:349:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:349:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_DESKTOP_LAYOUT Disable showing Disable logging Warning (comp): xcb-ewmh.el:362:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_SHOWING_DESKTOP Disable showing Disable logging Warning (comp): xcb-ewmh.el:378:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_CLOSE_WINDOW Disable showing Disable logging Warning (comp): xcb-ewmh.el:384:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_MOVERESIZE_WINDOW Disable showing Disable logging Warning (comp): xcb-ewmh.el:406:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_MOVERESIZE Disable showing Disable logging Warning (comp): xcb-ewmh.el:415:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_RESTACK_WINDOW Disable showing Disable logging Warning (comp): xcb-ewmh.el:422:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_REQUEST_FRAME_EXTENTS Disable showing Disable logging Warning (comp): xcb-ewmh.el:428:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_NAME Disable showing Disable logging Warning (comp): xcb-ewmh.el:436:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_VISIBLE_NAME Disable showing Disable logging Warning (comp): xcb-ewmh.el:445:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_ICON_NAME Disable showing Disable logging Warning (comp): xcb-ewmh.el:454:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_VISIBLE_ICON_NAME Disable showing Disable logging Warning (comp): xcb-ewmh.el:464:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:464:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_DESKTOP Disable showing Disable logging Warning (comp): xcb-ewmh.el:470:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:470:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_DESKTOP Disable showing Disable logging Warning (comp): xcb-ewmh.el:479:1: Warning: Ambiguous initform needs quoting: xcb:Atom:ATOM Disable showing Disable logging Warning (comp): xcb-ewmh.el:479:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_WINDOW_TYPE Disable showing Disable logging Warning (comp): xcb-ewmh.el:493:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_STATE Disable showing Disable logging Warning (comp): xcb-ewmh.el:509:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_ALLOWED_ACTIONS Disable showing Disable logging Warning (comp): xcb-ewmh.el:526:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_STRUT Disable showing Disable logging Warning (comp): xcb-ewmh.el:533:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:533:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_STRUT Disable showing Disable logging Warning (comp): xcb-ewmh.el:553:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_STRUT_PARTIAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:572:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_ICON_GEOMETRY Disable showing Disable logging Warning (comp): xcb-ewmh.el:585:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_ICON Disable showing Disable logging Warning (comp): xcb-ewmh.el:595:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_PID Disable showing Disable logging Warning (comp): xcb-ewmh.el:605:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:605:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_HANDLED_ICONS Disable showing Disable logging Warning (comp): xcb-ewmh.el:616:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_USER_TIME Disable showing Disable logging Warning (comp): xcb-ewmh.el:627:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_USER_TIME_WINDOW Disable showing Disable logging Warning (comp): xcb-ewmh.el:645:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_FRAME_EXTENTS Disable showing Disable logging Warning (comp): xcb-ewmh.el:658:1: Warning: Ambiguous initform needs quoting: xcb:Atom:ATOM Disable showing Disable logging Warning (comp): xcb-ewmh.el:658:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_OPAQUE_REGION Disable showing Disable logging Warning (comp): xcb-ewmh.el:669:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-ewmh.el:669:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_BYPASS_COMPOSITOR Disable showing Disable logging Warning (comp): xcb-ewmh.el:684:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_PING Disable showing Disable logging Warning (comp): xcb-ewmh.el:684:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_PROTOCOLS Disable showing Disable logging Warning (comp): xcb-ewmh.el:691:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_SYNC_REQUEST Disable showing Disable logging Warning (comp): xcb-ewmh.el:703:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_SYNC_REQUEST_COUNTER Disable showing Disable logging Warning (comp): xcb-ewmh.el:724:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_WM_FULLSCREEN_MONITORS Disable showing Disable logging Warning (comp): xcb-icccm.el:87:1: Warning: Ambiguous initform needs quoting: xcb:EventMask:NoEvent Disable showing Disable logging Warning (comp): xcb-icccm.el:96:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_PROTOCOLS Disable showing Disable logging Warning (comp): xcb-icccm.el:106:1: Warning: Ambiguous initform needs quoting: xcb:Time:CurrentTime Disable showing Disable logging Warning (comp): xcb-icccm.el:106:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_DELETE_WINDOW Disable showing Disable logging Warning (comp): xcb-icccm.el:111:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_TAKE_FOCUS Disable showing Disable logging Warning (comp): xcb-icccm.el:169:1: Warning: Ambiguous initform needs quoting: xcb:PropMode:Replace Disable showing Disable logging Warning (comp): xcb-icccm.el:195:1: Warning: Ambiguous initform needs quoting: xcb:GetPropertyType:Any Disable showing Disable logging Warning (comp): xcb-icccm.el:226:1: Warning: Ambiguous initform needs quoting: xcb:Atom:STRING Disable showing Disable logging Warning (comp): xcb-icccm.el:333:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_NAME Disable showing Disable logging Warning (comp): xcb-icccm.el:341:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_ICON_NAME Disable showing Disable logging Warning (comp): xcb-icccm.el:380:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_SIZE_HINTS Disable showing Disable logging Warning (comp): xcb-icccm.el:393:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_NORMAL_HINTS Disable showing Disable logging Warning (comp): xcb-icccm.el:423:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_HINTS Disable showing Disable logging Warning (comp): xcb-icccm.el:437:1: Warning: Ambiguous initform needs quoting: xcb:Atom:STRING Disable showing Disable logging Warning (comp): xcb-icccm.el:437:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_CLASS Disable showing Disable logging Warning (comp): xcb-icccm.el:466:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WINDOW Disable showing Disable logging Warning (comp): xcb-icccm.el:466:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_TRANSIENT_FOR Disable showing Disable logging Warning (comp): xcb-icccm.el:478:1: Warning: Ambiguous initform needs quoting: xcb:Atom:ATOM Disable showing Disable logging Warning (comp): xcb-icccm.el:478:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_PROTOCOLS Disable showing Disable logging Warning (comp): xcb-icccm.el:488:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WINDOW Disable showing Disable logging Warning (comp): xcb-icccm.el:498:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_CLIENT_MACHINE Disable showing Disable logging Warning (comp): xcb-icccm.el:517:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_STATE Disable showing Disable logging Warning (comp): xcb-icccm.el:538:1: Warning: Ambiguous initform needs quoting: xcb:Atom:WM_ICON_SIZE Disable showing Disable logging Warning (comp): xcb-types.el:56:1: Warning: defcustom for ‘xcb:debug’ fails to specify containing group Disable showing Disable logging Warning (comp): xcb-types.el:56:1: Warning: defcustom for ‘xcb:debug’ fails to specify containing group Disable showing Disable logging Warning (comp): exwm-layout.el:410:23: Warning: value returned from (< 1 (window-height (internal-get-closed-var 0))) is unused Disable showing Disable logging Warning (comp): exwm-layout.el:136:14: Warning: the function ‘exwm-workspace--get-geometry’ is not known to be defined. Disable showing Disable logging Warning (comp): exwm-manage.el:668:28: Warning: the function ‘exwm-workspace--get-geometry’ is not known to be defined. Disable showing Disable logging Warning (comp): exwm-manage.el:411:12: Warning: the function ‘exwm-layout-set-fullscreen’ is not known to be defined. Disable showing Disable logging Warning (comp): exwm-manage.el:394:12: Warning: the function ‘exwm-input-release-keyboard’ is not known to be defined. Disable showing Disable logging Warning (comp): xcb-xembed.el:74:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_XEMBED_INFO Disable showing Disable logging Warning (comp): xcb-xembed.el:88:1: Warning: Ambiguous initform needs quoting: xcb:EventMask:NoEvent Disable showing Disable logging Warning (comp): xcb-xembed.el:93:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_XEMBED Disable showing Disable logging Warning (comp): xcb-xembed.el:102:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:EMBEDDED-NOTIFY Disable showing Disable logging Warning (comp): xcb-xembed.el:107:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:WINDOW-ACTIVATE Disable showing Disable logging Warning (comp): xcb-xembed.el:111:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:WINDOW-DEACTIVATE Disable showing Disable logging Warning (comp): xcb-xembed.el:115:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:REQUEST-FOCUS Disable showing Disable logging Warning (comp): xcb-xembed.el:129:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:FOCUS-IN Disable showing Disable logging Warning (comp): xcb-xembed.el:134:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:FOCUS-OUT Disable showing Disable logging Warning (comp): xcb-xembed.el:138:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:FOCUS-NEXT Disable showing Disable logging Warning (comp): xcb-xembed.el:143:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:FOCUS-PREV Disable showing Disable logging Warning (comp): xcb-xembed.el:155:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:REGISTER-ACCELERATOR Disable showing Disable logging Warning (comp): xcb-xembed.el:160:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:UNREGISTER-ACCELERATOR Disable showing Disable logging Warning (comp): xcb-xembed.el:167:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:ACTIVATE-ACCELERATOR Disable showing Disable logging Warning (comp): xcb-xembed.el:172:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:MODALITY-ON Disable showing Disable logging Warning (comp): xcb-xembed.el:176:1: Warning: Ambiguous initform needs quoting: xcb:xembed:opcode:MODALITY-OFF Disable showing Disable logging Warning (comp): xcb-systemtray.el:69:1: Warning: Ambiguous initform needs quoting: xcb:EventMask:NoEvent Disable showing Disable logging Warning (comp): xcb-systemtray.el:74:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_SYSTEM_TRAY_OPCODE Disable showing Disable logging Warning (comp): xcb-systemtray.el:82:1: Warning: Ambiguous initform needs quoting: xcb:systemtray:opcode:REQUEST-DOCK Disable showing Disable logging Warning (comp): xcb-systemtray.el:88:1: Warning: Ambiguous initform needs quoting: xcb:systemtray:opcode:BEGIN-MESSAGE Disable showing Disable logging Warning (comp): xcb-systemtray.el:95:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_SYSTEM_TRAY_MESSAGE_DATA Disable showing Disable logging Warning (comp): xcb-systemtray.el:102:1: Warning: Ambiguous initform needs quoting: xcb:systemtray:opcode:CANCEL-MESSAGE Disable showing Disable logging Warning (comp): xcb-systemtray.el:112:1: Warning: Ambiguous initform needs quoting: xcb:Atom:CARDINAL Disable showing Disable logging Warning (comp): xcb-systemtray.el:112:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_SYSTEM_TRAY_ORIENTATION Disable showing Disable logging Warning (comp): xcb-systemtray.el:125:1: Warning: Ambiguous initform needs quoting: xcb:Atom:VISUALID Disable showing Disable logging Warning (comp): xcb-systemtray.el:125:1: Warning: Ambiguous initform needs quoting: xcb:Atom:_NET_SYSTEM_TRAY_VISUAL Disable showing Disable logging Warning (comp): exwm-systemtray.el:47:1: Warning: Ambiguous initform needs quoting: xcb:Atom:MANAGER Disable showing Disable logging
I used the same script on NixOS (except the Lightdm part) and it works without any problems. Could you help me to understand why it can not find xcb:request? I opened an issue on GH of EXWM but did not get any answer.