torios-dev team mailing list archive
-
torios-dev team
-
Mailing list archive
-
Message #01614
Re: About Me Application
-
To:
torios-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Paul Sutton <zleap@xxxxxxxxxxx>
-
Date:
Sat, 9 Feb 2019 19:21:41 +0000
-
Autocrypt:
addr=zleap@xxxxxxxxxxx; keydata= mQINBFhySwUBEACwN0bpRaDa+/+K3cmt7uXqhM6iDrazubnTZG3lmsee/oEot1QtQ0ue22T3 eiE+77qjlH8h6THDdgQWa2gmAGRGoc1cdmdc+H0ycseEeUP3/tcGQj1kXeElclMQX3w/v4aM mPlAFo7vMhizxliR5uTfJjiZcmqgWEiNBE+vUpp+vlvMVbQHLTh9+1uil0W9gStcLP2N/gSC AxsvJu/X50F9nWlMYNmvJamJQ7OOqhy8nhkCzPM9r5ORkVETPfaqLFk675aklGaIzm38HMs/ gESbs4+96NJWTmM0UaW2Qal4FsVlbAKivzlNpZmGozvtb8xHBbskk29AcDUCo2vdYDKVddUc 2EZ8wQ88hNzj+0vNQlJc5adlNusGNqNOHF536w+Zj6dx1Xa5X+6gW56Eds3NXhJVBlxhvdXu U0/q21/FnrekvnfzUdXW4gCiAA3DRAammboC9hffa4KvXa78hIY4mZDEF/lxIK0QUtevESUx HYtD+0iHeYRfc/ReA0FIUXbalAK9tEW8kD+vGaeSrsJy7zOaiN8bGwcHGUFGAZgqrZlgWUIu G3gecPUVDRRcNroaew4lAxxkNqfvhFBAM+RnveMvE7GbSrtiQzAm46yZBJptaLO63lhtxSkE TPlN/SU8pMpWAdUmVQH35tX0w7jAfi4O5C/ECR4fWYmlB5XwtwARAQABtB9QYXVsIFN1dHRv biA8emxlYXBAZGlzcm9vdC5vcmc+iQJUBBMBCAA+FiEEfW22gvNRjQgYkx4W8IZVN9BmMC0F Alw4lLoCGyMFCQlmAYAFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQ8IZVN9BmMC1dAQ/8 DVPQ/BAINYg55yDk//aalNlbgMZszpIbV37ItSdrjiX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signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
On 09/02/2019 13:52, Israel wrote:
> On 2/8/19 1:10 PM, Paul Sutton wrote:
> >
>> Hi, All
>>
>> Not sure if this is useful, but as the About Me App in Debian 9, appears
>> to be buggy (or it is on my system(s) anyway. I have started to write a
>> python version.
>>
>> I am a little stuck on how to save the data in a file.
>>
>> I am also not sure if the original program is meant to change the user
>> shell. However as an application having it just save that data to a
>> file is probably sufficient for the moment.
>>
>> https://github.com/zleap/AboutMe
>>
>> If this is useful for ToriOS then I am happy for it to be included (once
>> working). I have issued a release but tagged it as pre-release.
>>
>> I have added a README.md file for this to give further information. And
>> some context as to why I decided to try and write this.
>>
>> Hope this helps
>>
>>
>> Paul
>>
> > >
>
> Hey Paul
>
> I do think this save actual information, think about the manual adding
> of a user from the terminal (adduser rather than useradd)
>
> It asks for full name, room number, work phone, home phone, and other.
>
> I think the information is actually stored in the password file, so
> you might need to include some sort of pkexec functionality in your
> program to reflect this. However it might store it differently. I do
> also know that usually a picture of the user is stored as ~/.face
>
> If you need help with the pkexec policy file let me know, it is an XML
> file so it is pretty easy to make
>
Thanks for that, It had not really occurred to me that it was linked to
the info you put in when adding a user with adduser. (given the fields
it makes sense now)
Anyway as my version has gone off at a tangent as a result (collects
more data e,g e-mail) it can now write to a data file. Not sure if it
is still useful generally for uses to store their info though.
To do:
1. Fix - writing what is selected in the drop down.
2. Auto retrieve data upon loading. (so the drop down default should be
what ever was selected before)
I think as it stores locally it is fine
Does ToriOS need a tool like this? or do we have one already ?
I am getting there.
Regards
Paul
Follow ups
References