LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-28-2008, 12:46 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
List all alternatives for linux for gmail notifier ?


this is already 5:
http://helpforlinux.blogspot.com/200...for-linux.html
 
Old 10-29-2008, 06:58 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
I just do "apt-cache search gmail" and read through the mess of packages returned.
 
Old 10-29-2008, 12:29 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: Heaven
Distribution: Debian Sid/RPIOS
Posts: 4,916
Blog Entries: 29

Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
Google Toolbar, WEbmail extension for Firefox. If you use Opera set it up to check your gmail.
 
Old 10-29-2008, 01:33 PM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by craigevil View Post
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 ?
 
Old 10-29-2008, 01:47 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: Heaven
Distribution: Debian Sid/RPIOS
Posts: 4,916
Blog Entries: 29

Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
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
 
Old 10-29-2008, 05:36 PM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
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.
 
Old 12-28-2008, 07:49 AM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
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
 
Old 12-28-2008, 01:47 PM   #8
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
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.
 
Old 12-29-2008, 02:58 PM   #9
geek745
Member
 
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
Use the Pidgin instant messenger (http://pidgin.im) to configure your google talk account and logon as invisible if you wish; enable email notifications.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Gmail notifier on Linux alsharifhoussam Linux - Newbie 6 03-25-2008 12:27 PM
Install Gmail notifier on Linux alsharifhoussam Linux - Newbie 8 03-25-2008 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration