XBMC location and backup
#1
Hello!

Just installed XBMC this weekend on Linux for my first time. Been reading a lot on how to do things, even though I'm impatience. During my short experience, I have two important questions:

Which folder is the actually XBMC data located?
I'm confused by the different locations on Linux, located both /usr/share/xbmc and under /home/xbmc/.xbmc (hidden.. why?)

How do you backup & restore your XBMC on linux?
* On my Windows platform, I just copied the UserData folder - simple.


Going from Windows to Linux requires some hard reading and Googling, but I still hope I will manage so I won't be installing MS products on my new ASRock 330.

ThankS!
Reply
#2
.xbmc is hidden because that's typical behavior of an application settings directory. I'm not sure if there's a reason that's is actually hidden. Also you can just back it up in the same fashion you back it up in windows. If you're using a window manager you might be able to right click it in an explorer application and zip it up and save the zip file somewhere. Otherwise, it might be best to tar/gz it up and store that somewhere.

/usr/share/xbmc is where the system wide settings are located, ~/.xbmc is where it stores settings that override those stored in /usr/share/xbmc.
Reply
#3
Maxim Wrote:.xbmc is hidden because that's typical behavior of an application settings directory.

Just a note: any file/directory beginning with a dot is "hidden" in Uni*x/Linux. There's no "hidden" flag like in windows.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#4
Well.. got an answer on the location AND some new Linux knowledge.

Thank you very much!

PS: Is it possible to have all XBMC in one folder? In Windows I always used portable installation, as having one folder to relate to (and copy wherever) is "less administration".

("less administration" meaning I'm not a Linux technocrat)
Reply
#5
There's the -p switch, which means "portable"

EDIT:
Code:
haggy@dredg ~ $ xbmc --help
Usage: /usr/share/xbmc/xbmc.bin [OPTION]... [FILE]...

Arguments:
  -fs            Runs XBMC in full screen
  --standalone        XBMC runs in a stand alone environment without a window
            manager and supporting applications. For example, that
            enables network settings.
  -p or --portable    XBMC will look for configurations in install folder instead of ~/.xbmc
  --legacy-res        Enables screen resolutions such as PAL, NTSC, etc.
  -l or --lircdev    LircDevice to use default is /dev/lircd .
  -n or --nolirc    do not use Lirc, aka no remote input.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#6
PS2: "~" is the home/user folder on Linux?

as refering to, like %UserProfile% in WinDowns?
Reply
#7
Haggy Wrote:There's the -p switch, which means "portable"

Does this apply to Linux aswell?
Reply
#8
cyberpark Wrote:Does this apply to Linux aswell?

I meant linux...
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#9
Haggy, you're just a Real-Time moderator..

Can't even post my questions before you answer.
You have access to my session here? Laugh
Reply
#10
No, just trying out the new time machine script.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#11
man, a little bit more, and his becomes irc! lol
openSUSE 11.2 | SVN XBMC
I'm... dreaming... of a quiet... HTPC
Reply
#12
cyberpark Wrote:PS2: "~" is the home/user folder on Linux?

as refering to, like %UserProfile% in WinDowns?

Yes, exactly the same. (Note: Unix came up with it first, Microsoft just used the same idea.)
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC location and backup0