How to get this information for Conky

Hi people,
My question is how to get this information for show in Conky:
- KDE version.
- Last sync (pacman -Sy) and Last update (pacman -Su)
For the first point could be use a script that execute $ kdesu --version and get information from there.
I have no idea how get information from pacman (may be logs?).
Any ideas?
Thank you.

I have had tremendous success with LUA in Conky on Arch. And all you need to to is put the text HI after the "TEXT" line. ^^;
Examples of my LUA usage:
http://fc02.deviantart.net/fs71/i/2010/ … usLink.png
http://kittykatt.silverirc.com/screens/conky-HUD.png
EDIT:  Also, I've had success with getting the KDE version by doing the following...
kwin --version | awk '/^Qt/ {data="Qt v" $2};/^KDE/ {data=$2 " (" data ")"};END{print data}'
This is the method I'm currently using in screenFetch. Tested it a couple of times myself, but besides that, I'm not sure if it will work or not.
Last edited by kittykatt (2010-04-22 17:52:25)

Similar Messages

  • How to get battery information for macbook air 13"

    Hi,
    I am using macbook air 13" released by the end of last year.
    For personal reason, I have to buy a new battery for my mba through the internet.
    So, how can I check the battery information (such as release day and last day of warranty) using its serial number?
    It is not easy to find such service in apple.com in case of macbook air battery.
    Thanks for your reply.
    Jonghun Park.

    That page supports for (as it mentioned below)
    iPhone, iPad, Mice and Trackpad, iSight, Portable Computers, AirPort, iPod, Displays, Xserve, Desktop Computers, Keyboards, Apple TV
    NOT FOR THE BATTERY EMBEDDED IN MACBOOK AIR!! :<
    (And the length of serial number of battery is longer than above HW products)
    Thanks for your answer, by the way.

  • How to get the information of the log related to t.code generated by basis.

    In the log generated by the basis personnel we found the details of user and corresponding t.code used details.  How to get the information reg. which document he went into using this t.code? For example me29 t.code used by 'x' user.  The log is showing time date t.code and user.  By using me29n which document he attended is the requirement. How to get this information. Let me know it pl.
    TS

    Thanks all for the help.
    Here is my solution. A mix from Julian and Thomas.
    In future I will encapsulate the code in a function module.
    DATA: BEGIN OF usr_tabl OCCURS 10.
            INCLUDE STRUCTURE uinfo.
    DATA: END OF usr_tabl.
    DATA: th_opcode(1) TYPE x.
    DATA: LV_TID LIKE  SY-INDEX.
    CONSTANTS: opcode_list LIKE th_opcode VALUE 2.
    CALL 'ThUsrInfo' ID 'OPCODE' FIELD opcode_list
      ID 'TAB' FIELD usr_tabl-sys.
    CALL FUNCTION 'TH_USER_INFO'
      EXPORTING
        CLIENT = sy-mandt
        USER   = sy-uname
      IMPORTING
        TID    = LV_TID.
    read table usr_tabl with key tid = lv_tid.
    IF sy-subrc = 0.
      CASE usr_tabl-type.
        WHEN 2.
          write :/ usr_tabl-type, 'SYSTEM'." (system)
        WHEN 4.
          write :/ usr_tabl-type, 'GUI'." (Gui)
        WHEN 32.
          write :/ usr_tabl-type, 'RFC'."(RFC)
        WHEN 202.
          write :/ usr_tabl-type, 'PLUG-IN'." (Plug-in &).
      endcase.
    ENDIF.

  • My iPod was stolen and insurance company want it's serial number before replacing it. They have advised iTunes stores this information as a device connected to iTunes. Can anyone advise how I find this information?

    IiPod serial number stored in iTunes, can anyone advise how I find this information for my insurance company?

    Juliebathgate wrote:
    IiPod serial number stored in iTunes, can anyone advise how I find this information for my insurance company?
    Hi,
    If you have made a backup at any time of your iPod in iTunes, it should be in Preferences, under Devices tab.
    In iTunes
    Open iTunes Preferences.
    From the Preferences window click on the Devices.
    Once you are there you should see a list under "Device Backups:".
    Hover your mouse pointer to the device and in a little while it should display the serial number of the device (with an iPhone it will also display a phone number used with it and the IMEI code and with an iPad it will display the IMEI in addition to the serial number).
    A pircture of where it can be found: http://km.support.apple.com/library/APPLE/APPLECARE_ALLGEOS/HT4946/en_US/HT4946- devices-iphone-001-en.png

  • HT4528 I downloaded the ios7 and it wiped out some of my notes, I thought iCloud stores this information but I can't find it. How do I get this information back?

    I downloaded ios 7 and it wiped out some of my notes. I thought the iCloud backed up all my information, but I can't find it. How do I get this information back?

    YOu restore your phone from your icloud backup.
    http://support.apple.com/kb/HT1766

  • HT201272 hi i bouth lion for my mac but i had to restrat my mac and it was all lost do you know how i get this back

    hi i bouth lion for my mac but i had to restrat my mac and it was all lost do you know how i get this back

    Hi..
    Better to post our topic in the Lion forum here.
    This is the iTunes Store forum.

  • Itunes  11.4.0.18 crashing when clicking on app store  Itunes is getting crash when clicked on app store. I tried to get some information for this crash and got the above message in debugging mode. Please fix this if required but i am unable to open

    Itunes  11.4.0.18 crashing when clicking on app store
    Itunes is getting crash when clicked on app store. I tried to get some information for this crash and got the above message in debugging mode. Please fix this if required but i am unable to open app store.

    Click here and follow the instructions to change the iTunes Store country.
    (97125)

  • I have tried to upgade to the latest version of i tunes and am unable to do so so. The problem being that i have lost the installation source for apple software update any ideas of how to get this back ?

    i have tried to upgrade to the latest version of i tunes. I have been unable to do so as when it gets 2 thirds of the way through the installation a message appears saying that i have lost the installation source for apple software update any ideas of how to get this back and install itunes again?

    A second generation iPod touch can't be updated past 4.2.1.
    (86969)

  • Hi out there. To capture a screen shot one uses: Command-Shift-3 or 4. I have done this for a long time. Now suddenly neither screen shot works anymore. Suggestions how to get this useful function back? Thanks, Georgx

    Hi out there. To capture a screen shot one uses: Command-Shift-3 or 4. I have done this for a long time. Now suddenly neither screen shot command works anymore. Suggestions how to get this useful function back? Thanks, Georgx

    Command-Shift-3 and 4 works just fine on several Macs that I have here.
    Try restarting your Mac....or post in the specific support area for your Mac model....for more advice.
    https://discussions.apple.com/index.jspa

  • HT4623 i have iOS 4.2.1 in 3G old one. how to get the applications for this iOS

    i have iOS 4.2.1 in 3G old one. how to get the applications for this iOS

    look at this thread
    https://discussions.apple.com/message/22837309#22837309

  • HT201328 My nephew give me the iphone and i'm not sure about the carrier. how i can get this information using the imei number?

    My nephew give me the iphone and i'm not sure about the carrier. how i can get this information using the imei number?

    If you have the iPhone in front of you, here's how you can learn the carrier:
    Go to Settings > General > About and look at the "Network" row near the top.  There's your carrier's name!

  • Qry:How to get different price for each price list (variable area) in order

    1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
    2- I add a location store from a table in line item and I want to see this area in order,.
    I 'm created 2 field location(item line and order), 1 table location
    I tried this for exemple : select $ [userfieldlocation.OITW]

    Thanks Suda for your answer,
    the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,     
    I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
    read carefully and imagine how (Management warehouse locations)
    I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data  line and an ather user field 'U_Location' in sales order
    I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
    or
    create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
    I think we will use all these tables
    @LOCATION
    PDN1
    OITM
    OITW
    OWHS
    RDR1
    Juste a another question : where you found this and What is: ' 38.1.0 '
    Is it in document (System information):Item=38 Pane=1 ??
    Thanks,
    Ouchen

  • How to get Alerts mail for adapter engine errors in SAP PI 7.0

    Hi Friends,
    I configured Alerts in PI 7.0. with the help of t-code u2018ALRTCATDEF and created a new alert catergory.
    In container tab i have mentioned all give below elements.
    SXMS_MSG_GUID, SXMS_RULE_NAME, SXMS_ERROR_CAT, SXMS_ERROR_CODE, SXMS_FROM_PARTY, SXMS_FROM_SERVICE, SXMS_FROM_NAMESPACE, SXMS_FROM_INTERFACE, SXMS_TO_PARTY, SXMS_TO_SERVICE, SXMS_TO_NAMESPACE,SXMS_TO_INTERFACE
    I am getting alerts when I manually test the alerts configurations by running the report u2018RSALERTTESTu2019.
    I am getting mail as :
    Alert ID: ##00009##
    Dear Administrator,
    This is with respect to XI Scenario. During processing of XML file from ECC or XYZ Server, Following error has been occured:
    Message ID:
    Interface:
    NOTE: To check the file name, go to SXMB_MONI and search for above message ID.
    Double click on that message ID and click on error in left hand tree.
    Please take appropriate action in co-ordination with respective functional and BASIS consultant.
    But When I am getting a error , I am not getting an alert mail. Right now iam doing in XI Development.
    I am not getting an Alert mail , when my message is in status of : System Error . Error catergory is : XI_J2EE_ADAPTER_JDBC.
    Kindly tell how to get alert mail for error catergory : XI_J2EE_ADAPTER_JDBC and in Adapter engine errors.
    How to get alert mail when my message is failed with any reason in Adapter engine.
    Waiting for quick replay. Please help me out.
    Regards,
    Ahmed.

    Hi thanks for quick reply.
    As per your given link : http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14877. [original link is broken]
    I have done all these steps. But still little problem.
    as per link he is getting Error  description , error message id , alert rule..
    In my case I am not getting these information. when my messages failed. When I am doing manully testing the alert getting an mail as :
    Alert ID: ##00009##
    Dear Administrator,
    This is with respect to XI Scenario. During processing of XML file from ECC or XYZ Server, Following error has been occured:
    Message ID:
    Interface:
    NOTE: To check the file name, go to SXMB_MONI and search for above message ID.
    Double click on that message ID and click on error in left hand tree.
    Please take appropriate action in co-ordination with respective functional and BASIS consultant.
    Is it okay the body of mail??.
    I am not getting alert mail when my messages failed in adapter engine and Integration Engine.
    Ex my message is failed in AE:as below.
    My messages flow as : SAP --> XI --> DB.
    Messages is success (in ECC moni)> XI moni also success> XI Adapter engine getting error as (Status: System Error) and (Error Category : XI_J2EE_ADAPTER_JDBC).
    Regards,
    Ahmed.

  • XSchema: How to get (more) Information about validation errors?

    I changed the file car.xml to have an invalid xml-file, then
    i validate the demo car.xml using the demo programm xsdtest.
    I got the following error message:
    In line 7 of car.xml:
    LSX-00290: invalid enumeration choice "Hugo"
    LSX-00213: only 0 occurrences of particle "sequence", minimum is 1
    Validation failed, error 213
    The first 2 lines are dumped from the SchemaProzessor. Unfortunatly there is no
    possibility to get this information with a methodcall or by return value
    to use for further processing!
    The only thing i got controlled back is the error code 213.
    But how do i get the correspondening errortext ? What means error 213 ?
    So here is my suggestion:
    Please give accurate information about validation errors! Including:
    1) The position where the error occurred. (maybe in XPath notation)
    2) An error Number to classify the error (Including a possibility to resolve the errormessage via program.)
    3) An error text for the specific case : (for example : invalid enumeration choice "Hugo")
    Please give this information in a struct back or provide methods on the
    Xschema prozessor.
    Otherwise the XSchema support is useless!!!!!
    Sorry for my bad English & Greetings
    Martin Frenzel
    By the way: The XDK for Java uses a different Error Messages !!!! But there is the same problem...

    1.How to check when user last time login to database.AUDIT
    2.If user account is lock why it is locked? if it is locked by trying to loing with wrong password how to check how many times he attempted with wrong password...and other reasons alsoCheck Profile For this user and attr.
    3.Wheni was trying to select user expire date it is showing empty value...can we check expire date through querys or we need to check profile?
    SQL> select EXPIRY_DATE from dba_users ;
    EXPIRY_DA
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    23-MAY-13
    24-SEP-11
    24-SEP-11
    24-SEP-11 check
    expiry_date in dba_users is null
    4.How to check when he was reset his password last time.SELECT PTIME FROM SYS.USER$;

  • How to get more features for Captivate 6

    Hi all,
    I've installed Captivate 6 on my laptop at work, I use it for creating training material for our project management system. I was just looking at some Adobe video tutorial and there are some features shown in the videos that I can't find on my captivate (for example Drag and Drop interaction, some particular widget like "Hangman" etc...). I tried to download them, clicking on the "Download more interactions" but there are any available. So, is there a way to get those features, at least those shown in your video tutorial for Captivate 6?
    Thank you very much
    Elena

    Hello,
    thank you for your answer.
    I have the version 6.0, so maybe I can't get those features because of the version that I have.
    Even if I click on "Download more" on the Interactions window, there are no Interactions available, but is it a problem related to my version or it's because there aren't available new features?
    Thank you very much,
    Elena Bettarini
    Date: Thu, 14 Nov 2013 00:40:11 -0800
    From: [email protected]
    To: [email protected]
    Subject: How to get more features for Captivate 6
        Re: How to get more features for Captivate 6
        created by Lilybiri in Adobe Captivate - View the full discussion
    Hello and welcome,
    I cannot remember for the Hangman interaction anymore, but Drag&Drop was only available for subscription users, for version 6.1.0.3190 Maybe it was not clear in the video you are pointing at, that not all features were available for box licenses. Which version do you have?
    Lilybiri
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5841167#5841167
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5841167#5841167
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5841167#5841167. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Adobe Captivate at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

