[solved]Mint-fortunes on konsole gone

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
lahirdenganselamat
Level 4
Level 4
Posts: 420
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

[solved]Mint-fortunes on konsole gone

Post by lahirdenganselamat »

Err.. I accidently make an upgrade on bash preferences and then I lost mint-fortune at konsole startup..

I follow the post here and it works, but not as good as it was before..
I add this code to /etc/bash.bashrc

Code: Select all

 dir='/usr/share/cowsay/cows/'
	 file=`/bin/ls -1 "$dir" | sort --random-sort | head -1`
	 cow=$(echo "$file" | sed -e "s/\.cow//")
	 /usr/games/fortune -a | cowsay -f $cow
Will it be back if I load the default bash.bash.rc file? (btw, i dont have the default file, it will be great if anyone can share)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sagirfahmid3

Re: Mint-fortunes on konsole gone

Post by sagirfahmid3 »

Try my way, works flawlessly on Debian, Ubuntu, and Mint.
http://forums.linuxmint.com/viewtopic.php?f=42&t=107877
User avatar
lahirdenganselamat
Level 4
Level 4
Posts: 420
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Re: Mint-fortunes on konsole gone

Post by lahirdenganselamat »

ah,, great.. thanks sagirfahmid3 :D It explained a lot :D
sagirfahmid3

Re: [solved]Mint-fortunes on konsole gone

Post by sagirfahmid3 »

Okie no problem! Spread the word lol, Ubuntu and Mint and even Debian doesn't come with these enabled unfortunately...
Locked

Return to “Software & Applications”