Kodi Community Forum

Full Version: outleradam's list of tweaks for XBMC Live Camelot RC1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just keeping a record if I need to redo them. My username is adam on my Ubuntu desktop, so you can modify the code accordingly. I've established a static ip for all computers on my network. my media center is 192.168.1.110.

first thing is to remove old ssh keys associated with the live computer from my other computer
Code:
gedit /home/adam/.ssh/known_hosts
remove all keys. save.

on XBMC live media center computer enable root access for file system changes from desktop. Open a terminal by pressing alt-ctrl-F1. login xbmc password xbmc
Code:
sudo passwd root
establish root password for ssh login from other computers.
alt-ctrl-F7 for xbmc screen
system/network/services/ allow programs on this system to control XBMC

ssh over to media center by opening a termial and typing
Code:
ssh -l root 192.168.1.110
type password

sftp over to media center by opening a window and typing sftp://[email protected]

Set up remote control. I created this page for my snapstream firefly:http://wiki.xbmc.org/?title=Snapstream_Firefly

Set up resume: I created this page for resume features others: http://wiki.xbmc.org/?title=Automatic_li...ume_script

Remove the xorg hardware cursor which pops up randomly:
find the 'Section "Device"' in sftp://[email protected]/etc/X11/xorg.conf and add the following line before EndSection
Code:
Option         "HWCursor" "False"
SFTP in and edit a file called /etc/motd.tail. Place your xbmc terminal message in there.
Code:
###########################
#     Welcome to XBMC     #
###########################
SSH Terminal back into xbmc and type
Code:
alsamixer
press right to get to Beep then set Beep to 0, press ESC, then type
Code:
sudo alsactl store
to store the settings. Then reboot by typing
Code:
reboot
Add HDHomeRun channels stream file to /home/xbmc/hdhr/channel.strm:
http://pastebin.com/fe92983c

Map HDHomeRun channel list to button:
/usr/share/xbmc/system/keymaps/remote.xml
to first remote:
Code:
<remote>
      <mytv>ActivateWindow(VideoFiles,/home/xbmc/hdhr/channel.strm)</mytv>
to fullscreen video:
Code:
<FullscreenVideo>
    <remote>
      <pageplus>SkipNext</pageplus>
      <pageminus>SkipPrevious</pageminus>
update kernel:
Code:
sudo apt-get install wget
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32.7/linux-headers-2.6.32-02063207_2.6.32-02063207_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32.7/linux-headers-2.6.32-02063207-generic_2.6.32-02063207_i386.deb

sudo dpkg -i linux-headers-2.6.32-02063207_2.6.32-02063207_all.deb linux-headers-2.6.32-02063207-generic_2.6.32-02063207_i386.deb linux-image-2.6.32-02063207-generic_2.6.32-02063207_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32.7/linux-image-2.6.32-02063207-generic_2.6.32-02063207_i386.deb


for my mythtv backend:
Code:
apt-get update
apt-get install mythweb [font=monospace]mythtv-themes[/font] mythtv mythtv-backend mythtv-common
I will add other things to this list as this is all I have noticed needed changing so far.



On my ubuntu computer I keep shortcuts on the left side ofmy desktop to ssh, sftp, and http for all devices on my network which I use frequently. You can get icons here for some of my devices or make your own: http://forum.xbmc.org/showthread.php?tid=63600
For live you really dont need to set a root password as you can just use sudo for the user you created upon install, then you never need to actually login as root.
I use root as my default SSH/SFTP logon for the XBMC live computer as a shortcut from my desktop. The reason is that it allows me to change all files without questioning me. I don't care much for security on a dedicated media center. It's a media center computer and that is all it does. It has no information contained on it other then what is supplied by the XBMC Live cd, so if something goes wrong, it can be reloaded from the Live cd. If I were using the computer for performing tasks other then XBMC then I would probably try to use a different account. Root is the best choice for administration of a dumb dedicated Live computer.

On my desktop computer I do not touch the root account ever.