0

The following is my starting script (.emacs.d/exvm/start-exvm.sh)

#!/bin/sh
# this makes it work in Ubuntu
xhost +
## you might need to append the TTY you are working on
xinit

wmname LG3D

# Remap caps lock to left control. This is not strictly speaking
# exwm related, but it's handy
setxkbmap -option 'ctrl:no caps'

# Set fallback cursor
xsetroot -cursor_name left_ptr


# Finally launch emacs and enable exwm
exec dbus-launch --exit-with-session emacs -mm --debug-init --maximized

This is my desktop file:

[Desktop Entry]
Name=EXVM
Comment=Emacs Window Manager
Exec=sh /home/alain/.emacs.d/exvm/start-exvm.sh
TryExec=sh
Type=Application
X-LightDM-DesktopName=exvm
DesktopNames=exvm

This is my configuration(spacemacs):

(exwm :variables exwm-enable-systray t
           exwm-autostart-xdg-applications t
           )

OS:

$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

When I try to login with EXVM as the windows manager, my screen stays black and nothing happens.

Any idea why that could be? Let me know if you guys need more info.

Drew
  • 75,699
  • 9
  • 109
  • 225
a6i09per5f
  • 101
  • 1

0 Answers0