Request- post sticky about most usefull terminal commands
#1
Since i started xbmc on linux i have learned alott trough these forums and ubuntu forums.

I bellive it would be nice to have a sticky about the most "used" commands in terminal.

Like:
Update SVN version:
Code:
sudo apt-get update
sudo apt-get upgrade

Adding/Changing PPA packages: (if someone spots errors please say so)
Daily builds: https://launchpad.net/~team-xbmc-svn/+archive/ppa
Warning- Daily SVN builds can be unstable. Dont use it if you do not want to fix problems and unstabillity !!
https://help.ubuntu.com/community/Reposi...ommandLine
Backup your old sources first:
Code:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
Code:
sudo nano /etc/apt/sources.list
For Jaunty 9.04 you would add to sources list:
Code:
deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu jaunty main


audiomixer control panel
Code:
alsamixer

Upgrading/Downgrading SVN revisions:
Code:
sudo svn up  ??? asuming this is latest svn acording to PPA repo ?
svn up --revision ******

check SVN version:
Code:
cant remember command

update nvidia drivers:

Asound conf: Maybe someone could give a fast intro on why someone
want to run this command ? Smile
Code:
asoundconf reset-default-card
asoundconf list
asoundconf set-default-card CARD

pulseaudio can cause problems. Remove it with this command:
NB! only necessary in certain situations. see this thread:
http://forum.xbmc.org/showthread.php?tid=40249
Code:
sudo apt-get remove pulseaudio


And probably many more... I always find myself searching trough 50+ posts
to find that one command i just couldent remember Smile

I can add to this but please if anyone else has more info please help out Smile

Also maybe add some more info on each command with links to forums threads explaining more in detail.

I know that the PPA is handled in the PPA sticky - but since this is just a short quick reference i added it here also...
PointOfView Nvidia ION Atom 330 - TRANSCEND 2GB DDR2 DIMM 800MHz - G.SKILL 64GB SSD 2.5
Open Elec Beta4 1.95.4
XBMC Online Manual - HOW-TO post about a problem in a useful manner - Create/View Bug Report
Setup/Fix correct resolution on XBMC/Ubuntu - Usefull linux terminal commands
Reply
#2
usefull? heh

As for the svn updating:

Quote:svn up

and

Quote:svn up --revision numberhere
Reply
#3
alsamixer is best used as a user and not root.

asoundconf could be added to the list:
Code:
asoundconf reset-default-card
asoundconf list
asoundconf set-default-card CARD

also don't forget
Code:
apt-get remove pulseaudio

As for the PPA addresses, that's handled in the PPA sticky.
Reply
#4
Most of the time you won't need to remove pulseaudio.
You should make a note to only do this when experiencing sound troubles..
Reply

Logout Mark Read Team Forum Stats Members Help
Request- post sticky about most usefull terminal commands0