maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Themes (https://talk.maemo.org/forumdisplay.php?f=49)
-   -   How to copy a theme? (https://talk.maemo.org/showthread.php?t=58623)

Coffee 2010-07-17 10:31

Re: How to copy a theme?
 
What am I missing, not sure if looking to hard and simply not seeing it.

Posted by AlMedhi:
sudo cp /usr/share/themes/ /home/user/MyDocs/THEME

What I am typing in X-Term:
(I have made the folder: /home/user/MyDocs/dthemenight-themedir)
sudo cp /usr/share/themes/ /home/user/MyDocs/dthemenight-themedir

Simply not copying anything though worked once, am very lost.

TNiga 2010-07-17 11:06

Re: How to copy a theme?
 
Quote:

Originally Posted by Coffee (Post 754791)
What am I missing, not sure if looking to hard and simply not seeing it.

Posted by AlMedhi:
sudo cp /usr/share/themes/ /home/user/MyDocs/THEME

What I am typing in X-Term:
(I have made the folder: /home/user/MyDocs/dthemenight-themedir)
sudo cp /usr/share/themes/ /home/user/MyDocs/dthemenight-themedir

Simply not copying anything though worked once, am very lost.

Try using "cp -r /opt/usr/share/themes/THEME/* /home/user/MyDocs/THEME/". That worked fine for me. Probably the symbolic links in /usr/share/themes causes the problem.

Coffee 2010-07-17 11:21

Re: How to copy a theme?
 
thanks Tniga, will give that a go.

Coffee 2010-07-17 11:41

Re: How to copy a theme?
 
Quote:

Originally Posted by TNiga (Post 754817)
Try using "cp -r /opt/usr/share/themes/THEME/* /home/user/MyDocs/THEME/". That worked fine for me. Probably the symbolic links in /usr/share/themes causes the problem.

Tniga,
Mate I put in:
cp -r/opt/usr/share/themes/dthemenight-themedir/* /home/user/MyDocs/dthemenight-themedir/

I also tried:
cp -r /opt/usr/share/themes/dthemenight-themedir/* /home/user/MyDocs/dthemenight-themedir/

Both returned the following:
cp: invalid option - - /
BusyBox v1.10.2 (Debian 3:1.10.2. legal - 1osso30+0m5) multi - call binary

Usage: cp [OPTION]. . . SOURCE DEST

/home/user #


Not sure why it works for you and not me?

TNiga 2010-07-17 11:49

Re: How to copy a theme?
 
You must have typed something wrong, it really should be a valid command.

AlMehdi 2010-07-17 11:52

Re: How to copy a theme?
 
Quote:

Originally Posted by Coffee (Post 754769)
AlMedhi,
Mate, I am dumb founded. I got it to work once and not again since, could you please check I am doing it correctly for me.

sudo cp /usr/share/themes/ /home/user/MyDocs/dthemenight-themedir
"dthemenight-themedir" being the theme name under /usr/share/themes/.
Do I need to create the folder first under MyDocs:
mkdir MyDocs/dthemenight-themedir ?

If you just want to move "dthemenight-themedir" from /usr/share/themes/ then you need to..

Yes, make the directory with

mkdir /home/user/MyDocs/dthemenight-themedir

then

sudo cp -r /usr/share/themes/dthemenight-themedir/ /home/user/MyDocs/

If sudo not working.. try

1. root
2. cp -r /usr/share/themes/dthemenight-themedir/ /home/user/MyDocs/

TNiga 2010-07-17 11:57

Re: How to copy a theme?
 
Quote:

Originally Posted by AlMehdi (Post 754856)
If you just want to move "dthemenight-themedir" from /usr/share/themes/ then you need to..

Yes, make the directory with

mkdir /home/user/MyDocs/dthemenight-themedir

then

sudo cp /usr/share/themes/ /home/user/MyDocs/dthemenight-themedir/

Should that work? I tried similar cp thing on my desktop linux and doesn't work.

EDIT: You must have confused to mv because with it that works, but here the point is to copy and not to move.

AlMehdi 2010-07-17 12:00

Re: How to copy a theme?
 
Quote:

Originally Posted by TNiga (Post 754861)
Should that work? I tried similar cp thing on my desktop linux and doesn't work.

EDIT: You must have confused to mv because with it that works, but here the point is to copy and not to move.

hmm.. no. Forgot the "-r" to do it recursively ;)

You are right.. was probably thinking of "mv"

Coffee 2010-07-17 12:00

Re: How to copy a theme?
 
AlMehdi,
Did that and worked. Real sorry for the headache, not sure what I was doing wrong before. I did it once and worked and then I don't know, must have been doing something wrong and couldn't see it.
You have been a great help to me tonight in both threads, much appreciated.

Stephen

hazmat 2010-07-17 12:49

Re: How to copy a theme?
 
You also need to be sure the theme you're copying isn't actually in use.
This can cause the symlink errors too


All times are GMT. The time now is 00:07.

vBulletin® Version 3.8.8