LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error when extracting Folder to usr/share/theme (https://www.linuxquestions.org/questions/linux-newbie-8/error-when-extracting-folder-to-usr-share-theme-723357/)

GypsyPants 05-03-2009 01:38 PM

Error when extracting Folder to usr/share/theme
 
I am trying to extract a theme on linux mint, xfce windows manager.
I get this error when I extract a folder I downloaded, with the theme I donwloaded.
You don't have the right permissions to extract archives in the folder "file:///usr/share/themes"

Why do I get this error?

10speed705 05-03-2009 03:46 PM

Quote:

Originally Posted by GypsyPants (Post 3528668)
I am trying to extract a theme on linux mint, xfce windows manager.
I get this error when I extract a folder I downloaded, with the theme I donwloaded.
You don't have the right permissions to extract archives in the folder "file:///usr/share/themes"

Why do I get this error?

Are you doing this as root? some directories are specif to who writes to them.

rjlee 05-03-2009 03:54 PM

As a regular user, you should be able to extract the folder into a directory named ~/.themes (i.e. a hidden directory named ".themes" in your home directory) rather than /usr/share/themes (which is usually reserved for themes installed through your package manager, hence why normal users can't write to it).

This howto is for Ubuntu, but it should still work under Mint (which is based on Ubuntu): http://ubuntuforums.org/showthread.p...ght=xfce+theme

GypsyPants 05-03-2009 04:08 PM

I have tryed several of those but don't work for some reason, I loggged in as root and got it. One question though, whenever I make a folder, it dissapears or doesnt show up? And is that different from making a directory? How do I make that?

{BBI}Nexus{BBI} 05-03-2009 06:57 PM

Quote:

Originally Posted by GypsyPants (Post 3528787)
I have tryed several of those but don't work for some reason, I loggged in as root and got it. One question though, whenever I make a folder, it dissapears or doesnt show up? And is that different from making a directory? How do I make that?

It will be hidden if you name it with a . in front of the name.

thew00t 05-03-2009 07:10 PM

Try using "ls -al" to see all of the files in a terminal, and you can configure your file browser to show hidden files in the GUI.

Kenarkies 05-04-2009 05:02 AM

Quote:

Originally Posted by GypsyPants (Post 3528787)
I have tryed several of those but don't work for some reason, I loggged in as root and got it. One question though, whenever I make a folder, it dissapears or doesnt show up? And is that different from making a directory? How do I make that?

It sounds a bit odd that you are having trouble when logged in as root. If you log in to the Window Manager as root than you would be running GUI applications as root and should have no trouble.

You can check the permissions with

ls -al /usr/share/themes

You should see all files have owner root and permissions drwxr-xr-x which means they are writeable by root but not by any other user. The top directory also has the same permissions.

If you are logged in as a normal user, then you could try launching the extractor utility using sudo

sudo whatever-the-program-is

Did you see the discussion on Ubuntu forums about this?

http://ubuntuforums.org/showthread.php?t=299070

They could have some useful hints.

Fish


All times are GMT -5. The time now is 06:32 PM.