Conky if_mpd_playing hides status but not console output

conky has an if_mpd_playing function these days, which is nice to not display unecessary "null" playing messages. in my case however, the availability of mpd depends on the wireless network i'm connected to. so when i'm at work where i don't have mpd, if_mpd_playing nicely hides the now playing status but the console starts spitting out:
Conky: MPD error: timeout in attempting to get a response from "myserver" on port 6600
every couple of seconds. does anyone have an idea how to avoid this? can conky check for the presence of a host instead of a running mpd? i already have set out_to_stderr to 'no', which doesn't seem to help. out_to_console is set to 'yes', since i am piping through to dzen2.

litemotiv wrote:
conky has an if_mpd_playing function these days, which is nice to not display unecessary "null" playing messages. in my case however, the availability of mpd depends on the wireless network i'm connected to. so when i'm at work where i don't have mpd, if_mpd_playing nicely hides the now playing status but the console starts spitting out:
Conky: MPD error: timeout in attempting to get a response from "myserver" on port 6600
every couple of seconds. does anyone have an idea how to avoid this? can conky check for the presence of a host instead of a running mpd? i already have set out_to_stderr to 'no', which doesn't seem to help. out_to_console is set to 'yes', since i am piping through to dzn2.
Hi sorry to drag this thread up... did you solve this?
My conky script with mpd stuff works ..and quite well I might add but only if i'm connected to a wireless network otherwise I get Conky: MPD error: unknown server 'localhost' blah blah
I tried disabling IPv6 and still doesn't connect and wicd refuses to play so I re-enabled it
should add both mpc and sonata can see/connect to it fine without the wireless!?
Any other suggestions?
Update:
After a lot of dead ends i managed to solve this.
For reasons I don't understand an ip address has to be assigned to either wlan0 or eth0 for conky to connect to mpd? so I added this to my rc.conf
eth0_0="eth0:0 127.0.1.1 netmask 255.0.0.0 broadcast 127.0.1.255"
INTERFACES(eth0 eth0_0)
my conky script is now up and running without have to connect to the tinterweb yay
Last edited by RockAardvark (2010-03-24 23:29:07)

Similar Messages

  • Playing on viewer is fine but not on output

    I play timeline and out put to vcr to record my project. The canvuas show playing but not on output. It freezes. I read other people that happen to them. I try to reset canvas fit to window but it still happen freeze again. Is there anyway other to reset? I have project that are due.

    It would help to know what format(s) you're working with and how you're outputting from FCP. Do you have a card (ie AJA/Kona) or just using Firewire with DV25?
    Many things can cause playback problems, among them are:
    Canvas and Viewer window set larger than "Fit to Window"
    Too many overlays turned on; Image+Wireframe, Title Safe, Excess Luma, etc.
    Any of FCP's windows overlapping - even slightly
    Any of FCP's windows partially off screen
    Items in Timeline not fully rendered
    Playback quality set incorrectly
    -DH

  • AAA and TACACS on everything BUT NOT console

    Would like to enable login authentication AND enable authentication on VTY but NOT console. Console should authenticate locally for both user and privilige modes ... I can't seem to seperate the 'enable' piece ... any thoughts?

    I do not think you can separate method list for
    the enable piece. I've asked Cisco about this
    in the past and they told me that it is not
    possible. You can have a different method list
    for the console for the "exec" mode but not
    the enable or privilege mode. It is either
    "tacacs" or "enable" or some other
    combinations but not a separate method list for "enable" by itself. Maybe cisco added
    this new feature in 12.4. I've my my testing
    on both 12.2T and 12.3T and, IMHO, it is not
    possible to separate the enable piece. Here
    is my config:
    username cisco password cisco
    enable secret cisco
    aaa authentication login notac local
    aaa authentication login VTY group tacacs+ local
    aaa authentication login web local enable
    aaa authentication enable default group tacacs+ enable
    aaa authorization console
    aaa authorization config-commands
    aaa authorization exec notac none
    aaa authorization exec VTY group tacacs+ if-authenticated none
    aaa authorization commands 0 VTY group tacacs+ if-authenticated none
    aaa authorization commands 1 VTY group tacacs+ if-authenticated none
    aaa authorization commands 15 VTY group tacacs+ if-authenticated none
    aaa authorization network VTY group tacacs+ if-authenticated none
    aaa accounting exec TAC start-stop group tacacs+
    aaa accounting exec VTY start-stop group tacacs+
    aaa accounting commands 0 TAC start-stop group tacacs+
    aaa accounting commands 0 VTY start-stop group tacacs+
    aaa accounting commands 1 TAC start-stop group tacacs+
    aaa accounting commands 1 VTY start-stop group tacacs+
    aaa accounting commands 10 TAC start-stop group tacacs+
    aaa accounting commands 15 TAC start-stop group tacacs+
    aaa accounting commands 15 VTY start-stop group tacacs+
    aaa accounting network VTY start-stop group tacacs+
    aaa accounting connection TAC start-stop group tacacs+
    aaa session-id common
    line con 0
    exec-timeout 0 0
    authorization exec notac
    accounting commands 0 VTY
    accounting commands 1 VTY
    accounting commands 15 VTY
    accounting exec VTY
    logging synchronous
    login authentication notac
    line vty 0 15
    exec-timeout 0 0
    authorization commands 0 VTY
    authorization commands 1 VTY
    authorization commands 15 VTY
    authorization exec VTY
    accounting commands 0 VTY
    accounting commands 1 VTY
    accounting commands 15 VTY
    accounting exec VTY
    login authentication VTY

  • Pulsing static sound is audible thru speakers or earphones, but not USB output.

    Compaq Presario CQ532oF  Windows 7 64 bit
    Pulsing static sound is audible thru speakers or earphones, but not USB output.  Makes listening to talk or music unbearable. This just started a few days ago.  Volume control affects the volume.  Does not matter if audio program is playing or not playing.  Pulses are about 2 seconds duration - sounds like a phonograph record at the end of play where the tone arm didn't pick up. 
    Is this likely an amplifier problem?  Is the amp on the sound card?

    Hi vc329,
    Doesn't sound like encouraging news, though it is odd that the sound came back for a short while at least.  If you still haven't rebooted the PC since putting it to sleep and loosing the sound, then I would suggested going ahead and rebooting or even doing a full hard reset (power down, remove the AC adapter, remove the battery, hold down the power button for 20 seconds or so, then reconnect the AC power and Battery and boot up) to see if the sound can be recovered again.
    If the sound still doesn't work, Check Device Manager to see if the sound driver still looks OK, make sure you are using the latest driver again (it looks like the latest driver is 6.10.6381.0), another option might also be to try the older driver that is still available from the site, or try recovering the original driver shipped on the PC.  The steps to do these things are covered in the document listed below, in Step 6 (Restoring the Audio Driver), Step 7 (Updating the Audio Driver), and Step 8 (Checking Device Manager):
    No Sound from the Speakers (Windows 7)
    If none of that seems to help, I'd recommend testing the hardware using Step 9 in that document.
    If the online warranty check sees you as out of warranty, you may still be OK if you have the original proof of purchase (receipt) from wherever you purchased the PC, but you may have to provide it when calling HP for service if the sound can't be fixed.  If you are close to the end of warranty I'd recommend calling customer care for your area (I assume you are still in Asia) and validating the warranty with them as soon as possible just to make sure.
    Although I am an HP Employee, I am speaking for myself and not for HP.

  • Idoc in 53 status but not processed completely. Missing authorisation error

    Hi ,
    Some of the ORDER Idocs are in 53 status, but the orders are not processed successfully and no PO created for these Idocs.
    They got below warning message when I checked in WPER transaction code.
    " Missing authorization: Purchase Order Create Purchasing Grou 110 " - "Workitems (tasks) were created for this IDoc"
    This is happening once in a while for some of the idocs. Remaining all idocs are posting successfully.
    These IDOCu2019s are processed via user background. Not sure why we have authorisation issues as this user has SAPALL. Any ideas?
    Thanks
    Deepthi.

    done.

  • Idoc in 53 status but not processed completely.

    Hi ,
    Some of the ORDER Idocs are in 53 status, but the orders are not processed successfully and no PO created for these Idocs.
    They got below warning message when I checked in WPER transaction code.
    " Missing authorization: Purchase Order Create Purchasing Grou 110 " - "Workitems (tasks) were created for this IDoc"
    This is happening once in a while for some of the idocs. Remaining all idocs are posting successfully.
    Any idea what might be the reason? 
    Thanks
    Deepthi.

    Hello,
    This seems to be an Authorisation issue, Kindly check for Purchasing Group 110, who are all assigned Buyers...
    Then for those Buyers.. you can check what authorization is missing from Su53..
    Compare with those who has authorisation to create PO Vs who does not have ..
    you will have to provide the same authorisation to those users
    Thanks and regards
    PJ

  • Logitech USB headphones - microphone works but not sound output

    Seems like the sound output to my Logitech USB headphone has stopped. The microphone inputs but the sound output is blocked. Could be technical issue with the set but was wondering of anyone else has this problem after the last update to 10.14.0

    ChickInVici,
    Having similar issue with iPad 2.  No volume on Apps or Music (except when using headphones).  Just started happening after months of no issues.  Have reset/ restored with no solution.  Can you provide more detail with your solution?  I went to >settings>accessibility>voiceover.....but could not find headphones etc... what am I missing.  Could you be more specific on what you changed to resolve your issue.
    thanks

  • Preview icon on windows 7/8 has status, but not "hangup"

    When you hover over the skype icon on the taskbar in Windows 7/8, the preview window has the ability to set your status (away/do not disturb/invisible etc) which is great. 
    however, it would be GREAT, if while in a call, I could hang up from the preview window as well.

    I'm not sure what you are referring to.  You can hang-up a call from the mini preview window as well as the systray/notification area icon.  You can't from the shortcut or pinned taskbar item but you can sign out which would effectively hang-up the call as well.  Be aware that the Hang Up option is not present if you are not on a call.   

  • LiveCycle Form data appearing in Preview but not in Output

    Hello!
        We have forms that were converted from Adobe Central to Adobe LiveCycle. We're testing a form now to ensure it is working properly. When looking at the form in Preview PDF we can see the data from the XML source display on the form. However, when we run our process to generate the form, the data does not appear. Any thoughts as to why the data is not appearing when we run our process but appears in the preview?
    Thanks,
    Wendy

    Hi Shreesh,
    Please check  follow the below points.
    1. For which info providers you are not getting data at report level check the reporting availalabilty at manage screen.
    2. Also check  whether Identifation (assign) for primary key characteristics for all the infocubes has been done .
    Ex: as you are loading the data for FI cubes, 0account will become one of the primery key characteristic to be Identified as a common object.
    4. Create Queries seperately on the infocubes for which you are not getting data instead of creating report on multiprovider. So that you can get some clue.
    Thanks

  • 2x2 table. 4 empy cells. Can hide rows but not columns. grayed out. argh!

    Only one sheet with a single table with 4 cells.
    I don't see any merged cells.
    Is there any other attribute that prevents columns from being hidden?
    I realize that one cannot hide all the columns or all the rows.
    I was given a spreadsheet months ago with this problem.
    Couldn't figure it out so worked around it by creating a new one and copying over the data.
    Still have the original, so I have pruned it down to a 2x2 table that still has the problem!
    Sure would like to know what is going on.

    You can take a table down to a single visible cell, but no further.
    This worked for me to show only cell B2:
    Expand the 2 x 2 table using the handle at the lower right to include more than two rows and more than two columns.
    Click the header tab for column A and choose Hide Column.
    Click the header tab for Row 1 and choose Hide Row.
    Grab the handle and drag it up and to the left to collapse the table to a single visible cell.
    This was done with a new sheet after placing data in the top left block of four cells. YMMV, of course.
    Regards,
    Barry

  • No sound.  Mute is not checked, volume all the way up on iTunes and on status bar.  What am I doing wrong or missing?  I restarted last night and it worked before that but not since, any one have any ideas?

    No sound.  Mute is not checked, volume all the way up on iTunes and on status bar.  What am I doing wrong or missing?  I restarted last night and it worked before that but not since, any one have any ideas?
    Thanks, Rob

    First off did you go to System Preferences > Sound > Output > And is the correct output selected?
    Any red light coming out of the headphone jack? If so, you'll need to re-set the little switch in there by inserting a 3.5mm jack carefully in & out 20 odd times. Or grab a toothpick (non-conductive) and a flashlight.
    Tried anything else that produces a sound? On restart do you get the chime? Perhaps check into Audio Midi Setup to ensure your output is selected correctly using the cog at the bottom left.

  • Job status in OEM console is not updated

    Hi,
    I am using OEM job console to run some batch jobs. When a job is submitted for execution, the job status does not change to started/completed. It always remains in the scheduled status, but when I check the database the job is running and it finishes fine. I checked the agent on the target database and restarted the management server. Any thoughts on what could be the issue?
    Thanks
    Rk

    Whats exactly you are looking ? is there any reason for comparing ?

  • Visual Studio 2013 Update 4 - VSTest.console Output SDOUT Messages DURING Test Run, NOT After Test Run Completes

    I am using vstest.console.exe and running a test from our internal CI build system, our internal CI build system requires console standard out to be updated at least every 30 minutes to
    ensure that the process has not hung. 
    I am executing the following command using a customer logger and test settings files:
    vstest.console.exe /testcasefilter:"TestCategory=LongTest" /settings:"C:\testing\CodedUI.testsettings" /logger:TRX /logger:CodedUITestLogger "C:\AppTests\CodedUITest.dll" /InIsolation
    I have copied and modified the following custom logger(see
    here for more info):
    https://github.com/ppiotrowicz/AwesomeLogger
    Such that after the test is executed the pass/fail/success information is printed to the standard out console.
    Tests run: 1, Errors: 0, Failures: 0, Inconclusive: 0, Time: 00:00:87.9331298 minutes
    Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
    It's important to be clear that the test run takes 90 minutes, it's a long running test.
    Time: 00:00:87.9331298 minutes
    When the test run is executed for 90 minutes I see the following and our CI build system kills the process after 30 minutes of no output, so in the failure log I see:
    vstest.console.exe /testcasefilter:"TestCategory=LongTest" /settings:"C:\testing\CodedUI.testsettings" /logger:TRX /logger:CodedUITestLogger C:\AppTests\CodedUITest.dll
    Microsoft (R) Test Execution Command Line Tool Version 12.0.31101.0
    Copyright (c) Microsoft Corporation. All rights reserved.
    Running tests in C:\testing\bin\debug\TestResults
    Starting test execution, please wait...
    However I have a data-driven codedUI test pulling from a csv data source, that successfully executes, however the test takes 90 minutes to run....which means that for 90 minutes the console output displayed is only:
    Running tests in C:\testing\bin\debug\TestResults
    Starting test execution, please wait...
    How can I have vstest.console output to standard out DURING the test run to the console?
    Is there a way in the .testsettings file to enable more verbose logging
    DURING the test execution?
    In MSTest it was possible to use the parameter (/detail:stdout) which would display info while the test was running.  
    MSTEST /testcontainer:MyDllToTest.dll /testSettings.local.TestSettings /detail:stdout
    Ian Ceicys

    I ended up solving the issue for our internal CI system with the following threaded coded. I don't like that it just prints: CodedUI Test Run in progress. How can I query for a percent complete for test execution status or get a reading on the iteration
    that's running for each row in the csv data source?
    [Test, Category("RunCodedUITest")]
    public void RunVsTestConsole()
    //ARRANGE
    var outputPath = "C:\Tests\bin\debug"
    var codedUIAssembly = Path.Combine(outputPath, "CodedUITest.dll");
    string output;
    string codedUIAssemblyFile = @codedUIAssembly.ToString();
    if (File.Exists(codedUIAssemblyFile))
    //ACT
    CodedUITestRunner codedUiTestRunnerObject = new CodedUITestRunner();
    Thread workerThread = new Thread(codedUiTestRunnerObject.RunTest);
    workerThread.Start();
    while (workerThread.IsAlive)
    TimeSpan oneminute = new TimeSpan(0, 1, 0);
    Console.WriteLine("CodedUI Test Run in progress...");
    Thread.Sleep(oneminute);
    workerThread.Join();
    Console.WriteLine("CodedUI Test Run completed.");
    else
    Console.WriteLine("ERROR: CodedUI Test Assembly file Does NOT exist @ Path : " + codedUIAssemblyFile);
    Assert.IsTrue(File.Exists(codedUIAssemblyFile), "CodedUI Binary DLL exists!" + codedUIAssemblyFile);
    public class CodedUITestRunner
    // This method will be called when the thread is started.
    public void RunTest()
    var outputPath = "C:\Tests\bin\debug"
    var codedUIAssembly = Path.Combine(outputPath, "CodedUITest.dll");
    string output;
    string codedUIAssemblyFile = @codedUIAssembly.ToString();
    output = TestFrameworkHelper.Exec("vstest.console.exe", string.Format("/testcasefilter:\"TestCategory=LongTest\" /settings:\"C:\\tests\\CodedUI.testsettings\" /logger:TRX /logger:CodedUITestLogger {0}",
    codedUIAssembly), WorkingDir: outputPath, RequestEC: false);
    StringAssert.Contains("EXIT CODE: 0", output, "Exit code was not 0.");
    Ian Ceicys

  • How do I set upmy Imac to allow using both my computer speakers and a Bose SoundLink system as outputs at the same time.  I can use one or the other, but not both.

    how do I set up my Imac to allow using both my computer speakers and a Bose SoundLink system as outputs at the same time.  I can use one or the other, but not both.  From systems Preferences I must select one or the other.  I want both to work all the time.

    Hi,
    I would recommend you to use 0FI_AP_4 rather using both, particularly for many reasons -
    1. DS: 0FI_AP_4  replaces DataSource 0FI_AP_3 and still uses the same extraction structure. For more details refer to the OSS note 410797.
    2. You can run the 0FI_AP_4 independent of any other FI datasources like 0FI_AR_4 and 0FI_GL_4 or even 0FI_GL_14. For more details refer to the OSS note: 551044.
    3. Map the 0FI_AP_4 to DSO: 0FIAP_O03 (or create a Z one as per your requirement).
    4. Load the same to a InfoCube (0FIAP_C03).
    Hope this helps.
    Thanks.
    Nazeer

  • Customized Seeded report to XMLP report but its not generating output file?

    I want to customize "Dunning Letter Print from Dunning Letter Generate" Report, which is called from "Dunning Letter Generate" Report
    Steps i followed to Customize reports are.
    1. Changed output format to xml for "Dunning Letter Print from Dunning Letter Generate" Report.
    2. Ran report to generate xml data and using xml data created RTF file
    3. Registered data definition and template with code and short name same which is ARDLP_NON_SRS
    Now while i am running report its completing normal, but its not generating output file giving Error like –
    "Unable to find Published Output for this request"
    “No Output File Exist for Request No - xxxxx”
    No Idea why its not picking template, Can anyone help me in this?
    Using:
    Oracle Applications : 10.0.5.2,
    MS Word 2007
    Thanks,

    I am not giving the solution, providing you a hint..
    This is the query you need to satisfy,
    SELECT NVL(R.DESCRIPTION ,CP.USER_CONCURRENT_PROGRAM_NAME)
    FROM FND_CONCURRENT_REQUESTS R, FND_CONCURRENT_PROGRAMS_VL CP,XDO_DS_DEFINITIONS_B XDS
    WHERE ( ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'U'
    AND R.REQUESTED_BY = :$PROFILES$.USER_ID ) or
    ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'R'
    AND R.RESPONSIBILITY_ID = :$PROFILES$.RESP_ID ) )
    AND R.PROGRAM_APPLICATION_ID = CP.APPLICATION_ID
    AND R.CONCURRENT_PROGRAM_ID = CP.CONCURRENT_PROGRAM_ID
    AND XDS.APPLICATION_SHORT_NAME=
    ( SELECT APPLICATION_SHORT_NAME
    FROM FND_APPLICATION
    WHERE APPLICATION_ID=CP.APPLICATION_ID)
    AND XDS.DATA_SOURCE_CODE = CP.CONCURRENT_PROGRAM_NAME
    AND R.OUTPUT_FILE_TYPE='XML'
    AND R.STATUS_CODE not in ('E', 'D', 'T', 'X')
    ORDER BY R.REQUEST_ID DESC
    Go to system profiles and query for 'Concurrent:Report Access Level', responsibility you need and modify the profile name accordingly....

Maybe you are looking for

  • Exchange 2013 SP1 Health mailbox generating 4724 event on AD servers

    I rebooted one of our Mailbox servers yesterday and ever since on our AD servers I'm getting an Event 4724- "An attempt was made to reset an account's password" every three minutes." I did find I had some health mailboxes corrupted and removed those

  • ABAP program RHALEINI

    Hi All,     I want to execute the SAP standard program RHALEINI from my customised program using SUBMIT statement. I want to pass the values for Plan Version , Object Id and Object type from my customised program. If you have any clue to which variab

  • Disabling always ontop for wifi pop-up window

    I'm not sure this is the correct forum in do this in, but I have a problem with using the Wifi at my university and the multi-desktop feature of OS X Yosemite. When I log onto my university wifi it comes up with a Safari pop-up window detailing my in

  • How to write Hebrew in illustrator cc 2014?

    Right now I can write with Hebrew fonts backwards.... How can I set the right direction?

  • ICalbirthdays, an automator application won't install in my iMac

    I downloaded the icalbirthdays automator application from: http://www.apple.com/downloads/macosx/automator/index.html Executed the install program,got a message that the installation was successful , But then the program was nowhere to be found. Is i