[LINUX] Soundgraph iMON Remote Configuration Files
#1
Thumbs Up 
I have just finished migrating my XBMC from Windows to a clean Linux installation, and I can just say that it truly rocks despite some headache on the way Smile

One thing I noticed is that the remote.xml och Lircmap.xml in XBMC isn't very easy to handle, it's a bit messy. But I have just finished configuring the files for my iMON-PAD remote and now it works like a charm. Here's my configuration for the remote, and almost every button have a function.

$HOME/.xbmc/userdata/Lircmap.xml
Code:
<lircmap>
    <remote device="iMON-PAD">
        <power>Power</power>                <!-- Power off -->
        <obc1>AppExit</obc1>                <!-- Shutdown Menu -->
        <record>Screenshot</record>            <!-- Screendump -->
        <play>Play</play>                    <!-- Play -->
        <reverse>Rewind</reverse>            <!-- Rewind -->
        <forward>FastForward</forward>        <!-- Fast forward -->
        <pause>Pause</pause>                <!-- Pause -->
        <stop>Stop</stop>                    <!-- Stop -->
        <skipplus>NextChapter</skipplus>    <!-- Skip Next -->
        <skipminus>PrevChapter</skipminus>    <!-- Skip Prev -->

        <left>Left</left>                    <!-- Left -->
        <right>Right</right>                <!-- Right -->
        <up>Up</up>                            <!-- Up -->
        <down>Down</down>                    <!-- Down -->
        <select>Enter</select>                <!-- Select -->
        <back>Backspace</back>                <!-- Parent Dir -->
        <obc2>Escape</obc2>                    <!-- Previos Menu -->
        <obc3>RightMenu</obc3>                <!-- Context Menu -->
        <obc4>LeftMenu</obc4>                <!-- OSD -->
        <info>Select</info>                    <!-- Info -->
        <obc12>LeftClick</obc12>            <!-- Queue -->
        <obc13>RightClick</obc13>            <!-- None -->

        <start>MultiMon</start>                <!-- Main page -->
        <obc5>AppLauncher</obc5>            <!-- Applications -->
        <obc6>TaskSwitcher</obc6>            <!-- Playlist -->
        <obc7>Eject</obc7>                    <!-- Eject tray -->
        <obc8>Timer</obc8>                    <!-- Lock Visualisation Preset -->
        <volumeplus>Vol+</volumeplus>        <!-- Volume Up -->
        <volumeminus>Vol-</volumeminus>        <!-- Volume Down -->
        <pageplus>Ch+</pageplus>            <!-- Page Up/Skip Next -->
        <pageminus>Ch-</pageminus>            <!-- Page Down/Skip Previous -->
        <mute>Mute</mute>                    <!-- Mute Sound -->
        
        <one>1</one>                        <!-- Button 1 -->
        <two>2</two>                        <!-- Button 2 -->
        <three>3</three>                    <!-- Button 3 -->
        <four>4</four>                        <!-- Button 4 -->
        <five>5</five>                        <!-- Button 5 -->
        <six>6</six>                        <!-- Button 6 -->
        <seven>7</seven>                    <!-- Button 7 -->
        <eight>8</eight>                    <!-- Button 8 -->
        <nine>9</nine>                        <!-- Button 9 -->
        <zero>0</zero>                        <!-- Button 0 -->
        <star>Star</star>                    <!-- Button * -->
        <hash>Hash></hash>                    <!-- Button # -->
        
        <myvideo>MyMovie</myvideo>            <!-- Library Movie Title -->
        <mymusic>MyMusic</mymusic>            <!-- Music Library -->
        <mypictures>MyPhoto</mypictures>    <!-- Photo Libraray -->
        <mytv>MyTV</mytv>                    <!-- Library TV Show Title -->
        <obc9>Bookmark</obc9>                <!-- Favourites -->
        <obc10>Thumbnail</obc10>            <!-- None -->
        <obc11>AspectRatio</obc11>            <!-- Aspect Ratio -->
        <display>FullScreen</display>        <!-- Full Screen -->
        <subtitle>Caption</subtitle>        <!-- Subtitle switch -->
        <language>Language</language>        <!-- Next Audio Language -->
        </remote>
</lircmap>
Reply
#2
$HOME/.xbmc/userdata/remote/remote.xml
Code:
<keymap>
    <global>
        <universalremote>
            <obc1>XBMC.ActivateWindow(shutdownmenu)</obc1>
            <obc2>PreviousMenu</obc2>
            <obc3>ContextMenu</obc3>
            <obc4>OSD</obc4>
            <obc5>XBMC.ActivateWindow(MyPrograms)</obc5>
            <obc6>Playlist</obc6>
            <obc7>XBMC.EjectTray()</obc7>
            <obc8></obc8>
            <obc9>XBMC.ActivateWindow(favourites)</obc9>
            <obc10></obc10>
            <obc11>AspectRatio</obc11>
            <obc12>Queue</obc12>
        </universalremote>

        <remote>
            <power>XBMC.ShutDown()</power>
            <record>Screenshot</record>
            <play>Play</play>
            <pause>Pause</pause>
            <stop>Stop</stop>
            <forward>FastForward</forward>
            <reverse>Rewind</reverse>
            <skipplus>SkipNext</skipplus>
            <skipminus>SkipPrevious</skipminus>

            <left>Left</left>
            <right>Right</right>
            <up>Up</up>
            <down>Down</down>
            <select>Select</select>
            <back>ParentDir</back>
            <info>Info</info>

            <start>XBMC.ActivateWindow(Home)</start>
            <volumeplus>VolumeUp</volumeplus>
            <volumeminus>VolumeDown</volumeminus>
            <pageplus>PageUp</pageplus>
            <pageminus>PageDown</pageminus>
            <mute>Mute</mute>

            <zero>Number0</zero>
            <one>Number1</one>
            <two>Number2</two>
            <three>Number3</three>
            <four>Number4</four>
            <five>Number5</five>
            <six>Number6</six>
            <seven>Number7</seven>
            <eight>Number8</eight>
            <nine>Number9</nine>

            <myvideo>XBMC.ActivateWindow(VideoLibrary,MovieTitles)</myvideo>
            <mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
            <mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
            <mytv>XBMC.ActivateWindow(VideoLibrary,TvShowTitles)</mytv>
            <display>FullScreen</display>
        </remote>
    </global>
    <Home>
        <remote>
        </remote>
    </Home>
    <MyFiles>
        <remote>
            <five>Highlight</five>
            <zero>Delete</zero>
            <star>Move</star>
            <hash>Rename</hash>
        </remote>
    </MyFiles>
    <MyMusicPlaylist>
        <remote>
            <zero>Delete</zero>
        </remote>
    </MyMusicPlaylist>
    <MyMusicPlaylistEditor>
        <remote>
        </remote>
    </MyMusicPlaylistEditor>
    <MyMusicFiles>
        <remote>
        </remote>
    </MyMusicFiles>
    <MyMusicLibrary>
        <remote>
        </remote>
    </MyMusicLibrary>
    <FullscreenVideo>
        <remote>
            <zero>Number0</zero>
            <one>Number1</one>
            <two>Number2</two>
            <three>Number3</three>
            <four>Number4</four>
            <five>Number5</five>
            <six>Number6</six>
            <seven>Number7</seven>
            <eight>Number8</eight>
            <nine>Number9</nine>
            <left>StepBack</left>
            <right>StepForward</right>
            <up>BigStepForward</up>
            <down>BigStepBack</down>
            <back>SmallStepBack</back>
            <pageplus>SkipNext</pageplus>
            <pageminus>SkipPrevious</pageminus>
            <info>Info</info>
            <subtitle>NextSubtitle</subtitle>
            <language>AudioNextLanguage</language>
        </remote>
    </FullscreenVideo>
    <VideoTimeSeek>
        <remote>
            <select>Select</select>
        </remote>
    </VideoTimeSeek>
    <FullscreenInfo>
        <remote>
        </remote>
    </FullscreenInfo>
    <PlayerControls>
        <remote>
        </remote>
    </PlayerControls>
    <Visualisation>
        <universalremote>
            <obc8>LockPreset</obc8>
            <obc4>XBMC.ActivateWindow(MusicOSD)</obc4>
        </universalremote>
        <remote>
            <pageplus>NextPreset</pageplus>
            <pageminus>PreviousPreset</pageminus>
            <select>XBMC.ActivateWindow(VisualisationPresetList)</select>
            <info>Info</info>
        </remote>
    </Visualisation>
    <MusicOSD>
        <universalremote>
            <obc4>Close</obc4>
        </universalremote>
        <remote>
        </remote>
    </MusicOSD>
    <VisualisationSettings>
        <remote>
        </remote>
    </VisualisationSettings>
    <VisualisationPresetList>
        <remote>
        </remote>
    </VisualisationPresetList>
    <SlideShow>
        <remote>
            <zero>ZoomNormal</zero>
            <one>ZoomLevel1</one>
            <two>ZoomLevel2</two>
            <three>ZoomLevel3</three>
            <four>ZoomLevel4</four>
            <five>ZoomLevel5</five>
            <six>ZoomLevel6</six>
            <seven>ZoomLevel7</seven>
            <eight>ZoomLevel8</eight>
            <nine>ZoomLevel9</nine>
            <info>Info</info>
            <skipplus>NextPicture</skipplus>
            <skipminus>PreviousPicture</skipminus>
            <select>Rotate</select>
        </remote>
    </SlideShow>
    <ScreenCalibration>
        <remote>
            <skipplus>NextCalibration</skipplus>
            <skipminus>NextResolution</skipminus>
            <zero>ResetCalibration</zero>
        </remote>
    </ScreenCalibration>
    <GUICalibration>
        <remote>
            <skipplus>NextCalibration</skipplus>
            <zero>ResetCalibration</zero>
        </remote>
    </GUICalibration>
    <SelectDialog>
        <remote>
        </remote>
    </SelectDialog>
    <VideoOSD>
        <universalremote>
            <obc4>Close</obc4>
        </universalremote>
        <remote>
        </remote>
    </VideoOSD>
    <VideoMenu>
        <remote>
            <info>Info</info>
            <zero>Number0</zero>
            <one>Number1</one>
            <two>Number2</two>
            <three>Number3</three>
            <four>Number4</four>
            <five>Number5</five>
            <six>Number6</six>
            <seven>Number7</seven>
            <eight>Number8</eight>
            <nine>Number9</nine>
            <play>Select</play>
        </remote>
    </VideoMenu>
    <OSDVideoSettings>
        <remote>
        </remote>
    </OSDVideoSettings>
    <OSDAudioSettings>
        <remote>
        </remote>
    </OSDAudioSettings>
    <VideoBookmarks>
        <remote>
            <zero>Delete</zero>
        </remote>
    </VideoBookmarks>
    <MyVideoLibrary>
        <remote>
        </remote>
    </MyVideoLibrary>
    <MyVideoFiles>
        <remote>
        </remote>
    </MyVideoFiles>
    <MyVideoPlaylist>
        <remote>
            <zero>Delete</zero>
        </remote>
    </MyVideoPlaylist>
    <VirtualKeyboard>
        <remote>
            <back>BackSpace</back>
            <star>Shift</star>
            <hash>Symbols</hash>
            <zero>Number0</zero>
            <one>Number1</one>
            <two>Number2</two>
            <three>Number3</three>
            <four>Number4</four>
            <five>Number5</five>
            <six>Number6</six>
            <seven>Number7</seven>
            <eight>Number8</eight>
            <nine>Number9</nine>
            <select>Enter</select>
            <left>CursorLeft</left>
            <right>CursorRight</right>
        </remote>
    </VirtualKeyboard>
    <ContextMenu>
        <universalremote>
            <obc3>Close</obc3>
        </universalremote>
        <remote>
        </remote>
    </ContextMenu>
    <FileStackingDialog>
        <remote>
        </remote>
    </FileStackingDialog>
    <Scripts>
        <remote>
            <info>info</info>
        </remote>
    </Scripts>
    <NumericInput>
        <remote>
            <zero>Number0</zero>
            <one>Number1</one>
            <two>Number2</two>
            <three>Number3</three>
            <four>Number4</four>
            <five>Number5</five>
            <six>Number6</six>
            <seven>Number7</seven>
            <eight>Number8</eight>
            <nine>Number9</nine>
            <enter>Enter</enter>
            <back>BackSpace</back>
        </remote>
    </NumericInput>
    <Weather>
        <remote>
        </remote>
    </Weather>
    <Settings>
        <remote>
        </remote>
    </Settings>
    <AddonBrowser>
        <remote>
        </remote>
    </AddonBrowser>
    <AddonInformation>
        <remote>
        </remote>
    </AddonInformation>
    <AddonSettings>
        <remote>
        </remote>
    </AddonSettings>
    <TextViewer>
        <remote>
        </remote>
    </TextViewer>
    <MyPicturesSettings>
        <remote>
        </remote>
    </MyPicturesSettings>
    <MyProgramsSettings>
        <remote>
        </remote>
    </MyProgramsSettings>
    <MyWeatherSettings>
        <remote>
        </remote>
    </MyWeatherSettings>
    <MyMusicSettings>
        <remote>
        </remote>
    </MyMusicSettings>
    <SystemSettings>
        <remote>
        </remote>
    </SystemSettings>
    <MyVideosSettings>
        <remote>
        </remote>
    </MyVideosSettings>
    <NetworkSettings>
        <remote>
        </remote>
    </NetworkSettings>
    <AppearanceSettings>
        <remote>
        </remote>
    </AppearanceSettings>
    <Profiles>
        <remote>
        </remote>
    </Profiles>
    <systeminfo>
        <remote>
        </remote>
    </systeminfo>
    <shutdownmenu>
        <universalremote>
            <obc1>Close</obc1>
        </universalremote>
        <remote>
        </remote>
    </shutdownmenu>
    <submenu>
        <remote>
        </remote>
    </submenu>
    <MusicInformation>
        <remote>
        </remote>
    </MusicInformation>
    <MovieInformation>
        <remote>
        </remote>
    </MovieInformation>
    <LockSettings>
        <remote>
        </remote>
    </LockSettings>
    <ProfileSettings>
        <remote>
        </remote>
    </ProfileSettings>
    <PictureInfo>
        <remote>
            <skipplus>NextPicture</skipplus>
            <skipminus>PreviousPicture</skipminus>
        </remote>
    </PictureInfo>
    <Teletext>
        <remote>
            <zero>number0</zero>
            <one>number1</one>
            <two>number2</two>
            <three>number3</three>
            <four>number4</four>
            <five>number5</five>
            <six>number6</six>
            <seven>number7</seven>
            <eight>number8</eight>
            <nine>number9</nine>
            <red>Red</red>
            <green>Green</green>
            <yellow>Yellow</yellow>
            <blue>Blue</blue>
            <info>Info</info>
            <teletext>Close</teletext>
        </remote>
    </Teletext>
    <Favourites>
        <universalremote>
            <obc9>Close</obc9>
        </universalremote>
        <remote>
        </remote>
    </Favourites>
