Ubuntu notify-send

poruka: 1
|
čitano: 587
|
moderatori: pirat, Lazarus Long, XXX-Man, vincimus
1
+/- sve poruke
ravni prikaz
starije poruke gore
15 godina
protjeran
offline
Ubuntu notify-send

Ako vas zanima kako dobiti onaj notify koji se pojavljuje u gornjem desnom kutu ekrana (u Ubuntu-u) evo načina.

 

Morate instalirati libnotify-bin: sudo aptitude install libnotify-bin

 

I to je to. Naredba za pokretanje je : notify-send.

 

help file:

 

 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.
  -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.

void function(char *str) {char buffer[16];strcpy(buffer,str); } void main() {char large_string[256];int i; for( i = 0; i &amp;lt; 255; i++) large_string[i] = 'A';function(large_string)
Moj PC  
2 0 hvala 1
1
Nova poruka
E-mail:
Lozinka:
 
vrh stranice