Oh Dear. :)

YDL running on the Sony Playstation 3

Moderator: billb

Oh Dear. :)

Postby TheOneFallen » 09 Jun 2010, 17:39

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.
Hoping To Finish My Linux Project Soon. :D
TheOneFallen
ydl newbie
ydl newbie
 
Posts: 24
Joined: 29 Mar 2010, 13:14
Location: England

Re: Oh Dear. :)

Postby bonedome » 09 Jun 2010, 21:24

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
60Gb ps3 otheros awol. currently playing:bad company and farcry 2 again (seeing how far I can get using permadeath principle)update: regretfully Warren Clyde was involved in a shootout south of Pala and killed when he was hit by a land rover. RIP Warren
User avatar
bonedome
ydl guru
ydl guru
 
Posts: 755
Joined: 07 Aug 2008, 16:03
Location: uk

Re: Oh Dear. :)

Postby TheOneFallen » 10 Jun 2010, 21:37

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?
Hoping To Finish My Linux Project Soon. :D
TheOneFallen
ydl newbie
ydl newbie
 
Posts: 24
Joined: 29 Mar 2010, 13:14
Location: England

Re: Oh Dear. :)

Postby ppietro » 10 Jun 2010, 22:21

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Oh Dear. :)

Postby TheOneFallen » 10 Jun 2010, 23:06

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?
Hoping To Finish My Linux Project Soon. :D
TheOneFallen
ydl newbie
ydl newbie
 
Posts: 24
Joined: 29 Mar 2010, 13:14
Location: England

Re: Oh Dear. :)

Postby ppietro » 10 Jun 2010, 23:16

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Oh Dear. :)

Postby TheOneFallen » 10 Jun 2010, 23:24

*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?!
Hoping To Finish My Linux Project Soon. :D
TheOneFallen
ydl newbie
ydl newbie
 
Posts: 24
Joined: 29 Mar 2010, 13:14
Location: England

Re: Oh Dear. :)

Postby ppietro » 11 Jun 2010, 00:47

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Oh Dear. :)

Postby TheOneFallen » 13 Jun 2010, 00:41

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?
Hoping To Finish My Linux Project Soon. :D
TheOneFallen
ydl newbie
ydl newbie
 
Posts: 24
Joined: 29 Mar 2010, 13:14
Location: England

Re: Oh Dear. :)

Postby ppietro » 13 Jun 2010, 02:24

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Oh Dear. :)

Postby bonedome » 13 Jun 2010, 23:38

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
60Gb ps3 otheros awol. currently playing:bad company and farcry 2 again (seeing how far I can get using permadeath principle)update: regretfully Warren Clyde was involved in a shootout south of Pala and killed when he was hit by a land rover. RIP Warren
User avatar
bonedome
ydl guru
ydl guru
 
Posts: 755
Joined: 07 Aug 2008, 16:03
Location: uk

Re: Oh Dear. :)

Postby TheOneFallen » 14 Jun 2010, 00:52

CHEESE AND RICE!

My PS3 had some errors yesterday, long story short everything on there was lost, so I'm re-installing everything now. :(
Hoping To Finish My Linux Project Soon. :D
TheOneFallen
ydl newbie
ydl newbie
 
Posts: 24
Joined: 29 Mar 2010, 13:14
Location: England


Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 57 guests