[SOLVED] Conky, Gmail, and STDOUT Question
I currently have Conky working with a script to check my gmail (gmail.pl). It works as intended in conky, but it saves all the output from the script to STDOUT. This isn't a problem until I log out of openbox and my screen is filled with these things:
--2008-10-03 09:28:50-- https://<username>:*password*@mail.google.com/mail/feed/atom
Resolving mail.google.com... 209.85.147.83, 209.85.147.19, 209.85.147.18
Connecting to mail.google.com|209.85.147.83|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to mail.google.com|209.85.147.83|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `STDOUT'
[ <=> ] 1,005 --.-K/s in 0s
2008-10-03 09:28:51 (244 MB/s) - `-' saved [1005]
It's not really a problem as much as an annoyance I guess.
What I THINK I would like to do is pipe the output to /dev/null? Or save it to /dev/null? I am just not sure how to do this. I went through the script itself and couldn't figure it out. Any ideas? Here is the script:
#!/usr/bin/perl
use Switch;
use Text::Wrap;
my $what=$ARGV[0];
$user="<username>"; #username for gmail account
$pass="<password>"; #password for gmail account
$file="/tmp/gmail.html"; #temporary file to store gmail
#wrap format for subject
$Text::Wrap::columns=65; #Number of columns to wrap subject at
$initial_tab=""; #Tab for first line of subject
$subsequent_tab="\t"; #tab for wrapped lines
$quote="\""; #put quotes around subject
#limit the number of emails to be displayed
$emails=4; #if -1 display all emails
&passwd; #give password the proper url character encoding
switch($what){ #determine what the user wants
case "n" {&gmail; print "$new\n";} #print number of new emails
case "s" { #print $from and $subj for new email
&gmail;
if ($new>0){
my $size=@from;
if ($emails!=-1 && $size>$emails){$size=$emails;} #limit number of emails displayed
for(my $i=0; $i<$size; ++$i){
print "From: $from[$i]\n"; #print from line
$text=$quote.$subj[$i].$quote."\n";
print wrap($initial_tab, $subsequent_tab, $text); #print subject with word wrap
$size=@from;
if ($emails!=-1 && $size >$emails){print "$emails out of $size new emails displayed\n";}
case "e" { #print number of new emails, $from, and $subj
&gmail;
if($new==0){print "You have no new emails.\n";}
else{
print "You have $new new email(s).\n";
my $size=@from;
if ($emails!=-1 && $size>$emails){$size=$emails;} #limit number of emails displayed
for(my $i=0; $i<$size; ++$i){
print "From: $from[$i]\n"; #print from line
$text=$quote.$subj[$i].$quote;
print wrap($initial_tab, $subsequent_tab, $text); #print subject with word wrap
$size=@from;
if ($emails!=-1 && $size >$emails){print "$emails out of $size new emails displayed\n";}
else {
print "Usage Error: gmail.pl <option>\n";
print "\tn displays number of new emails\n";
print "\ts displays from line and subject line for each new email.\n";
print "\te displays the number of new emails and from line plus \n";
print "\t\tsubject line for each new email.\n";
} #didn't give proper option
sub gmail{
if(!(-e $file)){ #create file if it does not exists
`touch $file`;
#get new emails
`wget -O - https://$user:$pass\@mail.google.com/mail/feed/atom --no-check-certificate> $file`;
open(IN, $file); #open $file
my $i=0; #initialize count
$new=0; #initialize new emails to 0
my $flag=0;
while(<IN>){ #cycle through $file
if(/<entry>/){$flag=1;}
elsif(/<fullcount>(\d+)<\/fullcount>/){$new=$1;} #grab number of new emails
elsif($flag==1){
if(/<title>.+<\/title>/){push(@subj, &msg);} #grab new email titles
elsif(/<name>(.+)<\/name>/){push(@from, $1); $flag=0;} #grab new email from lines
close(IN); #close $file
sub passwd{ #change to url escape codes in password
#URL ESCAPE CODES
$_=$pass;
s/\%/\%25/g;
s/\#/\%23/g;
s/\$/\%24/g;
s/\&/\%26/g;
s/\//\%2F/g;
s/\:/\%3A/g;
s/\;/\%3B/g;
s/\</\%3C/g;
s/\=/\%3D/g;
s/\>/\%3E/g;
s/\?/\%3F/g;
s/\@/\%40/g;
s/\[/\%5B/g;
s/\\/\%5C/g;
s/\]/\%5D/g;
s/\^/\%5E/g;
s/\`/\%60/g;
s/\{/\%7B/g;
s/\|/\%7C/g;
s/\}/\%7D/g;
s/\~/\%7E/g;
$pass=$_;
sub msg{
#THE HTML CODED CHARACTER SET [ISO-8859-1]
chomp; s/<title>(.+)<\/title>/$1/; #get just the subject
#now replace any special characters
s/\&\#33\;/!/g; #Exclamation mark
s/\&\#34\;/"/g; s/\"\;/"/g; #Quotation mark
s/\&\#35\;/#/g; #Number sign
s/\&\#36\;/\$/g; #Dollar sign
s/\&\#37\;/%/g; #Percent sign
s/\&\#38\;/&/g; s/\&\;/&/g; #Ampersand
s/\&\#39\;/'/g; #Apostrophe
s/\&\#40\;/(/g; #Left parenthesis
s/\&\#41\;/)/g; #Right parenthesis
s/\&\#42\;/*/g; #Asterisk
s/\&\#43\;/+/g; #Plus sign
s/\&\#44\;/,/g; #Comma
s/\&\#45\;/-/g; #Hyphen
s/\&\#46\;/./g; #Period (fullstop)
s/\&\#47\;/\//g; #Solidus (slash)
s/\&\#58\;/:/g; #Colon
s/\&\#59\;/\;/g; #Semi-colon
s/\&\#60\;/</g; s/\<\;/</g; #Less than
s/\&\#61\;/=/g; #Equals sign
s/\&\#62\;/>/g; s/\>\;/>/g; #Greater than
s/\&\#63\;/\?/g; #Question mark
s/\&\#64\;/\@/g; #Commercial at
s/\&\#91\;/\[/g; #Left square bracket
s/\&\#92\;/\\/g; #Reverse solidus (backslash)
s/\&\#93\;/\]/g; #Right square bracket
s/\&\#94\;/\^/g; #Caret
s/\&\#95\;/_/g; #Horizontal bar (underscore)
s/\&\#96\;/\`/g; #Acute accent
s/\&\#123\;/\{/g; #Left curly brace
s/\&\#124\;/|/g; #Vertical bar
s/\&\#125\;/\}/g; #Right curly brace
s/\&\#126\;/~/g; #Tilde
s/\&\#161\;/¡/g; #Inverted exclamation
s/\&\#162\;/¢/g; #Cent sign
s/\&\#163\;/£/g; #Pound sterling
s/\&\#164\;/¤/g; #General currency sign
s/\&\#165\;/¥/g; #Yen sign
s/\&\#166\;/¦/g; #Broken vertical bar
s/\&\#167\;/§/g; #Section sign
s/\&\#168\;/¨/g; #Umlaut (dieresis)
s/\&\#169\;/©/g; s/\©\;/©/g; #Copyright
s/\&\#170\;/ª/g; #Feminine ordinal
s/\&\#171\;/«/g; #Left angle quote, guillemotleft
s/\&\#172\;/¬/g; #Not sign
s/\&\#174\;/®/g; #Registered trademark
s/\&\#175\;/¯/g; #Macron accent
s/\&\#176\;/°/g; #Degree sign
s/\&\#177\;/±/g; #Plus or minus
s/\&\#178\;/²/g; #Superscript two
s/\&\#179\;/³/g; #Superscript three
s/\&\#180\;/´/g; #Acute accent
s/\&\#181\;/µ/g; #Micro sign
s/\&\#182\;/¶/g; #Paragraph sign
s/\&\#183\;/·/g; #Middle dot
s/\&\#184\;/¸/g; #Cedilla
s/\&\#185\;/¹/g; #Superscript one
s/\&\#186\;/º/g; #Masculine ordinal
s/\&\#187\;/»/g; #Right angle quote, guillemotright
s/\&\#188\;/¼/g; s/\¼\;/¼/g; # Fraction one-fourth
s/\&\#189\;/½/g; s/\½\;/½/g; # Fraction one-half
s/\&\#190\;/¾/g; s/\¾\;/¾/g; # Fraction three-fourths
s/\&\#191\;/¿/g; #Inverted question mark
s/\&\#192\;/À/g; #Capital A, grave accent
s/\&\#193\;/Á/g; #Capital A, acute accent
s/\&\#194\;/Â/g; #Capital A, circumflex accent
s/\&\#195\;/Ã/g; #Capital A, tilde
s/\&\#196\;/Ä/g; #Capital A, dieresis or umlaut mark
s/\&\#197\;/Å/g; #Capital A, ring
s/\&\#198\;/Æ/g; #Capital AE dipthong (ligature)
s/\&\#199\;/Ç/g; #Capital C, cedilla
s/\&\#200\;/È/g; #Capital E, grave accent
s/\&\#201\;/É/g; #Capital E, acute accent
s/\&\#202\;/Ê/g; #Capital E, circumflex accent
s/\&\#203\;/Ë/g; #Capital E, dieresis or umlaut mark
s/\&\#204\;/Ì/g; #Capital I, grave accent
s/\&\#205\;/Í/g; #Capital I, acute accent
s/\&\#206\;/Î/g; #Capital I, circumflex accent
s/\&\#207\;/Ï/g; #Capital I, dieresis or umlaut mark
s/\&\#208\;/Ð/g; #Capital Eth, Icelandic
s/\&\#209\;/Ñ/g; #Capital N, tilde
s/\&\#210\;/Ò/g; #Capital O, grave accent
s/\&\#211\;/Ó/g; #Capital O, acute accent
s/\&\#212\;/Ô/g; #Capital O, circumflex accent
s/\&\#213\;/Õ/g; #Capital O, tilde
s/\&\#214\;/Ö/g; #Capital O, dieresis or umlaut mark
s/\&\#215\;/×/g; #Multiply sign
s/\&\#216\;/Ø/g; #Capital O, slash
s/\&\#217\;/Ù/g; #Capital U, grave accent
s/\&\#218\;/Ú/g; #Capital U, acute accent
s/\&\#219\;/Û/g; #Capital U, circumflex accent
s/\&\#220\;/Ü/g; #Capital U, dieresis or umlaut mark
s/\&\#221\;/Ý/g; #Capital Y, acute accent
s/\&\#222\;/Þ/g; #Capital THORN, Icelandic
s/\&\#223\;/ß/g; #Small sharp s, German (sz ligature)
s/\&\#224\;/à/g; #Small a, grave accent
s/\&\#225\;/á/g; #Small a, acute accent
s/\&\#226\;/â/g; #Small a, circumflex accent
s/\&\#227\;/ã/g; #Small a, tilde
s/\&\#228\;/ä/g; #Small a, dieresis or umlaut mark
s/\&\#229\;/å/g; #Small a, ring
s/\&\#230\;/æ/g; #Small ae dipthong (ligature)
s/\&\#231\;/ç/g; #Small c, cedilla
s/\&\#232\;/è/g; #Small e, grave accent
s/\&\#233\;/é/g; #Small e, acute accent
s/\&\#234\;/ê/g; #Small e, circumflex accent
s/\&\#235\;/ë/g; #Small e, dieresis or umlaut mark
s/\&\#236\;/ì/g; #Small i, grave accent
s/\&\#237\;/í/g; #Small i, acute accent
s/\&\#238\;/î/g; #Small i, circumflex accent
s/\&\#239\;/ï/g; #Small i, dieresis or umlaut mark
s/\&\#240\;/ð/g; #Small eth, Icelandic
s/\&\#241\;/ñ/g; #Small n, tilde
s/\&\#242\;/ò/g; #Small o, grave accent
s/\&\#243\;/ó/g; #Small o, acute accent
s/\&\#244\;/ô/g; #Small o, circumflex accent
s/\&\#245\;/õ/g; #Small o, tilde
s/\&\#246\;/ö/g; #Small o, dieresis or umlaut mark
s/\&\#247\;/÷/g; #Division sign
s/\&\#248\;/ø/g; #Small o, slash
s/\&\#249\;/ù/g; #Small u, grave accent
s/\&\#250\;/ú/g; #Small u, acute accent
s/\&\#251\;/û/g; #Small u, circumflex accent
s/\&\#252\;/ü/g; #Small u, dieresis or umlaut mark
s/\&\#253\;/ý/g; #Small y, acute accent
s/\&\#254\;/þ/g; #Small thorn, Icelandic
s/\&\#255\;/ÿ/g; #Small y, dieresis or umlaut mark
s/^\s+//;
return $_;
Last edited by monstermudder78 (2008-10-03 20:34:04)
The fix was to change conky from:
${execi 60 perl ~/scripts/gmail.pl n}
To:
${execi 60 perl ~/scripts/gmail.pl n 2>/dev/null}
(Added 2>/dev/null, sending the error messages to /dev/null.)
Last edited by monstermudder78 (2008-10-03 20:37:19)
Similar Messages
-
[Solved] Conky, Borders and AwesomeWM
Just wondering if it possible to remove the outline border of Conky on AwesomeWM. I got rid of the shadowing around it due to compton by doing the following:
compton --config ~/.compton.conf --shadow-exclude 'n:a:Conky' -b &
But no matter what I did I still get the border around Conky.
Here is compton configuration file.
http://pastebin.com/rwCn3gNn
And here is my conky config file.
http://pastebin.com/Kewtxm1x
Still struggling to get it removed. Here is a screenshot also.
Last edited by z1lt0id (2014-07-20 22:06:02)It's been a really long time since I used conky so this is a bit of a shot in the dark, but you could try:
1. Set own_window_type to either "desktop" or "override" in your .conkyrc
2. Create a rule for conky in awesome's rc.lua that sets the property, border_width = 0 -
[SOLVED]Conky Gmail Script Incorrect
The python gmail script on the arch wik no longer works on python3 or python2 for me. This error is shown in wing:
builtins.ValueError: invalid literal for int() with base 10:
I'm not sure how to fix the incorrect int value, but I would love to see it fixed and posted to the arch wiki again.
#Enter your username and password below within double quotes
# eg. username="username" and password="password"
username="****"
password="****"
com="wget -q -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate"
temp=os.popen(com)
msg=temp.read()
index=msg.find("<fullcount>")
index2=msg.find("</fullcount>")
fc=int(msg[index+11:index2])
if fc==0:
print("0 new")
else:
print(str((fc)+" new"))
Thanks
Last edited by duke11235 (2011-11-21 04:55:28)Your problem may be with wget. Try curl:
com = 'curl -s -u "{}:{}" https://mail.google.com/mail/feed/atom'.format( username, password )
The url you are using is for the Gmail RSS feed, and it contains a ':'. The python urllib.request module that lunar used expects that a port number will follow the ':'. That is why lunar's script is failing for you.
The script I use does not use the RSS feed. It uses the python IMAP library and connects to imap.gmail.com at port 993.
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys, imaplib
port = 993
server = 'imap.gmail.com'
username = '...'
passwd = '...'
imap_server = imaplib.IMAP4_SSL(server, port)
try:
imap_server.login(username, passwd)
except:
print('?? new')
sys.exit( 1 )
typ, data = imap_server.select ('Inbox', True)
if typ == 'OK':
total = int(data[0])
typ, data = imap_server.search (None, 'SEEN')
if typ == 'OK':
seen = len(data[0].split())
print('{}/{} new'.format(total, total - seen))
if typ != 'OK':
print('?? new')
imap_server.logout() -
[SOLVED] offlineimap + gmail and nametrans rule
As OfflineImap supports the creation of folders on the remote repository now I trying to adopt my set-up to reflect that. I got offlineimap + gmail mostly working, only problem I still have is the gmail's All Mail folder - I can't figure out how to translate its name in both directions. Here is my config:
[general]
metadata = ~/.config/offlineimap
accounts = gmail
maxsyncaccounts = 2
ui = ttyui
[Account gmail]
localrepository = gmail_local
remoterepository = gmail_remote
status_backend = sqlite
[Repository gmail_local]
type = Maildir
localfolders = ~/mail/gmail
sep = .
nametrans = lambda folder: re.sub('spam', '[Google Mail].Spam',
re.sub('drafts', '[Google Mail].Drafts',
re.sub('sent', '[Google Mail].Sent Mail',
re.sub('bin', '[Google Mail].Bin',
re.sub('archive', '[Google Mail].All Mail', folder)))))
[Repository gmail_remote]
type = Gmail
ssl = yes
remoteuser =
remotepass =
maxconnections = 5
nametrans = lambda folder: re.sub('.*Spam$', 'spam',
re.sub('.*Drafts$', 'drafts',
re.sub('.*Sent Mail$', 'sent',
re.sub('.*Bin$', 'bin',
re.sub('.*All Mail$', 'archive', folder)))))
Unfortunately, with the above config All Mail doesn't want to sync at all. Any idea how I can fix that?
Last edited by asd01 (2012-06-07 13:06:05)asd01 ...
The documentation and config examples seems to be somewhat askew in regard to reverse-nametrans, though a "warning" is given in the docs, the example config files only provide 'remote' nametrans, with no suggestion that the 'reverse' is required. This may be an oversight, but they have been updated in other regards (such as the need to encoded '%' as '%%').
So, 'warnings' aside, I'm using 6.5.4 (self maintained ebuild, yes Gentoo, not Arch) and I only provide the 'remote' nametrans and have no problem sync'ing both ways.
The relevant sections from my config:
folderfilter = lambda foldername: foldername in ['INBOX', '[Gmail]/Drafts','[Gmail]/Sent']
nametrans = lambda foldername: foldername.replace("[Gmail]/","")
This pulls only 'INBOX, 'Drafts' and 'Sent' folders, and strips off the "[Gmail]" prefix for 'local' folders, again I sync in both directions and have yet to see anything that suggests the local and remote are not in sync.
In your case you might try using 'folderincludes =' for folder creation (on remote), and something similar to the above for the 'standard' folders you want sync'ed, ie '[Gmail].All', but only under the 'remote' section.
My gmail account is just a spam trap and so I'm not really worried if it all goes to hell, on my main mail account I've no need to translate so I can only say it works in regard to Gmail.
It might be worth querying the author in the regard, there are other sections of the documentation (like the CACert creation) which are simply wrong, so, I would say, go with what works ..
HTH in some way ...
best .. khayyam -
Why am I getting a blue box with question mark instead of logo image? It happens in my signature (in gmail) and in mailchimp (again, only with the logo).
The question mark in the box, if it looks like this: means that safari cannot find the linked image. On windows machines, this would be the equivilant of the small "page-with-a-red-X" logo that appears in the same scenario. Check the reference to the image and make sure that the image is in the correct location, and is accessable by the reference.
-
hello ,
one of my friend hacked my icloud account and chage its recovery and secret questions...now cannot change its password ever i have gmail account for the same icloud account..plz help me to reset the password as i m stuck on activation...Contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password. You will need your serial number, which can be found on your device in Settings>General>About.
-
I run firefox on a window7 machine. I uninstalled couponamazing, verizon, and a few other programs. Then I updated flash and google chrome. I never used google chrome before. Upon going into firefox my gmail and facebook pages were not formatted correctly (all b+W with open boxes, no icons). I then uninstalled google chrome. I read some help questions and cleared my cash, removed history, and reset firefox. Still have the same problems with gmail and FB.
Reset Firefox to its default state
If you're having major problems which you can't resolve, start fresh with only your essential information.
Troubleshooting Information
This page contains technical information that might be useful when you're trying to solve a problem. If you are looking for answers to common questions about Firefox, check out our support website.
Application Basics
Name Firefox
Version 33.0
Update History
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Profile Folder
Enabled Plugins about:plugins
Build Configuration about:buildconfig
Memory Use about:memory
Multiprocess Windows 0/1
Crash Reports for the Last 3 Days
Report ID Submitted
All Crash Reports
Extensions
Name Version Enabled ID
avast! Online Security 9.0.2021.112 true [email protected]
HP Smart Web Printing 4.5 false [email protected]
Graphics
Adapter Description Intel(R) HD Graphics Family
Adapter Drivers igdumd64 igd10umd64 igd10umd64 igdumdx32 igd10umd32 igd10umd32
Adapter RAM Unknown
Device ID 0x0126
DirectWrite Enabled false (6.2.9200.16571)
Driver Date 5-23-2011
Driver Version 8.15.10.2405
GPU #2 Active false
GPU Accelerated Windows 0/1 Basic (OMTC)
Vendor ID 0x8086
WebGL Renderer Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote true
AzureCanvasBackend skia
AzureContentBackend cairo
AzureFallbackCanvasBackend cairo
AzureSkiaAccelerated 0
Important Modified Preferences
Name Value accessibility.blockautorefresh true
browser.cache.disk.capacity 358400
browser.cache.disk.smart_size.first_run false
browser.cache.disk.smart_size.use_old_max false
browser.cache.frecency_experiment 4
browser.display.use_system_colors true
browser.places.smartBookmarksVersion 7
browser.sessionstore.upgradeBackup.latestBuildID 20141011015303
browser.startup.homepage https://mail.google.com/mail/u/0/?pc=en-ha-na-us-bk&shva=1#inbox|https://www.google.com/calendar/render#g%7Cmonth-3+2284
browser.startup.homepage_override.buildID 20141011015303
browser.startup.homepage_override.mstone 33.0
browser.tabs.drawInTitlebar false
browser.tabs.loadInBackground false
browser.tabs.warnOnClose false
dom.mozApps.used true
extensions.lastAppVersion 33.0
font.size.variable.x-western 15
general.autoScroll false
gfx.direct2d.disabled true
gfx.direct3d.last_used_feature_level_idx 0
layers.acceleration.disabled true
media.gmp-gmpopenh264.lastUpdate 1413902998
media.gmp-gmpopenh264.version 1.1
media.gmp-manager.lastCheck 1413902998
network.cookie.prefsMigrated true
places.database.lastMaintenance 1413904352
places.history.expiration.transient_current_max_pages 104858
plugin.disable_full_page_plugin_for_types application/pdf
plugin.importedState true
plugin.state.java 2
plugin.state.npdeployjava 0
plugin.state.npgeplugin 2
plugin.state.npgoogleupdate 2
plugin.state.nppdf 2
plugin.state.npwlpg 2
privacy.cpd.cookies false
privacy.cpd.sessions false
privacy.sanitize.migrateFx3Prefs true
privacy.sanitize.timeSpan 0
security.disable_button.openCertManager false
security.disable_button.openDeviceManager false
storage.vacuum.last.index 0
storage.vacuum.last.places.sqlite 1413904350
Important Locked Preferences
Name Value
JavaScript
Incremental GC true
Accessibility
Activated false
Prevent Accessibility 0
Library Versions
Expected minimum version Version in use
NSPR 4.10.7 4.10.7
NSS 3.17.1 Basic ECC 3.17.1 Basic ECC
NSSSMIME 3.17.1 Basic ECC 3.17.1 Basic ECC
NSSSSL 3.17.1 Basic ECC 3.17.1 Basic ECC
NSSUTIL 3.17.1 3.17.1
Experimental Features
Name ID Description Active End Date Homepage -
Gmail and iCloud calendars seem incompatible
I am experiencing two issues with calendars on my new iPad (3rd gen) related to GMail. I have spoken with Level 2 support (so far, no luck in solving this problem), and have scoured these support pages ... several possible solutions do not appear to be working. So alas, I'll ask the question and hope for some insights.
ISSUE 1: Cannot add invitees when creating calendar entries on a Google Calendar
On my iPad, I have 3 calendars set up ... default iCloud calendar + two Google calendars. All three synch perfectly between my iPad and other devices. However, if I create a new event on my iPad, there is no option to add invitees to an event created on my Google calendars ... neither my primary calendar or the secondary calendar I share with my family. I can, however, add invitees to a new event created with my iCloud calendar. However, there seems to be an issue with this as well....
ISSUE 2: Invitations from iCloud calendar are not sending
Again, from my iPad, when I add any user's email address to receive invitations from my iCloud calendar, the invites do not appear to be going out.... at least not to any of my email addresses or my wife's email address. When I attempt to send an invite to my Gmail account, my name simply disappears after a few seconds (my gmail account is my iCloud account / Apple ID). When I send an invite to my office email address, the name does not disappear, but I receive no invitation at work. So basically, I can't send invites from my iPad.... period.
A few facts...
My Gmail email address is my Apple ID.
Many of my friends' and colleagues' email addresses are either their Apple ID's or alternative email addresses (I saw several posts about "bugs" with iCloud relating to auto-forwarding of calendar invites to iCloud for addresses that are associated with Apple IDs).
I have turned OFF the default setting in iCloud calendar to automatically forward invites to my iCloud calendar (pursuant to another post on this subject)
I used to use a different email address (Yahoo) for my Apple ID. At that time, I could send invitations using my Google calendar with no issues. This problem only started to occur when I switched my Apple ID to my Gmail account, which I prefer as it enables seamless synching of contacts.
I am all ears ... willing to try almost anything. Help is appreciated.
Thanks.
- DavidWhy do you need them in iCloud? You can use Google as the point of sync instead on all your devices.
-
New iphone 4s and multiple questions
So I have multiple questoins...
So I tried out a droid for a couple weeks and well in the end I decided the iphone was the better choice for me. So the droid was my first smartphone and when it was set up it imported all my facebook, twitter, gmail and phone contacts. (I found this really annoying since I have so many contacts that I would really care less to have in my "contacts" list ) I have quite a few contacts on all of those places.so as you can imagine my contacts are a little out of control. Anyways on the droid there was a way to filter my contacts to just show contacts with phone numbers. So here I am on my iphone 4s and all those contacts are there. I haven't found anywhere on the phone yet to filter out contacts yet. Is there a way to "group" or "filter" my contacts so I I can just find the ones with phone numbers? Is there an app maybe that will group e mail, facebook, twitter contacts or something?
The second question is...
My sister, mother and I share an itunes account (I had an ipod touch before upgrading to an iphone) so that way if one of buys something all of us get it so were not paying mulitple times for the same app. We all sync on different computers since we don't live with eachother. I haven't been able to look into it but the new photo stream feature yet but... when everyone updates to IOS 5 is there a way that each persons photos from their device wont go to the others devices. Is this set up through your itunes account or icloud or something? If they want to use icloud/photo stream would they need to make their own apple id? If they use that apple id on their device for icloud. If they signout and log into my account for downloading apps will that mess up their icloud?
Thanks,
I would really appreciate an answer on the contacts the most.
AshleySo I have multiple questoins...
So I tried out a droid for a couple weeks and well in the end I decided the iphone was the better choice for me. So the droid was my first smartphone and when it was set up it imported all my facebook, twitter, gmail and phone contacts. (I found this really annoying since I have so many contacts that I would really care less to have in my "contacts" list ) I have quite a few contacts on all of those places.so as you can imagine my contacts are a little out of control. Anyways on the droid there was a way to filter my contacts to just show contacts with phone numbers. So here I am on my iphone 4s and all those contacts are there. I haven't found anywhere on the phone yet to filter out contacts yet. Is there a way to "group" or "filter" my contacts so I I can just find the ones with phone numbers? Is there an app maybe that will group e mail, facebook, twitter contacts or something?
The second question is...
My sister, mother and I share an itunes account (I had an ipod touch before upgrading to an iphone) so that way if one of buys something all of us get it so were not paying mulitple times for the same app. We all sync on different computers since we don't live with eachother. I haven't been able to look into it but the new photo stream feature yet but... when everyone updates to IOS 5 is there a way that each persons photos from their device wont go to the others devices. Is this set up through your itunes account or icloud or something? If they want to use icloud/photo stream would they need to make their own apple id? If they use that apple id on their device for icloud. If they signout and log into my account for downloading apps will that mess up their icloud?
Thanks,
I would really appreciate an answer on the contacts the most.
Ashley -
Can't get conky-cli and bash scripts to both display in dwm statusbar!
I'm trying to configure my dwm status bar to display some simple information using conky-cli and bash scripts. At first I tried just letting conky run the bash scripts (for network and volume state), but this increased my cpu usage by about 5%, which is significant considering I normally have 1-3% usage when idle. Also, I wanted to keep conky because it makes the display of certain information easy, such as cpu & RAM usage.
The problem is I'm having trouble getting both to display side by side. Here are the relevant parts of my .xinitrc:
network(){
iwconfig wlan0 2>&1 | grep -q no\ wireless\ extensions\. && {
echo wired
exit 0
essid=`iwconfig wlan0 | awk -F '"' '/ESSID/ {print $2}'`
stngth=`iwconfig wlan0 | awk -F '=' '/Quality/ {print $2}' | cut -d '/' -f 1`
bars=`expr $stngth / 10`
case $bars in
0) bar='[-------]' ;;
1) bar='[#------]' ;;
2) bar='[##-----]' ;;
3) bar='[###----]' ;;
4) bar='[####---]' ;;
5) bar='[#####--]' ;;
6) bar='[######-]' ;;
7) bar='[#######]' ;;
*) bar='[--!!!--]' ;;
esac
echo $essid$bar
exit 0
volume(){
vol=$(amixer get Master | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "MM" } else { print $2 }}' | head -n 1)
echo Vol: $vol%
exit 0
conky | while true; read line; do xsetroot -name "`$line` `volume` `network` `date '+%a %m-%d-%Y %I:%M%p'`"; done &
exec dwm
(let me know if it would help to post any other files)
For some reason when I run this I only get the network/volume scripts and date running, updating every second (I think). The conky line just doesn't show up. I don't know what could be wrong, since I didn't see any error messages.
An even better solution would be to just have shell scripts to display CPU and MEM usage. I have a dual-core cpu, cpu0 and cpu1. I'd like to see both percentages if possible, or at least a percentage that is an accurate average of the two or something. In conky-cli I have something that shows:
cpu0/1: xx% xx%
Also, seeing RAM usage would help a lot. In conky it shows:
mem: xx% (xxxMB)
These are the ways I would like to have bash scripts show them, if possible, but I have zero skill in bash programming. I made this an option in case it's easier/cleaner/less resource hungry than a conky solution. Personally, if they're about the same in these aspects, I would prefer something with conky and the shell scripts because conky is so extensible, yet it's only flaw is executing scripts with minimal resource usage.
Help?Thanks. I was thinking of using load average to save a few characters, but I didn't quite understand the numbers. I'll try that once I get to my Linux box, but could you please explain or post a link to something that explains load average (what's low, high, normal, etc.)?
EDIT: I found a website that explains loadavg. I now have my dwm status bar displaying it perfectly (yay!). Now I just need to add a few more things like battery status, etc. and I might be done. I'll probably post here if I have more questions, though.
Thanks for your help!
Last edited by Allamgir (2009-07-18 14:41:11) -
Right now I have separate user accounts for my wife and I, merely for the reason of keeping our bookmarks separate. Its forced us to come up with the usual workarounds for sharing iTunes, iPhoto, etc, and multi-users for us is only useful for keeping separate safari bookmarks.
Certainly, I could just have my wife use firefox instead, but then bookmarks don't sync with the iPhone and iPad. I wish that safari supported profiles like firefox, but it doesn't.
As another option, we can separate stuff into different folders and what not, but what I can't figure out is how to make it so that we could each have bookmarks for gmail and facebook that would log us in automatically. Its kinda stupid, i know, but being able to just click facebook and have it go straight to our account is really nice, and having to manually login each time is a nuisance.
anyone know of an easy fix for this?Thanks, tst. I wasn't holding my breath on this one.
Hmm... I hadn't thought of XControls! I'd rather not go that route, though, in the interest of keeping the error handler code as light as possible. (In the daemon itself I don't mind more complexity) If I did that, the cure might be more expensive than the problem it solves.
tst wrote:
Load and unload it explicitly at the start and end of the app. Great if you have a structured app, but not so much if you want something more free form.
Unload it as soon as it's done doing its work (or after a timeout from the last action it took).
Sadly, this app is rather "free form". It has a lot of multi-threaded, asynchronous operations since I'm performing parallel TCP communication to several hosts. Each dynamically called VI calls the error handler.
Option 2 might be a decent idea, though. If I went with that, I'd just have to tweak the architecture accordingly. It may well be the most feasible solution.
Thanks for the quick reply! -
[SOLVED] Arch64, Opera and plugins library problem
I have Arch64 with Opera 64-bit as default browser. I have succesfully installed 32-bit flashplugin and it works nicely. The only problem is that fonts cannot be read from the flash player context menu and Open File dialog opened from flash player. The problem is that flashplugin tries to load 64-bit GTK from /usr/lib/gtk-2.0/2.10.0/ and it fails. 32-bit version is installed and it's located in /opt/lib32/usr/lib/gtk-2.0/2.10.0/.
Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64
Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64
Also I have library loading problem with totem-plugin. It cannot find libxul.so and libxpcom.so, but both library files are located in /usr/lib/xulrunner-1.9.0.1/. The plugin loads fine if I create links to both files in /usr/lib/. But that doesn't seem like right solution to me.
$ ldd libtotem-mully-plugin.so
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f94e19d9000)
libtotem-plparser-mini.so.10 => /usr/lib/libtotem-plparser-mini.so.10 (0x00007f94e17d6000)
libxul.so => not found
libxpcom.so => not found
libplds4.so => /usr/lib/libplds4.so (0x00007f94e15d2000)
What would be a most elegant way of solving these two library loading problems?
I think that symbolic links and moving files are not the most elegant way to solve the problem. Maybe some environment variable or some configuration setting would solve the problem (LDPATH comes to mind, but it seems that it doesn't work).
EDIT: I wasn't sure in which section to post this question, so feel free to move it if necessary.
Last edited by SnapShot (2008-09-12 02:50:01)I have solved my problem and I will post my solution because it can be usefull to others.
First the problem with flashplugin and GTK library path. Opera uses operapluginwrapper scirpt to detect if the plugin is 32-bit or 64-bit and after detection it uses operapluiginwrapper-ia32-linux for 32-bit or operapluginwrapper-native for 64-bit plugins. operapluiginwrapper-ia32-linux loads the 32-bit flashplugin in my case which requires GTK, but it incorectly tries to load it form /usr/lib/gtk-2.0/ where 64-bit version of GTK resides.
The solution is to set the GTK_PATH environment variable to point to /opt/lib32/usr/lib/gtk-2.0/ where 32-bit version resides. But if you set it globaly it will result in problems with other 64-bit applications. So the correct solution is to add following lines on the bottom of the operapluginwrapper script above the exec line:
case "$wrapper" in
*ia32*)
export GTK_PATH="/opt/lib32/usr/lib/gtk-2.0"
export PANGO_RC_FILE="/opt/lib32/config/pango/pangorc"
esac
In this way the 32-bit paths will be active only for operapluginwrapper-ia32-linux process.
I have solved the other problem with totem-plugin requesting libxul.so and libxpcom.so, but the solution idoesn't matter because, although totem-plugin loads coreclty it doesn't work in opera. I have installed mplayer-plugin which works as it should. Also gecko-mediaplayer works correctly with opera, I have tested them both. Install one of the two plugins that work, and you will be fine. -
E51 Gmail and Yahoo mail box access
Dear All
I was trying to configure the gmail and yahoo mail accounts in the new E51 which I have bought. I have correctly configured the mail setup with the correct username and password. But I am getting an error "Invalid Mail for exchange credentials. Check credential settings". The pop up is coming repeatedly on the phone even if am not using the same.
Please help me out for the same.
Thanks in advance.
Regards
JosephHi Guys!
I'm sure by now your problems are solved. Nevertheless, let me simplify this for you. I have both my Gmail and my Yahoo mail setup on my E51 and they work beautifully. One thing you should be aware of is that while Gmail offers mobile & POP access free, you need to upgrade to a business account in yahoo to avail the same. That being said, here are the settings for each:
For Gmail:
Connection Settings > Incoming E-Mail
User name: Enter your complete Gmail e-mail address including '@gmail.com'
Password: Enter your Password
Incoming Mail Server: imap.gmail.com
Access Point in Use: Select the active data connection
Mailbox Name: Whatever you like
Mailbox Type: IMAP4
Security (ports): SSL/TLS
Port: Default
Connection Settings > Outgoing E-Mail
My e-mail address: Enter your complete Gmail e-mail address including '@gmail.com'
User name: Again enter your complete Gmail e-mail address including '@gmail.com'
Password: Enter your password
Outgoing Mail Server: smtp.gmail.com
Access Point in Use: Select the active data connection
Security (ports): StartTLS
Port: 587
User Settings:
My Name: Whatever name you'd like to appear in your sent emails
Send Message: Choose 'Immediately' if you would like your phone to connect to the internet and send the message everytime you send an e-mail. Otherwise choose 'during next connection'
Send copy to self: Choose yes if you would like a copy of all mails that you send using your mobile, to be sent to your inbox too.Otherwise choose No.
Include Signature: Your choice. If you choose yes, enter the signature text
New E-Mail alerts: On
Reply to: If you would like people to reply to a different e-mail id then the current one, enter that.Else choose Off.
Delete E-mails From: Select Phone or Server. If you select phone, th emails get deleted only from the phone, although the header still remains till the next time you refresh. What this means is that mails deleted from you phone will continue to remain on your server and will be accessible the next time you access your mail using a PC.
Retrieval Settings:
E-Mail to retrieve: No choice here. Gmail only allows you to retrieve headers first. If you feel a mail is important you can select it and download the entire message later.
Retrieval Amount: Set how many e-mails you would like downloaded
IMAP4 folder path: This is set to 'Unix path' by default. Let it be
Folder Subscriptions: No changes required here
Automatic Retrieval: Select E-mail retrieval and set it to 'Enabled'.
Retrieval Days: All Days
Retrieval Hours: All Hours
Retrieval Intervalet it to 5 mins if you would like e-mails to get downloaded to your phone almost as soon as they arrive (Like Push E-Mail). Else select a time interval as desired.
Yahoo: (Provided you are subscribed to premium business mail)
Connection Settings > Incoming E-Mail
User name: Enter your yahoo user name only (without '@yahoo.com)
Password: Enter your Password
Incoming Mail Server: pop.mail.yahoo.com
Access Point in Use: Select the active data connection
Mailbox Name: Whatever you like
Mailbox Type: POP3
Security (ports): SSL/TLS
Port: Default
APOP secure login: Off
Connection Settings > Outgoing E-Mail
My e-mail address: Enter your complete yahoo e-mail address including '@yahoo.com'
User name: Enter your yahoo user name only (without '@yahoo.com)
Password: Enter your password
Outgoing Mail Server: smtp.mail.yahoo.com
Access Point in Use: Select the active data connection
Security (ports): SSL/TLS
Port: Default
User Settings:
My Name: Whatever name you'd like to appear in your sent emails
Send Message: Choose 'Immediately' if you would like your phone to connect to the internet and send the message everytime you send an e-mail. Otherwise choose 'during next connection'
Send copy to self: Choose yes if you would like a copy of all mails that you send using your mobile, to be sent to your inbox too.Otherwise choose No.
Include Signature: Your choice. If you choose yes, enter the signature text
New E-Mail alerts: On
Reply to: If you would like people to reply to a different e-mail id then the current one, enter that.Else choose Off.
Delete E-mails From: Select Phone or Server. If you select phone, th emails get deleted only from the phone, although the header still remains till the next time you refresh. What this means is that mails deleted from you phone will continue to remain on your server and will be accessible the next time you access your mail using a PC.
Retrieval Settings:
E-Mail to retrieve: Select 'Headers' only to retrieve headers first. If you feel a mail is important you can select it and download the entire message later. Select 'Size Limit' to set a limit to the size of e-mails that can be downloaded. Select 'Msgs. & Attchs' if you want everything to be downloaded.
Retrieval Amount: All
Automatic Retrieval: Select E-mail retrieval and set it to 'Enabled'.
Retrieval Days: All Days
Retrieval Hours: All Hours
Retrieval Interval: Select a time interval as desired.
With this done you should have no poblems accessing both, your yahoo mail and gmail on your E51 over a Wi-Fi connection or a data plan from your service provider. -
Can't !. Say signed in to email websites for yahoo and gmail, and i've upgraded to firefox 3.6 to try to solve problem and the options for selecting answers are not available to me (for instance did search for "cookies.squilte" and either that or profile folder search brought up anything like the forum answers indicated were successful. 3. tried select "remember PW" in options answers but no cookies show up to except/remove so that is not an option. HELP FOR THIS LIMITED NOVICE + KNOWLEDGE USER APPRECIATED
Copy and Paste this code in the Code field in the ''"Tools > Error Console"'' and click the ''Evaluate'' button to see the location of the profile folder.
<code>alert(Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile).path);</code>
See http://kb.mozillazine.org/Profile_folder_-_Firefox
"Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders, use %APPDATA% in the File name field.
See also http://kb.mozillazine.org/Show_hidden_files_and_folders
Go to: Control Panel > Folder Options > "View" tab > under "Hidden files and folders", select "Show hidden files and folders".
You may want to un-check the box "Hide extensions for known file types" to see the file extensions of all files.
XP: C:\Documents and Settings\<user>\Application Data\Mozilla\Firefox\Profiles\<profile>\
Vista/Windows 7: C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\ -
[SOLVED] conky RAM monitor problem
Hey, wasup guys.
I just have 1 question I hope you can answer. I have the basic conky installed and it only shows 3GB (2.95 GiB) of RAM while there's actually 4x1 GB rams in the computer. So basically I'd like to see if one of them is actually not being detected... I have a pretty light install (still working on seting up various system tools) so I dont know where to look :D
ty for your time
tomas
Last edited by desolathor (2010-05-17 16:48:07)I recommend check bios first see if all 4 gb shows, if yes then ask other questions like are you running 32 bit in which case not all 4 gb would be available, and/or do you have onboard graphics using some of the memory. For 32bit aswell if your discrete graphics has its own 1gb memory, the system can only address 3gb of the sysytem ram.
Last edited by tesjo (2010-05-17 16:16:34)
Maybe you are looking for
-
Good day Everytime I want to pull data into a query from our servers it gives the error "DataSource.Error: Arithmetic operation resulted in an overflow". What is the reason for this error, and how do I get past this bump. Thanks in advance Arnoux
-
I have a 27 iMac and a 24 iMac. Can I, and how do I, go about using the 24 iMac as second monitor?
-
What is the best way to audit data
What is the best way to audit actual changes in the data, that is, to be able to see each insert, update, delete on a given row, when it happened, who did it, and what the row looked like before and after the change? Currently, we have implemented ou
-
Read data from Excel and write into oracle database
Hi I want to know how can i read data from excel and write into oracle database using java.Kindly help me out to find a solution. Thanks and Regards Neeta
-
Where is my product key?
I purchased and installed my PSE-10 some time ago from a download, and recently had to re-install it due to corrupted codecs, but now I cannot find my product key, so it is installed as a 'trial' version, prompting me for the key. I checked my Adobe.