Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
xfce:thunar:send-to [2012/03/02 09:45] – created nickxfce:thunar:send-to [2022/12/11 21:13] (current) – [Thunar - The "Send To" Menu] alexxcons
Line 1: Line 1:
-====== The "Send To" Menu ======+{{ :xfce:xfce.thunar.png?no link|}} 
 +====== Thunar - The "Send To" Menu ======
  
-Thunar includes a {gui>Send To} menu, which provides possible targets where files and folders can be sent to. To access the Send To menu, choose {gui>File>Send To} from the main menu, or right-click on a file or folder and choose {gui>end To}.+Thunar includes a {gui>Send To} menu, which provides possible targets where files and folders can be sent. To access the {gui>Send Tomenu, choose {gui>File>Send To} from the main menu, or right-click on a file or folder and choose {gui>Send To}.
  
 <figure "Send To Menu"> <figure "Send To Menu">
-{{:xfce:thunar:sendto-menu.png?nolink&|}}+{{:xfce:thunar:sendto-context-menu.png|}}
 </figure> </figure>
  
-By default, the {gui>Send To} menu includes an entry named {gui>Desktop (Create Link)} for all files and folders, which simply creates a link on the desktop for each selected file. In addition, if the Shortcuts Pane is active, the menu also includes an entry called {gui>Side Pane (Create Shortcut)} for folders, which allows users to add new shortcuts to the side paneFollowing these entries, Thunar lists the removable drives currently plugged into the computer. In the screenshot above, the {gui>Floppy Drive} represents a possible target where files can be sent to. Note that the device is mounted automatically once selected from the {gui>Send To} menu, so you do not need to manually mount it.+By default, the {gui>Send To} menu includes an entry named {gui>Desktop (Create Link)} for all files and folders, which simply creates a link on the desktop for each selected file. In addition, if the Shortcuts Pane is active and the selected item is a folder, the menu also includes an entry called {gui>Side Pane (Create Shortcut)}, which allows users to add new shortcuts to the  
 +Side PaneBelow these entries, Thunar lists other hard disk partitions and any removable drives currently plugged into the computer. In the screenshot above, the {gui>SD8GBicon represents a removable drive where files can be sent. Note that the device is mounted automatically once selected from the {gui>Send To} menu---you do not need to manually mount it.
  
-In addition Thunar also ships the ''thunar-sendto-email'' plugin, which adds the entry {gui>Mail Recipient} to the menu, that opens the mail composer with the selected files attach to the new email. If the selection contains atleast one folder, the selected items are added to a ZIP archive before attaching them to the email. Otherwise, if the selection contains multiple files, or a single filewhich is larger than 200Kib, the user will be prompted whether to pack the files into a ZIP archive, and send the ZIP archive.+The last section of the {gui>Send To} menu shown in the example above displays additional possible targets, which may vary depending on your installed hardware and software. The {gui>Bluetooth Device} entry will display a dialog allowing you to select the desired target device. {gui>Data Composition} will launch the default media burning application.  In addition Thunar also ships the ''thunar-sendto-email'' plugin, which adds the entry {gui>Mail Recipient} to the menu. This feature opens the default mail composer with the selected files attached to new email. If the selection contains at least one folder, the selected items are automatically added to a ZIP archive before attaching them to the email. If the selection contains multiple files, or a single file which is larger than 200 Kib, the user will be prompted whether to pack the files into a ZIP archive or attach them to the message as uncompressed, individual files.
  
 Like most other features of Thunar, the {gui>Send To} menu can be easily extended by users and application developers with new targets, using standard [[http://standards.freedesktop.org/desktop-entry-spec/latest/|desktop entry]] files. These files must be installed into one of the ''$XDG_DATA_DIRS/Thunar/sendto/'' folders (see the [[http://standards.freedesktop.org/basedir-spec/latest/|XDG Base Directory Specification]] for details about the ''$XDG_DATA_DIRS'' variable). Like most other features of Thunar, the {gui>Send To} menu can be easily extended by users and application developers with new targets, using standard [[http://standards.freedesktop.org/desktop-entry-spec/latest/|desktop entry]] files. These files must be installed into one of the ''$XDG_DATA_DIRS/Thunar/sendto/'' folders (see the [[http://standards.freedesktop.org/basedir-spec/latest/|XDG Base Directory Specification]] for details about the ''$XDG_DATA_DIRS'' variable).
  
-The MimeType of the target .desktop specifies the types of files for which this action should be available in the Send To menu. For example, say you want to add entry for a //Flickr// uploader tool, then this entry should only show up if the selection contains JPEG files (other file formats are not supported by //Flickr//) and so you should add a line MimeType=image/jpeg;. If you do not specify any MimeType your entry will show up for all file types.+The MimeType of the target ''.desktop'' specifies the types of files for which this action should be available in the {gui>Send Tomenu. For example, if you want to add an entry for a //Flickr// uploader tool, this entry should only show up if the selection contains JPEG files (other file formats are not supported by //Flickr//) and so you should add a line ''MimeType=image/jpeg;''. If you do not specify any MimeTypeyour entry will show up for all file types.
  
 A complete example using the //postr// application is shown below: A complete example using the //postr// application is shown below:
Line 31: Line 33:
 If you install this file to ''~/.local/share/Thunar/sendto/'' (create the folder if it does not exist yet), the {gui>Send To} menu for JPEG files will show the new entry //Flickr//, which can be used to upload JPEG images to //Flickr//. If you install this file to ''~/.local/share/Thunar/sendto/'' (create the folder if it does not exist yet), the {gui>Send To} menu for JPEG files will show the new entry //Flickr//, which can be used to upload JPEG images to //Flickr//.
  
-The [[http://thunar.xfce.org/pwiki/documentation/sendto_menu|Thunar Project Wiki]] contains additional examples of useful targets for the {gui>Send To} menu. Feel free to extend the Wiki page with new examples.  +[[|Back To Top]] 
- +---- 
 +[[:xfce:thunar:|Back to Thunar documentation page]]