Re: [SoaS] No keyboard choice - Re: [Sugar-devel] SoaS v10 testing and a few minor issues with 0.100

2013-11-20 Thread Peter Robinson
 woops,
 That should read perhaps sugar-cp-keyboard can replace sugar-cp-powerd


 Attached proposed change to sugar's spec file and a merge request[1] for
 the sugar change. Tested on SoaS-F20-5 liveinst in a VM.

 Jerry

 1. https://github.com/sugarlabs/sugar/pull/135

Can we get this in the 0.100.1 release for this week?

Peter
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


Re: [SoaS] No keyboard choice - Re: [Sugar-devel] SoaS v10 testing and a few minor issues with 0.100

2013-11-19 Thread Walter Bender
In jarabe/controlpanel/gui.py there is:

POWERD_FLAG_DIR = '/etc/powerd/flags'

def _setup_options(self):
if not os.access(POWERD_FLAG_DIR, os.W_OK):
del self._options['power']
del self._options['keyboard']

which might explain why the keyboard selection is missing.

-walter

On Tue, Nov 19, 2013 at 4:08 PM, Jean THIERY jean.thi...@modlibre.info wrote:
 Hello,

 Le 19/11/2013 18:27, Walter Bender a écrit :

 On Tue, Nov 19, 2013 at 12:15 PM, Peter Robinson pbrobin...@gmail.com
 wrote:

 Hi,

 Hello,

 ...
 I downloaded « *Fedora-Live-Soas-i686-20-Beta-5.iso* »
 from  http://fedoraproject.org/get-prerelease#desktops
 ...


 In My parameters there is no icon for keyboard choice.
 So, it is not possible to get a localized keyboard !

 I think that this was already true with version 9 of Sugar on a Stick
 (to be checked !).

 Peter
 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


 regards.

 -walter


 Soon on Internet,

 Jean Thiéry [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]
 ___
 SoaS mailing list
 SoaS@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/soas



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


Re: [SoaS] No keyboard choice - Re: [Sugar-devel] SoaS v10 testing and a few minor issues with 0.100

2013-11-19 Thread Peter Robinson
On Tue, Nov 19, 2013 at 9:13 PM, Walter Bender walter.ben...@gmail.com wrote:
 In jarabe/controlpanel/gui.py there is:

 POWERD_FLAG_DIR = '/etc/powerd/flags'

 def _setup_options(self):
 if not os.access(POWERD_FLAG_DIR, os.W_OK):
 del self._options['power']
 del self._options['keyboard']

 which might explain why the keyboard selection is missing.

Dare I ask why keyboard depends on powerd? Do we know what this commit
was any who did it? powerd is a olpc XO specific thing so is never
going to be present on anything other than an XO. I suspect it's
suppose to hide those options if it's on a XO due to them being
generally hidden by deployments and hence is the check is wrong.

Peter

 -walter

 On Tue, Nov 19, 2013 at 4:08 PM, Jean THIERY jean.thi...@modlibre.info 
 wrote:
 Hello,

 Le 19/11/2013 18:27, Walter Bender a écrit :

 On Tue, Nov 19, 2013 at 12:15 PM, Peter Robinson pbrobin...@gmail.com
 wrote:

 Hi,

 Hello,

 ...
 I downloaded « *Fedora-Live-Soas-i686-20-Beta-5.iso* »
 from  http://fedoraproject.org/get-prerelease#desktops
 ...


 In My parameters there is no icon for keyboard choice.
 So, it is not possible to get a localized keyboard !

 I think that this was already true with version 9 of Sugar on a Stick
 (to be checked !).

 Peter
 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


 regards.

 -walter


 Soon on Internet,

 Jean Thiéry [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]
 ___
 SoaS mailing list
 SoaS@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/soas



 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


Re: [SoaS] No keyboard choice - Re: [Sugar-devel] SoaS v10 testing and a few minor issues with 0.100

2013-11-19 Thread Walter Bender
On Tue, Nov 19, 2013 at 6:45 PM, Peter Robinson pbrobin...@gmail.com wrote:
 On Tue, Nov 19, 2013 at 9:13 PM, Walter Bender walter.ben...@gmail.com 
 wrote:
 In jarabe/controlpanel/gui.py there is:

 POWERD_FLAG_DIR = '/etc/powerd/flags'

 def _setup_options(self):
 if not os.access(POWERD_FLAG_DIR, os.W_OK):
 del self._options['power']
 del self._options['keyboard']

 which might explain why the keyboard selection is missing.

 Dare I ask why keyboard depends on powerd? Do we know what this commit
 was any who did it? powerd is a olpc XO specific thing so is never
 going to be present on anything other than an XO. I suspect it's
 suppose to hide those options if it's on a XO due to them being
 generally hidden by deployments and hence is the check is wrong.

