Changes

744 bytes added ,  03:59, 19 May 2008
Added some initial test results wrt Metacity
Line 3: Line 3:  
Here are some of the steps to get there:
 
Here are some of the steps to get there:
   −
# Change the sugar-shell startup code to run metacity instead of mathcbox.
+
# Change the sugar-shell startup code to run metacity instead of matchbox.
 +
## Works. Change the <code>_start_matchbox()</code> method in sugar/src/main.py to start metacity instead of matchbox
 
# See which parts of Sugar breaks. I expect the frame will not work well, the windows needs to be hinted as panels.
 
# See which parts of Sugar breaks. I expect the frame will not work well, the windows needs to be hinted as panels.
 +
## Frame breaks. However, it works fine if it is hinted as a panel. Add <code>self.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DOCK)</code> to the <code>__init__()</code> method of the <code>FrameWindow</code> class in sugar/src/view/frame/framewindow.py
 
# Decide how to make activities run fullscreen. We could either modify metacity to run every toplevel window in fullscreen. Or we could set the fullscreen hint on the activity windows. We should clarify the tradeoffs there.
 
# Decide how to make activities run fullscreen. We could either modify metacity to run every toplevel window in fullscreen. Or we could set the fullscreen hint on the activity windows. We should clarify the tradeoffs there.
 +
## Setting the window to be fullscreen does not seem to work, since it stops the frame from popping up, and also an icon to exit fullscreen appears at the top right corner. One possible solution to this is to make the activity window undecorated (we do not need maximise/minimize/resize buttons), and making their height/width equal to the dimensions of the screen.
 
# Support standard window icons in the frame activity list.
 
# Support standard window icons in the frame activity list.
 +
## TBD
    
[[Category:Developer]]
 
[[Category:Developer]]