Visualizzazione dei risultati da 1 a 8 su 8
  1. #1
    Utente di HTML.it L'avatar di hu-t
    Registrato dal
    Jan 2002
    Messaggi
    100

    [slack 10] messaggi avvio console

    ciao a tutti,
    una piccola curiosità che vorrei togliermi.
    ogni volta che avvio la konsole mi viene fuori un messaggio, tipo la barzelletta del giorno, sempre diversa es:

    1)Every time I look at you I am more convinced of Darwin's theory.

    2)The horror... the horror

    3)Brian Kernighan has an automobile which he helped design.
    Unlike most automobiles, it has neither speedometer, nor gas guage, nor
    any of the numerous idiot lights which plague the modern driver.
    Rather, if the driver makes any mistake, a giant "?" lights up in the
    center of the dashboard. "The experienced driver", he says, "will
    usually know what's wrong.

    com si fa per evitare che ad ogni avvio di konsole vengano fuori queste frasi?!?!

    un saludos

    hu-t

  2. #2
    parte un'applicazione che si chiama fortune, ma non ho slackware sotto mano e non ricordo quale script la lanci
    Sotto la panza la mazza avanza.

  3. #3
    Utente di HTML.it
    Registrato dal
    Feb 2002
    Messaggi
    1,798
    /etc/profile.d/bsd-games-login-fortune.sh

    Due possibilità: una elimini il file suddetto oppure
    imposti i permessi a 700, sicchè solo con root possono
    essere visualizzati.

    Ciao.
    Slack? Smack!

  4. #4
    Utente di HTML.it L'avatar di hu-t
    Registrato dal
    Jan 2002
    Messaggi
    100
    perfetto grazie!

  5. #5
    Utente di HTML.it L'avatar di chaosd
    Registrato dal
    Mar 2004
    Messaggi
    1,282
    ma io mi loggo solo da root e non li vedo

    cioè una volta li vedevo, poi l'ho reinstallata e non ci sono più... erano così carini
    <Girls are like Internet Domains: the ones you like are already taken, but you can still get one from a strange country!>

    Computers are like conditioned air: they stop work properly when you open windows

    Livin' on: Kubuntu + 2.6.24.2

  6. #6
    Utente di HTML.it
    Registrato dal
    Feb 2002
    Messaggi
    1,798
    Lo tieni sto file ?
    /etc/profile.d/bsd-games-login-fortune.sh
    Ha i permessi di esecuzione?
    Viene richiamato da /etc/profile?

    Ciao
    Slack? Smack!

  7. #7
    Utente di HTML.it L'avatar di chaosd
    Registrato dal
    Mar 2004
    Messaggi
    1,282
    Originariamente inviato da Sergio Pedone
    Lo tieni sto file ?
    /etc/profile.d/bsd-games-login-fortune.sh
    Ha i permessi di esecuzione?
    Viene richiamato da /etc/profile?

    Ciao
    no

    vabbè, sopravviverò :rollo:
    <Girls are like Internet Domains: the ones you like are already taken, but you can still get one from a strange country!>

    Computers are like conditioned air: they stop work properly when you open windows

    Livin' on: Kubuntu + 2.6.24.2

  8. #8
    Utente di HTML.it
    Registrato dal
    Feb 2002
    Messaggi
    1,798
    Il file è questo:
    $ cat /etc/profile.d/bsd-games-login-fortune.sh
    codice:
    #!/bin/sh
    # Print a fortune cookie for interactive shells:
    if [[ $- = *i* ]]; then
      echo
      fortune fortunes fortunes2 linuxcookie
      echo
    fi
    E' necessario installare il pacchetto bsd-games-2.13-i386-6.
    Questa è la versione che ho sulla slackware current, tu
    scegli la versione più adatta per il tuo sistema.

    Ciao.
    Slack? Smack!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.