Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install a theme but, I need sudo! Im running Ubuntu 12.10 (Gnome 3). The theme in question is called "notxp theme". I don't have sudo privilege on my machine. Is there a way to install the theme despite that fact?

share|improve this question
1  
Please tell us a bit more about what doesn't work for you. What are you trying to do? Do you get any error messages? –  Florian Diesch Oct 27 '12 at 1:13
    
There's not much you can do without sudo. Please tell us if there are any issues with the sudo command first, we shall address it, and then you will be able to do what you're asking. There is virtually nothing you can do without sudo. It's like saying, "I'm going to eat an apple with my eye." It's not really possible. Welcome to Ask Ubuntu, by the way. –  Mochan Oct 27 '12 at 1:16
    
Valid question for a workplace environment where the only person able to invoke sudo will likely never log on. =] –  Omio Oct 27 '12 at 15:32

2 Answers 2

up vote 4 down vote accepted

To install themes system-wide, you would place them in /usr/share/themes, and icon themes would go in /usr/share/icons. But since you don't have root access, you can't write to those directories.

However, you can write files to your home directory. GTK themes can also be placed in ~/.themes (and icons go in ~/.icons). For example, if your username is "peter" you would place files in /home/peter/.themes.

These folders may not exist, and even if they do, you almost certainly won't be able to see them by default. Open your home folder and press [Ctrl]+[H] to display dot files - files and folders which start with a dot - these are hidden files under Linux. Now you should see several dot files, including stuff like .cache and .bash_logout. Don't remove these; they're there (and hidden!) for a reason. Instead, just right-click and Create New Folder and call it .themes.

Since you didn't specify the particular theme you're working with, I can't guide you on the exact structure they should be copied into the folder with. Feel free to edit your post, or look around in /usr/share/themes and mimic the structure with your own .themes directory.

Good luck!

share|improve this answer
    
Thank's it worked! –  user100349 Oct 27 '12 at 6:48

Install Ubuntu Tweak.

Explore it. Now You can install any theme easily.

share|improve this answer
    
I need sudo for that –  user100349 Oct 27 '12 at 1:10

Your Answer

 
discard

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