[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient not integrated into modern window systems
From: |
Vaidheeswaran C |
Subject: |
Re: emacsclient not integrated into modern window systems |
Date: |
Sun, 12 Jul 2015 00:29:56 +0530 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
On Saturday 11 July 2015 08:54 AM, Rusi wrote:
> [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=emacs
> Type=Application
> Terminal=false
> Categories=Development;TextEditor;
> StartupWMClass=Emacs
There is __already__ an emacs.desktop file in emacs repo. If
emacsclient.desktop gets in to repo and in the NEWS file, it will
induce packagers to bundle emacsclient.desktop as well.
Why not file a bug report and see what happens...
~/src/emacs.git/etc$ cat emacs.desktop
[Desktop Entry]
Name=Emacs
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=emacs %F
Icon=emacs
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupWMClass=Emacs
Keywords=Text;Editor;
----------------------------------------------------------------
This is the diff between the repo version and the debian version. I
feel the debian version is built on top of the repo version.
[Desktop Entry]
-Name=Emacs
+Version=1.0
+Name=GNU Emacs 23
GenericName=Text Editor
-Comment=Edit text
+Comment=View and edit files
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=emacs %F
-Icon=emacs
+Exec=/usr/bin/emacs23 %F
+TryExec=emacs23
+Icon=/usr/share/icons/hicolor/scalable/apps/emacs23.svg
Type=Application
Terminal=false
-Categories=Development;TextEditor;
-StartupWMClass=Emacs
-Keywords=Text;Editor;
+Categories=Utility;Development;TextEditor;
----------------------------------------------------------------
Btw, once I open *.txt file with emacsclient any susbsequent opens on
that file happens with emacsclient.
$ xdg-mime query default text/plain
userapp-emacsclient.emacs23-00DX1X.desktop
$ cat ~/.local/share/applications/userapp-emacsclient.emacs23-00DX1X.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
NoDisplay=true
Exec=/usr/bin/emacsclient.emacs23 %f
Name=emacsclient.emacs23
Comment=Custom definition for emacsclient.emacs23
The above desktop files are created automatically by my XFCE desktop.
- emacsclient not integrated into modern window systems, Rusi, 2015/07/10
- Re: emacsclient not integrated into modern window systems, Vaidheeswaran C, 2015/07/11
- Message not available
- Re: emacsclient not integrated into modern window systems,
Vaidheeswaran C <=
- Re: emacsclient not integrated into modern window systems, Vaidheeswaran C, 2015/07/11
- Message not available
- Re: emacsclient not integrated into modern window systems, Eli Zaretskii, 2015/07/12
- Re: emacsclient not integrated into modern window systems, Stefan Monnier, 2015/07/12
- Re: emacsclient not integrated into modern window systems, Vaidheeswaran C, 2015/07/12
- Re: emacsclient not integrated into modern window systems, Eli Zaretskii, 2015/07/12