6

How to make the dash in Unity 2D open up full-screen?

5 Answers 5

5

12.04

Fortunately this is very simple now in 12.04

First open the Dash

enter image description here

Then click the maximize button:

enter image description here

This remembers the setting between Dash openings and session re-logins.

5

11.04

I've found a workaround to do that.

Open the file /usr/share/unity-2d/places/dash.qml.

Find this code:

        if (currentPage != undefined) {
        currentPage.visible = false
    }
    currentPage = page
    currentPage.visible = true
    dashView.dashMode = DashDeclarativeView.FullScreenMode //AND ADD THIS LINE
}

NOTE: I've tested this on the daily build of Unity-2d from PPA, I'm not sure it works on the Natty version.

EDIT: The code on the Natty version it's similar, and is between the line 42 and 50.

0
4

11.10

This works in 11.10: add the same line, not in 'activateHome', put it it 'Connections':

Connections {
        target: dashView
        onActiveChanged: {
            if (!dashView.active) {
                /* FIXME: currentPage needs to stop pointing to pageLoader.item
                          that is about to be invalidated otherwise a crash
                          occurs because SearchEntry has a binding that refers
                          to currentPage and tries to access it.
                   Ref.: https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/817896
                         https://bugreports.qt.nokia.com/browse/QTBUG-20692
                */
                deactivateActiveLens()
                currentPage = undefined
                pageLoader.source = ""
            }
        dashView.dashMode = DashDeclarativeView.FullScreenMode //THIS IS THE NEW LINE
        }
    }
2

11.04

Just found how to fix it in Natty. Add the line:

dashView.dashMode = DashDeclarativeView.FullScreenMode

in function activateHome(). By example:

function activateHome() {
  pageLoader.source = "Home.qml"
  /* Take advantage of the fact that the loaded qml is local and setting
     the source loads it immediately making pageLoader.item valid */
  activatePage(pageLoader.item)
  pageLoader.item.shortcutsActive = true
  dashView.activePlaceEntry = ""
  dashView.dashMode = DashDeclarativeView.FullScreenMode // ADD THIS LINE
}
0
-2

Hopefully this article covers what you want:

http://www.omgubuntu.co.uk/2011/03/quick-tip-enable-full-screen-dash-in-natty-desktop/

2
  • 2
    thats for unity 3d
    – Evan
    Mar 18, 2011 at 18:11
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Feb 1, 2012 at 11:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .