Results 1 to 6 of 6
I'm attempting to edit this document but when I open it up with the root account nothing appears there. I have to open it with alt f2 gedit /user/share/icon/default/indext.theme to ...
- 12-14-2010 #1
How do I edit /user/share/icon/default/icon/indext.theme document?

I'm attempting to edit this document but when I open it up with the root account nothing appears there. I have to open it with alt f2 gedit /user/share/icon/default/indext.theme to view it in non root. I am reading from this page here.How To Change The Mouse Cursor Theme In Ubuntu With Compiz Enabled [Ubuntu 10.04 Lucid Lynx Or Newer] ~ Web Upd8: Ubuntu / Linux blog
Thanks in advance!
- 12-14-2010 #2
Well, as you wrote it in this post, it's wrong.
Should be
Not /user and not indext.theme. Double check you have no typos when you're trying to enter it.Code:gksudo gedit /usr/share/icons/default/index.theme
You can also set the cursor theme locally for just your user.
Code:mkdir -p ~/.icons/default echo "[Icon Theme] Inherits=MyTheme" >> ~/.icons/default/index.theme
- 12-14-2010 #3
My code is like the junkpile in my avitar
Thanks for the great reply. I was wondering why I can't open this thing which is not a file any other way and have the info it contains viewable? Why can I view it blank in root but not see the info it contains? It does work with just (sudo gedit /usr/share/icons/default/index.theme.) I can view the contents of the "thing" and it is writabe. What kind of document is "indext.theme?
Thanks for your expertise and attention!
- 12-14-2010 #4It is a file, first. I'm not clear on what you're describing. If the file exists and is not empty, you should be able to read it as root or as your user. You're saying if you open it as your user, it contains information, but if you open it as root, all you see is a blank file?I was wondering why I can't open this thing which is not a file any other way and have the info it contains viewable?
index.theme is just a text file, nothing more. The cursor management library, xcursor, looks in /usr/share/icons and ~/.icons for said file. You're telling it to inherit the cursor theme you want, so if falls back to the theme rather than the default ugly x windows cursor icon.
- 12-15-2010 #5
My mistake.Thanks for the reply.
I accidentally use (user)instead of( usr) and a file is opened anyways.
I will study the sudo command now.
Thanks again for setting me straight.
- 12-15-2010 #6
You can pass any path you want, whether it exists or not, to gedit, and if the file doesn't exist then gedit will create it. If you pass a bogus file path, then you will of course see a blank file, because gedit just created the blank file for you, thinking you really wanted to edit that file. Any typo at all in the path will usually give you a blank file. If all else fails, use Nautilus to navigate to the file, right-click on it and select Open as Administrator.


Reply With Quote