Guest User

Untitled

a guest
Apr 24th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. [Nemo Action]
  2.  
  3. #############################################
  4. #### DEBUGGING:
  5. ####
  6. #### Run Nemo with the environment
  7. #### variable NEMO_ACTION_VERBOSE
  8. #### set to get useful log output
  9. #### for debugging your actions
  10. ####
  11. #### i.e. $ nemo --quit
  12. #### $ NEMO_ACTION_VERBOSE=1 nemo
  13. #############################################
  14.  
  15. # Whether this action is active. For troubleshooting.
  16. # Optional - if this field is omitted, the action will be active
  17. #Active=false
  18.  
  19. # Standard tokens that can be used in the Name, Comment (tooltip) and Exec fields:
  20. #
  21. # %U - insert URI list of selection
  22. # %F - insert path list of selection
  23. # %P - insert path of parent (current) directory
  24. # %f or %N (deprecated) - insert display name of first selected file
  25. # %p - insert display name of parent directory
  26. # %D - insert device path of file (i.e. /dev/sdb1)
  27.  
  28.  
  29. # The name to show in the menu, locale supported with standard desktop spec.
  30. # **** REQUIRED ****
  31. Name=Open with Atom
  32.  
  33. # Tool tip, locale supported (Appears in the status bar)
  34. Comment=Open with Atom
  35.  
  36. # What to run. Enclose in < > to run an executable that resides in the actions folder.
  37. # **** REQUIRED ****
  38. #Exec=gedit %F
  39. #Exec=<myaction.py -r -g %P %F %U>
  40. Exec=atom %F
  41.  
  42. # Icon name to use in the menu - must be a theme icon name
  43. Icon-Name=atom
  44.  
  45. # Gtk Stock ID to use for the icon. Note if both Icon-name and Stock-Id are
  46. # defined, the Stock-Id takes precedence.
  47. #Stock-Id=gtk-cdrom
  48.  
  49. # What type selection: [s]ingle, [m]ultiple, any, notnone, none (background click), or
  50. # a number representing how many files must be selected to display.
  51. # ****** REQUIRED *******
  52. Selection=any
  53.  
  54. # What extensions to display on - this is an array, end with a semicolon
  55. # Single entry options, ending in a semicolon:
  56. # "dir" for directory selection
  57. # "none" for no extension.
  58. # "nodirs" for any selection, but not including directories.
  59. # "any" for any file type, including directories.
  60. # Individual specific extensions can be a semicolon-terminated list
  61. # Extensions are NOT case sensitive. jpg will match JPG, jPg, jpg, etc..
  62. # **** EITHER EXTENSIONS OR MIMETYPES IS REQUIRED *****
  63. Extensions=any;
  64.  
  65. # What mime-types to display on - this is an array, end with a semicolon
  66. # **** EITHER EXTENSIONS OR MIMETYPES IS REQUIRED *****
  67. #Mimetypes=text/plain;
  68.  
  69. # Separator to use (if any) - add a string to insert between path/url entries
  70. # in the exec line. Optional - if you leave this out, a space is inserted.
  71. # Note you can have trailing spaces here.
  72. #Separator=,
  73.  
  74. # Quote type to use (if any) - enclose paths/urls with quotes. Optional - defaults
  75. # to no quotes.
  76. # Can be: single, double, backtick
  77. #Quote=double
  78.  
  79. # Dependencies - program executables required for this action to work. Nemo will
  80. # Search in the path for these program(s) and not display the action if any are missing.
  81. # You can also supply an absolute path to a file (i.e. /usr/lib/gvfs/gvfsd-archive) to check
  82. # instead of or in addition to an executable in the path.
  83. # This is an array, separate entries with semi-colon, and terminate with a semicolon.
  84. #Dependencies=gedit;
  85.  
  86. # Conditions - semicolon-separated array of special conditions:
  87. # "desktop" current (parent) folder is desktop
  88. # "removable" target (first selection) is removable
  89. # "gsettings <schema> <boolean key>" is true
  90. # "gsettings <schema> <key> <key-type> <[eq|ne|gt|lt]> <value>"
  91. # "dbus <name>" exists
  92.  
  93. #Conditions=desktop;
  94.  
  95. # Escape Spaces - set to true to escape spaces in filenames and uris ($U, $F, $P, $D)
  96. #
  97. # Sometimes this may be preferred to getting raw filenames that must be enclosed in
  98. # quotes.
  99. #
  100. # Optional - by default this is false
  101.  
  102. #EscapeSpaces=true
  103.  
  104. # Run in terminal - set to true to execute the Exec line in a spawned terminal window.
  105. #
  106. # Generally if you use this you should not have Quotes defined, as that will be taken care
  107. # of during converting the expanded command string into an arg vector.
  108. #
  109. # Optional - by default this is false
  110.  
  111. #Terminal=true
Add Comment
Please, Sign In to add comment