Enabling 'Fortunes' on openSUSE Tumbleweed
Hi, I would like to enable fortunes on openSUSE TW. There is a file and I do not have it in my head right now that has a few lines commented out by default in TW. I am not sure about LEAP being the same. Can you tell me what the file is? Is there a good document about fortunes in Tumbleweed also? -Best Regards
On 10-09-2024 10:16PM, -pj via openSUSE Users wrote:
Hi, I would like to enable fortunes on openSUSE TW. There is a file and I do not have it in my head right now that has a few lines commented out by default in TW. I am not sure about LEAP being the same. Can you tell me what the file is? Is there a good document about fortunes in Tumbleweed also?
-Best Regards I have gotten further (cowsay works with chameleon now). Fortunes are working also. openSUSE is missing snowman.cow and some other cows it appears
Is there a fortune package that gives tips and hints about .rpm and openSUSE?
On 2024-10-10 05:16, -pj via openSUSE Users wrote:
Hi, I would like to enable fortunes on openSUSE TW. There is a file and I do not have it in my head right now that has a few lines commented out by default in TW. I am not sure about LEAP being the same. Can you tell me what the file is? Is there a good document about fortunes in Tumbleweed also?
In Leap there is a "man fortune" and "man strfile", and of course, a package that just works. Time ago, I compiled a set of fortunes in Spanish. I should have notes somewhere about what I did, but I can't see them. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Is the "fortune" package not available to you? On Thu, Oct 10, 2024, 8:51 AM Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2024-10-10 05:16, -pj via openSUSE Users wrote:
Hi, I would like to enable fortunes on openSUSE TW. There is a file and I do not have it in my head right now that has a few lines commented out by default in TW. I am not sure about LEAP being the same. Can you tell me what the file is? Is there a good document about fortunes in Tumbleweed also?
In Leap there is a "man fortune" and "man strfile", and of course, a package that just works.
Time ago, I compiled a set of fortunes in Spanish. I should have notes somewhere about what I did, but I can't see them.
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)
It is installable for me from the main repositories on both Leap and Tumbleweed. On Thu, Oct 10, 2024 at 1:32 PM Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2024-10-10 20:14, Sam Exner wrote:
Is the "fortune" package not available to you?
To me, yes, using Leap. The OP is on TW.
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 10/10/24 3:05 PM, Sam Exner wrote:
It is installable for me from the main repositories on both Leap and Tumbleweed.
As far back as 7.0 Pro, fortune was installed by default. I used to have to dig to turn it off. Not sure the issue pj is having, but fortune has been part of the distribution for at least two decades -- probably longer. -- David C. Rankin, J.D.,P.E.
On 10-10-2024 04:45PM, David C. Rankin wrote:
On 10/10/24 3:05 PM, Sam Exner wrote:
It is installable for me from the main repositories on both Leap and Tumbleweed.
As far back as 7.0 Pro, fortune was installed by default. I used to have to dig to turn it off. Not sure the issue pj is having, but fortune has been part of the distribution for at least two decades -- probably longer.
With Debian there is a cowsay addon package with debian hints. So if terminal opens on Debian hints are displayed, (in the think or say bubble). It was nice to read the hints and info. Fortunes are now working here. N Need to download or copy over snowman.cow for openSUSE as it is missing in /usr/share/cowsay/cows forune | cowsay -f snowman -W 45 was not working for that reason.
On 2024-10-10 23:45, David C. Rankin wrote:
On 10/10/24 3:05 PM, Sam Exner wrote:
It is installable for me from the main repositories on both Leap and Tumbleweed.
As far back as 7.0 Pro, fortune was installed by default. I used to have to dig to turn it off. Not sure the issue pj is having, but fortune has been part of the distribution for at least two decades -- probably longer.
It has been available since I installed SuSE the first time in 1998, version 5.3 :-) But it is not enabled by default, the lines that activate it on login are commented out in ~/.profile I have no idea what the cow thing he mentions is. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 10-10-2024 08:15PM, Carlos E. R. wrote:
On 2024-10-10 23:45, David C. Rankin wrote:
On 10/10/24 3:05 PM, Sam Exner wrote:
It is installable for me from the main repositories on both Leap and Tumbleweed.
As far back as 7.0 Pro, fortune was installed by default. I used to have to dig to turn it off. Not sure the issue pj is having, but fortune has been part of the distribution for at least two decades -- probably longer.
It has been available since I installed SuSE the first time in 1998, version 5.3 :-)
But it is not enabled by default, the lines that activate it on login are commented out in ~/.profile
So no fortunes package is even needed to be installed in order for it to work? Left the lines commented out on this machine here > cat ~/.profile # Sample .profile for SUSE Linux # rewritten by Christian Steinruecken <cstein@suse.de> # # This file is read each time a login shell is started. # All other interactive shells will only read .bashrc; this is particularly # important for language settings, see below. test -z "$PROFILEREAD" && . /etc/profile || true # Some applications read the EDITOR variable to determine your favourite text # editor. So uncomment the line below and enter the editor of your choice :-) #export EDITOR=/usr/bin/vim #export EDITOR=/usr/bin/mcedit # For some news readers it makes sense to specify the NEWSSERVER variable here #export NEWSSERVER=your.news.server # Some people don't like fortune. If you uncomment the following lines, # you will have a fortune each time you log in ;-) #if [ -x /usr/bin/fortune ] ; then # echo # /usr/bin/fortune # echo #fi A fortune still appears on each new tab opened in konsole for instance:> ______________________________________________ / Wow, I'm being shot at from both sides. That \ | means I *must* be right. :-) | | | | -- Larry Wall in | \ <199710211959.MAA18990@wall.org> / ---------------------------------------------- \ \ \ _..~~~~~‾‾‾‾‾‾‾~~~~~._ |‾--.____ _.~‾ ‾~.. ‾‾--._ _.~‾ --- ‾. .~ / \ \ / \ / ) / _ --- ) / ________ ‾-_ __) / / ¯_ ‾-___--‾‾ / / / _-------_ ¯. ~~~~~~~~ /‾~~__ _~¯ | / / _____ \ \ / \ | ‾‾~~~~~~‾ | | | | _ \ \ \ / \ | \ | \ V | | | \ | \ \ \ \ \___/ | / \| \| \ \______/ / \_________/
I have no idea what the cow thing he mentions is.
A "cow" can be any ascii image as shown above. Above is an example of chameleon.cow located in usr/share/cowsay/cows Can this be shrunk down a bit?
On 2024-10-11 03:50, -pj via openSUSE Users wrote:
On 10-10-2024 08:15PM, Carlos E. R. wrote:
On 2024-10-10 23:45, David C. Rankin wrote:
On 10/10/24 3:05 PM, Sam Exner wrote:
It is installable for me from the main repositories on both Leap and Tumbleweed.
As far back as 7.0 Pro, fortune was installed by default. I used to have to dig to turn it off. Not sure the issue pj is having, but fortune has been part of the distribution for at least two decades -- probably longer.
It has been available since I installed SuSE the first time in 1998, version 5.3 :-)
But it is not enabled by default, the lines that activate it on login are commented out in ~/.profile
So no fortunes package is even needed to be installed in order for it to work?
I don't know if the package is still installed by default or not. Normally you only need to make sure that it is installed, then remove the comments in ~/.profile to activate it.
A fortune still appears on each new tab opened in konsole for instance:>
Never happened to me. You must have done something.
I have no idea what the cow thing he mentions is.
A "cow" can be any ascii image as shown above. Above is an example of chameleon.cow located in usr/share/cowsay/cows
Can this be shrunk down a bit?
If you are an ascii artist, maybe. Otherwise, no. :-) -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On Thu, Oct 10, -pj via openSUSE Users wrote:
# Some people don't like fortune. If you uncomment the following lines, # you will have a fortune each time you log in ;-)
#if [ -x /usr/bin/fortune ] ; then # echo # /usr/bin/fortune # echo #fi
Back in the days of 6.0 (when I started using SuSE), it had (like the manual) some lovely bits of German/English. That comment said something like # Some people do not have humour. Only uncomment these lines if you have humour. :-) Michael -- Michael Fischer michael@visv.net
On 10-10-2024 01:14PM, Sam Exner wrote:
Is the "fortune" package not available to you?
On Tumbleweed the fortune package installed here: i+ | fortune | package | 2.10.0-2.2 | x86_64 | repo-oss
On Thu, Oct 10, 2024, 8:51 AM Carlos E. R. <robin.listas@telefonica.net <mailto:robin.listas@telefonica.net>> wrote:
On 2024-10-10 05:16, -pj via openSUSE Users wrote: > Hi, I would like to enable fortunes on openSUSE TW. There is a file and > I do not have it in my head right now that has a few lines commented out > by default in TW. I am not sure about LEAP being the same. Can you tell > me what the file is? Is there a good document about fortunes in > Tumbleweed also?
In Leap there is a "man fortune" and "man strfile", and of course, a package that just works.
Time ago, I compiled a set of fortunes in Spanish. I should have notes somewhere about what I did, but I can't see them.
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)
-pj via openSUSE Users wrote:
On 10-10-2024 01:14PM, Sam Exner wrote:
Is the "fortune" package not available to you?
On Tumbleweed the fortune package installed here: i+ | fortune | package | 2.10.0-2.2 | x86_64 | repo-oss
As is cowsay: | cowsay | package | 3.7.0-1.11 | noarch | openSUSE-Tumbleweed-Oss | xcowsay | package | 1.6-1.9 | x86_64 | openSUSE-Tumbleweed-Oss
participants (7)
-
-pj
-
Carlos E. R.
-
David C. Rankin
-
Michael Fischer
-
Pit Suetterlin
-
Sam Exner
-
Werner Flamme