Trigger notification from Terminal on Chrome OS

179 Views Asked by At

I was wondering if there's a way to trigger notification from Terminal or bash script on Chrome OS. Similar tools are already available on most other desktop operating systems.

1

There are 1 best solutions below

0
On BEST ANSWER

hterm supports the OSC-777 sequence (from rxvt-unicode) for generating notifications: https://chromium.googlesource.com/apps/libapps/+/HEAD/hterm/doc/ControlSequences.md#OSC

An example script that you can use: https://chromium.googlesource.com/apps/libapps/+/HEAD/hterm/etc/hterm-notify.sh