Tutorials/Copy with drag & drop: Difference between revisions

Satellit (talk | contribs)
Satellit (talk | contribs)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
* '''Use the  ← left________________________right → links in the colored bar below
<noinclude>[[Category:Tutorial|Drag]]</noinclude>__TOC__
:to connect to another part of this Annotated Guide to Sugar'''
<div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;">
{| width="100%" cellpadding="0" cellspacing="0"
|-
|width=25% align=left bgcolor=#C3D9FF|&larr; '''[[Sugar_Creation_Kit/sck/Connecting to the Internet|Connecting to the Internet]]'''
|width=50% align=center bgcolor=#C3D9FF|'''[[Find_help|Find Help]]'''
|width=25% align=right bgcolor=#C3D9FF| '''[[Sugar_Creation_Kit/sck/How_to_use_IRC|How to Use IRC]]''' &rarr;
|}
</div>


== Exporting/Importing files from the sugar-journal with Drag-Drop with a 2nd USB-stick==
== Copying to a USB drive from the Sugar Journal ==  
'''Note: After user feedback this page is UNDER CONSTRUCTION'''
:I will try to simplify the examples to clarify How to use Drag-Drop in Sugar--[[User:Satellit|Satellit]] 22:22, 19 January 2012 (EST)
:'''Note:For All  Links and Screen-shots:'''
:'''Use your Browsers <== Back arrow to return here'''
::Click on a Screen-shot to see it full size


*A Booted Trisquel 5.0-sugar CD was used for these examples
How to copy from the [[Human_Interface_Guidelines/The_Laptop_Experience/The_Journal|Sugar Journal]] to a USB drive.
::Note these screen-shots were Drag-Dropped to a 2nd USB-stick
::Copied from the USB to another Computer and uploaded to the Sugarlabs.wiki
::Where it was inserted into this page
*You can import and export items from the sugar [[Human_Interface_Guidelines/The_Laptop_Experience/The_Journal|'''journal''']] Using this procedure :
*Insert a 2nd USB
:'''required to be present for this to work.'''
*click on the '''journal''' icon under the XO AVATAR in the '''(f3) Home''' screen
*Move the mouse cursor to center of the screen.
*bottom left edge of screen shows '''journal''' and '''2nd USB-stick'''
[[File:Screenshot_of_Journal_on_bottom_bar.png|500px]]


*drag a file in the List above the Journal with mouse right button depressed
* Insert your USB drive, being careful not to move the USB drive that is already there,
:to the '''2nd USB-stick''' icon now showing in bottom bar next to '''journal''' icon
* Display the Journal, by either pressing F5 once, or pressing <alt-tab> until the Journal appears, or by clicking on the Journal icon in the '''Home''' view.
*hover over the USB-stick icon and release the right mouse button. A + will briefly appear
{{:Nav-Tutorials}}
[[File:Screenshot_of_2nd_USB-stick_drop_down.png|500px]]
* On the bottom left in the tray of the Journal is a Journal icon, and icons for other disk drives mounted or attached to the computer.
* Click on the Journal icon.
* Click on the entry you want to copy,
* Hold down the left mouse button, move the mouse to the icon for the target USB drive, and then release the left mouse button. The copy should begin.


* Select '''remove''' on Drop-down menu (Safely remove USB-Stick)