No idea. Just saw it and flagged it.
We can use gconf on the XO to suppress the keyboard setting.


 Peter

 -walter

 On Tue, Nov 19, 2013 at 4:08 PM, Jean THIERY jean.thi...@modlibre.info 
 wrote:
 Hello,

 Le 19/11/2013 18:27, Walter Bender a écrit :

 On Tue, Nov 19, 2013 at 12:15 PM, Peter Robinson pbrobin...@gmail.com
 wrote:

 Hi,

 Hello,

 ...
 I downloaded « *Fedora-Live-Soas-i686-20-Beta-5.iso* »
 from  http://fedoraproject.org/get-prerelease#desktops
 ...


 In My parameters there is no icon for keyboard choice.
 So, it is not possible to get a localized keyboard !

 I think that this was already true with version 9 of Sugar on a Stick
 (to be checked !).

 Peter
 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


 regards.

 -walter


 Soon on Internet,

 Jean Thiéry [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]
 ___
 SoaS mailing list
 SoaS@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/soas



 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


Re: [SoaS] No keyboard choice - Re: [Sugar-devel] SoaS v10 testing and a few minor issues with 0.100

2013-11-19 Thread Jerry Vonau
On Tue, 2013-11-19 at 18:20 -0600, Jerry Vonau wrote:
 On Tue, 2013-11-19 at 18:11 -0600, Jerry Vonau wrote:
  On Tue, 2013-11-19 at 18:49 -0500, Walter Bender wrote:
   On Tue, Nov 19, 2013 at 6:45 PM, Peter Robinson pbrobin...@gmail.com 
   wrote:
On Tue, Nov 19, 2013 at 9:13 PM, Walter Bender 
walter.ben...@gmail.com wrote:
In jarabe/controlpanel/gui.py there is:
   
POWERD_FLAG_DIR = '/etc/powerd/flags'
   
def _setup_options(self):
if not os.access(POWERD_FLAG_DIR, os.W_OK):
del self._options['power']
del self._options['keyboard']
   
which might explain why the keyboard selection is missing.
   
Dare I ask why keyboard depends on powerd? Do we know what this commit
was any who did it? powerd is a olpc XO specific thing so is never
going to be present on anything other than an XO. I suspect it's
suppose to hide those options if it's on a XO due to them being
generally hidden by deployments and hence is the check is wrong.
   
   No idea. Just saw it and flagged it.
   We can use gconf on the XO to suppress the keyboard setting.
  
  Or don't install the sugar-cp-keyboard rpm, like the current XO images,
  no need to hard-code that. Note that sugar-cp-all drags in
  sugar-cp-power, perhaps sugar-cp-keyboard can replace sugar-cp-keyboard
  in sugar-cp-all. I think then this XO specific piece of code can go
  away.
  
 
 woops, 
 That should read perhaps sugar-cp-keyboard can replace sugar-cp-powerd
 

Attached proposed change to sugar's spec file and a merge request[1] for
the sugar change. Tested on SoaS-F20-5 liveinst in a VM.

Jerry

1. https://github.com/sugarlabs/sugar/pull/135


 
  just my 3 cents,
  
  Jerry 
  
  
  
   
Peter
   
-walter
   
On Tue, Nov 19, 2013 at 4:08 PM, Jean THIERY 
jean.thi...@modlibre.info wrote:
Hello,
   
Le 19/11/2013 18:27, Walter Bender a écrit :
   
On Tue, Nov 19, 2013 at 12:15 PM, Peter Robinson 
pbrobin...@gmail.com
wrote:
   
Hi,
   
Hello,
   
...
I downloaded « *Fedora-Live-Soas-i686-20-Beta-5.iso* »
from  http://fedoraproject.org/get-prerelease#desktops
...
   
   
In My parameters there is no icon for keyboard choice.
So, it is not possible to get a localized keyboard !
   
I think that this was already true with version 9 of Sugar on a Stick
(to be checked !).
   
Peter
___
Sugar-devel mailing list
sugar-de...@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
   
   
regards.
   
-walter
   
   
Soon on Internet,
   
Jean Thiéry [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas
   
   
   
--
Walter Bender
Sugar Labs
http://www.sugarlabs.org
   
   
   
  
  
  ___
  SoaS mailing list
  SoaS@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/soas
 
 
 ___
 SoaS mailing list
 SoaS@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/soas

diff --git a/sugar.spec b/sugar.spec
index 070c636..f041c9c 100644
--- a/sugar.spec
+++ b/sugar.spec
@@ -57,7 +57,7 @@ Summary: All control panel modules
 Group: User Interface/Desktops
 Requires: %{name} = %{version}-%{release}
 Requires: %{name}-cp-background %{name}-cp-datetime %{name}-cp-frame %{name}-cp-language
-Requires: %{name}-cp-modemconfiguration %{name}-cp-network %{name}-cp-power %{name}-cp-keyboard
+Requires: %{name}-cp-modemconfiguration %{name}-cp-network %{name}-cp-keyboard
 Requires: %{name}-cp-webaccount %{name}-cp-updater
 
 %description cp-all
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas