GNU bug report logs - #80147
30.2; .desktop files don't work when "--without-x" is passed to the configure script

Previous Next

Package: emacs;

Reported by: John <jmckayues <at> gmail.com>

Date: Wed, 7 Jan 2026 08:37:04 UTC

Severity: normal

Found in version 30.2

To reply to this bug, email your comments to 80147 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#80147; Package emacs. (Wed, 07 Jan 2026 08:37:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to John <jmckayues <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 07 Jan 2026 08:37:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John <jmckayues <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.2; .desktop files don't work when "--without-x" is passed to the
 configure script
Date: Tue, 6 Jan 2026 12:19:49 -0500
[Message part 1 (text/plain, inline)]
Hello,

The emacs .desktop files (etc/emacs{,client,-mail}.desktop) seem to be
hard-coded with the following information:
> [Desktop Entry]
> Type=Application
> Terminal=false

Several distros provide an emacs-nox package, where emacs is configured
with "./configure --without-x". In their current state, the .desktop files
don't work with "--without-x". We get the following error when using them:
$ gio launch /usr/share/applications/emacs.desktop
> emacs: standard input is not a tty

This error is fixed with "Terminal=true", and we get the correct behavior.

Thanks for the help
[Message part 2 (text/html, inline)]

This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.