Conky new_mails not updating when local mail messages are read

Apologies if this is the wrong place to ask this, but I'm new.
I recently installed Arch Linux on my eeePC 1005HA laptop with dwm, conky, and postfix (I followed the wiki to install postfix to send local mail).  I'm using xsetroot to replace the "dwm-5.2" text in the upper right corner with conky-provided information about time, CPU usage, etc., and want to use it to see how many unread local mail messages are in my /var/mail/spool/USER spool.  Using ${new_mails} seems to be the way to go, but the value reported by ${new_mails} only ever increases when a message is sent to the spool, never decreasing when new messages are read or deleted until conky is restarted.  I'm only using the "mail" program to send and receive mail to the local spool for system notifications like "your battery is low, save things now".
I've seen other users use ${new_mails} apparently fine, but googling for this problem shows other people having a similar problem.  However, I haven't found any forum, wiki, or article about how to fix this without using messy workarounds, and the conky IRC channel didn't know how to fix this, though they've heard of similar problems with mutt.  Any ideas?

Bump!  I've tried reinstalling conky and postfix/mail, and not much seems to work.  Is conky passé now in favor of something else?

Similar Messages

  • Mail Badge Does Not Update # of Unread Mail Messages

    My iPhone is stubbornly refusing to update my number of MobileMe unread mail messages. For some reason, it is displaying 6 more unread messages than there actually are. No if I have no unread messages, the badge reads 6. If I have 5 unread messages, the badge reads 11.
    I access MobileMe via my iMac, iPad, and iPhone (iOS 4.1). My iMac and iPad aren't having this issue. Any suggestions about how to fix this problem? Thanks in advance!

    Hi,
    Did you mean the connected Microsoft account used to Mail APP and all Windows 8.1 computer?
    If yes, it's indeed as what you describe. Since Windows 8.1 Mail app has been designed such a way that, it will keep you in logged in mode all the time so that you will be able to check your emails without logging in to the webmail. In other words, it's
    always keep session. Therefore, it wouldn't ask credential to confirm.
    However, this is not only depending on Mail App but also related with mail type security. Based on my test, Adding an Exchange email account, it will prompt to check password setting at once if you change password. Adding an Hotmail account, nothing happened
    after change the password.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Not automatically marking e-mail messages as read in outlook 2010

    Our office has a user with an assistant set as a delegate in Outlook
    (Exchange 2010 environment). Currently, if the assistant views an email in the
    user's Mailbox, it is set to "Read" status, which can lead to confusion as to
    which items have or have not been read by the mailbox owner. Is there a
    setting (both users have Outlook 2010) that will stop items viewed
    by the assistant from being set to "Read" status?
    http://www.office-outlook.com/out.../m/514421/ suggests a way, but that means the assistant has to mark her e-mails read manually(Ctrl + Enter)
    Is there a way, it can be done so that if the assistant(delegate) just goes to her manager's mail, it will be unread as long as she does not mark them read manually(Ctrl + Enter).
    But, for her mailbox if the focus is on a message for five seconds, it is marked as read.
    So, can the option to mark items as read be disabled for manager's mailbox, but not for the assistant? Does Exchange 2010 allow this?

     
    I can set a per folder reading pane in Outlook 2013. Its a little weird, you have to sort of toggle it off and then reenable it again. I assume its the same for 2010, but I could be wrong. I have not tested it with a delegated mailbox however, you may have
    to do the same thinng and toggle it back and forth.
    Might be worth asking in the Outlook Forum to see if its even possible
    http://social.technet.microsoft.com/Forums/en-US/outlook/threads
    Twitter!:

  • JLabel text not updating when accessed by an Accessibility reader

    I'm using JAWS a Screen Reader package that takes advantage of the Accessibility within Java. The JAWS software reads the screen fine except after calling the setText() method of a JLabel. The new text is shown on the screen, but the JAWS software still reads the old text. When, I press the tab key in the JPanel the new text label is spoken correctly using JAWS.
    What would cause the screen to display the dynamic text, but a Screen Reader will still read an old value?
    Any help would be much appreciated.
    I am using JDK 1.4.02_03, AccessBridge 1.2, and JAWS 5.0

    I never found a solution to this. This was mainly due to the fact that the project has been put on hold temporarily. I will be returning to this project in the coming months and if I get anywhere I'll post my findings here.

  • My mail program does not update when I delete emails in my other email programs (i.e. it still shows messages in my mail inbox when I've deleted them).  I think this started with Maverick?  Any solutions?

    My mail program does not update when I delete emails in my other email programs (i.e. it still shows messages in my mail inbox when I've deleted them).  I think this started with Maverick?  Any solutions?

    one is gmail, one is a university email and they are both IMAP accounts (not that I know what that means)....

  • HT1277 Mail on my Mac computer does not update when I update my mail on my phone and iPad.  Can anyone help me with this?  Is there a setting I need to check?

    Mail on my Mac computer does not update when I update my mail on my iPhone and iPad. Can anyone help me with this?  Is there a setting that I need to check?

    All that you had to do was to sign into the old account in order to update those apps. What I mean is that you just needed to sign into that account in the store settings like I described and that should have worked. You didnt need to enter the credit card information again - you justed needed to use the old ID and password.
    Anyway, I think the good news is that if everything else is OK with the new account, just download iBooks with the new ID - it's a free app so its not like you have to pay for it again. I'm not sure what the other App is that you are talking about - but if it is the Apple Store App - that is free as well.
    Try this anyway, when you try to update iBooks, just use the old password if the old ID still pops up.
    Did you try signing into the store settings with your new ID and see what happens with the updates then?

  • Login settings will not update the local testing server files

    When uploading to web server from local testing server, changing login settings in the control panel does not update the local testing server Restrict Access to page files. Causing login on website not to function.
    It does however update the Connections file and the login wizard form.
    What is the best way to change login settings before uploading site to web server?
    Thanks
    Dan

    Dan - I am having the same exact problem. I'm using the restrict access and user registration and login - when attempting to use the Update Record wizard to allow users to change their password or email address, it doesn't change the record.

  • How NOT to save iCloud Mail messages sent from iPhone?

    Using iCloud Mail on a MacBook / Safari, e-mail messages are NOT saved - the relevant box in Preferences is unchecked. However they are saved in the Sent folder when sent from an iPhone. Is there any way they are NOT saved either way?

    Again, ON MY IPHONE only has Sent option. There's no way you can set the Sent mailbox to any Trash anywhere.

  • Field not updating when switching fields.

    I am using Oracle Forms Builder 10g and I created a procedure to get the data from a related table into the data block
    PROCEDURE GET_MODEL_VAL IS
    CURSOR MODEL_VAL IS
    SELECT VMODEL_NAME
    FROM VEHICLE, VEHICLE_MODEL
    WHERE :VEHICLE.VEHICLE_ID = VEHICLE.VEHICLE_ID
    AND :VEHICLE.VMODEL_ID = VEHICLE_MODEL.VMODEL_ID;
    BEGIN
      OPEN MODEL_VAL;
      FETCH MODEL_VAL INTO
      :VEHICLE.VMODEL_NAME;
      IF MODEL_VAL %NOTFOUND THEN
           :VEHICLE.VMODEL_NAME := NULL;
      END IF;
      CLOSE MODEL_VAL;
      EXCEPTION
           WHEN NO_DATA_FOUND THEN
           MESSAGE ('Model Data Not Found');
           WHEN OTHERS THEN
           MESSAGE ('Post-Query Unsuccessful');
    END;And I created an on validate trigger to check if the FK is valid and then call the above pcedure
    DECLARE
         NUM NUMBER;
    BEGIN
         SELECT COUNT(*) INTO NUM
         FROM VEHICLE, VEHICLE_MODEL
         WHERE :VEHICLE.VMODEL_ID =  VEHICLE_MODEL.VMODEL_ID;
         IF
              NUM = 0 THEN
              DISPLAY_VMID_ALERT;
              RAISE FORM_TRIGGER_FAILURE;
         END IF;
         GET_MODEL_VAL;
    END;Now here's the fun part. If I am updating the record when I tab or click away from the VMODEL_ID field the VMODEL_NAME field updates and everything is fine, however during an insert it does not.
    Any insight?
    The Oracle Peon...
    Edited by: Oracle Peon on Apr 25, 2013 10:18 AM
    Edited by: Oracle Peon on Apr 25, 2013 10:31 AM
    Edited by: Oracle Peon on Apr 25, 2013 11:25 AM

    I was just typing up a response to you Steve when it hit me, the VEHICLE_ID isn't in the database yet during an insert.
    WHERE :VEHICLE.VEHICLE_ID = VEHICLE.VEHICLE_ID
    AND :VEHICLE.VMODEL_ID = VEHICLE_MODEL.VMODEL_ID;should be
    WHERE :VEHICLE.VMODEL_ID = VEHICLE_MODEL.VMODEL_ID;Now I'm a bit new to Oracle so excuse my ignorance but you and Amatu lost me in your explanation.
    I'm going to mark this as answered but I'd appreciate either a little more detail on what you guys did answer or some links to help me learn a bit more.
    Thanks...
    The Oracle Peon...
    Edited by: Oracle Peon on Apr 25, 2013 11:25 AM

  • How do you add pictograph favorites to font selection when composing mail messages?

    I located the desired symbols from the "Characters" selection when I chose the Format menu and opened the gear symbol on the bottom lefthand of the pulldown menu.  Now I do not understand how to place these "Favorite" symbols I identified placed into my Font selection for easy access or use when composing mail messages.  

    Hi skrug1967!
    I have an article for you that I believe can address this question for you:
    OS X Mountain Lion: Enter special characters and symbols
    http://support.apple.com/kb/PH10758
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • Text not updated when changing the ResourceBundle

    this is an abstraction of what i have on my code:
    controller
    public class controller extends VBox{
         @FXML protected Label ex2;
         public CtrlMainMenu() throws Exception{
              FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/view/View.fxml"));
              fxmlLoader.setController(this);
              fxmlLoader.setRoot(this);
              fxmlLoader.setResources(CtrlLanguage.resource);
              fxmlLoader.load();
         @Override public void initialize(URL arg0, ResourceBundle arg1) {
              ex2.setText(arg1.getString("ex2"));
    }View
    <fx:root type="VBox" xmlns:fx="http://javafx.com/fxml">
         <children>
              <Label text="%ex1"/>
              <Label fx:id="ex2"/>
         <children>
    </fx:root>Language controller
    public class CtrlLanguage{
         private static String PATH =
              new File(
                   CtrlImageLoader.class.getProtectionDomain().getCodeSource().getLocation().getPath()
              ).getParentFile().getPath() + "/language/";
         public static ResourceBundle resource;
         public static void setLanguage(String file) throws Exception{
              try {
                   if(new File(PATH + file).exists())
                        resource = new PropertyResourceBundle(new FileInputStream(PATH + file));
                   else
                        resource = new PropertyResourceBundle(CtrlLanguage.class.getResourceAsStream("/language/"+file));
              } catch (Exception e) {
                   resource = new PropertyResourceBundle(CtrlLanguage.class.getResourceAsStream("/language/EN"));
         public static String get(String key){
              try {
                   return resource.getString(key);
              } catch (Exception e) {
                   return key;
    }problem comes when I try to change the language without changing the current root
    the elements of the view are not updated when the bundle is changed (CtrlLanguage.setLanguage("file");) until the root is changed/loaded again
    is there any way so i can make the content change without having to reload again the root?

    A method which returns an instance of the following class:
    * A localizable read only property for internationalization of string properties.
    * @author Christian Schudt
    public final class LocalizableStringProperty extends ReadOnlyStringProperty {
        private String resourceKey;
        private StringProperty text;
        private String baseName;
        private ClassLoader classLoader;
        // Keep the listener as hard reference in the class, so that it won't get GCed, until this class has no references any more.
        private ChangeListener<Locale> changeListener;
        public LocalizableStringProperty(LocaleManager localeManager, String baseName, String resourceKey) {
            this(localeManager, baseName, resourceKey, null);
        public LocalizableStringProperty(LocaleManager localeManager, String baseName, String resourceKey, ClassLoader classLoader) {
            changeListener = new ChangeListener<Locale>() {
                @Override
                public void changed(ObservableValue<? extends Locale> observableValue, Locale locale, Locale locale1) {
                    localeChanged(locale1);
            localeManager.localeProperty().addListener(new WeakChangeListener<Locale>(changeListener));
            this.baseName = baseName;
            this.classLoader = classLoader;
            this.resourceKey = resourceKey;
            text = new SimpleStringProperty();
            localeChanged(localeManager.getLocale());
        private void localeChanged(Locale locale) {
            ResourceBundle resourceBundle;
            Locale.setDefault(locale);
            if (classLoader == null) {
                resourceBundle = ResourceBundle.getBundle(baseName, locale);
            } else {
                resourceBundle = ResourceBundle.getBundle(baseName, locale, classLoader);
            text.set(resourceBundle.getString(resourceKey));
        @Override
        public String get() {
            return text.get();
        @Override
        public Object getBean() {
            return text.getBean();
        @Override
        public String getName() {
            return text.getName();
        @Override
        public void addListener(ChangeListener<? super String> changeListener) {
            text.addListener(changeListener);
        @Override
        public void removeListener(ChangeListener<? super String> changeListener) {
            text.removeListener(changeListener);
        @Override
        public void addListener(InvalidationListener invalidationListener) {
            text.addListener(invalidationListener);
        @Override
        public void removeListener(InvalidationListener invalidationListener) {
            text.removeListener(invalidationListener);
    }

  • Some of my contact names are not appearing when they text message me.  They are just showing up as their numbers. I have them saved in my phone so i am not really sure why their names aren't showing up when they message me?

    some of my contact names are not appearing when they text message me.  They are just showing up as their numbers. I have them saved in my phone so i am not really sure why their names aren't showing up when they message me?

    I have this identical problem.  For a while my group texts didnt show up on my ipad.  Then one day they did, maybe everyone in the group started using the same os version or something.  Ever since my first reply to the group there have been complaints of multiple threads.  I can not find a pattern for when my group text's decide they want to create a new thread. (it doesnt happen every time)  Everyone in the group has deleted the thread, we've all toggled imessage on/off etc.  There still hasn't been a solution.
    Any help would be appreciated.
    Thanks

  • IPod will not update when plugged into computer?

    Just recently my iPod with not update when I plug it into my computer. My iPod does not show up on my Mac or my iTunes. When I plug it in the screen shows the do not disconnect sign. I have tried to reset my iPod and checked for new updates, but they haven't worked. If anyone knows what to do that would be great.
    Thanks

    Yes. Since I installed the new system software (10.4.6) update Sunday night, I cannot update any of my iPods except the iPod video. The iPods also do not show up on my desktop. The battery charges but that's all that happens.

  • Why the PO action history is not updating when i perform the vacation rules

    Hi,
    Can any one explain why the action history is not updating when performed the vacation rules using the below example
    Example: A >B>C>D are in the approval hierarchy here I have defined the vacation rules by login to the user C here I selected the item type as “All” and delegated to D.
    Now the buyer “A” has sent the document for approval. The user “B” can successfully reserve funds and approved the document. Now the document is automatically delegated to D. Here D can open the document from open notifications and approved the document. Now when I checked the Action history here I cannot find the performed name D who has actually approved the document.
    Note:we are using the 11.5.10.2 version.
    The Action History in the following manner
    Seq Action Performed By
    ================================
    4 Approve C
    3 Forward B
    2 Reserved B
    1 Forward A
    0 Submit A
    From the above action history why the user D name is not showing. Can any one let me know ASAP?
    Regards,
    Keivn.
    Edited by: user10960960 on May 5, 2009 3:36 AM

    When you set up the vacation rule, if you simply delegate the ownership to D, then C retains the ownership and the approval occurs with C's limits. And hence D is treated as the approver.
    If you transfer the ownership, then C is out of the picture. The notification goes to D and when he/she approves, D's limits kick in and he will be seen as approver.
    Hope this helps,
    Sandeep Gandhi

  • ITunes play count does not update when iPod is connected

    iTunes keeps track of how many times i play the song on my computer but does not update when I connect my iPod. Is there a way to fix this??
    thanks!!

    I just checked and it does update for me. I'm still waiting to see if it updates from the AppleTV though.

Maybe you are looking for

  • How to use a fixed port for remote assistance in windows 8.1 behind a nat router freebox?

    Hello, Before to use remote assistance in windows 8.1, i need to configure my nat router freebox. But remote assistance ( msra.exe ) use a dynamique port and never the same. How to use a fixed port for remote assistance ini windows 8.1 ? And why i ca

  • Where are the division, multiplication and subtractions on mac keyboard?

    trying to do an microsoft excel tutorial on mac - where are the divide, subtract and multiply figures on the keyboard?

  • Deploying parts of a JHeadstart application?

    In a small JHeadstart project I wonder how deploy the application. The application has to main windows and 12 wizard windows. As the wizard windows (of course) are closely linked to one of the the two main windows there exists one application definit

  • Iweb and adding a calendar

    i wanna make a calendar on my iweb site. i wanted to add a calendar element to a page but also have an image above it to make it look like a real calendar u put on a wall. and i would change the image every month. so i would prefer to be able to put

  • Can't install Acrobat X on Windows 7

    I am try to install acrobat x to my windows 7, when i press "Install" button, the installation windows disappear, background "msiexec" still runing. But i can install at a windows xp and work fine.