Re: MOTD in g-s-d



On Thu, 2007-11-15 at 20:05 +0100, Jens Granseuer wrote:
> On 15.11.2007 19:43, Rodrigo Moya wrote:
> > On Thu, 2007-11-15 at 19:10 +0100, Jens Granseuer wrote:
> > > Haven't looked at the patch, but I think the comments on the bug
> > > are spot on: Why would you want to put a once-at-login activity
> > > into a long-running daemon? I don't see much of a difference between
> > > gnome-session and g-s-d in that respect.
> > >
> > > We have an autostart mechanism, and it should be trivial to do
> > > with zenity, for example.
> > >
> > right, but if the MOTD changes, that zenity-based thing wouldn't show
> > the changes, so you need a long-running daemon to do that. And instead
> > of having yet another process, we can use g-s-d.
> > 
> > As I said, it just does not show only the message at login time, it does
> > it whenever the /etc/motd file changes, which is very useful for users
> > in multi-user systems.
> 
> Ok, if you actually want to continually monitor the file, that makes a bit
> more sense. On the other hand, that might also make it more suitable for
> gnome-session again, since it's not really a setting.
> 
the new gnome-session, AFAIK, does not hard-code anything (as the
current one does), it just autostarts applications, so I think it won't
be easily accepted there for the time being. That's why, since the
feature is useful for a lot of multi-user systems users, I thought it
would make sense to have it somewhere, and g-s-d, until it can go to
gnome-session, is the best place I can think of. Also, we have lots of
things in g-s-d that are not settings, like starting the screensaver,
for instance, or the clipboard manager, etc.

So, hence my suggestion to have it in g-s-d, if at a later time we feel
like moving it to gnome-session is the best thing, we can do it.

> > And a good thing that could be added to this g-s-d module is the ability
> > to show messages from the console (like 'system is shutting down in 5
> > mins'), which wouldn't be possible with a simple zenity-based
> > autostarted script
> 
> In that case, you should really think about renaming it to something other
> than MotD...
> 
yes, what name do you suggest?
-- 
Rodrigo Moya <rodrigo gnome-db org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]