Platform Team/Guide/Sweets Usage: Difference between revisions

No edit summary
Line 113: Line 113:
{{Code|sweets}} support additional notation for exact searching in form of {{Code|''prefix''<nowiki>:=</nowiki>''string''}}. For example the query {{Code|name<nowiki>:=</nowiki>sugar}} will find ''sweet''s only with exactly {{Code|sugar}} name and omit names like {{Code|sugar-base}}. If search string contains spaces, wrap it to double quotes, {{Code|name<nowiki>:=</nowiki>"Sugar Commander"}}. Note, wildcards does not work in exact search case and asterisks will be treated literally.
{{Code|sweets}} support additional notation for exact searching in form of {{Code|''prefix''<nowiki>:=</nowiki>''string''}}. For example the query {{Code|name<nowiki>:=</nowiki>sugar}} will find ''sweet''s only with exactly {{Code|sugar}} name and omit names like {{Code|sugar-base}}. If search string contains spaces, wrap it to double quotes, {{Code|name<nowiki>:=</nowiki>"Sugar Commander"}}. Note, wildcards does not work in exact search case and asterisks will be treated literally.


=== Run sweets from X session ===
== Sugar via Sweets ==
 
There is {{Code|sdk/sugar}} ''sweet'' that represents the whole Sucrose. For now, it supports the following versions:
 
* '''0.88''' stable Dextrose-2,
* '''0.92''' stable upstream 0.92 branch,
* '''0.93''' testing version of current upstream trunk with initial support of ''Sweets'' in the Shell.
 
Sugar ''sweet''s support {{Code|emulator}} command to run Sugar from Xephyr:
 
sweets sdk/sugar:emulator


Place {{Code|sweets}} invocation into your {{Code|~/.xsession}} file:
To start Sugar in the session mode, i.e., not from Xephyr, it will be useful to add new X session. Place {{Code|sweets}} invocation into your {{Code|~/.xsession}} file:


  PATH=$HOME/.local/bin:$PATH
  PATH=$HOME/.local/bin:$PATH
Line 129: Line 139:
  Type=Application
  Type=Application


== Sugar via Sweets ==
After getting login screen, Sweets session should present in sessions list.
 
There is {{Code|sdk/sugar}} ''sweet'' that represents the whole Sucrose. For now, it supports the following versions:
 
* '''0.88''' stable Dextrose-2,
* '''0.92''' stable upstream 0.92 branch,
* '''0.93''' testing version of current upstream trunk with initial support of ''Sweets'' in the Shell.
 
Run sugar session without mentioning any version and the most recent (as possible) will be launched:
 
sweets sdk/sugar
 
Sugar ''sweet'' supports {{Code|emulator}} command to run Sugar from Xephyr:
 
sweets sdk/sugar:emulator


== Current limitations ==
== Current limitations ==