[solved]Mint-fortunes on konsole gone

Forum rules
Before you post please read how to get help

[solved]Mint-fortunes on konsole gone

Postby lahirdenganselamat on Wed Oct 10, 2012 8:39 am

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 lahirdenganselamat on Wed Oct 10, 2012 11:38 pm, edited 1 time in total.
ASUS 1215B AMD E-350 with Linux Mint 15 KDE, Precise Puppy, and Saluki
User avatar
lahirdenganselamat
Level 4
Level 4
 
Posts: 437
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Linux Mint is funded by ads and donations.
 

Re: Mint-fortunes on konsole gone

Postby sagirfahmid3 on Wed Oct 10, 2012 1:36 pm

Try my way, works flawlessly on Debian, Ubuntu, and Mint.
viewtopic.php?f=42&t=107877
User avatar
sagirfahmid3
Level 6
Level 6
 
Posts: 1054
Joined: Sun Sep 04, 2011 12:39 pm

Re: Mint-fortunes on konsole gone

Postby lahirdenganselamat on Wed Oct 10, 2012 11:38 pm

ah,, great.. thanks sagirfahmid3 :D It explained a lot :D
ASUS 1215B AMD E-350 with Linux Mint 15 KDE, Precise Puppy, and Saluki
User avatar
lahirdenganselamat
Level 4
Level 4
 
Posts: 437
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Re: [solved]Mint-fortunes on konsole gone

Postby sagirfahmid3 on Thu Oct 11, 2012 1:18 am

Okie no problem! Spread the word lol, Ubuntu and Mint and even Debian doesn't come with these enabled unfortunately...
User avatar
sagirfahmid3
Level 6
Level 6
 
Posts: 1054
Joined: Sun Sep 04, 2011 12:39 pm


Return to KDE

Who is online

Users browsing this forum: No registered users and 5 guests