Where oh where are my Mint Fortunes?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Where oh where are my Mint Fortunes?
Hey everybody,
Somehow or another I deleted my mint fortunes that show up in the terminal.... Yeah I have no idea either. Anyways I was wondering if someone could tell me where I can get them and how to put them back into place
Thanks!
Somehow or another I deleted my mint fortunes that show up in the terminal.... Yeah I have no idea either. Anyways I was wondering if someone could tell me where I can get them and how to put them back into place
Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Where oh where are my Mint Fortunes?
clgy 15,
Menu>System>Administration>Synaptic Package Manager
In Synaptic Package Manager search for "fortunes" - all the available fortune packs are in there,select which one(s) you wish to install,click "mark for installation" then click "Apply"
That should solve the problem.
Menu>System>Administration>Synaptic Package Manager
In Synaptic Package Manager search for "fortunes" - all the available fortune packs are in there,select which one(s) you wish to install,click "mark for installation" then click "Apply"
That should solve the problem.
Re: Where oh where are my Mint Fortunes?
Nope that didnt do it.... Hmmm Okay so I can use the fortune messages again but they dont come in the animal shapes that they used to. So im thinking that when the terminal says no mint-fortune is found im thinking that mint has a program that takes a fortune and adds the animal to it. In that case I need the animals back. Im pretty sure its a program so... is it possible to get it back??
Re: Where oh where are my Mint Fortunes?
clgy 15,
I'm not entirely sure but it looks like you've lost "cowsay" as well.
Follow the same procedure as you did for "fortune" but search "cowsay" instead,and install in the same way.
Hopefully that will fix it.
I'm not entirely sure but it looks like you've lost "cowsay" as well.
Follow the same procedure as you did for "fortune" but search "cowsay" instead,and install in the same way.
Hopefully that will fix it.
Re: Where oh where are my Mint Fortunes?
Nope that didnt help either
Okay this is what the terminal gives me when I start it...
bash: /usr/bin/mint-fortune: No such file or directory
Hmmmm... Do you think clem knows of a solution??
Okay this is what the terminal gives me when I start it...
bash: /usr/bin/mint-fortune: No such file or directory
Hmmmm... Do you think clem knows of a solution??
Re: Where oh where are my Mint Fortunes?
clgy 15,
Something is definitely awry there.
Unfortunately I'm right out of ideas about how to fix it.
I'd suggest waiting a day or so to see if anyone else can help.
If you still don't have an answer bump the thread and I'll try to get someone to sort it out for you.
oscar799
Forum Moderator
Something is definitely awry there.
Unfortunately I'm right out of ideas about how to fix it.
I'd suggest waiting a day or so to see if anyone else can help.
If you still don't have an answer bump the thread and I'll try to get someone to sort it out for you.
oscar799
Forum Moderator
Re: Where oh where are my Mint Fortunes?
Try this. Open /usr/bin as root and add this (this is my /usr/bin/mint-fortune file)
To add the file, first right click in the /usr/bin folder and select "Create Document=>Empty File". Then open the new file with gedit, add the code I gave you, save the changed file, close the new file ,rename it mint-fortune, right click on the file, click "Properties" , open the "Permissions" tab and make sure The "Execute" bit is checked.
Close all files and try opening the terminal to see if all this worked.
If it doesn't work, "run in circles, scream and shout", then post back here and we will see if something else will work.
Code: Select all
#!/bin/bash
RANGE=4
number=$RANDOM
let "number %= $RANGE"
case $number in
0)
cow="small"
;;
1)
cow="tux"
;;
2)
cow="koala"
;;
3)
cow="moose"
;;
esac
RANGE=2
number=$RANDOM
let "number %= $RANGE"
case $number in
0)
command="/usr/games/cowsay"
;;
1)
command="/usr/games/cowthink"
;;
esac
/usr/games/fortune | $command -f $cow
Close all files and try opening the terminal to see if all this worked.
If it doesn't work, "run in circles, scream and shout", then post back here and we will see if something else will work.
Re: Where oh where are my Mint Fortunes?
mint-fortune is provided by the mint-system package. If you've lost it, a simple reinstall should be sufficient:
Code: Select all
apt reinstall mintsystem
Re: Where oh where are my Mint Fortunes?
clgy 15,
Try emorrp1's fix first. It should work and is much simpler than the one I proposed.
emorrp1,
Thanks for the assist. I'll remember the mint-system tie in if this ever comes up again.
Try emorrp1's fix first. It should work and is much simpler than the one I proposed.
emorrp1,
Thanks for the assist. I'll remember the mint-system tie in if this ever comes up again.