From ceffc5eed0c2d2f8ca4ae141136a7741928b4e0e Mon Sep 17 00:00:00 2001 From: bdunahu Date: Fri, 27 Mar 2026 17:00:03 -0400 Subject: gnu: emacs-exwm: Fix .desktop file. * gnu/packages/emacs-xyz.scm (emacs-exwm)[arguments]: <#:phases>: Add -mm flag to exported .desktop file, ensuring emacs starts with a frame the same size as the screen. Use '(exwm-wm-mode)' instead of deprecated '(exwm-enable)'. Change-Id: I5a7ddc017196171f44fe81016f4e16dbe4f4b545 Signed-off-by: Ian Eure --- gnu/packages/emacs-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3147e5eea9..906566f0b7 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -24500,7 +24500,7 @@ It should enable you to implement low-level X11 applications.") (lambda _ (format #t "#!~a ~@ ~a +SI:localuser:$USER ~@ - exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%" + exec ~a --exit-with-session ~a \"$@\" -mm --eval '~s' ~%" (search-input-file inputs "/bin/sh") (search-input-file inputs "/bin/xhost") (search-input-file inputs "/bin/dbus-launch") @@ -24510,7 +24510,7 @@ It should enable you to implement low-level X11 applications.") (load-file "~/.exwm")) ((not (featurep 'exwm)) (require 'exwm) - (exwm-enable) + (exwm-wm-mode) (message "exwm configuration not found. Falling back to minimal configuration. -- cgit v1.3