Running Linux Applications Under Sugar: Difference between revisions
formatting |
more cleanup |
||
| Line 30: | Line 30: | ||
<li>Locate an icon you want to use/reuse.</li> | <li>Locate an icon you want to use/reuse.</li> | ||
*You can copy any .svg file located in /usr/share/activities/*.activity/activity/*.svg | *You can copy any .svg file located in /usr/share/activities/*.activity/activity/*.svg | ||
*Or you can use one of the icons | *Or you can use one of the icons CatMoran created--and downloaded using thewget commands listed above. plain.svg is a plain circle, ff.svg is a circle with the letters FF (for Firefox) inside, l.svg is a circle with the single letter L inside. Both of the latter files can be easily edited using any text editor and one or both character(s) changed.Each letter is in plain text just before the </tspan> tags, replace them and save the file. | ||
Enter the following commands, to log in as root and execute the sug script. | <li>Enter the following commands, to log in as root and execute the sug script.</li> | ||
su | su | ||
./sug | ./sug | ||
You'll be prompted for an activity name. Enter a short, descriptive name with no spaces or punctuation, such as BibleTime or | You'll be prompted for an activity name. Enter a short, descriptive name with no spaces or punctuation, such as BibleTime, Firefox, or MC. | ||
You'll be prompted for an icon file to copy into the new task. | You'll be prompted for an icon file to copy into the new task. Enter the [[Glossary|full path and filename]] of any .svg file. If the icon is in the same directory as the sug file, you can enter just the filename. | ||
You'll be prompted for the command to start the program. This is the command you entered from Terminal to start the program, such as firefox. | You'll be prompted for the command to start the program. This is the command you entered from Terminal to start the program, such as firefox. | ||