Opened 3 years ago
Closed 3 years ago
#17447 closed bug (invalid)
problems with notify (BNotification)
Reported by: | thaflo | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Servers/notification_server | Version: | R1/beta3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86-64 |
Description
notify --help puts out some options to add to a notification But following does not work here:
notify "Click me to open the Clock App" --OnClickApp "application/x-vnd.Haiku-Clock"
or
notify "Click this to open a file" --OnClickFile "/boot/home/Desktop/test.txt"
Change History (3)
comment:2 by , 3 years ago
You need to change the command so that the options come before the message and start with a lowercase letter(onClickApp/onClickFile).
notify --onClickApp "application/x-vnd.Haiku-Clock" "Click me to open the Clock App"
or
notify --onClickFile "/boot/home/Desktop/test.txt" "Click this to open a file"
comment:3 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Maybe the parameter compares should be case insensitive to at least avoid needlessly erroring on such typos?
Note:
See TracTickets
for help on using tickets.
It can only start an app from its mime type (as shown in the example), not open arbitrary files.