Re: [Tails-dev] ***SPAM*** Re: ***SPAM*** [gsoc] tails-greet…

Delete this message

Reply to this message
Autor: intrigeri
Data:  
Dla: 
CC: tails-dev
Nowe tematy: Re: [Tails-dev] [gsoc] tails-greeter progress report
Temat: Re: [Tails-dev] ***SPAM*** Re: ***SPAM*** [gsoc] tails-greeter progress report
† wrote (29 Jul 2011 16:18:45 GMT) :
> 29.07.2011 23:50, intrigeri пишет:
>> Remember that, at the end of the day, we want something similar to
>> gdm-simple-greeter, with language/layout widgets in a bottom panel.
>> Going through the "one screen per option" intermediary step seems
>> unnecessarily complicated to me, but well, there might be good reasons
>> to do so.


> This will require pretty substantial rewrite (related to gtkme glue
> code) which might break things.


Could you please elaborate?

> Before doing so I'd like to have something to break e. g. version
> with some functionality working nice and stable so I can be sure
> that if something goes wrong than I have to blame new code, not some
> hidden bug.


Sounds sane.

>>> it's impossible to set env. vars via /etc/gdm3/PostLogin/ - it's
>>> writable by root only and greeter is running as 'gdm-user' account


>> Then have /etc/gdm3/PostLogin/TailsGreeter source a file written by
>> tails-greeter in a place writable only by the user tails-greeter
>> runs as (which is Debian-gdm, on my test Squeeze system, btw), and
>> readable by the default Tails user.


> If you mean that the content will be picked up by some process
> running under amnesia user than /etc/gdm3/PostLogin/ is probably
> wrong location for that.


You wrote that the problem was that *writing* into this file was
impossible. I suggested a (trivial) workaround to the issue you were
supposedly facing, to help you move forward. Now you tell me that
*writing* to this file would be useless anyway. Ok, well. There are
tons of other ways to bypass this trivial envvar passing problem, just
implement one of the many sane solutions: better spend time seeking
the right lines of code rather than the final word.

>> Can you please point me to the xklavier and python-xklavier
>> documentation so that I can have a look and suggest workarounds?


> http://devel.randomink.org/projects/python-xklavier
> http://xlibs.freedesktop.org/xkbdesc/doc/


Thanks.

> I'll digg more into ubiquity code as well - maybe it'll be faster
> solution.


Possibly. I thought you mentioned the Ubiquity code was not
appropriate because it hard-coded a list of layouts. The
gdm-simple-greeter / GNOME3 layout chooser code does not, IIRC, but
this was mentioned already.

Good luck!

Bye,
--
intrigeri <intrigeri@???>
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
| Did you exchange a walk on part in the war
| for a lead role in the cage?