Results 1 to 5 of 5

Thread: notify-send

  1. #1
    Join Date
    Dec 2007
    Location
    green bay, wi
    Beans
    2,189
    Distro
    Lubuntu 14.04 Trusty Tahr

    Lightbulb notify-send

    what is the -t option when using notify-send to have the script not expire
    i want the notification not to close

    notify-send -t (?)

    tks

  2. #2
    Join Date
    Dec 2007
    Location
    green bay, wi
    Beans
    2,189
    Distro
    Lubuntu 14.04 Trusty Tahr

    Lightbulb Re: notify-send

    that option is not noted in the --man pages. i already checked

  3. #3
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    8,355
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: notify-send

    You could set a large value:

    tgalati4@Mint14-Extensa ~ $ notify-send -?
    Usage:
    notify-send [OPTION...] <SUMMARY> [BODY] - create a notification

    Help Options:
    -?, --help Show help options

    Application Options:
    -u, --urgency=LEVEL Specifies the urgency level (low, normal, critical).
    -t, --expire-time=TIME Specifies the timeout in milliseconds at which to expire the notification.
    -a, --app-name=APP_NAME Specifies the app name for the icon
    -i, --icon=ICON[,ICON...] Specifies an icon filename or stock icon to display.
    -c, --category=TYPE[,TYPE...] Specifies the notification category.
    -h, --hint=TYPE:NAME:VALUE Specifies basic extra data to pass. Valid types are int, double, string and byte.
    -v, --version Version of the package.

    Experiment and let us know what large values work.

    Perhaps describe your Use Case in more detail. There is probably a better way to do this.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  4. #4
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: notify-send

    According to the Freedesktop.org Desktop Notifications Specification -t 0 (zero) should do the trick. But it depends on the notification daemon you are using.

  5. #5
    Join Date
    Dec 2007
    Location
    green bay, wi
    Beans
    2,189
    Distro
    Lubuntu 14.04 Trusty Tahr

    Lightbulb Re: notify-send

    sisco tks that did the trick. didnt think of that. i had tried -1 as i did in my default grub to keep my boot menu from timing out.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •