eure /etc/motd
eure /etc/motd
hallo,
ich habe mir greade überlegt was ich in meine /etc/motd eintragen soll. hat von euch jemand eine guten vorschlag?
was habt ihr drinnen stehen?
ich habe mir greade überlegt was ich in meine /etc/motd eintragen soll. hat von euch jemand eine guten vorschlag?
was habt ihr drinnen stehen?
cu L@w
---
LINUX - because booting is for adding hardware!
---
LINUX - because booting is for adding hardware!
- feltel
- Webmaster
- Beiträge: 10477
- Registriert: 20.12.2001 13:08:23
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Leipzig, Germany
-
Kontaktdaten:
fortunes und ein fortunes-nach-/etc/motd-Script?
debianforum.de unterstützen? Hier! | debianforum.de Verhaltensregeln | Bitte keine Supportanfragen per PM
- godsmacker
- Beiträge: 902
- Registriert: 16.03.2003 21:50:26
- Lizenz eigener Beiträge: Artistic Lizenz
- Wohnort: Chemnitz
-
Kontaktdaten:
CaT hat geschrieben:ich hab mal auf nem pc der unter fbsd am laufen war
ne motd gesehen, die jedesmal beim login nen anderen tipp für das system gab. das ist noch praktisch. k.A. wo der das her hat.
# apt-cache show fortunes-debian-hints
Package: fortunes-debian-hints
Priority: optional
Section: games
Installed-Size: 64
Maintainer: Joel Baker <fenton@debian.org>
Architecture: all
Version: 1.4
Provides: fortune-cookie-db
Recommends: fortune-mod (>= 9708-31)
Filename: pool/main/f/fortunes-debian-hints/fortunes-debian-hints_1.4_all.deb
Size: 4698
MD5sum: ee58b74f70c9aef431ac7019c27234de
Description: Debian Hints for fortune
This package provides a set of hints and tips on using Debian, in a
fortune database format. New Debian users (or administrators) may find its
advice particularly sage or helpful, and even veteren Debianites might
find some new tidbits.
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant
..bleibt die frage offen, ob sich soetwas auch mit kdm realisieren lässt, also vor dem kde start.
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant
Es gibt den Dialog mit Hinweisen bei KDE (KTip), dessen Daten könnte man jedesmal dynamisch erzeugen, allerdings wäre das dann nach dem KDM-Login.
Das einfach in die Datei startkde einfügen 
Code: Alles auswählen
#!/bin/sh
header="<tip category=\"General\"><html><p>"
footer="</p><br><center><img src=\"crystalsvg/48x48/actions/gear.png\"></center></html></tip>"
tip=`fortune`
dir=$KDEHOME/share/apps/kdewizard
mkdir -p $dir
echo $header$tip$footer > $dir/tips

jo, das ist klar, allerding möchte ich soetwas, wenn überhaupt, im loginfenster des kdm haben.
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant