How to start and stop mpd and ncmpcpp together?

I have got the setup of mpd+ncmpcpp working together. However, to start, I first have to start mpd in the console and then ncmpcpp. Also, to stop, I have to quit ncmpcpp (pressing q) and then kill mpd (using mpd --kill).
I was just wondering if there is a way out to make the whole process easy. I wish to accomplish:
1. Start mpd followed by ncmpcpp from a ".desktop" file which would show up in the menu.
2. Stop mpd when you quit ncmpcpp.
Any comments would be much appreciated.

I think if that is the functionality you are looking for, then maybe a different music program might suit your needs better.  I believe that cmus functions in that way.
Part of the appeal of mpd is that it runs as a daemon, so you can connect from it anywhere, be it locally or remotely.  For instance, I can connect to my server's running instance of mpd and listen and play music from that machine.  Or I can connect to my local instance of mpd and listen to music from this machine.

Similar Messages

  • How do we permanently stop MASS_CRM_* and R3AD_* locks from being applied??

    Good afternoon Experts,
    How do we permanently stop MASS_CRM_* and R3AD_* locks from being applied in CRM? We have several jobs that run weekly to download information from R/3 to CRM. The information only takes a few minutes to download into CRM, however the blocks are applied during the middle of the night, and cause backups within our system.
    Queue name R3AD_SCE also becomes blocked as well during these downloads.
    How do we stop these from being applied, without manually having to go into R/3 to remove during the middle of the night?
    We currently are on CRM 4.0. The only notes that I found regarding this problem was for 3.0 - 3.5.
    Thank you for your help!
    Jami
    Edited by: Jami Shircel on May 27, 2009 8:00 PM

    Thank you very much for your reply.
    We are running a job created to download all materials from R/3 into CRM, using SAP program SMOF_DOWNLOAD with variant of material. I believe the locks are coming on as this is a load. However, the job only takes about 15 seconds to run and take the information from R/3. CRM takes longer to process that information. However, the lock does not come off when the job is complete. We have to manually remove the lock the next time someone from the team logs into CRM. This causes problems as nothing from R/3 to CRM is passing through while the locks are on. As soon as the lock is removed, the systems begin communicating again. The job is not impacted as it takes less than 15 seconds to run.
    How do we either stop the lock from coming on, or have it automatically come off when the job is complete?
    I reviewed the note suggested, but it was for account life cycles. Perhaps the wrong number was written?

  • How to start using iCloud email and stop using the Yahoo email that is associated with the iCloud account?

    I have an iCloud account but it is associated with a Yahoo email account. I want to turn on iCloud mail but I'm prompted to create a new iCloud account. I don't want to. I want to use my current iCloud account and stop using my Yahoo mail. How is this done?

    You won't be able to use your @icloud.com email address as your iCloud ID.  If you want to use an @icloud.com address as your iCloud ID you would have had to create the account initially that way.  While you could create a new iCloud account to do this, your would not be able to use your existing @icloud.com address as the ID; you would have to create a new @icloud.com ID to set up the new account.

  • Starting and stopping video and MP3

    I can't seem to get around my video and audio files starting when I arrive at the page. I'm even using some example code with start and stop buttons. This is in CS4 Flash. I expect it's because the ActionScript is in the wrong place because when I run the movie it flashes through all of the pages on the site without stopping at the home page. Is there some generic code that will allow me to simply swap out the name of the video or audio file I want to start. If there is, do I need to locate it on its own layer at the top of the timeline? Thanks to anyone who can help.

    >>Why is it that the default setting for a video player placed on the stage
    is to start playing when the page appears? I would think it would be
    paused.<<
    I don't know it doesn't seem any more logical to have it paused. I assume it
    is just a preference on the part of the developers of Flash.
    >>Is there some piece of script that can correct this situation<<
    There are several ways to pause the video playback at teh beginning of the
    Flash movie. It actually depends on how you have the movie inserted into the
    time line. If you used an FLVPlayback component, then all you have to do is
    click to select the component, open the component inspector
    (window>component Inspector) and se the autoplay value for the component to
    false. If you have the video inserted another way let me know.
    >>Forgive my naivete but I am trying to learn the ways of Actionscript
    wherever I can find it and builds something at the same time.<<
    Thats always hard. What tecnology do you normally work with Ajax? C++
    The comment about the behavior of video suggests you work with a technology
    that has the opposite autoplay behavior.
    Jerron Smith

  • How to start WebDynpro - Feeling down and lost

    Hi guys,
    I started working with webdynpro based on ABAP. Its definately nice and I appreciate SAPs tutorials. But they are just the basics and a lot of things are not described.
    How can I create a good tree model? SAP online docu has nothing about it. The How-To paper is just for Java.
    How to create a ALV with the possibility to enter data? How to assign the header texts of columns dynamically?
    Ok, there are examples in SE80. But there is always one mega application handling every single UI component that exists. And then the examples cover so many topics at once that its nearly impossible to really understand a single detail.
    These are the questions and topics I have. Having a couple of years experience with ABAP I am used to the fact that online documentation is more or less useless. I think you agree with me that it might also be a benefit to go through a new development topv the hard way and just try and try and try... Thats what we all are used to and thats why we are as good as we currently are.
    But honestly, most of the documentation SAP provides is for me at least useless. I would spend much more time and money and help on those guys who write the How-To papers because they do a tremendous good job.
    But how did you guys started with WebDynpro? How did you e.g. managed to create your first tree (dynamic etc.). I still wonder where to create the tree-structure in my program and have no clue what the "context" attribute is used for. Somewhere I have to create the hierachy, assign icons etc. like in the old Dynpro-Tree approach.
    What do you think? Have I just not found all the documentation I search for? Do I simply have to spend as much time to understand how tree, ALV etc. works in detail like I did some years before in the old dynpro-world?
    Regards, Hendrik

    Hi Hendrik.
    I agree with you that reading the online documentation sometimes let more questions come up than it solves.
    You asked how we started with WebDynpro. So I just used the book WebDynpro
    for Abap of Ulli Hoffmann which is a good entry to get the basic ideas.
    Asking questions here helps a lot too.
    But my basic approach was the good old try and error method. But I bet there are
    still a lot of things that are possible with WD4A I do not event know abaout.
    So as Mohammed mentioned  just post your questions and a lot of people here
    will surely try to help you.
    PS: You also should have a look at the <a href="https://wiki.sdn.sap.com/wiki/display/WDABAP">WIKI</a>. Though it is still in the beginning it might worth a look.
    <b>Appeal to all</b>: If you find the time pls submit to the WIKI. There are still a lot of open points. If you find repeating questions here please find a place in the WIKI were you could write a short tutorial how to solve it.
    Cheers,
    Sascha
    Message was edited by:
            Sascha Dingeldey

  • How to start with ORACLE APPS and ORACLE APPLICATION SERVER?

    Hi !!
    I am a little known with oracle database. But recently i have been asked to update my skills with oracle apps and oracl e application server. I do not have any prior experience with these products of oracle and I really have 0 knowledge of it.
    Can anybody help me find a start with oracle apps and oracle as?
    Thanks.

    Welcome
    http://www.oracle.com/technology/documentation/applications.html
    You can download from here.
    Regards
    Asif Kabir
    -- If helpful mark the post as correct/helpful, also close the thread as answered.

  • How to start a new thread and getting mail alerts from the OTN ?

    Hi ,
    I would like to post some question in OTN and at the same time , i am intrest to get the forums mails into my mail box.
    Can you help !!!!!!!!
    Thanks

    IndianDBA wrote:
    I would like to post some question in OTN and at the same time , i am intrest to get the forums mails into my mail box.You could probably help yourself as well.
    There is a FAQ link at the upper-right of the page - FAQ stands for 'Frequently Asked Questions' and usually provides answers to those questions. ANd your questions just may be answered there if you care to look.
    I note that not only 'would you like to post some questions', but you actually 'have posted the first question'. So you seem to be on your way. Just note that there are many forums, and you are encouraged to ask in the correct forum - find them by going to the 'Forum Home' link (top left) and scrolling down (and don't forget to peek in the 'More...' areas if you can not find the ones you want.)
    AND - if you ask technical questions, remember to include operating system (including edition or distribution and version as appropriate for the OS), product version (even if you do not think it's important) and any error messages (copied, not re-typed, if possible)

  • How to start virtual OVM Manager and restore server pool which hosts it?

    It had to happen... the day I migrate our OVM Manager from an ESX host into an Oracle VM, we have a massive NetApp outage, and everything fails to come back. As a result of having lock errors when trying to start any VMs I noted on the forum various solutions and ended up following the steps concerning stopping ovs-agent and removal of /etc/ovs-agent/db/* on all the servers. Next I re-added the repo to all the servers using repos.py, but of course now none of the servers are in a pool so the --list command shows them as [R] rather than [*], and the /OVS directory is not yet mapped. So the next stage, according to the instructions which I am following, describes using the 'Restore' option in the OVM Manager GUI. Given that /OVS is not mounted and all of the servers are now config-less, I can't see how I can start the OVM Manager VM to get to the aforementioned "restore" option...
    Thank Jeebus I kept the ESX copy of OVM manager on (but powered down), as I was able to fire it up and do the restore, and now everything is hunky dory. However, this is our Dev platform and I was going to build the Prod platform and deploy OVM Manager straight into the OVM architecture via the template, rather than having it on ESX, but this issue on the Dev install has made me think twice about the mobius nature of managing the VM architecture from within the VM architecture...
    I am assuming I am missing some sort of commandline knowledge, so... given:
    - empty db directory
    - root repos [R] on all servers
    - as yet unmapped /OVS
    ...how to get the server pool up and get something back into /OVS, and then start my OVM Manager VM so I can 'restore'? Is it even possible? because if it isn't, I'll be blowed if the Prod OVM manager is going to get deployed like this...
    And no, there's no money in the budget for extra tin just to sit there running the OVM Manager and nothing else.
    TIA
    Kev

    user12474530 wrote:
    Still nobody seems to know of how to create a server pool on the CLI (outside of OVM Manager) though...There is no way to create a server pool on the CLI without Oracle VM Manager. You either need to use the Web UI of the Manager, or use the ovmcli command-line tool. Both of those require Oracle VM Manager to be running.
    However, once the Pool is created, you do not need the Manager to be running to perform simple tasks like starting/stopping guests. That can be done with the xm command-line tool.
    I agree with you about running VM Manager as a guest of the Oracle VM Server: I actually don't recommend this in production, unless you have at least two Server Pools. Then you can have the Manager of Pool A hosted by Pool B and vice-versa. Most often however, I recommend a completely independent Manager machine, either physical or hosted on a separate virtualization stack.

  • Since the lastest update, videos will no longer play. They start and stop over and over again.

    Since the latest update to Firefox, I can no longer view videos on my PC. They start, play for a few seconds, then stop and repeat this process over and over again.
    I have a high speed internet connection and never had this problem until this past Thursday (10-06-11) after Firefox updated.

    Hi ..
    Restart the Apple TV >  Apple TV: How to restart your Apple TV
    Then reset yor iPad >  Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    Then try AirPlay.

  • How to start installing CRM, ERP and SOLUTION MANAGER on a VM

    Dear all,
    It has been some years now that I installed a CRM and ERP system (this was in the days of dual stack ). Now I see that dual stack is depricated and that everything runs on a Netweaver base.
    My question is now the following;
    Can someone please tell me how to proceed to install these 3 SAP components on 1 server, each on its own virtual machine?
    I suspect that I will first have to install the OS (RHEL 5.6 64 bit) and then I will have to install the DB (Oracle 11.2i). After this I start the installation of the SAP component or is there someting I need to do to get the Netweaver part on the server first?
    And where can I find EXACTLY which files I need to download from the SAP site for each component, because the CRM part for instance has a ton of files and there is nowhere an indication that says '"this is the normal installation package".
    Kind regards,
    David

    > I suspect that I will first have to install the OS (RHEL 5.6 64 bit) and then I will have to install the DB (Oracle 11.2i). After this I start the installation of the SAP component or is there someting I need to do to get the Netweaver part on the server first?
    not quite right.
    You start sapinst, it will proceed a number of sections and then request you to install the database. Do not install the database before. This is also convered in the respective installation guide.
    > And where can I find EXACTLY which files I need to download from the SAP site for each component, because the CRM part for instance has a ton of files and there is nowhere an indication that says '"this is the normal installation package".
    This depends on how you use the CRM system, whether you use componnets, that require Java or not.
    All that is covered in the installation and master guides. Yes, they are big and yes, they contain a lot of redundant information. But don't expect to start a program and do next-next-finish.
    I would start with Solution Manager becaues you will need that system to generate installation keys for the other systems.
    Markus

  • How to start oracle database server and client in windows 8

    Hi at all
    I'm a new entry in this forum and I'm a beginner with database oracle.
    I used always SQL Server as database and it was easy to use after installation.
    With SQL Server configuration management program I could to launch the SQL Server (SQLEXPRESS) service and the database server start up!!
    With SQL Server management studio I could to launch the client application, then was establishing a connection to the server and all was working fine!
    Now, how to work with oracle database?
    I installed oracle server and client version 11g R2 on windows 8, but how can I start the server database? .. and how can I start the client application for querying?
    regards in advance.
    P.S.: Sorry for my english. 

    SomeoneElse
    thanks for the response.
    I setting the service to start manually because otherwise windows is slow to startup.
    In particular I have precisely this oracle service on my operating system after installation.
    - ) OracleVssWriterSYSDBA
    - ) OracleDBConsolesysdba
    - ) OracleJobSchedulerSYSDBA
    - ) OracleMTSRecoveryService
    - ) OracleOraDb11g_home1ClrAgent
    - ) OracleOraDb11g_home1TNSListener
    - ) OracleServiceSYSDBA
    What are the services that start the server and I have to launch?
    What is the client program in menu --> start -- > all program --> Oracle - OraClient 11g home..... that I have to use for querying database?
    thanks.

  • Ipod Starts up, stops, resets, and does it all over again...

    Hey all,
    I tried searching but couldn't find anything like what I have. I recently purchased a new laptop, swapped my old library onto the new laptop, and then went to 'sync' on the new laptop. Things seemed to be working fine, unplugged the ipod, let it sit for a few hours...went to turn it on and it froze up. Reset it, but now, it loads up, shows the apple symbol (you can hear the HD winding up) gets about 4-5 seconds into it, clicks off, then starts it all over again.
    I've been unable to get it to do anything...it won't reset, connecting it to a power source doesn't do anything, and of course, it does this for as long as it can then the battery burns its self out.
    Does this sound fixable without bringing it in?
    Thanks guys,
    Jared

    This exact same thing happened to me, and I have a solution. What I did, is I just let it sit out, and do its thing (restarting a bunch) then it eventually went to the main menu. I plugged it into my computer, and did a restore.
    Now if that doesn't work for you, you may need to force mount it. Plug the iPod into your computer, and hold down the middle and play/pause button. Hopefully it should stop its nonsense and show up in your computer and let you do a restore in iTunes.
    Oh, and welcome to Apple Discussions!

  • How to start Xsun without mouse and keyboard?

    I'm trying to run a second Xserver on a solaris 8 machine, but when I start Xsun I always get "failed to initialize core device".
    I've tried plugging in a USB mouse and use kmdconfig to setup OWconfig, but this did not work. I've also tried to fool Xsun by telling it to use a serial mouse and then softlink /dev/tty03 to a console/stdout but this causes Xsun to hang after starting. I can see the second display go dark and then nothing happens. If I do a ctrl^c I will get "failed to initialize core device" printed.
    Has anyone here done something similar?? Please share your stories/solutions..
    Thanks

    I don't know if this is related to your case, but Xsun will not start on a headless server since there's no video device attached.
    Maybe this can shed some light:
    Enable X Server on Headless System
    On headless systems, The Xsun(1) X server does not run by default because it
    cannot find any graphics devices. In such cases, the Xvfb(1) X server can be
    run instead. Selecting which X server to run entails modifying options for
    Xserver(1).
    This article explains how to enable a service running the Xvfb(1) X server via
    SMF on a headless system so that Xvfb(1) is always started upon reboot.
    Document Body:
    Usually, Xsun(1) is launched by dtlogin(1X). As there are no graphics devices
    on headless systems, dtlogin(1X) cannot launch Xsun(1) by default.
    However, by enabling the "svc:/application/x11/x11-server" service or its
    instance via SMF and setting it to run Xvfb(1) instead, a X server can be
    started for every system reboot.
    Below are two example procedures that enable an instance of the
    "svc:/application/x11/x11-server" service. You can choose either procedures.
    - Non-Interactive Setup -
    1. Create an instance for the "svc:/application/x11/x11-server" service.
    # svccfg -s svc:/application/x11/x11-server add Xvfb
    2. Add property group for "options".
    # svccfg -s svc:/application/x11/x11-server:Xvfb addpg options
    application
    3. Set the "options/server" property to run Xvfb(1).
    # svccfg -s svc:/application/x11/x11-server:Xvfb setprop
    options/server=astring: "/usr/openwin/bin/Xvfb"
    4. Set the "options/server_args" property to control access restrictions.
    This is optional.
    If you would like to disable access control restrictions (i.e. "xhost +"),
    you can specify the "-ac" option.
    # svccfg -s svc:/application/x11/x11-server:Xvfb setprop
    options/server_args=astring: "-ac"
    If you would like to enable access control restrictions (i.e. "xhost
    +<host_or_user_name>"), you do not need to specify any options. Clients (i.e.
    host or user) can run "xhost +<host_or_user_name>" to modify access control
    restrictions. Please refer to InfoDoc# 77005 for more details on how to use
    remote Xvfb(1) server.
    5. Enable the "svc:/application/x11/x11-server:Xvfb" instance.
    # svcadm enable svc:/application/x11/x11-server:Xvfb
    Regards,
    M

  • How to start Designing Master Data and transactional Data

    Can anyone tell me how to really start to design Master Data and transactional Data in Sales? What are the steps if is it possible to share? Thanks!

    Hi Lei,
    first step is to read all necessary document on help.sap.com about Business Content for SD. Here you can see all the parts covered directly by SAP with the Business Content.
    Then you can start the GAP analysis: you check if all your requirements are fully covered by BC or not, in this second case you can start developing your own InfoObjects.
    Start always by Business Content.
    Take a look also at this doc:
    <a href="https://websmp110.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E">https://websmp110.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E</a>
    Ciao.
    Riccardo.

  • How to start sap hcm process and forms in ess

    Hi,
    Here is the requirement for us i.e., employee (Role SAP_ASR_EMPLOYEE) has to initiate the HCM Process and Forms in the ESS. But as per the standard the possibilities are initiated by the Mangers and HR Administrators... How to solve it...
    Regards,
    Santhosh Kumar R

    Hi,
    Process can be initiated by the employees in the ESS. However you need to link your HCM P & F in the ESS l.The standard initiator role for the employee is 'HRASRD'.
    Try attaching this role in the role assignment section of the process.
    Regards,
    Aravind.P

Maybe you are looking for

  • Export from table with SQLDeveloper 4

    My Oracle instance 10G is unicode (AL32UTF8) and I have some tables inside with multilingual content in columns (greek, polish by example) SQLDeveloper access to the instance trough jdbc thin With the previous version of SQLDeveloper (before 4) I mad

  • Where do i find my AppleCare+ registration number?

    I just bought AppleCare+ for my iphone.  It arrived in the post and all I got was a A4 sheet titled 'packaging list' and a fat little book called the 'AppleCare + product guide'. So if I need to register the product, how do I find my  AppleCare+ regi

  • What to do when file will not convert a PDF to Word "properly"?

    Is there anything I can do when a file will not convert from PDF to Word (for editing purposes)? It converted some of it fine, but most of it is converted into symbols and letters of some text has been changed.

  • Handy Cam DVD-RW

    I am editing a project for one of my clients, and was given a DVD-RW 1.4 GB mini-DV. It will not play in my standard DVD player, and when I insert it into my computer the disc icon appears on the menu, but the DVD player does not open it up. I need s

  • Safari won't allow me to download ICloud control panel so I can download pics from PC to my IPad.

    Safari won't allow me to download ICloud control panel on my IPad, so I can download my pictures FROM my PC