[Solved] Awesome 3.5: gmail vicious widget does not work

I updated my awesome from 3.4 to 3.5. I noticed that vicious.widgets.gmail does not work anymore. When I move my cursor on mailicon, I can only see N/A. Obviously in my home there is  ~/.netrc file:
machine mail.google.com login MYMAIL password MYPASSWORD
This is how I configured the widget: Solved someone this or has someone any idea about how to solve?
-- Gmail
mailicon = wibox.widget.imagebox(beautiful.widget_gmail)
mailwidget = wibox.widget.textbox()
gmail_t = awful.tooltip({ objects = { mailwidget },})
vicious.register(mailwidget, vicious.widgets.gmail,
function (widget, args)
gmail_t:set_text(args["{subject}"])
gmail_t:add_to_object(mailicon)
return args["{count}"]
end, 120)
--the '120' here means check every 2 minutes.
mailicon:buttons(awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn("urxvt -e mutt", false) end)
Bye! ^^
Last edited by ninquitassar (2013-02-17 20:22:28)

nostalgix wrote:
I don't know for sure, but maybe it's
mailicon = wibox.widget.imagebox(beautiful.widget_gmail)
instead of
mailicon = wibox.widget.imagebox()
mailicon.set_image(beautiful.widget_gmail)
That's what he has.
Last edited by nomorewindows (2013-02-12 21:16:51)

