Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-28-2008, 12:46 PM
|
#1
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Rep:
|
List all alternatives for linux for gmail notifier ?
|
|
|
10-29-2008, 06:58 AM
|
#2
|
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732
Rep:
|
I just do "apt-cache search gmail" and read through the mess of packages returned.
|
|
|
10-29-2008, 12:29 PM
|
#3
|
Senior Member
Registered: Apr 2005
Location: Heaven
Distribution: Debian Sid/RPIOS
Posts: 4,916
|
Google Toolbar, WEbmail extension for Firefox. If you use Opera set it up to check your gmail.
|
|
|
10-29-2008, 01:33 PM
|
#4
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Original Poster
Rep:
|
Quote:
Originally Posted by craigevil
Google Toolbar, WEbmail extension for Firefox. If you use Opera set it up to check your gmail.
|
I heard that there is bunch of scripts that were made for gmail notification. ...
..no ?
|
|
|
10-29-2008, 01:47 PM
|
#5
|
Senior Member
Registered: Apr 2005
Location: Heaven
Distribution: Debian Sid/RPIOS
Posts: 4,916
|
cgmail - A new shiny mail checker for the Gnome desktop
checkgmail - Alternative Gmail Notifier for Linux via Atom feeds
gmail-notify - A Gmail Notifier
kcheckgmail - A Gmail notifier-like notifier for KDE
mail-notification - mail notification in system tray
python-libgmail - Python bindings to access Gmail accounts
xfce4-mailwatch-plugin - mail watcher plugin for the Xfce4 panel
xlassie - Dockable mail notifier w/ message count & POP3/APOP/IMAP support
wmbiff - A dockable app that displays information about mailboxes
wmmail - A mail notification program designed for WindowMaker
kbiff - KDE mail notification utility
gnubiff - A mail notification program for GNOME (and others)
https://addons.mozilla.org/en-US/fir...earch/?q=Gmail
|
|
|
10-29-2008, 05:36 PM
|
#6
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Original Poster
Rep:
|
Code:
#!/usr/bin/perl
#
############################################################################
#
# Name: gmailpop.pl
# Author: Pete Prodoehl
# Author-Email: pete@rasterweb.net
#
# $Id: gmailpop.pl,v 1.2 2005/01/16 20:50:11 pete Exp pete $
#
############################################################################
#
# http://gmail.google.com/support/bin/answer.py?answer=13287
# Incoming Mail (POP3) Server requires SSL
#
# In gmail, go into 'Mail Settings' and then 'Forwarding and POP'
# and under 'POP Download' set this setting:
# '2. When messages are accessed with POP'
# to 'archive Gmails's copy' that way after the scripts grabs the mail
# it'll be archived and it won't grab it next time...
#
############################################################################
############################################################################
# required modules
use Mail::POP3Client;
use IO::Socket::SSL;
# fill in your details here
$username = 'your_account@gmail.com'; # edit this
$password = 'secret_password'; # edit this
$mailhost = 'pop.gmail.com';
$port = '995';
$pop = new Mail::POP3Client( USER => $username,
PASSWORD => $password,
HOST => $mailhost,
PORT => $port,
USESSL => 'true',
DEBUG => 0,
);
# if no msgs just exit
if (($pop->Count()) < 1) {
print "No messages...\n";
exit;
}
# if msgs, tell how many
print $pop->Count() . " messages found!\n";
# loop over msgs
for($i = 1; $i <= $pop->Count(); $i++) {
print $pop->Head($i) . "\n";
print $pop->Body($i) . "\n";
print "\n";
}
# close connection
$pop->Close();
exit;
__END__
=head1 NAME
gmailpop.pl
=head1 DESCRIPTION
This script checks a gmail account using POP/SSL
=head1 AUTHOR
Pete Prodoehl E<lt>pete@rasterweb.netE<gt>
=head1 LICENSE
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation.
=cut
http://www.mobileread.com/forums/showthread.php?t=2214
Last edited by frenchn00b; 10-29-2008 at 05:38 PM.
|
|
|
12-28-2008, 07:49 AM
|
#7
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Original Poster
Rep:
|
http://ubuntuforums.org/showthread.php?t=812656
Code:
#!/bin/bash
gmail_login="xxxxxx"
gmail_password="xxxxx"
mails="$(wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O - \
https://${gmail_login}:${gmail_password}@mail.google.com/mail/feed/atom \
--no-check-certificate | grep 'fullcount' \
| sed -e 's/.*<fullcount>//;s/<\/fullcount>.*//' 2>/dev/null)"
if [ "$mails" -gt "0" ];
then
for ((i = 0; i < 10; i++)) do
echo 1 > /proc/acpi/asus/mled;
sleep 0.8;
echo 0 > /proc/acpi/asus/mled;
sleep 0.5;
done
fi
exit
|
|
|
12-28-2008, 01:47 PM
|
#8
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561
Original Poster
Rep:
|
I made a new package:
gmailbashchecker
http://yellowprotoss.ye.funpic.org/debian/website/
___________________________________________________________
GMAILBASHCHECKER
___________________________________________________________
downloads at :
stable: http://yellowprotoss.ye.funpic.org/d...ker-0.1.tar.gz
development: http://yellowprotoss.ye.funpic.org/d...ker-0.2.tar.gz
last version: http://yellowprotoss.ye.funpic.org/d...ool/contrib/g/
___________________________________________________________
Features:
- Bash checking of the gmail accounts
- Use the gpg encryption Cool no? so that your email password isnt in clear anymore 
- Check the processes, and let only one gmailbashchecker running
- Plays KDE sounds if an email has been received
- A file in /tmp/ is created as log and permits other users to see that email is received (this is very important for my box because I run mythtv and this pc is shared. Also the other users can use the crontab -e )
___________________________________________________________
A bug, is that when checking the emails.
Last edited by frenchn00b; 12-29-2008 at 03:04 PM.
|
|
|
12-29-2008, 02:58 PM
|
#9
|
Member
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; Slackware; Ubuntu; Slax
Posts: 172
Rep:
|
Use the Pidgin instant messenger ( http://pidgin.im) to configure your google talk account and logon as invisible if you wish; enable email notifications.
|
|
|
All times are GMT -5. The time now is 04:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|