• 1
  • 56
  • 57
  • 58(current)
  • 59
  • 60
  • 90
Linux HOW-TO: Automated efficient XBMC install - Ubuntu 12.10/13.04 mini based
Well, commandline does not intimidate me when I can see it on a page and start applying it to my system.
I am not at the level where I can actually just know all the commands and test on my own.
Can you point me to a good guide for this in your environment?
For example, if the guide assumes I have LIRC installed and I do not on mini (?) then I will get tripped up.
Anyhow, just point me in the direction and I'll try. Thanks

(2013-02-12, 00:06)millercentral Wrote: However, if command line interfaces, and console-based text editors intimidate you, then this may not be the most approachable way to go.
| Frodo| Windows7 64b | Acer Aspire Revo 3610 3GB |
| Frodo | PeppermintOS 3 | Dell Dimension 3100 | 2GB |
Reply
Bram, when you added the option for the Motorola Nyxboard, what did you add exactly?

Was it the ability to suspend and wake with the power button? I found a thread detailing how to do it (http://forum.xbmc.org/showthread.php?tid=112804&page=2) and was going to try when I get home tonight. Just curious what changes you made.

OBTW, I have the Nyxboard and love it. I've tried so many remotes, this is a keeper for me.

Thanks for all the hard work!
Reply
All the Nyxboard option does is apply a keymapping that in my opinion is the best. It allows for direct access to subtitle downloading + sync adjustment and audio sync adjustments (color keys), and more...
Image

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
Reply
(2013-02-14, 17:39)Bram77 Wrote: All the Nyxboard option does is apply a keymapping that in my opinion is the best. It allows for direct access to subtitle downloading + sync adjustment and audio sync adjustments (color keys), and more...

Awesome, do you have a listing of what those mappings are? Appreciate it!

Nevermind: Just pulled the XML file and looked it up. Thanks!
Reply
This should give you an idea...

Code:
<keymap>
  <global>

  <keyboard name="Motorola Nyxboard Hybrid">
    <key id="61952">ActivateWindow(shutdownmenu)</key>     <!-- Power button-->
<!--    <f4></f4>                                USER Key -->
    <f3 mod="shift">ContextMenu</f3>                <!-- Red -->
    <f4 mod="shift">Queue</f4>                <!-- Green -->
    <f5 mod="shift">DecreaseRating</f5>            <!-- Yellow -->
    <f6 mod="shift">IncreaseRating</f6>            <!-- Blue -->
    <d mod="ctrl">Info</d>                  <!-- INFO  -->
      <f3>FullScreen</f3>                     <!-- EPG   -->
         <two>FilterSMS2</two>                    <!-- SMS Filter  -->
         <three>FilterSMS3</three>
         <four>FilterSMS4</four>
         <five>FilterSMS5</five>
         <six>FilterSMS6</six>
         <seven>FilterSMS7</seven>
         <eight>FilterSMS8</eight>
         <nine>FilterSMS9</nine>                    <!-- SMS
Filter  -->
    </keyboard>
  </global>
  

  <LoginScreen>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </LoginScreen>

  
  <Home>
    <keyboard name="Motorola Nyxboard Hybrid">
      <f3>XBMC.ActivateWindow(filemanager)</f3>        <!-- EPG = filemanager -->
    </keyboard>
  </Home>
  

  <VirtualKeyboard>
    <keyboard name="Motorola Nyxboard Hybrid">
    <play_pause>Close</play_pause>        <!-- Play -->
    <return>Enter</return>            <!-- Enter/OK Presses Enter -->
<!--    <OK>Select</OK>    -->            <!-- Enter/OK Selects buttons -->
    <home>Close</home>            <!-- Home to close keyboard -->
    </keyboard>
  </VirtualKeyboard>
  

  <MyFiles>
    <keyboard name="Motorola Nyxboard Hybrid">
    <one>Highlight</one>            <!-- One = Highlight -->
    </keyboard>
  </MyFiles>


  <MyMusicPlaylist>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f5 mod="shift">Back</f5>            <!-- Yellow -->
    </keyboard>
  </MyMusicPlaylist>


  <MyMusicPlaylistEditor>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f5 mod="shift">Back</f5>            <!-- Yellow -->
    </keyboard>
  </MyMusicPlaylistEditor>


  <MyMusicFiles>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f5 mod="shift">XBMC.ActivateWindow(musicplaylist)</f5>      <!-- Yellow -->
    <zero>XBMC.ActivateWindow(musicfiles)</zero>            <!-- Reopen music files window to reset sms -->
    </keyboard>
  </MyMusicFiles>


  <MyMusicLibrary>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f5 mod="shift">XBMC.ActivateWindow(musicplaylist)</f5>      <!-- Yellow -->
    <zero>XBMC.ActivateWindow(musiclibrary)</zero>            <!-- Reopen music library window to reset sms -->
    </keyboard>
  </MyMusicLibrary>


  <FullscreenVideo>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f3 mod="shift">RunScript(script.xbmc.subtitles)</f3>       <!-- Red -->
    <f4 mod="shift">NextSubtitle</f4>                     <!-- Green -->
    <f5 mod="shift">SubtitleDelay</f5>                 <!-- Yellow -->
    <f6 mod="shift">AudioDelay</f6>                       <!-- Blue -->
    <f3>CodecInfo</f3>                                   <!-- EPG  -->
    <left>SmallStepBack</left>                    <!-- Left arrow -->
    <backspace>Stop</backspace>                    <!-- Back -->
    <home>Stop</home>                        <!-- Home -->
    <one>Number1</one>                        <!-- Normal number function  -->
    <two>Number2</two>
         <three>Number3</three>
         <four>Number4</four>
         <five>Number5</five>
         <six>Number6</six>
         <seven>Number7</seven>
         <eight>Number8</eight>
         <nine>Number9</nine>
    <zero>Number0</zero>                        <!-- Normal number function  -->    
    </keyboard>
  </FullscreenVideo>


  <VideoTimeSeek>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </VideoTimeSeek>


  <FullscreenInfo>
    <keyboard name="Motorola Nyxboard Hybrid">
    <d mod="ctrl">Back</d>                  <!-- INFO  -->
    </keyboard>
  </FullscreenInfo>


  <PlayerControls>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </PlayerControls>


  <Visualisation>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </Visualisation>


  <MusicOSD>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </MusicOSD>


  <VisualisationSettings>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </VisualisationSettings>


  <VisualisationPresetList>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </VisualisationPresetList>


  <SlideShow>
    <keyboard name="Motorola Nyxboard Hybrid">
      <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>
    </keyboard>
  </SlideShow>


  <ScreenCalibration>
    <keyboard name="Motorola Nyxboard Hybrid">
      <return>NextCalibration</return>
      <enter>NextCalibration</enter>
      <d>ResetCalibration</d>
      <r>NextResolution</r>
    </keyboard>
  </ScreenCalibration>


  <GUICalibration>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </GUICalibration>


  <VideoOSD>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </VideoOSD>


  <VideoMenu>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f3 mod="shift">RunScript(script.xbmc.subtitles)</f3>       <!-- Red -->
    <f4 mod="shift">NextSubtitle</f4>                     <!-- Green -->
    <f5 mod="shift">SubtitleDelay</f5>                 <!-- Yellow -->
    <f6 mod="shift">AudioDelay</f6>                       <!-- Blue -->
    <f3>CodecInfo</f3>                                   <!-- EPG  -->
    <left>SmallStepBack</left>                    <!-- Left arrow -->
    <backspace>Stop</backspace>                    <!-- Back -->
    <home>Stop</home>                        <!-- Home -->
    <d mod="ctrl">Info</d>                      <!-- INFO  -->
    </keyboard>
  </VideoMenu>


  <OSDVideoSettings>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </OSDVideoSettings>


  <OSDAudioSettings>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </OSDAudioSettings>


  <VideoBookmarks>
    <keyboard name="Motorola Nyxboard Hybrid">
      <f3 mod="shift">Delete</f3>                <!-- Red -->
    </keyboard>
  </VideoBookmarks>


  <MyVideoLibrary>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f5 mod="shift">XBMC.ActivateWindow(videoplaylist)</f5>     <!-- Yellow -->
    <f6 mod="shift">ToggleWatched</f6>                   <!-- Blue -->
    <zero>XBMC.ActivateWindow(videolibrary)</zero>            <!-- Reopen video library window to reset sms -->
    <play_pause>XBMC.VideoLibrary.Search</play_pause>        <!-- Play -->
    </keyboard>
  </MyVideoLibrary>


  <MyVideoFiles>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f5 mod="shift">XBMC.ActivateWindow(videoplaylist)</f5>     <!-- Yellow -->
    <f6 mod="shift">ToggleWatched</f6>                   <!-- Blue -->
    <zero>XBMC.ActivateWindow(videofiles)</zero>            <!-- Reopen video files window to reset sms -->
    <play_pause>XBMC.VideoLibrary.Search</play_pause>        <!-- Play -->
    </keyboard>
  </MyVideoFiles>


  <MyVideoPlaylist>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f5 mod="shift">Back</f5>            <!-- Yellow -->
    </keyboard>
  </MyVideoPlaylist>


  <MyPictures>
    <keyboard name="Motorola Nyxboard Hybrid">
         <!-- Empty -->
    </keyboard>
  </MyPictures>


  <ContextMenu>
    <keyboard name="Motorola Nyxboard Hybrid">
    <f3 mod="shift">Back</f3>                <!-- Red -->
    </keyboard>
  </ContextMenu>


  <Scripts>
    <keyboard name="Motorola Nyxboard Hybrid">
      <!-- Empty -->
    </keyboard>
  </Scripts>


  <MusicInformation>
    <keyboard name="Motorola Nyxboard Hybrid">
    <d mod="ctrl">Back</d>              <!-- INFO  -->
    </keyboard>
  </MusicInformation>


  <MovieInformation>
    <keyboard name="Motorola Nyxboard Hybrid">
      <d mod="ctrl">Back</d>                  <!-- INFO  -->
    </keyboard>
  </MovieInformation>


  <PictureInfo>
    <keyboard name="Motorola Nyxboard Hybrid">
    <d mod="ctrl">Back</d>              <!-- INFO  -->
    </keyboard>
  </PictureInfo>


  <Teletext>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </Teletext>


  <FileBrowser>
    <keyboard name="Motorola Nyxboard Hybrid">
    <one>Highlight</one>                <!-- One -->
    </keyboard>
  </FileBrowser>


  <ShutdownMenu>
    <keyboard name="Motorola Nyxboard Hybrid">
    <key id="61952">Back</key>             <!-- Use the Power button to go back -->    
    </keyboard>
  </ShutdownMenu>


  <AddonInformation>
    <keyboard name="Motorola Nyxboard Hybrid">
      <d mod="ctrl">Back</d>                  <!-- INFO  -->
    </keyboard>
  </AddonInformation>


  <AddonSettings>
    <keyboard name="Motorola Nyxboard Hybrid">
    <!-- Empty -->
    </keyboard>
  </AddonSettings>

</keymap>
Image

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
Reply
Hi. How can I boot this install to single user mode? I've tried moving init.d/xbmc elsewhere and setting grub default to 1, both still boot XBMC. I need a minimal shell to free up some space on / .
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
(2013-02-15, 15:03)n1md4 Wrote: Hi. How can I boot this install to single user mode? I've tried moving init.d/xbmc elsewhere and setting grub default to 1, both still boot XBMC. I need a minimal shell to free up some space on / .

You'll lose quite some space when installing the requirements for a shell/window manager.
You can do everything you need via ssh. You just need to know some basic commands.
Image

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
Reply
(2013-02-15, 15:15)Bram77 Wrote:
(2013-02-15, 15:03)n1md4 Wrote: Hi. How can I boot this install to single user mode? I've tried moving init.d/xbmc elsewhere and setting grub default to 1, both still boot XBMC. I need a minimal shell to free up some space on / .

You'll lose quite some space when installing the requirements for a shell/window manager.
You can do everything you need via ssh. You just need to know some basic commands.

I appreciate that, and I'm not looking to install a GUI, I mean a booting to single user, init 1 .. It's .xbmc, it's grown to 5G. I've created an LV for it to live in, and have created the appropriate mounts in /etc/fstab , and on boot it mounts as expected. But, until I can umount .xbmc and remove the portion of that directory from / it's still taking space, and can't be unmounted when XBMC is running, hence single user mode.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
When I install minimal, I create a different /home partition so that way / is only for system files and /home is for everything else including all userdata stuff related to xbmc.

uNi
Reply
A huge thank you to Bram77 for this script and uNiversal for his supporting role. Once I checked the log and noticed that a 4GB USB stick wasn't big enough the install took very little time to complete on an 8GB stick. Hopefully I'll be able to find the reputation +/- button on my wife's XP box because I don't see it on my PlayBook and my laptop is dead until I get a new charger
Reply
@Grumpa

np, Wink You need minimum 10 posts to unlock +/-

uNi
Reply
(2013-02-15, 17:07)uNiversal Wrote: When I install minimal, I create a different /home partition so that way / is only for system files and /home is for everything else including all userdata stuff related to xbmc.

uNi

During the install I chose "guided entire disk" hoping to see somewhere the option to move /home. If it's there I missed it. Can it be done during partitioning?

I'd like to put /home on a small 250GB hdd and off the USB stick.

(2013-02-15, 18:33)uNiversal Wrote: @Grumpa

np, Wink You need minimum 10 posts to unlock +/-

uNi

Thanks

(easy extra post Big Grin )
Reply
see http://forum.xbmc.org/showthread.php?tid...pid1250360

uNi
Reply
(2013-02-15, 17:07)uNiversal Wrote: When I install minimal, I create a different /home partition so that way / is only for system files and /home is for everything else including all userdata stuff related to xbmc.

uNi

I have LVs for some /home/xbmc/ directories, but didn't know how large userdata would grow. If you hadn't have done that, how would you boot to a Bash shell, without XBMC launching.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
I'm guessing the steps to move your home directory to another partition would be:

- Create new partion (ext3 or ext4) on your target drive
- Run "sudo blkid" to figure out the UUID of the new partion
- Mount the new partition to a temporary folder
- Copy all the contents from your current /home directory to the new partition
- Modify /etc/fstab to mount the /home directory to new partition (using the UUID)
- Delete all the contents of the directory
- "mount -a" to remount the home partition or reboot the machine

Something like that. But I personally would just copy the /home/xbmc/.xbmc directory via SFTP to my computer, reinstall everthing (all on the 250GB drive since it's quite a lot faster). After having reinstalled everything again just copy back the /home/xbmc/.xbmc directory and you're all set.
Image

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
Reply
  • 1
  • 56
  • 57
  • 58(current)
  • 59
  • 60
  • 90

Logout Mark Read Team Forum Stats Members Help
HOW-TO: Automated efficient XBMC install - Ubuntu 12.10/13.04 mini based11