Cairo Dock theme help

Asked by ioxsanity

Im running Ubuntu 9.0.4 Jaunty and I need help installing a Cairo Dock theme.
When i go into FileSystem/usr/share/Cairo-Dock/Themes it wont let me copy the theme into there.
It wont even let me create a new folder.When I right click and click on properties and permissions, everything is greyed out and it wont let me click anything.I'm a little new to Ubuntu, can someone please respond with strait instructions step by step? Thx :)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Steven Danna (ssd7) said :
#1

In order to copy files into that directory you will need to temporarily take on administrator priviledges. It is easiest to do this from the terminal:

1) Open a terminal ((Applications->Accessories->Terminal). By default this terminal will be in your home directory /home/username

2) If you have a folder in that directory, for instance, /home/username/new_theme that you want to copy to /usr/share/Cairo-Dock/Themes you would use the following command:

sudo cp -r ./new_theme /usr/share/Cairo-Dock/Themes

Revision history for this message
ioxsanity (ioxsanity) said :
#2

Thx for the attemp, But it still dosnt work...

Revision history for this message
Steven Danna (ssd7) said :
#3

What didn't work? Did the command not work? If so what errors did it give?

Revision history for this message
ioxsanity (ioxsanity) said :
#4

It says this

christian@christian-desktop:~$ sudo cp -r./Mac-OSX-Leopard/usr/share/Cairo-Dock/Themes
cp: invalid option -- '.'

Revision history for this message
Steven Danna (ssd7) said :
#5

you need a space between the parts of the command:

sudo cp -r ./Mac-OSX-Leopard /usr/share/Cairo-Dock/Themes

that is

sudo <space> cp <space> -r <space> ./Mac-OSX-Leopard <space> /usr/share/Cairo-Dock/Themes

Revision history for this message
ioxsanity (ioxsanity) said :
#6

It still dosnt work it says this

christian@christian-desktop:~$ sudo cp -r ./new_theme /usr/share/Cairo-Dock/Themes
cp: cannot create directory `/usr/share/Cairo-Dock/Themes': No such file or directory
christian@christian-desktop:~$ sudo cp -r ./Mac-OSX-Leopard /usr/share/Cairo-Dock/Themes
cp: cannot stat `./Mac-OSX-Leopard': No such file or directory
christian@christian-desktop:~$ sudo cp -r ./Mac_OSX_Leopard /usr/share/Cairo-Dock/Themes
cp: cannot stat `./Mac_OSX_Leopard': No such file or directory

Revision history for this message
Steven Danna (ssd7) said :
#7

Basically the error says you are trying to copy a directory that does not exist. Before you can copy the file you need to make sure that the file or directory that you want to copy exists and that you are copying to a folder that exists.

You can create folders with the mkdir command. If you are making folders in folders owned by the root user you will have to use the sudo mkdir.

To find out what files are in your current directory, you can use the ls command.

Revision history for this message
Steven Danna (ssd7) said :
#8

If you goal is to install a Cairo theme, you may want to look at these directions:

http://www.cairo-dock.org/ww_page.php?p=A%20complete%20tutorial%20on%20how%20to%20customize%20your%20dock&lang=en

Revision history for this message
Matthieu Baerts (matttbe) said :
#9

Hello !

Just to say that Cairo-Dock v2 (with OpenGL support, 3D desklets and many other improvements) is out!
A communique with a short changelog is available : http://www.cairo-dock.org/communique/communique-en.pdf

And about your question, themes repertory is there : ~/.config/cairo-dock/themes .

Revision history for this message
Sushil (sushiltripathi72) said :
#10

Thanx a lot it worked. I found the command to be case-sensitive. when i typed it with the correct letter case of directory names then it worked. Thanx a lot again.

Can you help with this problem?

Provide an answer of your own, or ask ioxsanity for more information if necessary.

To post a message you must log in.