SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yes, always do when it is slackware, it had to be showing up before .. don't much pay attention.
I change slack to gui login level 4 so I no longer see it before startx .. I changed my pref in my term to run command as longin shell and now I am getting that command not found fortune. it is not on the system. so it has me second guessing slack install.
it had to be in there before hand else I'd of seen that error when I was using startx
now I got a figure out how to get it back, prob source code ./configure make make install I suppose.
If you mean where is that path set, it is in /etc/profile.
both?
well slack has to be using some file to call the fortune from bash or whatever as I cannot find a /etc/bash file
and I got to find what file I added /opt to to change my PATH so I can fix it.
ok I fixed the PATH in /etc/profile
but the fortune has to be getting called when ever a terminal is opened .. and it is not in any file on the user side of things. so some file on the system side is calling fortune to run whenever a terminal and longin is happening.
I just need to find out where (what file) that is.
I wasn't there so I don't know where you changed things...
I think /etc/profile.d/bsd-games-login-fortune.sh is where the fortune is added to login shells.
pk I will go look in that.
I got /bin/fortune off a website so that is where I looked until I did a whereis then see that it is actually install so I just soft linked it then that stopped the error in BASH terminal,
I got /bin/fortune off a website so that is where I looked until I did a whereis then see that it is actually install so I just soft linked it then that stopped the error in BASH terminal,
All of which would have been important relevant information to include in the original post! Please try to provide the whole picture when asking for help to keep us from guessing.
Anyway, glad it is now working, even though I still do not know what changes you have made, or why.
All of which would have been important relevant information to include in the original post! Please try to provide the whole picture when asking for help to keep us from guessing.
Anyway, glad it is now working, even though I still do not know what changes you have made, or why.
the only way to find out is delete that soft link and see if it was my mistake when I modded the path adding /opt
so might as well so the world can sleep in peace brb
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.