Page 1 of 1

Oh Dear. :)

PostPosted: 09 Jun 2010, 17:39
by TheOneFallen
I'm having a problem backing up fluxbox, I'm doing what the guide says, but it won't backup, apparently it doesn't exist.

Re: Oh Dear. :)

PostPosted: 09 Jun 2010, 21:24
by bonedome
Hello
unless I'm not reading you correctly about the only thing you can back up is all your config files, menu and so on, they are all contained in the hidden file in your home directory .fluxbox, but if you have edited them you already know that.
I have copied my ydl .fluxbox file and use it it in my fedora laptop :D

Re: Oh Dear. :)

PostPosted: 10 Jun 2010, 21:37
by TheOneFallen
I can see I didn't explain myself correctly.

After installing Fluxbox I back it up via this:

Code: Select all
cp -r ~/.fluxbox ~/.fluxbox.backup


and I get:

Code: Select all
cp: cannot stat `/root/.fluxbox': No such file or directory


What am I doing wrong, should I reinstall Fluxbox?

Re: Oh Dear. :)

PostPosted: 10 Jun 2010, 22:21
by ppietro
TheOneFallen wrote:I can see I didn't explain myself correctly.

After installing Fluxbox I back it up via this:

Code: Select all
cp -r ~/.fluxbox ~/.fluxbox.backup


and I get:

Code: Select all
cp: cannot stat `/root/.fluxbox': No such file or directory


What am I doing wrong, should I reinstall Fluxbox?


Is your normal login as root or as a standard user? If it's as a standard user, don't become root.

What your error is saying that, for the login you have, ~ is expanding to root. If you don't login as root, the /root directory won't have a fluxbox directory. ~ should expand to something like /home/mikey (or whatever your normal login name is)

Cheers,
Paul

Re: Oh Dear. :)

PostPosted: 10 Jun 2010, 23:06
by TheOneFallen
My login name is Joe, my normal account has no root privelleges, just the normal ones. Since I reinstalled YDL only two days ago everything is new and fresh. :)

So anyways, should I reinstall fluxbox?

Re: Oh Dear. :)

PostPosted: 10 Jun 2010, 23:16
by ppietro
TheOneFallen wrote:My login name is Joe, my normal account has no root privelleges, just the normal ones. Since I reinstalled YDL only two days ago everything is new and fresh. :)

So anyways, should I reinstall fluxbox?


No - don't re-install. Just don't use the "su -l" command before you try the "cp -r" - that's what's causing you to become root user. su -l logs you in as root user, and resets things like ~ to /root, instead of /home/joe.

Cheers,
Paul

Re: Oh Dear. :)

PostPosted: 10 Jun 2010, 23:24
by TheOneFallen
*facepalms* I SHOULD HAVE KNWON THAT!

The last I read on it was that you needed it most of the time when dealing with software. :D

Thanks. :D

Edit: ARGH!

Code: Select all
[Joe@localhost ~]$ cp -r ~/.fluxbox ~/.fluxbox.backup
cp: cannot stat `/home/Joe/.fluxbox': No such file or directory


WHY ME?!

Re: Oh Dear. :)

PostPosted: 11 Jun 2010, 00:47
by ppietro
TheOneFallen wrote:Edit: ARGH!

Code: Select all
[Joe@localhost ~]$ cp -r ~/.fluxbox ~/.fluxbox.backup
cp: cannot stat `/home/Joe/.fluxbox': No such file or directory


WHY ME?!


Try these commands from a terminal window in your home directory:

Code: Select all
cd
ls -al |grep flux


and post the output here.

Cheers,
Paul

Re: Oh Dear. :)

PostPosted: 13 Jun 2010, 00:41
by TheOneFallen
Code: Select all
[Joe@localhost ~]$ cd ls -al |grep flux
bash: cd: ls: No such file or directory


Oh, i can see it didn't even install in the first place, wtf?

Re: Oh Dear. :)

PostPosted: 13 Jun 2010, 02:24
by ppietro
TheOneFallen wrote:
Code: Select all
[Joe@localhost ~]$ cd ls -al |grep flux
bash: cd: ls: No such file or directory


Oh, i can see it didn't even install in the first place, wtf?


No - that's not it. The cd and ls -al | grep flux should be on separate lines. That's why I posted them that way above.

You need to do the cd to make sure you're in the directory I want you to do the ls -al from.

Cheers,
Paul

Re: Oh Dear. :)

PostPosted: 13 Jun 2010, 23:38
by bonedome
Hello
have you used fluxbox on your installation yet ? the ~/.fluxbox file will only be created when you first run it, unless you've used an old one from a previous incarnation

Re: Oh Dear. :)

PostPosted: 14 Jun 2010, 00:52
by TheOneFallen
CHEESE AND RICE!

My PS3 had some errors yesterday, long story short everything on there was lost, so I'm re-installing everything now. :(