murkl / d2launcher

Diablo II • Median XL • Mod Launcher for Linux
https://github.com/murkl/d2launcher/releases/latest
32 stars 8 forks source link

PopOS `notify-send` not found #3

Closed adveres closed 3 years ago

adveres commented 3 years ago

First of all THANK YOU for this. I'm trying to get MedianXL working on Pop!_OS 20.10 x86_64, which is Ubuntu-based but I guess doesn't have notify-send. Would you modify the README to support suggesting this install or otherwise working around the missing binary?

PopOS

cat /etc/os-release               
NAME="Pop!_OS"
VERSION="20.10"
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.10"
HOME_URL="https://pop.system76.com"
....

Err

➜  d2launcher-3.2.4 ./d2launcher 
............
./d2launcher: line 104: notify-send: command not found

Fix

sudo apt-get install ruby-notify
adveres commented 3 years ago
$ apt-cache show ruby-notify
Package: ruby-notify
Architecture: all
Version: 0.5.2-2
...............
Homepage: https://github.com/jugyo/notify
Description-en: Desktop notification command on cross platform
 The "notify" provides a function to notify on cross platform.
 Notify supports the following features:
   - growl
   - notify-send
   - Growl for Windows (`ruby_gntp`)
   - libnotify
   - Mountain Lion Notification Center (`terminal-notifier`)
 .
 In Debian, "notify" command is simple wrapper to execute "notify-send".
Description-md5: d3d6f0b390af48722d60c08eb4477443
Ruby-Versions: all
murkl commented 3 years ago

Thanks for the report. I added this dependency for Pop_OS! in the readme.