Posts: 26
Joined: Sep 2012
Reputation:
1
Currently testing your 2.2 script.
2.1 didn't work for me on my c2q. went with the prepare_install.sh instead and worked. Although it took like 4 seconds to load xbmc after the login popped up.
Posts: 26
Joined: Sep 2012
Reputation:
1
2012-10-04, 01:00
(This post was last modified: 2012-10-04, 01:06 by platinum8317.)
is there an easy way to remove all of the previous xbmc install so i don't have to re install minimal again?
never mind found the post you put up.. Thanks.
actually
cd ~/ && rm ./prepare_install*
didn't work. don't think it was what i was thinking it was.
Posts: 26
Joined: Sep 2012
Reputation:
1
doesn't make sense. on my htpc with intel core2quad with onboard nvidia graphics after initial xbmc install, it always reboots to xbmc login. never to xbmc. This is with your test 2.2. was doing the same on 2.1 also.
Posts: 1,363
Joined: Feb 2008
Reputation:
33
Bram77
Skilled Python Coder
Posts: 1,363
What is xbmc login? So 2.2 isn't working either. That's a shame. I'll do a complete fresh install myself this weekend. Thanks so much for helping out!
Posts: 26
Joined: Sep 2012
Reputation:
1
What I'm refering to basically is the login for the command prompt.
Thanks for your time in building this. Whatever you put out I'll test it.
Posts: 1,363
Joined: Feb 2008
Reputation:
33
Bram77
Skilled Python Coder
Posts: 1,363
2012-10-05, 13:42
(This post was last modified: 2012-10-05, 14:03 by Bram77.)
I can't check if a package has been installed successfully. Only if it has been installed. Also... the success message is kind of useless since I can't reliably test if the installation was successful (as far as I know). For this reason the success messages are only clearly showing in the log now. Sometimes they are useful while testing, so I haven removed them completely. Bash scripting is pretty powerful, but at the same time fairly limited in options.
Posts: 7,658
Joined: Jun 2011
Reputation:
288
well, you can always check the apt-get return code.
quote from the manpage:
apt-get returns zero on normal operation, decimal 100 on error.
Posts: 1,363
Joined: Feb 2008
Reputation:
33
Bram77
Skilled Python Coder
Posts: 1,363
I've used that for other stuff. When a program is already installed it returns 100 too. So that makes it hard to determine what the error is. I can bypass that by first running 'sudo dpkg-query -l package-name' to determine if the package is installed. But it would require a lot more code. So I'll hold off on that for now and implement it later on.
Posts: 663
Joined: Jan 2007
Reputation:
4
hi when using the init.d xbmc script the first time the pc boots up theres no audio (the card isnt detected in xbmc) i have to restart xbmc for it to work. i tryed adding a sleep 5 command to the init script but nothing. anyone have any ideas?
Posts: 663
Joined: Jan 2007
Reputation:
4
also i was using lightdm before his (i had lightdm and lightdm-gtk-greeter installed. now running apt-get purge lightdm and apt-get autoremove returns my system to as if it never even had lightdm installed correct? i want the complete minimal apparach thats why i switched to the init.d script. just wanna make sure it wasnt too late. like there would be absolutly no difference between this current install then if i formatted reinstalled and did all steps besides lnstalling lightdm and used the init script instead correct? lightdm is a "window manager" correct?