Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jedi

#1321
Artwork & Screenshots / Re: February 2013 Screenshots
February 10, 2013, 12:21:14 AM
Quote from: falldown on February 09, 2013, 10:25:14 PM
Jed can I get a copy of your email script (gmail and VSIDO).?.
Yes for sure you can!  It is not mine however, this is the result of some *borrowing* off VastOne.  (i.e., that was my source!)  It will only work to check your gmail.

The python script;
gmail_parser.py
## check-gmail.py -- A command line util to check GMail -*- Python -*-
## modified to display mailbox summary for conky

# ======================================================================
# Copyright (C) 2006 Baishampayan Ghose <b.ghose@ubuntu.com>
# Modified 2008 Hunter Loftis <hbloftis@uncc.edu>
# Time-stamp: Mon Jul 31, 2006 20:45+0530
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# ======================================================================

import sys
import urllib             # For BasicHTTPAuthentication
import feedparser         # For parsing the feed
from textwrap import fill

_URL = "https://mail.google.com/gmail/feed/atom"

uname = sys.argv[1]
password = sys.argv[2]
maxlen = sys.argv[3]

urllib.FancyURLopener.prompt_user_passwd = lambda self, host, realm: (uname, password)
   
def auth():
    '''The method to do HTTPBasicAuthentication'''
    opener = urllib.FancyURLopener()
    f = opener.open(_URL)
    feed = f.read()
    return feed


def readmail(feed, maxlen):
    '''Parse the Atom feed and print a summary'''
    atom = feedparser.parse(feed)
    print '${color grey} %s new email(s)\n' % (len(atom.entries))
    for i in range(min(len(atom.entries), maxlen)):
        print '${color grey}%s' % fill(atom.entries[i].title,38)
#uncomment the following line if you want to show the name of the sender
#        print '          ${color2}%s' % atom.entries[i].author
    if len(atom.entries) > maxlen:
        print ' ${color}more...'

if __name__ == "__main__":
    f = auth()  # Do auth and then get the feed
    readmail(f, int(maxlen)) # Let the feed be chewed by feedparser


The Conky additions to make after the "Text";


TEXT
        ${color 547EC8}${time %l:%M}${time %P}
     
        ${color 547EC8}${time %a %b %d %Y}
   
${color 547EC8}Jed   - ${execpi 15 python ~/gmail_parser.py yourgmail@gmail.com yourpasswd 3}
${color 547EC8}VSIDO Community   - ${execpi 15 python ~/gmail_parser.py yourgmail@gmail.com yourpasswd 3}
#1322
Artwork & Screenshots / Re: February 2013 Screenshots
February 10, 2013, 12:08:12 AM
Quote from: VastOne on February 09, 2013, 03:36:42 PM
@jedi  Is that from the new ISO that sfetch is not showing the correct information?
No VastOne.  This is an older setup.  Maybe the 'iso' before last...   Not sure.  Definitely not the latest though.  That is on another partition.
#1323
Artwork & Screenshots / Re: February 2013 Screenshots
February 09, 2013, 09:50:02 AM
lwfitz, Sector11 has all the wallpapers ever made!  When you dl'd one, it probably came directly from his computer!

My latest attempts with some old stuff...  sfetch not showing correct info on distro...


But archey does!

I read a fix about it here on the forums somewhere.  I'll find it later today, no biggie...
#1324
^^You could probably say that of more than 90% of us!  Huh, VastOne has a distro to try?  Where, how, sign me up, is usually what's heard in the comments around here.  Great community, great support, great product!  What more could any of us want?   ;D
Great on merelyjim getting the word out even more!
#1325
VSIDO Discussions / Re: Theme Discussion
February 09, 2013, 06:18:21 AM
Quote from: VastOne on February 09, 2013, 04:19:19 AM
As all of you will soon see I made a mistake in the url on the message sent out to everyone...

My bad!

oops...  ???
What a relief!  Thought you were perfect there for a minute!  :)
#1326
Conky / Re: Teo's Scripts in a nutshell
February 08, 2013, 01:26:12 AM
Hmmmm.  Wishful thinking on my part; Wife, Conky, Happy,  nahhhhhh!!!  Never gonna happen.  :'(
#1327
Conky / Re: Teo's Scripts in a nutshell
February 08, 2013, 01:10:41 AM
Wow Sector11!!!  That is awesome work!  8)
#1328
Hello merelyjim. welcome to VSIDO!  Nice blog site!  Nice to see you here...
#1329
Feedback & Suggestions / Installation Feedback
February 06, 2013, 04:06:16 PM
Sorry for the tardiness of this, just haven't been able to 'geek' much the last few days.

I installed the newest iso this morning with no issues.  None.  However, you can read on if you want a little more info than that...

Used wget to grab the new VSIDO iso then installed this morning.  Install went without a single issue.  Logged into Xfce, perfection, logged out and then into OB, perfection again.  Logged back out, jumped to tty1 and as 'sudo su' ran smxi for the first time.  I always do it using 'sudo su' because I always have.  smxi, no issues, everything did its thing, quit the script, rebooted, no issues.  Logged into OB, did a 'apt-get update' and a 'dist-upgrade', no issues.  Then installed the public key for Bumblebee, added the Bumblebee info to the /etc/apt/sources.list, ran update/dist-upgrade again, got Bumblebee installed/configured no issues.  Rebooted, tested Bumblebee with the following successful results.  (see pic of Bumblebee improvement of video running 'glxgears'.)

Noticed that the Kernel updated to
Linux vsido 3.7-trunk-amd64 #1 SMP Debian 3.7.3-1~experimental.1 x86_64 GNU/Linux  All this took perhaps a half-hour total.
Next pic, 'inxi -F'

Runs perfect, no issues!  (I know I said that at the beginning)  :D
#1330
Conky / Re: Interactive conky
February 06, 2013, 02:07:29 AM
As usual, WOW!!!  My soon to be default Conky looks almost done!  Awesome work falldown!
#1331
Introductions / Re: Howdy
February 05, 2013, 09:01:40 PM
hey hinto! Welcome to VSIDO...
#1332
Downloading now.  Will have results posted upon install completion,,,
#1333
Artwork & Screenshots / Re: Community custom wallpapers..
February 04, 2013, 04:27:40 AM
Wow Joe!!!  Nice work.  I agree with VastOne though.  You can have the girl, I'll take the Harley!!!  ;D  Actually I have to edit this to say, it's not just nice work, thats some beautiful work on the bike.  You've got some mad skills my man!!!
#1334
Conky / Re: Remember when ...
February 03, 2013, 09:59:53 PM
An Old Look!  Wow, I gotta say, I really like the looks of that!  Well done Sector11... ;D
#1335
Introductions / Re: hi
February 03, 2013, 09:52:45 PM
Welcome Manuel...    Hey I think I recognize that nick!!!  I think I've (cough-cough) *borrowed* a conky or three from you somewhere.  Glad your here!