[Bugs] #1075 NORM: Since the Sugar switch to Metacity, Sugar shell specific key shortcuts all fail

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Oct 19 22:02:56 EDT 2009


#1075: Since the Sugar switch to Metacity, Sugar shell specific key shortcuts all
fail
----------------------------+-----------------------------------------------
    Reporter:  garycmartin  |          Owner:  tomeu      
        Type:  defect       |         Status:  new        
    Priority:  Normal       |      Milestone:  0.86       
   Component:  sugar        |        Version:  0.85.x     
    Severity:  Major        |       Keywords:             
Distribution:  Unspecified  |   Status_field:  Unconfirmed
----------------------------+-----------------------------------------------

Comment(by DanKrejsa):

 Hmm, one workaround that seems to work for me is to modify the code
 that starts Xephyr  (sugar/src/jarabe/util/emulatory.py to add
 the '-noreset' option to the Xephyr command line.


 {{{
 [dlkrejsa at localhost util]$ git diff emulator.py
 diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py
 index d2dacb5..511e55a 100644
 --- a/src/jarabe/util/emulator.py
 +++ b/src/jarabe/util/emulator.py
 @@ -56,6 +56,9 @@ def _run_xephyr(display, dpi, dimensions, fullscreen):
          cmd.append('-dpi')
          cmd.append('%d' % dpi)

 +    # Workaround for ticket #1075
 +    cmd.append('-noreset')
 +
      result = gobject.spawn_async(cmd, flags=gobject.SPAWN_SEARCH_PATH)
      pid = result[0]

 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1075#comment:10>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list