1741
|
|
|
Olivier Tilloy |
12 years ago
|
|
|
1740
|
|
Allow customizing the dash’s home screen.
The contents of the custom home screen are described in a JSON file called HomeShortcutsCustomized.json.
The file is looked for in the following locations in decreasing order of priority: - $XDG_CONFIG_HOME/unity/ (defaults to $HOME/.config/unity/) - $DIR/unity/ for $DIR in $XDG_CONFIG_DIRS
The syntax of the file is as follows: ========================================================================== { "shortcut1": { "source": $source, "name": $name, "name[fr]": $name_in_french, […] "icon": $icon }, "shortcut2": { […] }, […] } ==========================================================================
The source attribute may either be a desktop file (full path or just its basename if it is located in a standard directory), or a lens file (basename only). This attribute is mandatory. The 'name' attribute is optional. If present, it will override the default display name as advertised by the desktop file or by the lens. The name can be localized in several languages using the square brackets suffix notation, in which case the locale matching the system’s will be used, defaulting to the untranslated 'name' attribute if necessary. The 'icon' attribute is optional. If present, it will override the default icon as advertised by the desktop file or by the lens. It should be a full path name. If the source is a lens, the optional 'filter' attribute allows specifying a filter in the form "$name:$value", e.g. "type:videos" for the files lens. If the source is a lens, the optional 'section' attribute allows specifying a section number (an integer starting at index 0).
|
Olivier Tilloy |
12 years ago
|
|
|
1739
|
|
|
Michal Hruby |
12 years ago
|
|
|
1738
|
|
|
Mikkel Kamstrup Erla... |
12 years ago
|
|
|
1737
|
|
|
Alex Launi |
12 years ago
|
|
|
1736
|
|
|
Alex Launi |
12 years ago
|
|
|
1735
|
|
|
Jay Taoko |
12 years ago
|
|
|
1734
|
|
|
Alex Launi |
12 years ago
|
|
|
1733
|
|
|
Alex Launi |
12 years ago
|
|
|
1732
|
|
|
Jason Smith |
12 years ago
|
|
|
1731
|
|
|
Mirco Müller |
12 years ago
|
|
|
1730
|
|
|
Victor Eduardo |
12 years ago
|
|
|
1729
|
|
|
Mirco Müller |
12 years ago
|
|
|
1728
|
|
|
Mirco Müller |
12 years ago
|
|
|
1727
|
|
|
Jason Smith |
12 years ago
|
|
|
1726
|
|
|
Jason Smith |
12 years ago
|
|
|
1725
|
|
|
Tim Penhey |
12 years ago
|
|
|
1724
|
|
|
Jason Smith |
12 years ago
|
|
|
1723
|
|
|
Jason Smith |
12 years ago
|
|
|
1722
|
|
|
Jay Taoko |
12 years ago
|
|
|