Ticket #148 (new enhancement)

Opened 4 years ago

Last modified 4 years ago

Popup notification for output while hidden

Reported by: phip Owned by: somebody
Priority: Fix available Milestone: 0.5.0
Component: guake Version: 0.4
Keywords: hidden output notification Cc: makism@…

Description

It would be useful if Guake could display a notification when a terminal posts new output and Guake is hidden. The notification would list the name of the tab and optionally the output line.

Attachments

guake_with_notification_on_trayicon.py.patch Download (4.1 KB) - added by makism 4 years ago.
Updated, implement "ignore output" option
guake.glade.patch Download (0.8 KB) - added by makism 4 years ago.
Add the "ignore option" on the tab menu

Change History

Changed 4 years ago by makism

  • cc makism@… added

Hello, i really like the idea. If by output, you mean "any changes made to the terminal, even resetting the terminal", i think i can provide a patch for such functionality. Moreover, i think that the multiple and/or continuous popups would be irritating, so maybe there could an option that instead of poping up notification, it would just blink the tray icon (if exists on traybar). Also, i searched if its possible to access the scrollback buffer but i didnt find anything useful.

Changed 4 years ago by makism

After compiling a patch, i found out that this feature can be _really_ irritating. So, i was thinking that, maybe there would an option what would "watch" a specific terminal for changes, or "ignore" a specific terminal. The latter seems more reasonable. Any thoughts?

(i`ll post the experimental patch after i clean it up a bit...)

Changed 4 years ago by phip

I think having the Guake traybar icon turn from green to red when there is unviewed output would be unobtrusive.

Changed 4 years ago by makism

Oh well, here is the experimental patch. Every terminal is watched for changes and every 5 seconds the guake-terminal tray icon blinks for 30 seconds or until the guake-terminal is shown.

Ill search a bit more to see if i can use gobjects io_add_watch to watch only -if possible- for output.

1. MUST have tray icon enabled - a later patch will fix this. 2. the intervals are hardcoded - a later patch will fix this too.

apply against 0.4.0

Changed 4 years ago by makism

  • version set to 0.4

Updated patch (plus some minor changes to file guake.glade) The notes from the previous version still apply.

Added an "ignore output" option, on the tab menu (the one which popups when right clicking over a tab).

Its somewhat ugly, this "ignore output" feature (but handy) because i couldnt find a better way to associate the tabs with the terminals. Please comment on this

There are some things that can be improved.

Changed 4 years ago by makism

Updated, implement "ignore output" option

Changed 4 years ago by makism

Add the "ignore option" on the tab menu

Changed 4 years ago by pingou

  • priority changed from major to Fix available
Note: See TracTickets for help on using tickets.