From: Rustom Mody <rustompmody@gmail.com>
To: Alexis <flexibeast@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: resending... desktop files not working for recent ubuntu?
Date: Wed, 1 Jun 2016 21:19:21 +0530 [thread overview]
Message-ID: <CAJ+TeofDWEWPdDuLpEsn6_fJWfq0vv8q8DX141-bAhmsLBTbhQ@mail.gmail.com> (raw)
In-Reply-To: <87pos2ree1.fsf@gmail.com>
On Tue, May 31, 2016 at 10:51 AM, Alexis <flexibeast@gmail.com> wrote:
>
> Rustom Mody <rustompmody@gmail.com> writes:
>
> 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
>>
>
> Shouldn't you specify '' (i.e. the empty string) as the -a argument in the
> Exec option? From the man page for emacsclient(1):
>
> -a, --alternate-editor=EDITOR
> if the Emacs server is not running, run the specified editor
> instead. This can also be specified via the `ALTERNATE_EDITOR'
> environment variable. If the value of EDITOR is the empty string, run
> `emacs --daemon' to start Emacs in daemon mode, and try to connect to it.
>
>
Tried changing it... Same behavior
It would be nice if people with other ubuntu versions and other linux
desktops could try it and inform.
If it works then its a bug specific to this ubuntu
If not its a more general emacs bug
next prev parent reply other threads:[~2016-06-01 15:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 15:04 resending... desktop files not working for recent ubuntu? Rustom Mody
2016-05-31 5:21 ` Alexis
2016-06-01 15:49 ` Rustom Mody [this message]
[not found] ` <mailman.545.1464672115.1216.help-gnu-emacs@gnu.org>
2016-06-14 1:54 ` Rusi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ+TeofDWEWPdDuLpEsn6_fJWfq0vv8q8DX141-bAhmsLBTbhQ@mail.gmail.com \
--to=rustompmody@gmail.com \
--cc=flexibeast@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).