Similar Messages

  • Some Widget does not work after latest upgrade

    Today is July 23rd, 2011. By recent latest upgrade, mainly for supporting Lion, where I am still using Snow Leopard 10.6.8, some widget does not work, including Battery Meter, Digital Clock Alarm, Victoria Digital Clock, etc.
    By the way, my company use Chatter and I installed Chatter Desktop. Again, after recent upgrade, it no longer work anymore.
    Do you experience the same problem?
    For those who has upgraded to Lion, do you also find some widget does not work?

    I have read a couple of complaints like that, but not sure it's widespread.
    At this point I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.
    If that does NOT help, Safe Boot , (holding Shift key down at bootup), use Disk Utility from there to Repair Permissions, test if things work OK in Safe Mode.
    Then move these files to the Desktop...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
    Reboot & test.
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.
    If that does NOT help then I suspect the optical drive or media itself, or possibly just needs a cleaning CD run on it.

  • Air Traffic Control Widget Does Not Work With OS 10.6.8

    Air Traffic Control Widget Does Not Work With OS 10.6.8.
    Any suggestions?
    SR

    No I have not. I have thought about just downloading another version...
    Thanks for your reply.
    SR

  • CODE ADDED using HTML Snippet Widget does not work

    I am trying to add some code to a web page using the HTML Snippet widget and it does not work on my page. the code is as follows:
    <script src='http://adn.ebay.com/files/js/min/ebay_activeContent-min.js'></script>
    <script src='http://adn.ebay.com/cb?programId=1&campId=5336536214&toolId=10026&keyword= coinset+nationaruba&catId=11116&width=728&height=90&font=1&textColor=333366&linkColor=333333&a rrowColor=8BBC01&color1=B5B5B5&color2=FFFFFF'></script>
    Can anyone help me to get this to work?
    Thanks!
    Gregg

    I got this code from Ebay. It is an Ebay partner link.
    Gregg

  • ( SOLVED )gnome-terminal, su, sudo, gksu, gksudo does not work

    Hello,
    In my fresh installed gnome3 graphical environment, in gnome-terminal, I can not gain root access.
    I've tried diverse su commands.
    1. su command, ends with:
    su -
    Password:
    su: Authentication failure
    2. sudo command, ends with:
    sudo -l
    [sudo] password for root:
    Sorry, try again.
    [sudo] password for root:
    Sorry, try again.
    [sudo] password for root:
    sudo: 2 incorrect password attempts
    Of course - each time, I typed correct password.
    In my sudoers file, group wheel ( into which belongs user I logged in ) has permissions to execute any command.
    3. gksudo with debug:
    gksudo -ld gnome-terminal
    No ask_pass set, using default!
    xauth: /tmp/libgksu-stbGos/.Xauthority
    STARTUP_ID: gksudo/gnome-terminal/879-0-Bex_TIME0
    cmd[0]: /usr/bin/sudo
    cmd[1]: -H
    cmd[2]: -S
    cmd[3]: -p
    cmd[4]: GNOME_SUDO_PASS
    cmd[5]: -u
    cmd[6]: root
    cmd[7]: --
    cmd[8]: gnome-terminal
    buffer: -GNOME_SUDO_PASS-
    brute force GNOME_SUDO_PASS ended...
    Yeah, we're in...
    sudo: 1 incorrect password attempt
    xauth: /tmp/libgksu-stbGos/.Xauthority
    xauth_env: /var/run/gdm/auth-for-tangram-9JYTNt/database
    dir: /tmp/libgksu-stbGos
    I've been asked for my password, not root, after typing I get "incorrect password attempt", if I type root pwd I get the same.
    4. Same with this command:
    gksu -ld gnome-terminal
    No ask_pass set, using default!
    xauth: /tmp/libgksu-SBPcOB/.Xauthority
    STARTUP_ID: gksu/gnome-terminal/1028-0-Bex_TIME0
    cmd[0]: /usr/bin/sudo
    cmd[1]: -H
    cmd[2]: -S
    cmd[3]: -p
    cmd[4]: GNOME_SUDO_PASS
    cmd[5]: -u
    cmd[6]: root
    cmd[7]: --
    cmd[8]: gnome-terminal
    buffer: -GNOME_SUDO_PASS-
    brute force GNOME_SUDO_PASS ended...
    Yeah, we're in...
    sudo: 1 incorrect password attempt
    xauth: /tmp/libgksu-SBPcOB/.Xauthority
    xauth_env: /var/run/gdm/auth-for-tangram-6RCSoJ/database
    dir: /tmp/libgksu-SBPcOB
    In multi-user-mode I can login to root account.
    Last edited by tangram (2013-12-23 08:42:09)

    tangram wrote:
    Hurrican, ok, there is no need to install antother terminal, as I wrote it did not work also in xterm.
    Yesterday evening, tired and sad that gk(su|sudo) still does not work,
    as the "last chance idea", I logged in into multi-user mode ( init level 3 ) and changed root's password,
    then loged in into graphical mode ( init level 5 ), start gnome-terminal and suddenly ... command "su -" started to work.
    By the way, similar solution ( but with chroot ) has suggested Gulver in his post ( this thread, answer #2 ).
    The question is, why root's password, set during install, after finished installation is recognized in text mode, but not im graphical ?
    First root's password was really simple, like "dog4356", without any national chars.
    You're right. I don't even have xterm installed so I guess I just singled out gnome-terminal and forgot that xterm also wasn't working.
    Forgive me for my shaky advice. Like you I've been super busy, and sweating out a fever of 102 degrees (that's Fahrenheit no my
    blood wasn't boiling ). Anyways, glad you got it working. After reading over the whole thread and thinking about it for a little bit, I
    can't really make a good guess as to what was happening.
    I'm sure you probably had tried this, but you could have typed the password out in the command line so you could see it. If there was
    something wrong with it, it would have shown up there as well. If it was perfectly fine, then it would have been very, very weird.
    The important thing is you got it working.
    Merry Christmas.

  • Marketplace widget does not work after update

    Updated phone (Droid X) this morning (10-24-10).  Seemed to go fine until I clicked on what was supposed to be the marketplace widget.  It said something to the effect that the application was not installed.  The usual Icon was replaced by a blue icon with the settings "cog" on the right side.  Is there anyway to get the Marketplace widget back?  By the way, it also does not show up in the application window or in the "Manage Applications" list.  I have temporarily put a shortcut to the internet Marketplace on the home page.

    This is a common issue after update.
    There is only 2 ways I know that seem to work.
    1. Reinstall app from a market backup apk (EStrong File Explorer works well)
    2. Hard Reset on device.
    Reset works but use the method here.... http://community.vzw.com/t5/DROID-X-by-Motorola/Minimize-Droid-X-Issues-After-Froyo-Update/m-p/296586#M11211 or
    Follow these settings during restore to avoid issues being restored automatically.
    1. Go to homepage on device
    2. Click left menu hard button
    3. Select Settings from list (Bottom Right of Screen)
    4. Scroll to "Privacy" in list
    5. Select "Privacy"
    6. Uncheck "Automatic Restore" and then "Back up my data" under Settings/Privacy
    7. Click OK on the menu that pops up that says "Are you sure you want to stop bacing up your settings andapplication data and erase all copies on Google server?"
    8. Click Factory Data Reset
    9. Click Reset Phone
    10. After reset is complete follow step to setup but do not input Google Email information
    11. Once phone is at homepage go back into Settings/Privacy and make sure the Automatic Restore option is unchecked, even if grayed out, activate "Back up my data" and quickly disable "Automatic Restore"
    5. After being sure that the Automatic Restore option is off it will be safe to log into Google by going to My Accounts and press New account button at bottom and input email account information.
    This process will stop all applications and settings from restoring automatically and restoring original issues that usually resolve a number of issues.

  • [SOLVED]Login manager in KDE 4.3 does not work!

    This is a fresh install (just two days old and installed KDEbase just yesterday), and almost everything is working like a charm the only glitch I have experienced till now is that the login manager module in System Settings is not working as it should be. When I click on its button I know that it should normally ask me for my password but it does not do that and therefore when it opens up all the settings are greyed out and thus unchangable . Is this a bug or am I missing something (Anyone else experienced this!)?
    Also, although not related to this topic, can somebody tell me where to find the setting for making windows shift to different workspace while dragging them through the edges of the screen. I'm sure I found this setting under Window Behavior>Window Behavior module in Kubuntu but it is nowhere to be found on the Arch KDE.
    Last edited by bhadotia (2012-02-16 00:49:32)

    bhadotia wrote:Also, although not related to this topic, can somebody tell me where to find the setting for making windows shift to different workspace while dragging them through the edges of the screen. I'm sure I found this setting under Window Behavior>Window Behavior module in Kubuntu but it is nowhere to be found on the Arch KDE.
    As nobody answered this question, I guess I'll just mark this thread as solved as even after a lot of search I'm unable to find the preference and so none of the arch users here know about it as well. I think that feature was kubuntu specific and as Arch ships vanilla KDE I think its useless trying to find it here.
    Anyways thanks for the help guys

  • Date Picker Widget does not work on template spawned (copied) pages

    Hi,
    I am trying to set up a PDF document form for a client using Adobe Acrobat Pro XI.  I have several date fields where I am wanting to use the Form Router Date Picker Widget (which has been downloaded and installed).  This works perfectly fine when it is just one page.  However, I am using a template with a script that creates a copy of the first page activated from a button -- ideally to allow users to create however many pages they want before submitting everything.  The code from the button is as follows:
    var myTemplateArray = this.templates;
    var myTemplate = myTemplateArray[0];
    myTemplate.spawn(this.numPages, true, false);
    // Get the field name prefix that Acrobat automatically adds to the new fields
    var f_prefix = "P" + (this.numPages - 1) + ".cvcIntake";
    // Reset the newly created fields
    this.resetForm([f_prefix]);
    // Go to the new page
    this.pageNum = this.numPages-1;
    The problem begins when a new page is added.  If I try to click on the date picker on the second page, it shows up on the first page next to the same field that was copied.  And if a date is selected it is entered into the field on the first page.
    In looking into what is going wrong I found several things.  First, the naming aspect on the copied page is creating all of the calendar objects with the prefix "P1.cvcIntake.fld" ("fld" is the prefix of the form fields on the first page).  Second, going to the properties of the date picker object, its name has been changed to "P1.cvcIntake.FR_00000_CALENDARBUTTON_fld.Start_Date" and that action code is:
    FormRouter_PlaceCalendar(getField("fld.Start_Date"), 3, "yyyy-mm-dd", 18.61102294921875);
    Obviously both the name and the action code are going to cause it to do what it is doing now.  Unfortunately I am not sure what to try to do to fix things, as my skills at writing code for Acrobat is probably just a little better than beginner.  It seems to me that I need to be using a completely different approach for this part.  Does anyone have any advice on how I might be able to manage this problem?
    Thanks ahead for your time and consideration,
    Mike

    It took quite a while for me to solve this problem, but even longer to post it here (my apologies to anyone looking for a solution to it prior to now).  Anyway, the real trick for me was to discover that I didn't have to explicitly put any numbering notations after adding the new fields (such as + "#" + this.pageNum) -- it turns out that the proper notational numbering is handled automatically.
    While I am sure the real pros out there might be able to find a lot of ways to handle certain aspects better, below is the result of a great many hours of research, trial and error, and persistence.  Considering the help I have received from this forum,  I would be thrilled if I could make a contribution that helps anyone solve this problem.  If so, I would be glad to hear from you!  In any case, if anyone has any comments or questions please let me know. 
    // Get templates in array.
    var aTemplates = this.templates;
    var myTemplate = aTemplates[0];
    // Spawn new form page to end using page renaming.
    myTemplate.spawn(this.numPages, true, false);
    // Get the field name prefix that Acrobat automatically adds to the new page fields.
    var fldNamePrefix = "P" + (this.numPages - 1) + ".cvcIntake";
    // Reset the newly created fields to be cleared of any data.
    this.resetForm([fldNamePrefix]);
    // Init array counter for found calendar fields.
    var calFldsCnt = 0;
    // Array for found unusable copied calendar fields.
    var aCvcIntakeCalFlds = [];
    var pageCnt = this.numPages-1;
    // Loop through all fields.
    for (var i=0; i<this.numFields; i++) {
       var f = this.getField(this.getNthFieldName(i));
       var aNameSlice = f.name.split(".");
       // Find all copied template-renamed calendar fields and save names in array.
       if ((aNameSlice[1] == "cvcIntake" && aNameSlice[2] == "FR_00000_CALENDARBUTTON_fld") || ((aNameSlice[1] == "cvcIntake" && aNameSlice[2] == "FR_00000_Calendar"))) {
          aCvcIntakeCalFlds[calFldsCnt] = f.name;
          calFldsCnt++;
          continue;
       // Skip template-renamed fields.
       } else if (aNameSlice[1] == "cvcIntake") {
          continue;
       // Find non-button calaendar fields to create copy for new page.
       if (aNameSlice[0] == "FR_00000_Calendar") {
          var calFieldsName = aNameSlice[0] + "." + aNameSlice[1];
          var calField = this.addField(calFieldsName, f.type, pageCnt, f.rect);
          var t = this.getField(calFieldsName);        
          // Copy non-function proprties of page 0 calendar fields.
          for ( var p in f ) {
             try {
                if ( typeof f[p] != "function" ) {
                   if (p != "name" || p != "page" || p != "rect" || p != "type") {
                      t[p] = f[p];
             } catch(e) {}
          // Default all to hidden.
          t.display = display.hidden;
          // Set "CalendarMonth" items as they are on page 0.
          if (aNameSlice[1] == "CalendarMonth") {
             var aMonths = new Array(["January", "1"],
                ["February", "2"],
                ["March", "3"],
                ["April", "4"],
                ["May", "5"],
                ["June", "6"],
                ["July", "7"],
                ["August", "8"],
                ["September", "9"],
                ["October", "10"],
                ["November", "11"],
                ["December", "12"]);
             t.setItems(aMonths);
          // Copy button captions.
          if (f.type == "button") {
             t.buttonSetCaption(f.buttonGetCaption());
          // Set action for all calendar "Day_X" fields. 
          if (calFieldsName.indexOf("Day_") > 0) {
             t.setAction("MouseUp","FormRouter_SetCurrentDate(event.target.buttonGetCaption());");
       // Find page 0 calendar buttons and make new page copies.
       if (aNameSlice[0] == "FR_00000_CALENDARBUTTON_fld") {
          var calButtonName = "FR_00000_CALENDARBUTTON_P" + pageCnt + ".cvcIntake.fld." + aNameSlice[1];
          var calButton = this.addField(calButtonName, f.type, pageCnt, f.rect);
          var t = this.getField(calButtonName);        
          // Copy non-function proprties of page 0 calendar buttons.
          for ( var p in f ) {
             try {
                if ( typeof f[p] != "function" ) {
                   if (p != "name" || p != "page" || p != "rect" || p != "type") {
                   t[p] = f[p];
             } catch(e) {}
          // Get button icon copy.
          t.buttonSetIcon(f.buttonGetIcon());
          // Set up variable name for button action that call calendar activation.
          var dateFieldName = "P" + pageCnt + ".cvcIntake.fld." + aNameSlice[1];
          t.setAction("MouseUp","FormRouter_PlaceCalendar(getField(" + "\"" + dateFieldName + "\"" + "), 1, \"mm\/dd\/yyyy\", 0);");
    // Go through array of captured non-usable template-copied calendar fields and buttons, removing each from page.
    for (i=0; i<=aCvcIntakeCalFlds.length; i++){
       this.removeField(aCvcIntakeCalFlds[i]);
    // Go to the new page
    this.pageNum = pageCnt;

  • Gmail SMTP outgoing does not work after Yosemite upgrade on MacBook Air

    In my MacBook Air:
    I quit mail, opened my ~/Library, opened the Mail, V2, MailData, Accounts.plist.
    I find the offending mail account, change from <false/> to <true/>
    then reopen mail.
    But the same issue keeps reoccurring, because the change from <false/> to <true/> is never Saved.
    No issues with mail in my iMac desktop.

    Yeah i think it's a relatively common issue my grandpa has it with both his aol and gmail accounts. i do  know that mail issues are at the top of the list for bug fixes on tap for 10.10.1

  • Mail IMAP from Gmail - smtp server does not work.

    I have a question about the inner-workings of Gmail IMAP as it relates to sending mail on an outgoing smtp server. When I'm at school (high school), *I can only receive mail; I cannot send it*. I talked to my computer science teacher and he said the school restricts outgoing messages because apparently people can use the school's smtp server to send spam...or something along those lines. Anyway, connecting to Gmail directly works fine, but I also had a nice setup on some shared computers for other students (who are not computer-savvy) who needed to access a single email address. Is there a way around this (albeit minor) inconvenience? Can I set up Mail preferences to use a different port or something in order to avoid the smtp restriction? Not that big of a deal, but still somewhat perturbing (and I will go to great lengths to fix it lol). Tell me if this is doable/if you need more info.
    Thanks!

    GMAIL's Mail 4.0 setup procedure.
    Plus Google's Problem's sending mail.

  • Direct Dial Widget does not work

    After adding several direct dial widgets to my home screen I noticed none of them work.  You press the widget, the top notification bar turns Turquoise "same color as the phone app background" and a spinning "thinking" wheel appears for a few seconds.  Nothing happens after.  I have deleted the widget and re-made them numerous times.  Any ideas?

        Well that is great news! When a phone is in Safe Mode, it disables all 3rd party applications. Since your widget works in Safe Mode, all we need to do is remove the affecting 3rd party application. I would recommend uninstalling all 3rd party apps that were added on right before your widget stopped working. If your not sure what app might be causing this a Factory Reset is recommended http://vz.to/1qxiwgX to remove all 3rd party apps from the phone. I do recommend backing up all your information before you do this step. You can use Verizon Cloud http://vz.to/1qxj1HQ to store your media. Please keep us posted with your progress!
    SandyS_VZW
    Follow us on Twitter @VZWsupport

  • My iTunes album discovery widget does not work properly.

    Hi,
    I wanted to use the iTunes album discovery widget from apple.com for my website to promote a new release of mine.  While the widget will take you to my iTunes page when you click on view, it will not play audio when one presses play on the song selection of the widget at my website.  The play and stop feature seem to work, but no sound.  I put in some major acts into the widget and I had the same issue.  I contacted Apple and they told me they are not responsible for their widgets and to find someone who knows more about them possibly so here I am.
    http://widgets.itunes.apple.com/builder/
    Thanks,
    missingsock

    http://www.woodshampoo.net/  is my link to see the widget on my webpage music page
    missingsockout

  • Gmail reply button does not work

    reply and reply all icons are grayed out, unresponsive when trying to reply to an active email.

    Hey there.... so just to rule out anything to do with Avast I deleted it and re-started the computer.
    I checked Mail and I still have the default toolbar, I dragged it to the top again just to make sure.
    I just replaced my batteries in both the mouse and keyboard.
    Also, I can forward the message and click send. I can also create a new message and send. I just don't seem to be able to reply to a message.
    Thank you

  • [SOLVED] Microsoft Wireless Mobile Mouse 3500 scroll does not working

    Hello,
    I bought recently a Mobile Mouse 3500 from Microsoft. Anything working fine unless the mouse scroll. Below my xorg.conf mouse section:
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "ImPS/2"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "6 7"
    I tried to change to 4 5 6 7 but nothing happened
    Anyone know anything about it ?
    ---------- edit ----------
    I'm a amateur hehehe
    Option "ZAxisMapping" "4 5"
    Done.
    Last edited by hlegius (2011-11-08 20:49:59)

    Ask Microsoft or install different mouse control software such as my personal favorite: SteerMouse 4.1.8.

  • Maverick's Mail does not work with Gmail ! it works better with iOS 7

    For info.
    I do know how it's complex to program and more for an OS System.
    Maverick's Mail DOES NOT work proprely with Gmail boxes ? Gmail incoming or outcoming messages are correctly notified on my iPhone 5s with iOS 7. But not on my Macbook Pro retina (end 2012) with Mavericks. One update was suppose to solve the trouble.
    Hope you'll solve the problem as soon as possible. Bur not during the nights. But during your daytimes' work !
    Wish you nice end of year's days.
    And please get my best wishes for 2014. Hope you'll get a lot of these nice little moments of happiness.
    Best regards.
    Pascal

    Have you checked your incoming and outgoing mail server settings?
    If you are using IMAP, it should look something like the following:
    Incoming Mail (IMAP) Server - Requires SSL
    imap.gmail.com
    Port: 993
    Requires SSL:Yes
    Outgoing Mail (SMTP) Server - Requires TLS
    smtp.gmail.com
    Port: 465 or 587
    Requires SSL: Yes
    Requires authentication: Yes
    Use same settings as incoming mail server
    If you are using POP3, it should look something like the following:
    Incoming mail server type: POP3
    Incoming mail (POP3 or IMAP) server: pop.gmail.com. Google Apps users, enter the server name provided, don't add your domain name in these steps.
              Port: 995
    Outgoing e-mail server (SMTP) name: smtp.gmail.com
         Port: 465
    Outgoing server requires authentication: enabled

Maybe you are looking for

  • How to assign LogicalDirectory in JCA File Adapter - OSB

    in SOA Suite, you assign a value to LogicalDirectory by setting a property in composite.xml how to achieve the same in OSB?

  • Using MBP video out with with 2 adapters

    I have the an early 2011 MBP (15'', 2.2GHz, 10.6.8). This video output connector this computer has is a MiniDisplay port (Thunderbolt digital video output). I often need to connect it to a projector at college. Most of these projectors still use seri

  • DReamweaver MX 2004 Nav Bar

    As you will see from this question, I am a newbie at website construction. I am working on developing a new site using Dreamweaver MX 2004. I have included a navigation bar, which seems to work OK except for the "Down" mode. "Up", "over" and "Over wh

  • Why I can't see Kontakt 3.5 in Logic X?

    Why I can't see NI Kontakt 3.5 in Logic X? It is indeed a 64 bit application. I can load only Kontakt (Reader) 5.

  • 1099 listings report

    HI GUrus, we are running S_ALR_87012143 report to get the 1099 lisitngs for withioholding. But the ouput is not excel friendly. Is there any other report tahat willl give the same information as this report does and come neatly on to spreadsheet Than