*remove USB-stick from computer running sugar
[[File:Screenshot_of_Journal_dd.png|500px]]
*insert USB-stick into another windows or linux computer and drag file on USB-stick to the your desktop
* Click on the icon for the USB drive, the contents are listed showing the copied item.
:(or into host system by removing and re-inserting USB-stick after exiting sugar)
*open and copy this file to a paste bin application in your browser
==='''export Photos'''===
:'''drag-drop to a 2nd USB-stick''' can be used to export Photos created with the sugar record activity from the journal.
===import/install <activity>.xo file===
:drag-drop an <activity.xo> file from a 2nd USB-stick to the Journal.
: Download site for <activity>.xo files
:::See the Activities link on wiki top bar
:[[Sugar_Creation_Kit#ASLOxo-6]]  DVD.iso with 400+ activities
:::Can be used as a Drag Drop source
:[[Sugar_Creation_Kit#SCK-USB_.28CD.iso.29|The Sugar Creation Kit wiki on a USB-stick]]
: Intended to be run where there is NO Internet Connection Available.
:Successfully tested on a G1G1 XO-1 running os508dx - (Dextrose2):(


==='''Screen capture'''===
[[File:Screenshot_of_2nd_USBdd.png|500px]]
:''' <Alt> + 1 or <PrtScn> (when present) captures the screen and stores a screenshot in the Journal.'''
*How to take [[User:Tonyforster#Screenshots_in_Sugar|Screen Shots with a cursor from an XO-1 or live fedora CD]]
*[[Talk:Sugar_Creation_Kit/sck/Drag-Drop#How_to_Make_screen-shots_on_a_Mac| How to take Screen Shots on a Mac]] Useful for sugar applications running in VirtualBox for OSX
*Comment: An important use case for the Keep button. How do we store just the image, without the software state? Some Activities, including Turtle Art, have a button for this purpose.


==Summary==
== Copying to the Sugar Journal from a USB drive ==
*A brief synopsis of the process:
1)You need a 2nd USB-stick inserted in a USB slot before you begin.
2)Click on the journal icon under the XO Avitar in f3 (Home) screen.
3)move the mouse cursor to the center of the screen.
4)In the left bottom of the sugar screen will be 2 USB icons
  - Journal
  - 2nd USB
5)click on the file in the journal listing that pops up when you click on the icon in the left bottom corner;
and hold down the mouse as you drag the entry to the 2nd USB Icon next to it on the bottom left  corner.
6) release the mouse button when you are over the 2nd USB Icon and a + will appear.
This is a '''Drag-Drop''' export to the 2nd USB-stick
*Import to Sugar Journal is done just the opposite way:
1) click on a picture or .xo file on the 2nd USB that pops up when you click on the icon in the left bottom corner.
2) drag it with the mouse to the journal icon in the bottom left corner. A + will appear as it is added to the journal.
*When you go to (f3) Home  Screen and click on the journal the new item will be in the journal.
:Plus if it was an activity.xo file It will be installed.
*(The drag-drop process in sugar does a hidden conversion of the journal files to ones that will work on a USB. It seems to be the only way to do an import/export in Sugar.)


* '''Use the ← left________________________right → links in the colored bar below
* Display the Journal.
:to connect to another part of this Annotated Guide to Sugar'''
* Click on the icon for the source disk drive, the contents are listed.
<div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;">
* Click on the file you want to copy.
{| width="100%" cellpadding="0" cellspacing="0"
* Hold down the left mouse button, move the mouse to the icon for the Journal, and then release the left mouse button. The copy should begin.
|-
* Click on the icon for the Journal, the contents are listed showing the copied file.
|width=25% align=left bgcolor=#C3D9FF|&larr; '''[[Sugar_Creation_Kit/sck/Connecting to the Internet|Connecting to the Internet]]'''
 
|width=50% align=center bgcolor=#C3D9FF|'''[[Find_help|Find Help]]'''
If the file was an Activity.xo file, it will be automatically installed, and will appear in the '''Home''' view.
|width=25% align=right bgcolor=#C3D9FF| '''[[Sugar_Creation_Kit/sck/How_to_use_IRC|How to Use IRC]]''' &rarr;
 
|}
== Safely remove a USB drive ==
</div>
 
How to safely remove a portable USB drive.
 
* Display the Journal,
* Right-click on the USB drive icon, and click on '''Remove'''.
[[File:Screenshot_of_Sugar_Journal_Pop_upDD.png|500px]]
* Take the USB drive out of the computer, being careful to only take out the USB drive that went through the '''Remove''' step.
 
== Conversion ==
 
The drag-drop copy in Sugar converts the Journal files to ones that will work on a USB.
 
*Or from the terminal using sugar-install-bundle.
== Copy to/from Journal Scripts ==
* [[OLPC:Copy to and from the Journal]]
: Downloadable scripts to move files to/from the Journal.