LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-23-2021, 05:00 AM   #1
zapwai
LQ Newbie
 
Registered: Mar 2011
Location: New England
Distribution: Slackware
Posts: 19
Blog Entries: 6

Rep: Reputation: 11
Wink sl-fortune (Slack Fortune)


Hello Slackers,

I made a thing that some of you might enjoy.
https://www.zapwai.net/sl-fortune/

It's a shell script that uses notify-send to send you a fortune after you log into the desktop. (It was a feature in crunchbang statler/waldorf that I've been missing.)
 
Old 04-24-2021, 12:54 AM   #2
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Nice one Although from the title I thought it was going to be a fortune collection of quotes from Slackers on LQ
 
1 members found this post helpful.
Old 04-24-2021, 02:33 AM   #3
kris108
Member
 
Registered: Sep 2009
Location: Budapest, Hungary
Distribution: Slackware
Posts: 34

Rep: Reputation: 2
I love it! Thank you!
 
Old 04-24-2021, 04:40 AM   #4
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
One thing I like about starting with runlevel 3. I may give this a shot on my laptop that I sometimes set to runlevel 4.
 
Old 04-26-2021, 11:59 PM   #5
DaBrze
LQ Newbie
 
Registered: Mar 2018
Location: Lodz, PL
Distribution: Slackware
Posts: 16

Rep: Reputation: Disabled
Simple and nice. Thanks.

By the way. There is a little missprint in the SlackBuild file.

Quote:
--- sl-fortune.SlackBuild.orig 2021-04-23 11:10:20.000000000 +0200
+++ sl-fortune.SlackBuild 2021-04-27 06:51:46.526000000 +0200
@@ -42,7 +42,7 @@
chown -R root:root $PRGNAM
mv $PRGNAM/* $PKG && rmdir $PRGNAM

-cat $CWD/$PRGNAM.Slackbuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
 
Old 04-28-2021, 12:54 PM   #6
zapwai
LQ Newbie
 
Registered: Mar 2011
Location: New England
Distribution: Slackware
Posts: 19

Original Poster
Blog Entries: 6

Rep: Reputation: 11
Quote:
There is a little missprint in the SlackBuild file.
Figures.
Fixed, thank you!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortune only gives first message for non-slack-supplied files andy713 Slackware 3 10-12-2009 09:43 PM
enable back fortune cookies in slack 9.1 little_ball Slackware 2 04-02-2004 04:57 AM
fortune command not working caldosh Linux - Newbie 14 03-08-2003 02:38 PM
Just got gfortune 1.0.0. How to display fortune at login? nutshell Linux - Software 1 07-08-2002 05:31 AM
Setting up Fortune-mod jester_69 Linux - General 2 07-01-2002 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration