Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:iconmenuinfo [2012/01/21 12:20] – [Icons] nomer | wiki:iconmenuinfo [2015/08/18 22:44] (current) – [Menu Entries and Icons] opera10 gordon64 | ||
---|---|---|---|
Line 4: | Line 4: | ||
- | ===== Menu entries | + | ===== Menu Entries and Icons===== |
- | These are added to the submenu " | + | Menu Entries and Icons are provided |
+ | ^/ | ||
+ | The .desktop file must have the same base name as the application package. (e.g. the desktop file for homebank.tcz must be named homebank.desktop) | ||
- | /usr/local/share/applications | + | A deskop file must begin with |
+ | ^[Desktop Entry]^ | ||
+ | For the full specifications see [[http://standards.freedesktop.org/desktop-entry-spec/latest/]] | ||
+ | | ||
+ | These are added to the submenu " | ||
+ | ^Name=^ | ||
+ | followed, on the same line, by the name you want to appear in the menu. | ||
+ | Note: The default wbar setup provided in TinyCore 4.1 will not keep any spaces in the the value of " | ||
- | directory provided | + | You'll also need this line: |
+ | ^Exec=^ | ||
+ | followed, on the same line, by the executable to be run when the item is clicked. | ||
+ | ===Icons=== | ||
+ | Icons are shown in the wbar, which can be positioned on any edge of the screen (bottom by default). In order to have an icon you will need the things mentioned above as well as | ||
+ | ^X-FullPathIcon=^ | ||
+ | followed, on the same line, by the absolute path to the icon you want to be displayed. | ||
+ | |||
+ | Please note, that X-FullPathIcon= field is not part of the .desktop file provided by applications; | ||
+ | |||
+ | The icon should be a 48x48 PNG, and the preferred location for storing icons is | ||
+ | ^/ | ||
+ | For example icon for Opera10 defined as | ||
+ | ^/ | ||
+ | |||
+ | so for opera, example line becomes | ||
+ | |||
+ | ^X-FullPathIcon=/ | ||
Line 20: | Line 46: | ||
===== .info files ===== | ===== .info files ===== | ||
- | They are named like the extension, with .info added, for example kmaps.tce.info. Use all parts, even if your extension does not match; in that case, put n/a for example to the unneeded field. Please do not forget a proper description of your software! | + | They are named like the extension, with .info added, for example kmaps.tce.info. Use all parts, even if your extension does not match; in that case, put n/a for example to the unneeded field. Please do not forget a proper description of your software! |
- | + | ||
- | http:// | + | |
+ | [[http:// | ||
+ | At Tiny Core version 5, .info files should include 12 sections: | ||
+ | -Title | ||
+ | -Description | ||
+ | -Version | ||
+ | -Author | ||
+ | -Original-site | ||
+ | -Copying-policy | ||
+ | -Size | ||
+ | -Extension-by | ||
+ | -Tags | ||
+ | -Comments | ||
+ | -Change-log | ||
+ | -Current | ||
===== .dep files: dependency handling ===== | ===== .dep files: dependency handling ===== | ||
- | Tinycore | + | Tiny Core handles dependencies only when using '' |
+ | |||
+ | The dependency file is named by appending .dep to the extension | ||
- | For dependencies, | + | Dependency lists are recursively resolved |
- | The format is one extension per line with **no empty lines**. For example, an extension.tcz.dep might have: | + | The list file format is one extension per line with //no empty lines//. For example, an extension.tcz.dep might have: |
- | ^a.tcz | + | < |
- | b.tcz^ | + | b.tcz</ |
- | where a.tcz.dep might contain | + | where a.tcz.dep might contain |
- | ^c.tcz^ | + | < |
+ | Please see also [[wiki: |