A delightful macOS utility that displays random Amharic proverbs from a collection of 1,440+ traditional Ethiopian sayings. Perfect for staying connected to Ethiopian culture while you work.
π₯οΈ Terminal Display - Beautiful colored proverb output
π macOS Notifications - Pop-up notifications with Ethiopian proverbs
π Lock Screen Messages - See wisdom when you lock your Mac
β° Automatic Updates - New proverb every 15 minutes (customizable)
π― 1,440+ Proverbs - Rich collection of traditional Ethiopian sayings
βοΈ Highly Configurable - Sound, frequency, and display options
# Display a random proverb
$ selamta
α¨αα«ααα αα α αααα΅αα’- macOS 10.15 (Catalina) or later
- Admin/sudo access
- Clone the repository
git clone https://github.com/HenokB/selamta.git
cd selamta- Run the installer
sudo ./install.sh- Done! The proverb daemon is now running. π
/usr/local/bin/selamta- Main script/usr/local/share/selamta/amharic_cleaned.csv- Proverb database/Library/LaunchDaemons/com.ethiopia.selamta.plist- Auto-run configuration
# Display a random proverb
selamta
# Show help and all options
selamta --help
# Terminal-only mode (no notifications)
selamta -t
# Enable sound notification
selamta -s
# Disable lock screen message
selamta --no-lockTo receive notification pop-ups:
-
Run the script once to trigger macOS permission prompt:
selamta
-
Allow notifications when prompted
-
Or manually enable in System Settings:
- Open System Settings (or System Preferences)
- Go to Notifications
- Find "Terminal" or "Script Editor" in the list
- Enable "Allow Notifications"
On Linux, the script falls back to
notify-send. Make surelibnotifyis installed and desktop notifications are enabled for your session.
To display proverbs on your lock screen:
-
Grant Full Disk Access (macOS Catalina+):
- Open System Preferences β Security & Privacy β Privacy
- Select Full Disk Access from the sidebar
- Click the π lock and authenticate
- Click + and add
/usr/local/bin/selamta
-
Test it: Lock your screen (
β + ^ + Q) -
See the proverb displayed above the login field! β¨
Edit the daemon configuration:
sudo nano /Library/LaunchDaemons/com.ethiopia.selamta.plistChange the interval (in seconds):
<key>StartInterval</key>
<integer>900</integer> <!-- 900 = 15 minutes -->Reload the daemon:
sudo launchctl unload /Library/LaunchDaemons/com.ethiopia.selamta.plist
sudo launchctl load /Library/LaunchDaemons/com.ethiopia.selamta.plistEdit environment variables in the plist file:
<key>ENABLE_NOTIFICATION</key>
<string>1</string> <!-- 1 = on, 0 = off -->
<key>ENABLE_LOCK_SCREEN</key>
<string>1</string> <!-- 1 = on, 0 = off -->
<key>ENABLE_SOUND</key>
<string>0</string> <!-- 1 = on, 0 = off --># See proverb output (daemon logs)
tail -f /var/log/selamta_output.log
# See any errors (daemon logs)
tail -f /var/log/selamta_error.log
# View activity log (user logs)
tail -f ~/Library/Logs/selamta.log# Check if running
sudo launchctl list | grep selamta
# Should show: com.ethiopia.selamtasudo defaults read /Library/Preferences/com.apple.loginwindow LoginwindowTextcd /path/to/selamta
sudo ./uninstall.shThis will remove all installed files, stop the daemon, and clear the lock screen message.
Lock screen message not showing?
- Ensure Full Disk Access is granted (see Lock Screen Setup above)
- Try running manually:
sudo selamta - Check error log:
tail -f /var/log/selamta_error.log - Restart your Mac if needed
Notifications not appearing?
Check notification permissions:
- Go to System Settings β Notifications
- Look for "Terminal", "Script Editor", or "osascript"
- Enable "Allow Notifications" for each
Test manually:
# This should show a notification
osascript -e 'display notification "Test notification" with title "Testing"'
# Linux fallback
notify-send "Testing" "Test notification"If daemon notifications don't work:
- Wait for the next scheduled run (every 15 min)
- Check
/var/log/selamta_error.logfor errors - Make sure the daemon is running:
sudo launchctl list | grep selamta
Still not working?
- Run:
selamtaand approve any permission prompts - Restart your Mac to refresh notification permissions
Daemon not running?
# Check if loaded
sudo launchctl list | grep selamta
# Reload daemon
sudo launchctl unload /Library/LaunchDaemons/com.ethiopia.selamta.plist
sudo launchctl load /Library/LaunchDaemons/com.ethiopia.selamta.plist
# Check logs
tail -f /var/log/selamta_error.logGetting "CSV file not found" error?
Make sure the installation completed successfully:
ls -la /usr/local/share/selamta/amharic_cleaned.csvIf missing, reinstall:
sudo ./install.shselamta/
βββ selamta # Main script
βββ amharic_cleaned.csv # Database of 1,440+ proverbs
βββ com.ethiopia.selamta.plist # LaunchDaemon configuration
βββ install.sh # Installation script
βββ uninstall.sh # Uninstallation script
βββ README.md # This file
βββ LICENSE # MIT License
The amharic_cleaned.csv file contains one proverb per line in UTF-8 format:
α₯α
α α«α αα ααα΅ α«αα΅α α’
α¨α°αα αα α¬ αα³α₯ ααα ααα¨α£αα’
...
To add your own proverbs, simply add new lines to this file!
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to dyacob for providing additional proverb data, sourced from GeezOrg.
- Some dataset entries are also from ProverbEval.
- Shout-out to nebiyuelias1 for highlighting the
notify-sendfallback for Arch/Linux.