How to display notifications and how to log them? (xmonad)

My first issue is to get any notifications to work in xmonad:
I am lost somewhere between libnotify, notification-daemon, notify-send, dbus and some similar/alternative packages. For example for both notification-daemon and statnot (not simultaneously) I ended up with the daemon running but didn't see any notify-send notifications. Shouldn't these be printed to the terminal?
Then I wonder if the following is possible and which packages/configurations it would require:
* Having a daemon run that collects all notifications
* Being able to access all previous notifications from the terminal (or maybe from a GUI): "10:00 Email received..., 10:10 IM received..., 10:30 Remind alarm..." etc.
* Optional: Mark them as read or hide or filter them.
Dreams or reality (or both)?

This is rather old, but for the record - kill notification-daemon to get notifications working with statnot. What's happening is that notification-daemon is hijacking them before statnot gets them. Also, the notifications should be replacing / the status text that statnot is drawing, not print out to the terminal.

Similar Messages

  • How to display date and time on jsf page

    Hi,
    how to display date and time on jsf page
    we are using 11.2.0.0 jdeveloper on windows.
    thanks
    Edited by: user12187801 on 26-Jul-2012 01:42

    Your question is certainly lacking some information.
    If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
    If you meant something else, then it's back to you to explain.

  • How to display images and information

    how to display images and information(e.g. like questions) on a jsp page that stored in a database

    Look As far as i can see....
    Utlimately every file could be expressed as a bytes buffer.
    so say if you have a bean called Choice Bean which is expressed as
    public class ChoiceBean{
       private String choiceid;
       private String choicedesc;
       private byte image[];
       public void setChoiceId(String choiceid){
              this.choiceid = choiceid;
        public String getChoiceId(){
               return this.choiceid;
          public void setChoiceDesc(String choicedesc){
               this.choicedesc = choicedesc;
           public String getChoiceDesc(){
               return this.choicedesc;
           public void setImage(byte image[]){
                  this.image = image;
             public byte[] getImage(){
                  return this.image;
    }QuestionList.java:
    ===============
    public class QuestionList{
         private List<ChoiceBean> choicelist;
          /*Other member variable declarations*/
           public  List<ChoiceBean> getChoiceList(){
                    /*Custom code where you may build the list by querying the DA layer*/
                     return this.choicelist;
         public int search(String choiceid){
                 int index = -1;
                 for(int i =0 ; i < this.choicelist.size() ; i++){
                        ChoiceBean cb = this.choicelist.get(i);
                         if(cb.getChoiceId().equals(choiceid)){
                                index = i;
                                break;
                 return index;
        /* Other member method declarations */
    }and you are retreving List<ChoiceBean> from DB using your query & have created a session attribute / <jsp:useBean> named ChoiceList
    NOTE: sometimes your application server can go out of bounds as you are consuming a lot of memory by creating an arraylist object.
    use the following methodology to display images & choices
    sample.jsp:
    =========
    <jsp:useBean id="QuestionList"  class="com.qpa.dao.QuestionList" scope="session"/>
    <TABLE>
    <%
    /* QuestionList.getChoiceList() is a method which fetches data from the DB & returns it in form of  List<ChoiceBean> */
    List<ChoiceBean> choicelist = QuestionList.getChoiceList();
    for(int i =0 ; i < choicelist.size() ; i++){
    %>
    <TR>
    <TD><%!=choicelist.get(i).getChoiceId()%></TD>
    <!-- calling servlet which renders an images in JPG format based upon given choiceid(unique field) -->
    <TD><IMAGE src="ImageServlet?choiceid=<%!=choicelist.get(i).getChoiceId()%>"/> </TD>
    <TD><%!=choicelist.get(i).getChoiceDesc()%></TD>
    </TR>
    <%
    %>
    </TABLE>
    <%
        session.remove("QuestionList");
    %>
    NOTE: usage of JSTL or any other custom built tag-libraries makes life more simpler in the following case
    ImageServlet.java:
    ===============
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            byte buffer[] = null;
            HttpSession session = request.getSession(false);
            /*getting the QuestionList from the session*/
            QuestionList ql = null;
            String choiceid = new String("");
            try{
                 choiceid = request.getParameter("choiceid");
                 /*getting the QuestionList from the session*/
                ql = (QuestionList)  session.getAttribute("QuestionList");
            } catch(Exception exp){
            if(choiceid.equals("") == false &&  ql != null ){
                List<ChoiceBean> clist = QuestionList.getChoiceList();           
                   assuming that you have created a serach method which searches the entire choice list and would give you
                   the index of that object which is being refered by unique choiceid and returns -1 if not found
                int index =  QuestionList.search(choiceid);
                if(index != -1){
                   ChoiceBean cb = clist.get(index);
                   buffer = cb.getImage();
            if(buffer != null){
                 // assuming that we have stored images in JPEG format only
                 JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(new ByteArrayInputStream(buffer));
                 BufferedImage image =decoder.decodeAsBufferedImage();
                 response.setContentType("image/jpeg");
                 // Send back image
                 ServletOutputStream sos = response.getOutputStream();
                 JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
                 encoder.encode(image);
            } else {
               response.setContentType("text/html");
               response.getWriter().println("<b>Image data not found</b>");              
    }However,i still feel there are few loopholes with this approach where Application Server can eat up a lot of heap space which may result in outofmemorybound exception.
    Hope this might help :)
    REGARDS,
    RaHuL

  • Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    I have friends all over Europe, does it matter what number they use to call me? Nope! All incoming calls are free for me.
    The only time you ever have to worry about which number is if you get charged for incoming domestic/international calls.
    You can tag their number (work/home/iphone) and that may show on the CallerID accordingly.
    It should show, John Doe
    underneath,    work/home/mobile
    For example:
    http://shawnblanc.net/images/img-0009-1.png

  • How can I generate and/or retrieve log files from iPad

    How can I generate and/or retrieve log files from iPad?
    OBS!
    There are NO files apearing in ~/Library/Logs/CrashReporter/MobileDevice/<name of iPad> so where else can i find it?
    I want to force it to produce a log, or find it within the iPad.
    It is needed for support of an app.

    Not sure on porting out the log data, but you can find it under General->About->Diagnostic&Usage->Diagnostic&Usage Data.  It will give you a list of your log data, and you can get additional details by selecting the applicable log you are looking for.  Hope this helps.

  • How to display Lines and Boxes in SAP Script

    hi,
    Can any one help me how to display Lines and Boxes in SAP Script.
    Regards
    kiran

    The SAP printer drivers based on page-oriented printers use these commands when creating output whereas the line printers and non-supported page-oriented printers ignore these commands.
    Syntax:/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    This command draws a box of the specified size at the specified position.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    WIDTH determines the width of the box.
    Default: WIDTH value of the SIZE command.
    HEIGHT determines height of the box.
    Default: HEIGHT value of the SIZE command.
    FRAME determines the thickness of frame.
    Default: 0 (no frame).
    INTENSITY determines the box contents as a grayscale percentage.
    Default: 100 (full black)
    The other details I guess is provided by friends who have posted before me.
    Regards,
    K.Sibi

  • I need information on how Adobe Drive works and how to set it up

    Hey folks,
    believe it or not, but I have been searching a lot on the web already on how to find information how Adobe Drive works and how to set it up.
    Most information that I found is old and seems to be valid only for older versions of Creative suite. Here in the company we use CS5.5 and will switch to CS6 soon.
    I already downloaded Adobe Drive 3 and installed it on my Mac. Unfortunately I don't know what to do next? Do I need Adobe CQ to make it work? Or can I use it with an existing SVN infrastructure, that we have here? Actually I would like to access the SVN via Adobe Bridge. But after the installation of Adobe Drive my Bridge CS5.5 is crashing while starting up, and I didn't find out how to fix this again.
    Actually I just found the manual for Adobe Drive 3 and read it. Seems to be easy in case its working. But it's not in my case, as mentioned above.
    Any idea what could be the problem?

    Thanks,
    in the meantime I managed to re-setup Adobe Drive 3 again. Bridge CS5.1 is still crashing (i have a log-file with a detailed error-report, if somebody knows how to extract information from this.
    At least now I can start Drive as a standalone application.
    So now my main question is how to connect Drive 3 to our subversion infrastructure in the company. Does anybody have information on this?

  • My mother contacts disappear when she sends a message or call someone, how is this possible and how to fix it?

    My mother contacts disappear when she sends a message or call someone, how is this possible and how to fix it?

    Technically the limit of 4Gb per folder should have been removed in a recent patch. Personally I an unconvinced as the developers have said so twice before and something else arose to bite people at 4Gb. So the limit probably does not exist anymore and moving mail and compacting will fix it without data loss if it occurs as recent issues have been about displaying mail after the 4Gb point, not storing it.
    Use the Ctrl and Shift keys in conjunction with your mouse to make multiple selections.
    click followed by Shift+ Click selects everything between the two clicks, including the items clicked.
    Holding the Ctrl key while clicking allows you to select or deselect mail to either fine turn the list from shift clicking or to make one of your own.
    Ctrl +A selects everything in the list from the current selection to the end.
    One option is create an important folder and move your important stuff to it then ctrl +A the whole remaining inbox.

  • HT204053 there is a new email on my phone apple id when I try to make an app purchase my own apple id does not work. How does this happen and how can I change it back?

    There is a new email address on my phone in the apple id password box.  My password will not work.  How did this happen and how can I change it back?

    Of course your password shouldn't work on a different Apple ID. This can happen for many reasons, no worries, just sign out back back in using your own ID.
    iOS: Changing the signed-in iTunes Store account
              http://support.apple.com/kb/HT1311

  • When I try to get on the internet thru safari at home, on my network, I get a pop up that says Safari cannot open the page because it is not connected to the Internet.  How can this be and how do I fix it?

    when I try to get on the internet thru safari at home, on my network, I get a pop up that says Safari cannot open the page because it is not connected to the Internet.  How can this be and how do I fix it?

    Does the iPod connect to other networks?
    Do other device connect?
    Did the iPod connect to this network before?
    Try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>GeneralReset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • How to enable RFC and how to use it in Report..please tell its very urgent

    Dear Techie's,
    Please tell its very urgent..
    How to enable RFC and how to use it in Report. ??
    Virendra

    hi,
    pls chk any of these links.
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    rgds
    Anver

  • "Open In Tabs." How it got there and how to get rid of it?

    I've searched the forums and tried all I can think of but cannot figure out:
    1) How an "Open in Tabs" item got in my Bookmarks Menu -
    When I go to Main Menu>Bookmarks, at the very bottom is a dividing line and below it, "Open In Tabs." Yet, when I Show All Bookmarks, I cannot find it anywhere. It's not a folder, it's not a link or site, its not in the Bookmarks Bar or the Bookmarks Menu - but it's there when I drop down from Main Menu>Bookmarks.
    2) How to create my own "open in tabs" with only two bookmarks in it that I can set to open at starting up Safari.
    Right now, when I click it, it tries to open everthing in my Bookmarks Menu.
    Can anyone explain (how it got there and how to get rid of it) - and help me do what I'm trying to do (open two sites at startup)? Thanks.
    (Safari 1.3.2-OS 10.3.9)
    nÔÔdle--hëad Per-rrr-plexed

    I have to apologize, I accidently gave the link to Safari Enhancer when I mentioned Safari Extender.
    Safari Enhancer and Safari Extender are two different programs with two different purposes.
    Enhancer is a free standalone program to adjust some of the features in Safari that can not be adjusted using Safari's Preferences. It also alows you to make these changes without having to use the Terminal.
    Extender is a shareware Safari plugin that adds its own items to the control-click contextual menus in Safari and includes menu items to work with tabs, mail, user agents, printing, and other functions.
    Both are useful programs. I have and use each of them.

  • In Mac Mail on OS 10.5.8 I am receiving bogus emails which claim to be sent by people in my address book, but actually are not.  How does this happen and how can I correct this problem

    n Mac Mail on OS 10.5.8 I am receiving bogus emails which claim to be sent by people in my address book, but actually are not.  How does this happen and how can I correct this problem

    You said:
    I am receiving bogus emails which claim to be sent by people in my address book, but actually are not.
    ...and:
    Are you saying that my address book has not been hacked into?  That others are getting these email addresses from another source?
    This confuses me.  Are you saying that you are receiving bogus e-mails from some of your contacts, or are you saying that they are receiving bogus e-mails from you?
    If the latter, there are a number of reasons that people might be getting e-mail from you.  Malware, though technically possible, is extremely unlikely.  See Someone is sending messages from my e-mail address!
    If the former, that's rather unusual.  The only decent explanation I can think of is that a bunch of your Windows-using contacts got infected with something and their machines are being used to spam everyone in their contact lists, which would include you.

  • Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

  • How to make reifications and  query to obtain them

    Hello;
    If the option expressed in the previous thread is unavailable the other option is make reifications over the triple.
    There is no documentation about how to make reifications and how is expressed in a SDO_RDF_MATCH query
    Can you help me ?
    Regards
    Isidro

    Example: if you want to express the fact that :John :fatherOf :Matt is recorded in the document :birthCertificate, it could be done using reification as follows:
    INSERT INTO family_rdf_data values(100,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#type',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement'));
    INSERT INTO family_rdf_data values(101,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#subject',
    'http://www.example.org/family/John'));
    INSERT INTO family_rdf_data values(102,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate',
    'http://www.example.org/family/fatherOf'));
    INSERT INTO family_rdf_data values(103,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#object',
    'http:/www.example.org/family/Matt'));
    INSERT INTO family_rdf_data values(104,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.example.org/family/recordedIn',
    'http://www.example.org/family/document/birthCertificate'));
    A sample query involving such reified statements:
    SELECT s, p, o
    FROM TABLE(SDO_RDF_MATCH(
    '(?stmt rdf:subject ?p) (?stmt rdf:predicate :fatherOf)
    (?stmt rdf:object ?o)(?stmt :recordedIn ?s)',
    SDO_RDF_Models('family'),
    null,
    ....

Maybe you are looking for