Is it possible to output unread count to the terminal?
-
hundone
Is it possible to output unread count to the terminal?
Is it possible to output unread count to the terminal? As of know I have to switch workspace to check if I have new mail. It would be nice if I could output the unread count to the terminal and then let Conky show the unread count.
-
squarefractal
Re: Is it possible to output unread count to the terminal?
No, that I don't think is really possible, unless there's (or you write) an extension.
You could also install one of these "minimize to notification tray" extensions like MintrayR and have an icon that's always in the notification tray, regardless of which desktop you're in.
You could also install one of these "minimize to notification tray" extensions like MintrayR and have an icon that's always in the notification tray, regardless of which desktop you're in.
-
hundone
Re: Is it possible to output unread count to the terminal?
I dont have a tray.
And I'm not that good at coding either.
-
squarefractal
Re: Is it possible to output unread count to the terminal?
Depending on your desktop environment, you can add a notification area in one of the "panels" (or whatever they call it). Unless its Gnome 3, in which case refer to these links:
https://superuser.com/questions/749908/ ... a-in-gnome
https://forums.opensuse.org/showthread. ... ation-area
https://superuser.com/questions/749908/ ... a-in-gnome
https://forums.opensuse.org/showthread. ... ation-area
-
hundone
Re: Is it possible to output unread count to the terminal?
I'm using the i3 wm and it was by choise I dont use a tray.
Thanks anyway!
-
New Tobin Paradigm
Re: Is it possible to output unread count to the terminal?
You MAY be able to create an extension that will shove it into the terminal. Though normally mozilla programs started from the terminal output error log stuff.. I THINK.
-
hundone
Re: Is it possible to output unread count to the terminal?
I'm not interested in running Fossamail via the terminal. I was hoping there was some command I haven't found yet that could output the total amount of unread mails. The same way it works with Newsbeuter: "newsbeuter -x print-unread".Matt A Tobin wrote:You MAY be able to create an extension that will shove it into the terminal. Though normally mozilla programs started from the terminal output error log stuff.. I THINK.
-
New Tobin Paradigm
Re: Is it possible to output unread count to the terminal?
Oh.. No there is not. Sorry. FossaMail like most Mozilla-based applications is designed purely as a GUI application.
-
hundone
Re: Is it possible to output unread count to the terminal?
Most apps usually support some simple instructions via the terminal, even the GUI ones. 
-
squarefractal
Re: Is it possible to output unread count to the terminal?
Unlike Fossamail, Newsbeuter is a CLI application 
I've never used Fossamail, but its likely that the application is storing this data somewhere. This has been reported not to work. Maybe you can spend some time inspecting where it's stored (e.g. by checking all the sqlite3 dbs)?
I've never used Fossamail, but its likely that the application is storing this data somewhere. This has been reported not to work. Maybe you can spend some time inspecting where it's stored (e.g. by checking all the sqlite3 dbs)?
-
hundone
Re: Is it possible to output unread count to the terminal?
Newsbeuter was just a example. Rhythmbox could output information to the terminal, you could even control it via the terminal. And that's a GUI application. 
-
Moonchild
- Project founder

- Posts: 39080
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: Is it possible to output unread count to the terminal?
FossaMail is not written solely for Linux, and as such "logging misc things to the terminal on-demand" is not part of its code. Linux-native GUI applications might have such features on occasion, mixing CLI and GUI, but for FossaMail that has never been a design goal, is not intended to be run one-shot to garner information and output it on the command-line.
You would indeed be better off using a separate program to check for and output unread post counts on mail servers if you don't like to use a tray notification.
You would indeed be better off using a separate program to check for and output unread post counts on mail servers if you don't like to use a tray notification.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
hundone
Re: Is it possible to output unread count to the terminal?
External program. Why didn't I think of that? Duh.. Thanks!