summaryrefslogtreecommitdiff
path: root/etc/emacsclient.desktop
Commit message (Collapse)AuthorAge
* Make emacsclient handle org-protocol:// linksIhor Radchenko2023-09-01
| | | | | | | | | | Org mode provides a way to quickly capture bookmarks, notes, and links using emacsclient: emacsclient "org-protocol://store-link?url=URL&title=TITLE" * etc/emacsclient.desktop: Make Emacs the default application for org-protocol. (Bug#65469)
* Fix quoted argument in emacsclient-mail.desktop Exec keyUlrich Müller2022-12-24
| | | | | | | | | | | | | | | | | | | | Apparently the emacsclient-mail.desktop file doesn't conform to the Desktop Entry Specification at https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables which says about the Exec key: | Field codes must not be used inside a quoted argument, the result of | field code expansion inside a quoted argument is undefined. However, the %u field code is used inside a quoted argument of the Exec key in both the [Desktop Entry] and [Desktop Action new-window] sections. * etc/emacsclient-mail.desktop (Exec): The Desktop Entry Specification does not allow field codes like %u inside a quoted argument. Work around it by passing %u as first parameter ($1) to the shell wrapper. * etc/emacsclient.desktop (Exec): Use `sh` rather than `placeholder` as the command name of the shell wrapper. (Bug#60204)
* Drop redundant keywords in .desktop files.Peter Oliver2021-08-11
| | | | | | | | | The Freedesktop.org Desktop Entry spec says, “The values [of Keywords]… should not be redundant with the values of Name or GenericName”. * etc/emacs.desktop, etc/emacsclient.desktop (Keywords): Remove keywords that are duplicated from the GenericName field.
* Hint that emacsclient.desktop should match a search for “emacsclient”Peter Oliver2021-08-11
| | | | | | | | This is necessary to get the Gnome desktop to show “Emacs (Client)” when the user searches for “emacsclient”. * etc/emacsclient.desktop, emacsclient-mail.desktop (Keywords): Add “emacsclient”.
* Valid quoting in .desktop filesPeter Oliver2021-08-11
| | | | | | * etc/emacsclient.desktop, emacsclient-mail.desktop (Exec): Quote according to the rules in the Freedesktop.org Desktop Entry Specification.
* Fix copy/paste error in emacsclient.desktopPeter Oliver2021-07-01
| | | | * etc/emacsclient.desktop: new-instance should read new-window.
* From .desktop files, reuse a frame or start a new Emacs as requiredPeter Oliver2021-06-30
| | | | | | | | | * doc/emacs/misc.texi: (Using Emacs as a Server) Explain emacsclient.desktop. * etc/NEWS: (Emacs Server): Explain emacsclient.desktop. * emacs-mail.desktop, etc/emacsclient.desktop: Automatically try to reuse an existing frame, open a new frame, or start a new Emacs daemon. Add actions for specific behaviours (bug#49195).
* Revert more of a partially reverted emacsclient.desktop patchPeter Oliver2021-06-30
| | | | | | * etc/emacsclient.desktop: Undo setting of StartupWMClass=Emacsd, since this relies on a change to etc/emacs.service which was also undone. See bug#37847 for more explanation (bug#49259).
* Advertise support for Startup Notification when built with GTKPeter Oliver2021-06-22
| | | | | | | | | * etc/emacsclient.desktop, etc/emacsclient.desktop: Specify StartupNotify=true. * configure.ac (USE_STARTUP_NOTIFICATION): New variable, yes iff HAVE_GTK. * Makefile.in (install-etc): Remove StartupNotify=true from etc/*.desktop unless USE_STARTUP_NOTIFICATION (bug#48783).
* Improve client/daemon xdg/systemd experienceCarlos Pita2020-08-09
* Makefile.in: Add emacsclient.desktop generation. * etc/emacsclient.desktop: Add file, use emacsd as StartupWMClass. * etc/emacs.service: Run with name emacsd (bug#37847).