2

Here is my problem : I'm trying to make skype more interactive with my gnome desktop environment. So I want to use Perl to do that. Is there a way, using libnotify, to display a textbox (a field I can fill or type in) ?

Depado
  • 4,811
  • 3
  • 41
  • 63
  • I don't think it is possible to display textbox in the notification. The only option libnotify provides other than displaying notifications is to add custom action buttons. If you need to pop-up a text box take a look at `gxmessage` or you can create your own custom notification like widget using a GUI toolkit – RanRag Sep 29 '12 at 08:01
  • https://extensions.gnome.org/extension/214/pidgin-conversation-integration/ Well I think it's definitely possible. I'll have a look at their code. =) – Depado Sep 29 '12 at 09:36
  • 1
    Yes, it seems it is possible but not using `libnotify` which you mentioned. The link you gave is using `Message Tray` module of gnome-shell [which is different](https://mail.gnome.org/archives/gnome-love/2011-December/msg00013.html) from libnotify. – RanRag Sep 29 '12 at 10:45

1 Answers1

3

Gnome provides zenity to create dialogs from scripts:

zenity --entry --text "foo" --entry-text "bar"

KDE provides kdialog. Older Gnome provided gdialog. There is also xdialog.

ninjalj
  • 42,493
  • 9
  • 106
  • 148
  • Okay that was not what I meant. I don't want a big popup on my screen, juste add a textbox in my gnome3 notification ^^ I did not mentionned that I was using gnome 3, so it's my fault, sorry ^^ – Depado Sep 29 '12 at 09:38