[lug] Graphical clickable motd

Michael Hirsch mdhirsch at gmail.com
Sun Apr 3 20:21:40 MDT 2005


On Apr 2, 2005 5:06 PM, Hugh Brown <hugh at math.byu.edu> wrote:
> On Fri, 2005-04-01 at 23:02 -0500, Michael Hirsch wrote:
> > On Apr 1, 2005 4:44 PM, Hugh Brown <hugh at math.byu.edu> wrote:
> > > I've get a system set up that is using the NoMachine software (kind of
> > > cool actually), and need to set up a motd for gnome and kde to tell people
> > > not to do compute intensive stuff on the terminal server.  I'd like the
> > > motd/notice to be a little gui window with an OK button that pops up
> > > everytime gnome/kde is started.
> > >
> > > A quick and dirty would be to modify the splash screen, but it wouldn't
> > > force the users to acknowledge it.  Does anyone have any ideas about how
> > > to tie in to the gnome/kde session start up process?
> >
> > Once you figure out where to run the script, you can easily put up
> > popup windows with xmessage.  For more complex stuff it looks like
> > Xdialog will work.  I know there is a KDE specific variation, but I
> > can't recall the name.  I'd be surprised if there weren't a GNOME
> > version, too.
> >
> > For a single user you can just put it in ~/.kde/Autostart, but they
> > can always delete it.  I'm not sure how you add it to all startups.
> >
> > Michael
> 
> I need something they can't delete.  I think xmessage was the quick
> thing I was looking for.  Unfortunately, when the users are logging in,
> they aren't using {x,g,k}dm.  The NoMachine client calls gnome-session
> or startkde directly.  Some research seems to indicate that I can tie in
> to the splash screen start up for both Gnome and KDE
> (/usr/share/gnome/default-session for GNOME and dropping a .desktop file
> in /usr/share/autostart/ for KDE).

In that case use xmessage in the .desktop for for KDE and the file for
GNOME.  Not need to do anything fancier.

Michael



More information about the LUG mailing list