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 Entry
group header identifies the file as a desktop entryType
the type of the entry, valid values areApplication
,Link
andDirectory
Encoding
the character encoding of the desktop fileName
the application name visible in menus or launchersComment
a description of the application used in tooltipsIcon
the icon shown for the application in menus or launchersExec
the command that is used to start the application from a shell.Terminal
whether the application should be run in a terminal, valid values are true or falseCategories
semi-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:
%f
a single filename.%F
multiple filenames.%u
a single URL.%U
multiple URLs.%d
a single directory. Used in conjunction with %f to locate a file.%D
multiple directories. Used in conjunction with %F to locate files.%n
a single filename without a path.%N
multiple filenames without paths.%k
a URI or local filename of the location of the desktop file.%v
the 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