Title: Crear Lanzador GnomeShell Date: 2015-12-6 17:30 Category: Linux Tags: linux, gnome shell Slug: crearlanzadorgnomeshell Summary: Para crear accesos directos en el menu de gnome shell tienes que tener un fichero en. Status: published
Below is a sample of desktop file:
| |
Explanation
[Desktop Entry]theDesktop Entrygroup header identifies the file as a desktop entryTypethe type of the entry, valid values areApplication,LinkandDirectoryEncodingthe character encoding of the desktop fileNamethe application name visible in menus or launchersCommenta description of the application used in tooltipsIconthe icon shown for the application in menus or launchersExecthe command that is used to start the application from a shell.Terminalwhether the application should be run in a terminal, valid values are true or falseCategoriessemi-colon (;) separated list of menu categories in which the entry should be shown
Command line arguments in the Exec key can be signified with the following variables:
%fa single filename.%Fmultiple filenames.%ua single URL.%Umultiple URLs.%da single directory. Used in conjunction with %f to locate a file.%Dmultiple directories. Used in conjunction with %F to locate files.%na single filename without a path.%Nmultiple filenames without paths.%ka URI or local filename of the location of the desktop file.%vthe name of the Device entry.
Este serie un ejemplo de un fichero
vim /usr/share/applications/thunderbird.desktop
| |
##Importante Para hacer que se pueda hacer: “abrir con” de cualquier tipo de fichero/extension hay que añadir %F
Exec=geany %F
Fuentes: 1
