On Tue, Feb 2, 2010 at 11:39 PM, Andrew Sands <[email protected]> wrote:
> Anyone have any thoughts on how I might implement a GUI message-of-the-day.

Write a small pop-up application that uses zenity to display an info box ...

zenity --info  --text="$(cat /etc/motd)"

Call it from each user's Startup Applications (for a Gnome system), or
perhaps in .xinitrc if you have a bare-bones setup.

For Ubuntu at least, /etc/gdm/Xsession seems to be worth looking at,
it seems to run everything in /etc/X11/Xsession.d -- that would make a
system-wide setting easy ... so dump your zenity-invoking script in
there with a number prefix like 85 or something, and your motd text
will pop up before the user desktop loads.

-jim

Reply via email to