lp:~osomon/unity/4.0-dash-custom-home-screen

Created by Olivier Tilloy on 2011-12-15 and last modified on 2012-01-10
Get this branch:
bzr branch lp:~osomon/unity/4.0-dash-custom-home-screen
Only Olivier Tilloy can upload to this branch. If you are Olivier Tilloy please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Olivier Tilloy
Project:
Unity
Status:
Development

Recent revisions

1723. By Olivier Tilloy on 2012-01-10

Do not rely solely on the executable name to launch an application, this doesn’t work for applications that are launched with parameters.

Use g_app_info_launch(…) instead.

1722. By Olivier Tilloy on 2011-12-15

Add some manual tests for the dash custom home screen functionality.

1721. By Olivier Tilloy on 2011-12-15

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).

1720. By Michal Hruby on 2011-12-06

Backport fix for bug #856205 from trunk

1719. By Mirco Müller on 2011-11-29

Fixes LP: #834630

1718. By Mirco Müller on 2011-11-29

Fixes LP: #832151

1717. By Jason Smith on 2011-10-18

merge automatic raising of input winodws

1716. By Robert Carr on 2011-10-14

Back out a horizontal margin that breaks sizing in some cases

1715. By Sam Spilsbury on 2011-10-14

Bug #863114: Cannot raise window from panel after minimize
Bug #865890: compiz crashed with SIGSEGV in nux::BaseWindow::GetInputWindowId() (when onboard is used)

1714. By Neil J. Patel on 2011-10-13

Revert out maximised window dash change

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:unity
This branch contains Public information 
Everyone can see this information.

Subscribers