All executable files in this folder will appear in the Scripts menu. Choosing a script from the menu will run that script. When executed from a local folder, scripts will be passed the selected file names. When executed from a remote folder (e.g. a folder showing web or ftp content), scripts will be passed no parameters. In all cases, the following environment variables will be set by Nautilus, which the scripts may use: NAUTILUS_SCRIPT_SELECTED_FILE_PATHS: newline-delimited paths for selected files (only if local) NAUTILUS_SCRIPT_SELECTED_URIS: newline-delimited URIs for selected files NAUTILUS_SCRIPT_CURRENT_URI: URI for current location NAUTILUS_SCRIPT_WINDOW_GEOMETRY: position and size of current window NAUTILUS_SCRIPT_NEXT_PANE_SELECTED_FILE_PATHS: newline-delimited paths for selected files in the inactive pane of a split-view window (only if local) NAUTILUS_SCRIPT_NEXT_PANE_SELECTED_URIS: newline-delimited URIs for selected files in the inactive pane of a split-view window NAUTILUS_SCRIPT_NEXT_PANE_CURRENT_URI: URI for current location in the inactive pane of a split-view window
Mi fydd pob ffeil gweithredadwy yn y blygell hon yn ymddangos yn y ddewislen Sgriptiau. Fe fydd dewis sgript o'r ddewislen honno yn rhedeg y sgript honno. Pan gaent eu gweithredu o blygell lleol, fe gaiff yr enwau ffeil dewisedig eu pasio i'r sgript. Pan gaent eu gweithredu o blygell bell, ni phasir unrhyw baramedrau i'r sgriptiau. Ym mhob achos, caiff y newidynnau amgylchol dilynol eu gosod gan Nautilus, er mwyn i'r sgriptiau allu eu defnyddio: NAUTILUS_SCRIPT_SELECTED_FILE_PATHS: llwybrau wedi ei gwahanu gan linellau newydd ar gyfer ffeiliau dewisedig (dim ond os yn lleol) NAUTILUS_SELECTED_URIS: URIau wedi eu gwahanu gan linellau newydd ar gyfer ffeiliau dewisedig NAUTILUS_SCRIPT_CURRENT_URI: yr URI ar gyfer y lleoliad cyfredol NAUTILUS_SCRIPT_WINDOW_GEOMETRY: safle a maint y ffenest gyfredol