From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: resending... desktop files not working for recent ubuntu? Date: Mon, 30 May 2016 20:34:34 +0530 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1464620735 12951 80.91.229.3 (30 May 2016 15:05:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 May 2016 15:05:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 30 17:05:35 2016 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 1b7Ol4-0007pM-DT for geh-help-gnu-emacs@m.gmane.org; Mon, 30 May 2016 17:05:34 +0200 Original-Received: from localhost ([::1]:60202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7Ol3-0007Gj-MH for geh-help-gnu-emacs@m.gmane.org; Mon, 30 May 2016 11:05:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7OkT-0007Gb-V2 for help-gnu-emacs@gnu.org; Mon, 30 May 2016 11:04:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7OkQ-0002Yu-W5 for help-gnu-emacs@gnu.org; Mon, 30 May 2016 11:04:55 -0400 Original-Received: from mail-vk0-x22f.google.com ([2607:f8b0:400c:c05::22f]:35124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7OkQ-0002Yq-R4 for help-gnu-emacs@gnu.org; Mon, 30 May 2016 11:04:54 -0400 Original-Received: by mail-vk0-x22f.google.com with SMTP id d127so65378897vkh.2 for ; Mon, 30 May 2016 08:04:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=DFZI06e5+Nk37B7W+ospHJ5s/TU6dc4Iud6NM6A+TXs=; b=s6oZvbiYsfDT3wPltrlDiFOItpzrtAKqbya7MdKUFvLiBrs9Y2jPVNx6pGwXUFRAnB PQ1azMQxNNCmgSLuAY8XK/F52Hg4i7iJmz4R4oiJlpDJkYEIcayu1eh7q9YTWpWkof6h OaMPsANOUHSSfdOu3ROw7X51tUgG3ErnEYHy4OSWtfRn/asbn4rSqs1UEtplwN8MiKhW 3XTAybxQEUfZpNK6IJUe+1RQXKVNdSq/bXM32g8F8pEED5rN68bSl+e83XoBNWLwgs62 bwfvzD/pDWdeZNCGm5BvLzuyn6IFnmUI7BJ/pvUCsklAAjB1UN1AtBvq5LRnD/R0TAob U5MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DFZI06e5+Nk37B7W+ospHJ5s/TU6dc4Iud6NM6A+TXs=; b=EH1T7w65wMlJuJRUkn0WEnpxTmKiW5zwVyKk1xtUaNo9rIuBb02yPZbtEiOI/0bp+q 3yN8/+6gz1+PTnODNEhO2xEIQas3tLoKfS9sqm9ge1A52s6XgH1cxlQz3ILgmPut12nq s77TTqQ9qmed5SbOOUGi8jdpp0gQyuCp6AP7fzZe48DCg3MbiLHGtc1+/QTj4T6MKLG4 TH6z7FKtSXQrk0MoLuY3+WENo4BeCH4oShrohiahRmAOUEp7yH9wSBu+9J/fh+ufKrHI CT8Mda1cgJ/x9VTGX3n5552RIN56if9Regqw7VNXtcKc7BSFY/xkG7xkiB7n6NiY2d71 BzXg== X-Gm-Message-State: ALyK8tLPbGIM+jlPrnu/NZBoRk+IQvR7x4yjTEQSl2HhrQvyX8ewzaHfsv7v+Z4PNeoFPmKD5a2/n38r9drtEA== X-Received: by 10.176.3.85 with SMTP id 79mr15384875uat.142.1464620694080; Mon, 30 May 2016 08:04:54 -0700 (PDT) Original-Received: by 10.176.69.137 with HTTP; Mon, 30 May 2016 08:04:34 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22f X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:110140 Archived-At: Apologies for second copy 1st doesnt seem to have appeared --------------------------------------------- I have this emacs.desktop file put in ~/.local/share/applications --------------- [Desktop Entry] Name=EmacsClient GenericName=Text Editor Comment=Edit text MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; Exec=emacsclient -n -a emacs %F Icon=python Type=Application Terminal=false Categories=Development;TextEditor; StartupWMClass=Emacs --------------- Currently this laptop is on ubuntu 16.4 (xenial) -- vanilla unity desktop It used to work ok in earlier ubuntus Now on 16.4 it shows 2 emacs icons when editing a file via emacsclient Clicking the second icon shows no effect After about 10 seconds it disappears Dont know when it stopped working because frankly I am not much of a nautilus -> click -> emacsclient type of user Current generation -- my students -- however default to this kind of usage And so they default to one or both of - gedit by default - dozens of emacses open for each file they clicked