Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-17 Thread David Zeuthen
Hey, On Tue, May 17, 2011 at 12:49 PM, Lennart Poettering wrote: > It's mostly a question of laziness on my side. The > invalidated_properties stuff I can hook up in matter of seconds. The > other props need more work. Excellent, good to hear. Thanks! Cheers, David _

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-17 Thread Lennart Poettering
On Tue, 17.05.11 12:36, David Zeuthen (zeut...@gmail.com) wrote: > However, when you emit the PropertiesChanged signal on the > org.fd.DBus.Properties interface, you could pretty please include the > value for the property that changed as well [0]? The fact you > currently don't (which Bastien fou

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-17 Thread David Zeuthen
Hey Lennart, On Mon, May 16, 2011 at 1:22 PM, Lennart Poettering wrote: > I think the right place for tiny mini-daemons like that is probably > systemd. I completely agree - it's nice that we finally have a place to do this. And it's nice that you are using D-Bus properties to convey the values

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-16 Thread Martin Pitt
Lennart Poettering [2011-05-16 19:33 +0200]: > Well, I think the different "smaller" system settings we want to make > configurable, like the system locale, or the hostname or the timezone > probably all need a tiny bit of intelligence on the server side, in > order to ensure compat and provide cha

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-16 Thread Bastien Nocera
On Mon, 2011-05-16 at 20:20 +0200, Lennart Poettering wrote: > On Mon, 16.05.11 18:44, Ross Burton (r...@burtonini.com) wrote: > > > > > On 16 May 2011 18:22, Lennart Poettering wrote: > > > conmann also does geoloc? Is there something it doesn't do? Sounds > > > almost as crazy as systemd ;-) >

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-16 Thread Lennart Poettering
On Mon, 16.05.11 18:44, Ross Burton (r...@burtonini.com) wrote: > > On 16 May 2011 18:22, Lennart Poettering wrote: > > conmann also does geoloc? Is there something it doesn't do? Sounds > > almost as crazy as systemd ;-) > > AFAIK (and I may be wrong), but that's part of its "am I really > onl

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-16 Thread Ross Burton
On 16 May 2011 18:22, Lennart Poettering wrote: > conmann also does geoloc? Is there something it doesn't do? Sounds > almost as crazy as systemd ;-) AFAIK (and I may be wrong), but that's part of its "am I really online" ping to connman.net, which acts as a captive portal detection. The respons

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-16 Thread Lennart Poettering
On Mon, 16.05.11 13:23, Martin Pitt (martin.p...@ubuntu.com) wrote: > Hello Lennart, > > Lennart Poettering [2011-05-16 1:06 +0200]: > > Next question: can you point me to some sources? (or alternatively some > > project name I could google for?) Would like to have a look on it, > > before I spe

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-16 Thread Lennart Poettering
On Mon, 16.05.11 07:28, Ross Burton (r...@burtonini.com) wrote: > > On 16 May 2011 00:09, Lennart Poettering wrote: > > Ah, very interesting. This is good to know. Interesting place though, in > > connman. > > Yeah, it is "interesting". I discovered this because I'd floated the > idea of a tin

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-16 Thread Martin Pitt
Hello Lennart, Lennart Poettering [2011-05-16 1:06 +0200]: > Next question: can you point me to some sources? (or alternatively some > project name I could google for?) Would like to have a look on it, > before I spend time on this. [1] has the backend code plus polkit files. But please NB that

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Ross Burton
On 16 May 2011 00:09, Lennart Poettering wrote: > Ah, very interesting. This is good to know. Interesting place though, in > connman. Yeah, it is "interesting". I discovered this because I'd floated the idea of a tiny TimeKit daemon, mainly to deal with setting the system timezone and emitting s

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Lennart Poettering
On Sun, 15.05.11 22:01, Ross Burton (r...@burtonini.com) wrote: > > Let's try that again... > On Sunday, 15 May 2011 at 20:10, Lennart Poettering wrote: > > (Background: I am > > working on cleaning up all those little services that can change > > locale/clock/timezone/hostname/... in the contex

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Lennart Poettering
On Sun, 15.05.11 22:50, Martin Pitt (martin.p...@ubuntu.com) wrote: > Hello Lennart, Heya, > Lennart Poettering [2011-05-15 21:10 +0200]: > > Sure, that I know, but what I was wondering is how the unprivileged user > > code that g-c-c is can make changes to this root-owned file. What is the > >

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Ross Burton
On Sunday, 15 May 2011 at 22:14, David Zeuthen wrote: If only you'd use the standard org.fd.DBus.Properties interface here > then it would be a lot easier to use via e.g. GDBusProxy and other > bindings. And it's a lot easier to inspect with tools like gdbus(1) or > d-feet(1). Not saying it's impos

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread David Zeuthen
Hi, On Sun, May 15, 2011 at 5:01 PM, Ross Burton wrote: > Let's try that again... > On Sunday, 15 May 2011 at 20:10, Lennart Poettering wrote: >> (Background: I am >> working on cleaning up all those little services that can change >> locale/clock/timezone/hostname/... in the context of systemd)

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Ross Burton
Let's try that again... On Sunday, 15 May 2011 at 20:10, Lennart Poettering wrote: > (Background: I am > working on cleaning up all those little services that can change > locale/clock/timezone/hostname/... in the context of systemd) > In case you were not aware, in MeeGo 1.2 we've added a "clock

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Martin Pitt
Hello Lennart, Lennart Poettering [2011-05-15 21:10 +0200]: > Sure, that I know, but what I was wondering is how the unprivileged user > code that g-c-c is can make changes to this root-owned file. What is the > machanism used here? Right, our language-selector has a polkitified D-BUS service for

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Lennart Poettering
On Sun, 15.05.11 19:25, Martin Pitt (martin.p...@ubuntu.com) wrote: > > Hey Lennart, > > Lennart Poettering [2011-05-15 18:26 +0200]: > > Just out of curiosity, what's the mechanism Ubuntu uses to forward > > user locale settings to the system? i.e. what's the path to make locale > > configurati

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Martin Pitt
Hey Lennart, Lennart Poettering [2011-05-15 18:26 +0200]: > Just out of curiosity, what's the mechanism Ubuntu uses to forward > user locale settings to the system? i.e. what's the path to make locale > configuration system-wide with Ubuntu? Debian/Ubuntu store the system-wide default in /etc/def

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Bastien Nocera
On Sat, 2011-05-14 at 12:31 +0200, Martin Pitt wrote: > Hello Matthias, Dave, > > Matthias Clasen [2011-05-13 8:33 -0400]: > > > * Language Selector, which allows you to configure your language and > > > fallbacks ($LANGUAGE/$LC_MESSAGES), locale ($LANG), list of > > > installed languages (

Re: language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-15 Thread Lennart Poettering
On Sat, 14.05.11 12:31, Martin Pitt (martin.p...@ubuntu.com) wrote: > Hello Matthias, Dave, > > Matthias Clasen [2011-05-13 8:33 -0400]: > > >  * Language Selector, which allows you to configure your language and > > >   fallbacks ($LANGUAGE/$LC_MESSAGES), locale ($LANG), list of > > >   instal

language/locale selector [was: Re: Settings downstream would reasonably want to add]

2011-05-14 Thread Martin Pitt
Hello Matthias, Dave, Matthias Clasen [2011-05-13 8:33 -0400]: > >  * Language Selector, which allows you to configure your language and > >   fallbacks ($LANGUAGE/$LC_MESSAGES), locale ($LANG), list of > >   installed languages (packages which provide translations, > >   dictionaries, OO.o help