From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Roche Newsgroups: gmane.emacs.help Subject: Re: how to tell graphical Emacs to shutdown cleanly from tty1? Date: Tue, 17 Nov 2015 12:01:49 -0700 Message-ID: <87io50sb4y.fsf@pobox.com> References: <87mvuc3amf.fsf@yale.edu> <87si45wbp2.fsf@pobox.com> Reply-To: help-gnu-emacs@gnu.org, Tom Roche NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447786943 7167 80.91.229.3 (17 Nov 2015 19:02:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2015 19:02:23 +0000 (UTC) To: help-gnu-emacs@gnu.org, Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 17 20:02:14 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZylWA-00076w-Bd for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Nov 2015 20:02:14 +0100 Original-Received: from localhost ([::1]:60271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZylW9-0001qD-3G for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Nov 2015 14:02:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZylVx-0001q8-Vn for help-gnu-emacs@gnu.org; Tue, 17 Nov 2015 14:02:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZylVt-0001fJ-KK for help-gnu-emacs@gnu.org; Tue, 17 Nov 2015 14:02:01 -0500 Original-Received: from pb-smtp0.int.icgroup.com ([208.72.237.35]:60382 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZylVt-0001fF-9Z for help-gnu-emacs@gnu.org; Tue, 17 Nov 2015 14:01:57 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp0.pobox.com (Postfix) with ESMTP id C0899295CD; Tue, 17 Nov 2015 14:01:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:reply-to:date:message-id :mime-version:content-type; s=sasl; bh=Gtezv2DB/mhAjjBeVByv7e4AQ 5Q=; b=RXYRobmFnsrnMf2AN9HH+KNqvUW4PAzPFNRSFwZ0IBFVOiYAyIJM9Q9Na vc2w5vm47j/qCzT3rlyHKAY9h1eR7mjzvf3PLl90L5P1VIzWGH+aETpIFd9xbxlG XpnHoysbpJBCHhpvd3y5/Rtf9TVmEzNieZ3A3ToXwUqK4J7DPQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :in-reply-to:references:reply-to:date:message-id:mime-version :content-type; q=dns; s=sasl; b=XvidJIgWrxiIX15eWvGHgLYRDLh+zd9s cnZ0h8HtjqpR+QYjNaAUxK2jgVTCuY8R/v58ylwO6G0pBm3EI8wUi78jcKoo7q5Q 9y5hTeJZZ7kKQkBMACaTTLVnkW9f86uVOww/Yd+Xkui/EKpvfFstAxYHBTkz16CF FdfvoDbPOcY= Original-Received: from pb-smtp0.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp0.pobox.com (Postfix) with ESMTP id B8AE7295CB; Tue, 17 Nov 2015 14:01:56 -0500 (EST) Original-Received: from tlrW510.pobox.com (unknown [173.25.5.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp0.pobox.com (Postfix) with ESMTPSA id 10C65295CA; Tue, 17 Nov 2015 14:01:55 -0500 (EST) In-Reply-To: <87mvuc3amf.fsf@yale.edu> User-Agent: GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) X-Pobox-Relay-ID: AC08DFC6-8D5D-11E5-BBBB-6BD26AB36C07-07218935!pb-smtp0.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.72.237.35 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108116 Archived-At: Tom Roche http://lists.gnu.org/archive/html/help-gnu-emacs/2015-11/msg00215.html >> Occasionally [my X] desktop hangs, in which case I usually can goto tty1 and `sudo shutdown -whatever now`. [But I believe] I should utter something from tty1 (before `shutdown`) to tell Emacs to shutdown cleanly ... but I don't know what to say. Thanks all! To make this more findable, and to allow better annotation (since my not-quite-complete solution still has problems), I have made http://emacs.stackexchange.com/questions/18171/how-to-tell-graphical-emacs-to-shutdown-cleanly-from-tty1/18172#18172 . Your assistance cleaning up the remaining problems (indicated @ link target) would be much appreciated. Jorge A. Alfaro-Murillo http://lists.gnu.org/archive/html/help-gnu-emacs/2015-11/msg00223.html > [another] relevant question is, why is your X hanging? Relevant, but not currently pressing, due to - *much* bigger problems in my life :-( + my X hangs with f < monthly ~ I suspect it's due to the relative immaturity of Cinnamon (but ICBW--I'm certainly no expert in this domain) Your assistance is appreciated! Tom Roche