<html>
<head>
<meta content="text/html; charset=Big5" http-equiv="Content-Type">
</head>
<body compose="false" bgcolor="#FFFFFF" text="#000000">
On 24/11/2011 00:43, Marc-André Laverdière wrote:
<blockquote
cite="mid:CAE=gX-hooX6NW5d2rvpiKjFEXXTUWZ=5sjGJrqdSJj-tkc_RJg@mail.gmail.com"
type="cite">Quick question...<br>
<br>
Is GDM the default/standard graphical login in linux distros? If
so, I think that this could be good:<br>
<a moz-do-not-send="true"
href="http://library.gnome.org/admin/gdm/stable/configuration.html.en">http://library.gnome.org/admin/gdm/stable/configuration.html.en</a><br>
<br clear="all">
Marc-André LAVERDIÈRE<br>
"Perseverance must finish its work so that you may be mature and
complete, <br>
not lacking anything." -James 1:4<br>
<a moz-do-not-send="true"
href="http://asimplediscipleslife.blogspot.com/">http://asimplediscipleslife.blogspot.com/</a><br>
<a moz-do-not-send="true" href="http://mlaverd.theunixplace.com">mlaverd.theunixplace.com</a><br>
<br>
<br>
<br>
</blockquote>
Morning Marc-Andre<br>
<br>
GDM is the standard for gnome. Kde has its own called KDM. <br>
<br>
<blockquote
cite="mid:CAE=gX-hooX6NW5d2rvpiKjFEXXTUWZ=5sjGJrqdSJj-tkc_RJg@mail.gmail.com"
type="cite"><br>
<div class="gmail_quote">2011/11/23 Marc-André Laverdière <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:marcandre.laverdiere@gmail.com">marcandre.laverdiere@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
I played with the utmp stuff, and it records the shells only,
not the interactive sessions...<br>
<br>
Any method other than the ps trick? (which may break of
process names changes...)
<div class="im HOEnZb"><br>
<br clear="all">
Marc-André LAVERDIÈRE<br>
"Perseverance must finish its work so that you may be mature
and complete, <br>
not lacking anything." -James 1:4<br>
<a moz-do-not-send="true"
href="http://asimplediscipleslife.blogspot.com/"
target="_blank">http://asimplediscipleslife.blogspot.com/</a><br>
<a moz-do-not-send="true"
href="http://mlaverd.theunixplace.com" target="_blank">mlaverd.theunixplace.com</a><br>
<br>
<br>
<br>
<br>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_quote">2011/11/23 Marc-André Laverdière
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:marcandre.laverdiere@gmail.com"
target="_blank">marcandre.laverdiere@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Working on that... it looks simple, but the code isn't
giving me what I expected...<br>
/me grumbles looking at unknown APIs...
<div><br>
<br clear="all">
Marc-André LAVERDIÈRE<br>
"Perseverance must finish its work so that you may
be mature and complete, <br>
not lacking anything." -James 1:4<br>
<a moz-do-not-send="true"
href="http://asimplediscipleslife.blogspot.com/"
target="_blank">http://asimplediscipleslife.blogspot.com/</a><br>
<a moz-do-not-send="true"
href="http://mlaverd.theunixplace.com"
target="_blank">mlaverd.theunixplace.com</a><br>
<br>
<br>
<br>
<br>
</div>
<div>
<div>
<div class="gmail_quote">On Mon, Nov 21, 2011 at
7:15 AM, Lionel Elie Mamane <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:lionel@mamane.lu"
target="_blank">lionel@mamane.lu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>On Mon, Nov 21, 2011 at 11:50:52AM +0000,
Michael Meeks wrote:<br>
> On Sat, 2011-11-19 at 16:15 -0500,
Marc-André Laverdière wrote:<br>
<br>
>> I am convincing some powers-that-be
that having a build farm would<br>
>> be good, and they are starting to
listen. This would really help me<br>
>> write patches for LO, as my poor
computer is having impossibly long<br>
>> compile cycles.<br>
<br>
</div>
<div>>> There is a bunch of somewhat old
Linux workstations that could<br>
>> contribute to it. The concern is
mostly that it should be so that the<br>
>> systems should not accept jobs when
users are logged in, as it may<br>
>> interfere with whatever work it is
that they are doing.<br>
<br>
</div>
Maybe more interesting than "nobody logged on"
would be "system load<br>
very low", e.g. "load <= 0.1*(number of
cores)", possibly combined<br>
with "free memory + memory used for cache
>= threshold".<br>
<div><br>
> I'm sure they'd accept a patch to
add a config option to use some<br>
> system heuristic before accepting a
job. Of course, reliably detecting a<br>
> login session is prolly quite fun in
itself ;-) ps ax | grep<br>
> gnome-session | kdeinit or something ?<br>
<br>
</div>
Nah:<br>
<br>
#include <utmpx.h><br>
<br>
struct utmpx *getutxent(void);<br>
struct utmpx *getutxid(const struct
utmpx *);<br>
struct utmpx *getutxline(const struct
utmpx *);<br>
struct utmpx *pututxline(const struct
utmpx *);<br>
void setutxent(void);<br>
void endutxent(void);<br>
<br>
is the POSIX/SUS interface to do that. Or just
run "/usr/bin/who -q"<br>
:)<br>
<span><font color="#888888"><br>
--<br>
Lionel<br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LibreOffice mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/libreoffice">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a>
</pre>
</blockquote>
<br>
<br>
<div id="WISESTAMP_SIG_357">
<div style="font-size: 13.3px; font-family: Verdana, Arial,
Helvetica, sans-serif;">
<div style="margin: 0 0 8px 0">
<p ws="true" style="margin:0; ">Regards</p>
<p ws="true" style="margin:0; ">Jonathan Aquilina</p>
</div>
<div xmlns="http://www.w3.org/1999/xhtml" style="width: auto;
padding-top: 2px; font-size: 70%; border-top: 1px solid
#eeeeee; margin-top: 10px;"> <a style="color: #6F6F6F;
text-decoration: none;"
href="http://r1.wisestamp.com/r/landing?promo=17&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17">
<span style="color: #6F6F6F;">Get a signature like this.</span>
</a> <span style="color: #3f48cc;"><a style="color: #3f48cc;"
href="http://r1.wisestamp.com/r/landing?promo=17&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17">CLICK
HERE.</a></span> <img
src="cid:part1.07000507.09020603@gmail.com" border="0"
height="1" width="1"> </div>
<img src="cid:part2.02030502.04040906@gmail.com" height="1"
width="1"></div>
</div>
</body>
</html>