I do a custom live CD and test the new modifyed version.
When the desktop exec line is not containing sudo prefix, the installer is not launched if I click the desktop icon. I copyed the command line with desktop file, and running with terminal. sudo give a invalid switch error message. If I add sudo prefix with installer desktop properties with command field, all works fine, Orca is wonderful talking entire installation Sending a modifyed patch with fixing Bill wroted two problem, and modify the needed desktop.in file with the source directory. Tomorrow I test the modifyed version with containing bot three changes.

Attila
diff -p -r ubiquity-2.2.10.old/bin/ubiquity-wrapper 
ubiquity-2.2.10/bin/ubiquity-wrapper
*** ubiquity-2.2.10.old/bin/ubiquity-wrapper    2010-03-28 13:32:16.517662311 
+0200
--- ubiquity-2.2.10/bin/ubiquity-wrapper        2010-03-28 13:32:24.029682752 
+0200
*************** def main():
*** 66,72 ****
                      pass
  
          if frontend == 'gtk_ui':
!             toexec = ['gksudo', '--preserve-env']
              if desktop:
                  toexec.extend(['--desktop', desktop])
              toexec.append('--')
--- 66,72 ----
                      pass
  
          if frontend == 'gtk_ui':
!             toexec = ['sudo', '-E']
              if desktop:
                  toexec.extend(['--desktop', desktop])
              toexec.append('--')
diff -p -r ubiquity-2.2.10.old/desktop/ubiquity-gtkui.desktop.in 
ubiquity-2.2.10/desktop/ubiquity-gtkui.desktop.in
*** ubiquity-2.2.10.old/desktop/ubiquity-gtkui.desktop.in       2010-03-28 
13:32:16.569660711 +0200
--- ubiquity-2.2.10/desktop/ubiquity-gtkui.desktop.in   2010-03-28 
13:33:02.381663612 +0200
*************** Version=1.0
*** 4,10 ****
  # Do not translate the word "RELEASE".  It is used as a marker by casper.
  _Name=Install RELEASE
  _Comment=Install this system permanently to your hard disk
! Exec=ubiquity --desktop %k gtk_ui
  Icon=ubiquity
  Terminal=false
  Categories=GTK;System;Settings;
--- 4,10 ----
  # Do not translate the word "RELEASE".  It is used as a marker by casper.
  _Name=Install RELEASE
  _Comment=Install this system permanently to your hard disk
! Exec=sudo ubiquity --desktop %k gtk_ui
  Icon=ubiquity
  Terminal=false
  Categories=GTK;System;Settings;
diff -p -r ubiquity-2.2.10.old/ubiquity/frontend/gtk_ui.py 
ubiquity-2.2.10/ubiquity/frontend/gtk_ui.py
*** ubiquity-2.2.10.old/ubiquity/frontend/gtk_ui.py     2010-03-28 
13:32:16.825660388 +0200
--- ubiquity-2.2.10/ubiquity/frontend/gtk_ui.py 2010-03-28 13:32:24.034660084 
+0200
*************** class Wizard(BaseFrontend):
*** 553,559 ****
              h = m.height - wm_h
  
          widget.set_size_request(w, h)
!         widget.resize(w, h)
  
      def customize_installer(self):
          """Initial UI setup."""
--- 553,559 ----
              h = m.height - wm_h
  
          widget.set_size_request(w, h)
!         #widget.resize(w, h)
  
      def customize_installer(self):
          """Initial UI setup."""
-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility

Reply via email to