Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just wanted to install a theme for the start up screen and I have to copy some files over here to /usr/share/kde4/apps/ksplash/Themes/.

But the answer i get is: Access denied. Could not write to /usr/share/kde4/apps/ksplash/Themes/ What do i have to do? I am a new user.

share|improve this question
up vote 6 down vote accepted

Mallik is right. You don't own this directory, since it is a system-directory and not a user-directory, like /home/, where you can copy/paste files as you wish!

Please don't change the root permission of any system-directory permanently, since your system manages on its own and you can only break it that way. Instead open up "Terminal" and use sudo before your command to copy cp, or move mv files/folders.

Put the folder you want to copy (i call it myNewTheme) on your desktop! Your command should be as followed: (you need to replace the path/dir and name of the folder you want to copy/move):

sudo cp -r /home/Username/Desktop/myNewTheme /usr/share/kde4/apps/ksplash/Themes/

The -r stands for recursive, since it is a folder (parent), with sub-folders/files (children) and therefore mandatory!!

share|improve this answer
thanks a lot both of you guys...that works fine! – Mikel Mar 5 '12 at 9:40
You are welcome! Glad to be of help. Can you please mark your question as answered! – v2r Mar 5 '12 at 9:44
On the command-line, use gksudo name-of-file-manager, it will prompt you for your password and open the folder as super admin. Then you can copy-paste normally. E.g. on Lubuntu, I used gksudo pcmanfm Source – Hamman Samuel Aug 3 '14 at 1:04

A regular/normal user usually will not have write access to /usr directory. You would need super user permissions to do so. Please login as root and you could do that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.