Maybe you are looking for

  • Message no. V1631-You cannot enter new delivery costs

    Hi All, before posting this issue i have searched and could not found the correct thread. system: ECC: 6.0 Scenario1: Inter company STO with import process PO created and delivery created and TO created and confirmed and PGI done.and SD invoice done

  • A fatal error occurred preventing product use, LaserJet Pro 200 color MFP M276nw

    When trying to install the full printer software suite, as soon as I click the button to install after the .exe is extracted, I get an alert window with, "A fatal error occurred preventing product use." No error code, just an option to close the dial

  • Disk Utility - Time Machine & iCloud

    I don't understand why Disk Utility doesn't automatically run Verify & Repair after a resizing a disc partition.  This simple failure on my part (unGENIUSness) lead to additional failures on when I tried to run TIME MACHINE.  Time Machine never stopp

  • Question about using objects in SQL query.

    I had posted this question in the SQL/PLSQL forum but I guess nobody took the time to understand exactly what I am asking so I decided to try here hoping to get the answer. So here is the thing: I have created generic object type "tree" - the constru

  • X-Fi Gaming not completely recognized by system/softw

    My motherboard recently died, and after installing a replacement, I had to perform a repair install on Windows. Now when I try to set up sound, it shows the card as installed and working in the device manager, but it doesn't appear on the Sounds and