Skip to content

Commit

Permalink
desktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Jul 25, 2018
1 parent 3193eba commit c29a8c7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script/install-e
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
#!/bin/bash
set -eu

ln -s `pwd`/e ~/bin/
ln -s `pwd`/e-wait ~/bin/

# See https://askubuntu.com/questions/112186/how-do-you-create-a-custom-application-launcher-in-gnome-shell .
# Done to run emacs using bash, loading my environment variables in ~/.kambirc .
mkdir -p ~/.local/share/applications/
ln -s `pwd`/my-emacs.desktop ~/.local/share/applications/
11 changes: 11 additions & 0 deletions script/my-emacs.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Name=Emacs
GenericName=Text Editor
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=bash -i -c 'emacs %F'
Icon=emacs25
Type=Application
Categories=Utility;Development;TextEditor;
StartupWMClass=Emacs
Keywords=Text;Editor;

0 comments on commit c29a8c7

Please sign in to comment.