View previous topic :: View next topic |
Author |
Message |
sirprize n00b


Joined: 23 Mar 2004 Posts: 15 Location: Ulm, Germany
|
Posted: Tue Apr 06, 2004 12:11 pm Post subject: Showing a MOTD with KDE |
|
|
Hi, I'm looking for a way to display administrative messages (Message of the Day) every time a user logs into KDE (currently 3.2.1).
It would be good if the program read the MOTD from /etc/motd, so I don't have to change it twice (for local KDE and for SSH/console logins).
A search in google showed me gtkmotd, which looks good - but I would prefer a KDE program. I also found a program called kmotd, but the site (http://www.guruz.de/kmotd.html) is dead, and on the main site, kmotd is absolutely not mentioned any more...
Any suggestions?
Thanks in advance
Michael |
|
Back to top |
|
 |
shm Advocate


Joined: 09 Dec 2002 Posts: 2380 Location: Atlanta, Universe
|
Posted: Tue Apr 06, 2004 12:20 pm Post subject: |
|
|
kdialog --msgbox `cat /etc/motd` |
|
Back to top |
|
 |
sirprize n00b


Joined: 23 Mar 2004 Posts: 15 Location: Ulm, Germany
|
Posted: Tue Apr 06, 2004 4:57 pm Post subject: |
|
|
Thanks very much, that almost worked.
It cut the motd off at the first whitespace, because it saw that as multiple arguments.
It works perfectly with
Code: |
kdialog --msgbox "`cat /etc/motd`"
|
Thanks for the help.
Michael |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|