![]() |
|
[LINUX] HOW-TO install XBMC for Linux on Ubuntu 8.04 (Hardy) and 8.10 (Intrepid) - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85) +--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110) +--- Thread: [LINUX] HOW-TO install XBMC for Linux on Ubuntu 8.04 (Hardy) and 8.10 (Intrepid) (/showthread.php?tid=44019) |
- rickx - 2009-04-21 08:26 By recommended you mean ubuntu plus gnome (and gdm), right? Apart from having to adjust the start scripts, wouldn't installing gdm suffice? I mean is the gnome-desktop with all it's apps you don't need on an xbmc-pc needed anyway? I don't think so... minimal core 2 duo for 720p software decoding - nikiiv - 2009-04-21 09:04 Sorry wrong post - bobb0 - 2009-04-21 16:11 rickx Wrote:By recommended you mean ubuntu plus gnome (and gdm), right? You could certainly try. I think that by installing gdm, you'll end up getting a lot of the apps you don't need. There was a minor debacle about this guide when an xbmc developer said something very discouraging in this thread: http://forum.xbmc.org/showpost.php?p=300779&postcount=8 Which led directly to this post: http://forum.xbmc.org/showpost.php?p=301299&postcount=432 Which led to a rallying of the team that read this thread religiously to encourage Olympia to keep this method in the Wiki at all... "Recommended" in terms of those posts means a full Ubuntu desktop, create an unpriv'd XBMC user and configure gdm to a) autologin that user and b) auto start xbmc by starting it from /home/{xbmcusername}/.xsession The whole point of this thread (or any thread for that matter) is that you experiment, find what works for you and share your findings with others. The ideas that are really good make it, others fall by the wayside. So in short, try it and let us know how it goes. It could make it into the guide ![]() Edit: Sorry if that sounds a little preachy. I'm just saying that I don't think gdm was chosen to be excluded for any other reason in that it didn't fit in with the whole stripped down/set-top box context at the time. If you can find a way to work it in, that would be cool.
XBMC and the recommended method - bobb0 - 2009-04-21 17:01 So, Day 1 of my "recommended" method project has passed. So far I've been able to: * Install Jaunty * Setup an autologin XBMC user * Install build dependencies and compile XBMC from svn * Get HDMI audio working (more on this later) * Install the userspace xbox360 pad driver To do: * Restart XBMC on crash -- currently it drops me to a login prompt (boourns!) * Figure out a way to define a keyboard mapping which mimicks the xbox reboot command (Left Trigger + Right Trigger + Back + Start) to kill X in case of XBMC lockup. Those keys in combination should trigger a Ctrl+Alt+Backspace, however in Jaunty it seems even that key combo is disabled?? Step 1: Install Jaunty Did this from USB. Seems easy enough except that on my HTPC, it dropped me to busybox / initramfs cli. Durrr what to do? Amazingly I typed "exit," walked away and came back later to find it had booted into GUI. Commenced installation - no issues. Step 2: Create XBMC user Easy enough, did this via Administration/Users and Groups. Started with the unpriv'd profile and added the things I think the xbmc user needs such as fuse, audio, mount shares, etc. For autologin, you can do this via... Admin or Prefs / Login Screen (I wish I could remember more clearly) At this point the system will auto-login the XBMC user and start a GNOME desktop. Step 3: Install build deps and compile XBMC from svn Because I'm lazy, I used the guide for this using Intrepid steps. Step 4: HDMI Audio Jaunty uses ALSA 1.0.18 out of the box which, even though it is not the newest ALSA, still supported my chipset+HDMI out of the box! All I had to do was slave the HDMI audio off the analog and viola! Slaving HDMI is as simple as adding the following to /etc/asound.conf: Code: pcm.!default {Step 5: installed grumbel's xbox360 userspace driver I find this driver to be much better than the xpad kernel driver. For some idiotic reason, xpad defines the dpad as axis however xbmc needs dpad as buttons. So, the choices are to modify kernel source and recompile the driver to fix the issue, or nix xpad and use the userspace driver. I chose the latter because the userspace driver allows me to define a deadzone which helps a lot. First I downloaded the source from here: http://pingus.seul.org/~grumbel/xboxdrv/ And the Keymap from here: http://www.stolennotebook.com/anthony/2008/09/13/using-xbmc-for-linux-with-an-xbox-360-wireless-controller-and-the-userspace-usb-driver-xboxdrv/ Grumbel's README has all the compilation instructions you need. After compilation, copy xboxdrv and xboxdrv-daemon.py to /usr/local/bin Make sure kernel modules uinput and joydev load on boot. If not you can add them to /etc/modules to make it so. Step 6: auto load XBMC and xboxdrv-daemon.py For the xbmc user create a .xsession file in its home directory and add Code: #!/bin/bashCode: sudo visudoCode: xbmc ALL=NOPASSWD: /usr/local/bin/xboxdrv-daemon.pyThat's all for now. Later this week I hope to further refine .xsession to restart xbmc on crash, similar to but not exactly the same as the XBMCLive .xsession script. If anyone has any comments or suggestions on that, I would be more than happy to hear them ![]() Long term goal: magical button mapping that will trigger an X restart. Anyone? ![]() Edit: This should probably be a new thread -- I won't be offended if (an admin) moves it to a new thread... - rickx - 2009-04-21 21:00 @ bobb0 Hi and thanks for your replie(s). - no, I did not find them preachy, I liked the "historical background" view - I think you are wrong for one thing: gdm is installable without apps. The apps come with gnome-desktop (or ubuntu-gnome-desktop ). So I'm still tempted to try that route.- althekiller is not exactly the kind&polite type from what I read, but I agree with him and - at the same time - don't see it as an attack against olympia nor against the stripped-down approach. Just pointing out that a wiki entry should explain the "why" along the "how". - regarding the last post: sounds very nice, but I'd suggest to start a new thread...now that we're in the jaunty era ![]() bye, rickx p.s. the ctrl+alt+backspace is disabled but can be re-enabled (read it somewhere...just don't ask how but google knows :eek
- berchti - 2009-04-21 21:34 hi everyone I installed my xbmx on a ASUS P5N7A-VM everything worked fine until today. I just want to listen to some radio streams, but the streams only work for about 3 minutes than they all start stumbeling!! Audio is playing through hdmi connected to my hd. here is the xbmc.log Code: 21:31:06 T:3022982032 M:1682038784 INFO: AudioDecoder: File is queuedI read something about this problem, couldn't find a solution... Can someone help me out?? Thanks patrick - bobb0 - 2009-04-22 23:51 Pvt_Ryan gave me a hand with the ctrl-alt-backspace issue so it is now working again, i just need to figure out if there is a way i can map a button combo to that key combo.. ![]() So, i've spent 2 days.. no 3.. days on setting it up the "recommended" style and everything is really good.. except for one thing... it's not responding correctly to my xbox360 controller (why is it not supported out of the box ) axis' (triggers, thumb sticks)i'm not sure if its the controller or jaunty as i had noticed some differences even before i took on this project. however, that problem was minor compared to this. (previously, the scroll-up function had been performing a bit slower than it used to) overall, using the recommended method is also very viable, especially if you are interested in having a gui interface to fall back on. for me, i don't think its very necessary as i just ssh into the box from my netbook (just purchased it!!! and make the required changes that way.i think ultimately, i prefer the minimal install. ugh.. now i am going to have to start over again!! hahaha ohwell, this xbmc box is my hobby... if i'm not fidding with it in some way then its lost its meaning
- molesza - 2009-04-23 14:58 What steps should I take to unpgrade my minimal 8.10 install to 9.04? Or is this not recommended? - rickx - 2009-04-23 17:43 molesza Wrote:What steps should I take to unpgrade my minimal 8.10 install to 9.04? Or is this not recommended? Huh! Recommended is becoming word of the month here! Do the following: put something like Code: deb http://it.archive.ubuntu.com/ubuntu jaunty main restricted universe multiverseThen Code: sudo apt-get updateIf then you really want the RECOMMMMENDED version, also do a Code: sudo apt-get install ubuntu-desktopCode: apt-cache search ubuntu-desktop- Pvt_Ryan - 2009-04-23 18:08 I am *fairly* sure I got one of my installs working without GDM, I just installed X I think.. if I ever get my new HTPC built I'll do some in depth testing and configuring on it, but unless someone wants to give me either an ATX case or a mATX case that could be a while.. |