Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

5 Answers 5

up vote 3 down vote accepted

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

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
        }
    }
share|improve this answer
add comment

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
}
share|improve this answer
add comment

Hopefully this article covers what you want:

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

share|improve this answer
2  
thats for unity 3d –  Evan Mar 18 '11 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. –  Stefano Palazzo Feb 1 '12 at 11:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.