Ask Your Question
1

Permissions for copying files

asked 2013-02-06 18:25:43 -0500

PSeymourHoffman gravatar image

updated 2014-09-30 09:06:21 -0500

mether gravatar image

I am trying to copy a gnome shell theme file into my usr/share/themes and I get an error saying I do not have the required permissions. How do I solve this? Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-02-07 09:53:48 -0500

ryanlerch gravatar image

By default, the /usr/share/themes/ directory can only be written to by root. Therefore to copy the a new theme into that directory, you can run the following command in the terminal:

su -c "cp -r /home/username/theme-folder/ /usr/share/themes/"

This will require the root password for your machine.

However, if you have sudo set up for your user, you can also achieve this by running the following command:

sudo cp -r /home/username/theme-folder/ /usr/share/themes/

The sudo way will require you to enter in your user password.

edit flag offensive delete link more
2

answered 2013-02-07 18:38:27 -0500

/usr/share/* is usually for things installed by packages.

User themes should go into $HOME/.themes/

gnome-tweak-tool will look for them there.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-02-06 18:25:43 -0500

Seen: 3,466 times

Last updated: Feb 07 '13