Lirc: Looking for a way to map the same button to two apps

I have two apps on my PC that I would like to control: One is Mplayer, and one is Amarok. Now, I'd like a way to use (for example) the same buttons for volume, play/pause and skip/rew in both apps, but I have no idea how to do this, short of writing two lirc.confs, writing a script to swap them out and launching the script via irexec.
Can anyone think of a simpler way to do this or do I need to do it the hard way?
Ideally, I'd like it to be hierarchical: if mplayer is running, it gets the command. Otherwise, Amarok gets it (since it's always running anyways).

I have two apps on my PC that I would like to control: One is Mplayer, and one is Amarok. Now, I'd like a way to use (for example) the same buttons for volume, play/pause and skip/rew in both apps, but I have no idea how to do this, short of writing two lirc.confs, writing a script to swap them out and launching the script via irexec.
Can anyone think of a simpler way to do this or do I need to do it the hard way?
Ideally, I'd like it to be hierarchical: if mplayer is running, it gets the command. Otherwise, Amarok gets it (since it's always running anyways).

Similar Messages

  • Looking for a way to disable the "GET" button

    I have a user who would like to only allow the progressive streaming playback in iTunes U (ie disable the get button). I haven't seen any way to do this in the docs but it's entirely likely I'm missing some simple (or not) way to do this.

    You know, say after about, oh, six, seven beers I sometimes think, "Hey, I should write a book about iTunes U." It would be called something like "Deploying iTunes U" ... it wouldn't make any money (few tech books do) ... but it would win me loads of "wuv" (remember this is the beer talking). Then, of course, the next day rolls along and I realize how much work writing a book would actually be ... and then I think, "Crapspackle! ... how many beers did I have?"
    But if I were to write that iTunes U book, Chapter 1 would be called "About iTunes U" (every tech book has to start this way ... "About XML", "About MySQL", "About TCP/IP" ... like that) ... and the last section in that chapter would be called "What iTunes U is not". The first few paragraphs in that section would read this way ...
    iTunes U is not a streaming service. Sure, content displayed in iTunes U can be double-clicked and it will play ... in effect, content does stream. But while iTunes U can be made to stream content, you should not think of it as a generalized streaming service. The model for iTunes U is the iTunes Store. Think about why the iTunes Store succeeds. Podcasters do not stream ... people have been streaming since the mid-90s ... but podcasting took the world by storm. Why? Because content wasn't tethered to a network connection ... it became as portable as the iPod. This is the model you're buying into; this is the target you're aiming for.
    Whenever faculty at my site make "But ... !!" arguments, they pretty much run along one of the following lines:
    1. When I stream, students can't redistribute my content. I have control.
    Any reasonably determined person can capture a stream and redistribute it -- it is not technically "hard" to do. If a student wants to get your content onto an iPod or a PSP, he/she can easily do so. Do not fool yourself into thinking it can't happen. Chance are, it already has.
    2. I have copyrighted material in my content -- I can't afford for students to redistribute my content. I have to "know" that only students can get access to my content.
    See response to Argument 1. In addition, I have found that many instructors have naive notions about what copyright permits and forbids (and please do not be offended if you, dear reader, are an instructor ... copyright is really complicated, it's not your fault). From a copyright standpoint, streaming is basically irrelevant (you are not "protected" if you stream).
    At my university, we have a designated copyright authority. It is her job to know what's permitted and what's not for us. In any conversation with a faculty member about whether to stream or not, I always recast the question this way: "Are you allowed to use the material in a public way at all?" In every instance, I refer the questioning faculty member to our copyright expert for clarification.
    3. I want to make sure my students are sitting at desktop computer when they view my content. A stream forces them to do so.
    Not anymore. Think about how many phones have YouTube clients. Remember that these technologies are, for the most part, being driven by what students say they need. Students want to learn asynchronously -- that is, they want to listen to a summary of your lecture while commuting to campus; they want to listen to your supplementary materials while working out. A significant part of what makes iTunes U so cool and unique is that it exploits the synergy that exists between iTunes, the iTunes Store, and iPod music players. When you try to force students to view your material as a stream, you break this synergy. If you will not provide content the way students want to get it, they'll create their own solutions (see response to Argument 1).
    It can be tough to wrap your head around, but if you provide students with what they want, they won't circumvent your efforts. In effect, you will have the greater control. It requires a Zen way of thinking. If you focus on creating great content, and letting students get access to it asynchronously, you are taking away from the the major motivation for redistributing your work without permission.

  • TS3152 Im using 10.7.4 and looking for a way to change the streaming port on quicktime x

    Im using 10.7.4 and looking for a way to change the streaming port on quicktime x
    used to be able to do via system preferences > quick time > advanced
    But cant find these settings anymore
    Thanks
    Pavi

    Click on the pull down window next to From: and you should be able to select the individual account you want to send from.  The account that you want to send from must be an Enabled account in the Account Preferences of Mail.

  • I am looking for a way to disable the windows ct

    rl-alt-del function in a LabVIEW 6.0 VI. I also need to disable the bottom task bar including the Start key in Windows NT 4.0. My goal is to keep the VI exclusively on the screen and disable the users from switching to other programs or shut off the PC.

    rl-alt-del function in a LabVIEW 6.0 VI. I also need to disable the bottom task bar including the Start key in Windows NT 4.0. My goal is to keep the VI exclusively on the screen and disable the users from switching to other programs or shut off the PC.Public libraries use applications like WinSelect to lock down access to machines.
    http://www.winselect.com/
    But control-alt-delete in NT4.0 is a kernel level security feature that can't be
    defeated unless you hide the keyboard. By using registry settings you can
    control what is presented to the user after he hits control-alt-delete and keep
    him/her from shutting down, but you will also have to lock up the computer to keep
    your users from hitting the reset button and hide the mouse.
    If you want to boot up an NT environment without a keyboard and mouse
    you will need to go to NT Embedded. NTE allows you to build a custom
    OS that does not require keyboard or mouse to boot. You can also install
    just the components you need, ie; no browser, menus, control panel, etc.
    Regards,
    Alan
    "Dan Huynh" wrote in message news:[email protected]..
    > I am looking for a way to disable the windows ctrl-alt-del function in
    > a LabVIEW 6.0 VI. I also need to disable the bottom task bar
    > including the Start key in Windows NT 4.0. My goal is to keep the VI
    > exclusively on the screen and disable the users from switching to
    > other programs or shut off the PC.
    >
    >

  • Looking for a way to hide the menu bar

    hey all, i've been looking for a way to hide the menu bar completely and then mouse over it to bring it back, like how the dock is when it's hidden. i want the same thing for the menu bar to free up a little more space and make it a little cleaner looking. i'm currently using eclipse just to black it out completely but there's just a black bar across the top of my screen with it and i just want it gone. any suggestions?

    As an aside; if you need to keep several apps fairly close to hand without cluttering the menu bar or dock, create a folder within your Applications folder, and place aliases of the apps in there, then drag the folder to the dock below the divider (next to the trash). Right click on the folder in the dock to get a pop-up list to choose from. I use the same idea for frequently used files and games too (seperate folders)

  • Looking for a way to increase the sildeshow size in iWeb

    I'm looking for a way to increase the slide show size from the pictures page in iWeb. It looks like it iPhone sized. I have tried it on 4 different computer with the same result

    There's really no easy way of doing so without post publication editing of some of the support files.  There were other topics earlier on this subject but no one was able to do it .
    You can use 3rd party java script slideshows instead of iWeb's.  Examples of some are:
    Jalbum - it has over 100 themes/skins to choose from and many will let you set the size of the slideshow image. An example can be see on this demo page: Jalbum Examples.
    Other options are:
    SimpleViewer and Flash Album Exporter
    Flash Album Exporter Postcard and AutoViewer Slideshow Themes
    The last two are from an iPhoto plugin.
    OT

  • Looking for a way to share a single library among two computer

    Ok here is the issue... I have a MB and MBP and I like to take the pro with me to work and such... Right now my itunes library on the pro is located on my USB drive connected to my airport extreme. my gf's is connected to her own on her laptop. now I want to be able to have her use my library when im not there.
    these are the only two option i can think of
    - Stream from my external to apple tv without my itunes open (Which as far as i know is impossible)
    - make the itunes folder I have on the external her itunes folder aswell (Only problem is when adding more files we would have to manually update the XML file .. im looking for something more automatic)
    - do the above and alias the XML file (Which wont work because i would have to be there in order for that to work which defeats the point)

    Well - you answered your own question, didn't you? Since a and c are not viable, b is the best way to to it. And you're right, each of you has to maintain your libraries manually. For example, create a folder "New Stuff" on the disk that you put new files into, and empty it when you both have added the content to your libraries (with iTunes' copying option on, of course.)

  • Looking for a way to mod the taskbar?

    I am looking to modify my taskbar just  for it to suit a theme i am trying. I have windows 7 64 bit. Basicly, what i want to do is replace the BMP files for the start buttons (mouse over and normal) with that of my own. Is this possible?

    Hello,
    The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.
    Since your post is off-topic, I am moving it to the
    off topic forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • I work with retired people who are looking for a way to make the bookmarks larger so they may be more easily read. Any suggestions?

    As the question asks, is there a way to make the bookmark tabs larger for people whose eyesight is not as keen as when they were younger? For instance is there an add on that would address this? thank you for your help.

    As the question asks, is there a way to make the bookmark tabs larger for people whose eyesight is not as keen as when they were younger? For instance is there an add on that would address this? thank you for your help.

  • Looking for a BAPI that does the same as /$SYNC

    Dear Experts,
    Could someone tell me which BAPI resets all buffers, I need one just like running /$SYNC. Thanks in advance.
    PS: I use a system for test purpose, not a real one in a company.

    Thanks for your answer Markus. I would like to call the t-code $SYNC out of the SAP GUI, because I am using a webservice to measure the memory used in the buffers, which gives me the same as the transaction ST02 (and I want to avoid the SAP GUI effect on memory usage by using ST02 and $SYNC, for the ST02 I have a BAPI, but not for the T-Code).Then I need to reset the buffers to know how much memory is used by some of my webservices.
    Do you know a way to use this t-code $SYNC out of the SAP GUI?
    PS: I use a system for testing purposes, not a real one in a company. And it's on Unix.
    Edited by: raesna1 on Dec 14, 2010 6:12 PM

  • HT1338 I'm having difficulty getting my scanner to communicate with my new Photoshop CSX trial software. I can purchase the software as soon as i know the scanner works and i can work as normal! i'm looking for a way to download the scanner driver to solv

    Would any of you know by any chance how to find the download for a Mac OS X scanner driver? my Canon LIDE 600F scanner normally works fine - and i've checked and in principle it should be compatible with the latest Photoshop CS6 trial i've successfully downloaded. i've checked the Apple software update and that's fine too. it's just that when i open my photoshop CS6 and go to File - import - scanner, the scanner is 'missing' - and then when i try every which way, an error flag comes up, stating there's an internal error and cites the scanner driver. it looks as though i need a scanner driver download for Mac OS X 10.6. i've googled this and can't find it .... has anyone else encountered this hitch since downloading the latest Photoshop? previously i had Photoshop CS3 - it's the CS6 version now that i'm trying to work with. You know how it is, deadline approaching and trying not to OD on coffee

    The driver may be listed here:
    Printer and Scanner software available for download:
    http://support.apple.com/kb/HT3669?viewlocale=en_US

  • I cannot locate the Jump Menu under Insert/Form. I am looking for a way to replacve the Spry menu I used previously

    I need to modify my website and I used a Spry menu to direct users to specific pages. This is no longer supported with the 2014 version and thought a Jump Menu would work, but it is not on the insert/form menu as instructed in help files. Any ideas?

    Jump Menus still exist in CC, they're just created differently than they used to be. For some reason I can't figure out, they've been a bit buried...
    1. Click in Design View where you want the Select Menu to appear
    2. Go to Insert > Form > Select
    3. Click on the Select Menu created in Design View
    4. Click the + in the Behaviors Window and choose Jump Menu
    From there, you should get the familiar Jump Menu dialogue box.

  • I've lost the toolbar, looking for a way to eliminate the preview pane below the list of emails.

    In attempting to eliminate the preview pane (which I don't like) I accidentally eliminated the toolbar at the top. Since it's no longer there, I can't get the 'tools' option, and so I'd like to restore it. How?

    Thanks for the reply.
    I'm not using cc cleaner.
    This started after an update. Somewhere there must be an option box to turn off this feature permanently, but no one seems to know where it is. I must turn it off every time under view, layout, message pane.
    I have no need for this feature. If I want to see the email i open it. If not I delete it. Having it take up half of my email page is a totally useless feature.
    Any suggestions

  • Is there a way to associate the same song with two different albums?

    Here's what I would like to do if it's possible. I recently purchased Mothership, the Led Zeppelin compilation album. That album has about 4 songs from Led Zeppelin 4. I'm hoping I could purchase the remaining songs from Zeppelin 4, then somehow copy the 4 songs from Mothership over and associate them with Zeppelin 4 to complete the album, yet still keeping them as a part of the Mothership collection. I don't really want to re-purchase those 4 songs again. Is this do-able?

    Hello - What I would do is this: (forgive me for being thorough..) And this would ony work with physical store-bought CDs:
    1) insert cd & wait for iTunes to open;
    2) then, close iTunes
    3) double-click on the cd icon, figure out which track(s) you want, then select them & option-drag to make a copy of them on the desktop.
    4) IF iTunes already "named" the songs, click on each song and change the name to something else (i.e. track 01 or whatever)
    5) drag this "nameless" track into iTunes and then drag the songs into the playlist where you want the duplicate of the song.
    6) now that the nameless song is in the new playlist, go ahead and give it its correct name, artist, album, etc.
    I think this should work. Forgive me again for being overly simplistic. Hope it works.

  • Looking for automated way to test print PnP printer after install then delete

    At times we test 20 to 30 printers in a day. I am looking for automated ways to increase the efficiency of this. I would like to simply have the printer install using PnP print a test page then delete itself after the test page or on removal. Are there any settings that can be changed on the computer to change the PnP process to make this possible. I am currently trying to learn and understand the Plug and play process so that I may find out how to get started. Any ideas would be greatly appreciated.
    Thanks
    This topic first appeared in the Spiceworks Community

    Chris
    I spent all day Googling and doing side by side comparisons of my old and new systems.
    My display is a Dell U2410. It has several presets, including sRGB and Adobe RGB. I've been using sRGB.
    On my OLD system, (Win XP, PsCS2, DwCS4) there seems to be no distinction between color managed and non color managed apps, even on this wide gamut display. I could capture (digital camera) in Adobe RGB, open and edit in PsCS2, save as .psd, convert to CMYK for print, or convert to sRGB for SFW. All images looked identical and they printed and displayed perfectly. I thought this was normal, and seemed logical. This also seems to be the source of my incorrect assumptions. I was trying to get my new machine to behave like my old one.
    So I get this new machine (Windows 7, PsCS5, DwCS5) and now (still in sRGB display mode) all color managed apps appear de-saturated. Non color managed apps are OK. If I switch the display to Adobe RGB, color managed apps are OK, but non color managed apps are way too saturated. From my investigation, I believe this is normal behavior on a wide gamut display. I've tried changing the Control Panel > Display > Screen Resolution > Advanced settings > Color Management options, but to no avail. Either I'm missing something, or Windows 7 is doing color management differently.
    It seems my only option now is to use Adobe RGB display setting for Ps, etc. and switch to sRGB for Dw and non color managed apps. Or, have 2 separate files for print and web. I've Googled 'til my eyes are numb and still not sure I'm getting this. Any enlightenment would be greatly appreciated.
    Finally, I don't see an edit function here, so I can't remove my previous incorrect reply. Moderator, please feel free to do so.
    Thanks

Maybe you are looking for

  • Adding multiple entries in a Form

    I've setup an editable PDF form in LiveCycle Designer 7.0 and have it setup to export the data to an xml with 2 different tables. The form is a request for purchase, so I have the basic info in the first table and then I want each line item to be set

  • Photoshop CS6 und Filter

    Leider musste ich feststellen, dass viele meiner Filter in CS6 nicht mehr funktionieren bzw. einen Crash verursachen. Das betrifft nicht nur kostenlose 8bf-Plugins, sondern auch gekaufte, wie z. B. KPT Collection. Gibt es eine Möglichkeit, die Filter

  • Shared memory usage

    hi group, I have a scenario that i have to use shared memory concept in routines of BI...here i have to write a abap code and check on a file. and i want to take that file from the shared memory concept. and then check. i also dont want to fetch th d

  • Data Source for reused bounded task flow

    Hi, I am using JDeveloper 11.1.2.4.0. I have a project from which I exported a bounded task flow to be used in other projects. When I include that bounded task flow in a separate project, its data source does not appear in the Databindings.cpx of the

  • Defender allowing omiga-plus to change browser not picked up on 3.5 hours scan

    have problems with browsers being taken over but not picked up by defender cant seem to talk to anyone at microsoft