</keymap>

Also edit remote.xml in /usr/share/xbmc/system/remote.xml to avoid that the original remote.xml interfere with xbmc, I had some trouble with that first. Comment out everything between <keymap> and </keymap>.

Code:
<keymap>
    <!--
    ......
    -->
</keymap>

Hope this will help some Smile

-- Mike
Reply
#3
Hey, I just started and ran the XBMC Live install, and am trying to set up the remote that came with my Antec Remote Fusion Black case (I believe it to be the same one you're referring to), and I'm not finding the Lircmap.xml file you refer to in the first post... I'm just wondering if you know of another way I can map these buttons on my remote, or possibly point me in the direction to finding this Lircmap.xml file? The closest I have to matching the path is /home/xbmc, which only has the Music, TV Shows, Movies, and Pictures directories within.... Sad

I even tried a find / -name Lircmap and got no results, so I'm wondering if it's possibly something I have to create myself?
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply
#4
DaMizZa Wrote:Hey, I just started and ran the XBMC Live install, and am trying to set up the remote that came with my Antec Remote Fusion Black case (I believe it to be the same one you're referring to), and I'm not finding the Lircmap.xml file you refer to in the first post... I'm just wondering if you know of another way I can map these buttons on my remote, or possibly point me in the direction to finding this Lircmap.xml file? The closest I have to matching the path is /home/xbmc, which only has the Music, TV Shows, Movies, and Pictures directories within.... Sad

I even tried a find / -name Lircmap and got no results, so I'm wondering if it's possibly something I have to create myself?

Sorry for the late response. You may have to create the files your self and place them in the directories I mentioned. Easiest way is to create then on your computer and put them on a USB-stick, and just use 'sudo cp <source> <destination>' to copy them.
Reply
#5
DaMizZa Wrote:Hey, I just started and ran the XBMC Live install, and am trying to set up the remote that came with my Antec Remote Fusion Black case (I believe it to be the same one you're referring to), and I'm not finding the Lircmap.xml file you refer to in the first post... I'm just wondering if you know of another way I can map these buttons on my remote, or possibly point me in the direction to finding this Lircmap.xml file? The closest I have to matching the path is /home/xbmc, which only has the Music, TV Shows, Movies, and Pictures directories within.... Sad

I even tried a find / -name Lircmap and got no results, so I'm wondering if it's possibly something I have to create myself?

find / -name Lircmap won't find the Lircmap.xml on your system.

You can try find / -name Lircmap.xml or find / -name Lircmap\*

Check /usr/share/xbmc/system

That's the default for the global Lircmap.xml
Reply
#6
Quote:Also edit remote.xml in /usr/share/xbmc/system/remote.xml to avoid that the original remote.xml interfere with xbmc, I had some trouble with that first. Comment out everything between <keymap> and </keymap>.

Code:
<keymap>
    <!--
    ......
    -->
</keymap>

Hope this will help some Smile

-- Mike

You can also just delete the global Lircmap.xml and remote.xml or replace them with the Lircmap.xml and remote.xml in your user directory.
Reply
#7
Thanks for the help guys, I found the position of my case to be non-condusive to easy use of the remote, so I actually ended up using the PS3 BD Remote instead.
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply
#8
I just noticed that I have entered the wrong path to remote.xml, it should be placed in ~/.xbmc/userdata/keymaps/remote.xml, nothing else Smile
Reply
#9
thanks, very useful! Nod
it works but the right folder is $HOME/.xbmc/userdata/keymaps/remote.xml not $HOME/.xbmc/userdata/remote/remote.xml
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Soundgraph iMON Remote Configuration Files0