index.theme errors in 11.04 for cursor default

Asked by Javier Resendiz

I just install Ubuntu 11.04 from the live CD and I tried to change the cursor default theme in the index.theme file but encountered some error;
This is what came up in the terminal:

javier@javier-ThinkPad-X60:~$ sudo -i
[sudo] password for javier:
root@javier-ThinkPad-X60:~# sudo gedit /user/share/icons/default/index.theme

(gedit:30960): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.1DZI1V': No such file or directory

(gedit:30960): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

The default index.theme window opened up but it was blank it had no information. I was able to search for the file by
clicking on the open folder option. But still was not able to change the file it also gave me error;

It could not find the user/share/icons/default/index.theme

Any advice would be greatly appreciated.

Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-themes Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

if you use sudo -i you don't need to run: sudo gedit

you also should NOT use sudo with gedit, use gksudo, you will break your OS. Just run:

gksudo gedit /user/share/icons/default/index.theme

And it will be fine. Not only is it fewer steps but you also won't damage your OS

Revision history for this message
Javier Resendiz (javier-resendiz) said :
#2

thanks for correct information about sudo -i

I did just run:

gksudo gedit /user/share/icons/default/index.theme
and this is what came up in the terminal;

javier@javier-ThinkPad-X60:~$ gksudo gedit /user/share/icons/default/index.theme
(gedit:2607): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2607): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.PPOC1V': No such file or directory

(gedit:2607): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2607): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.VCDK1V': No such file or directory

(gedit:2607): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
javier@javier-ThinkPad-X60:~$

the window for index.theme did open and again it was just blank, but I was able to find the folders.
And I was able to change the default cursor.

Thanks, as always action.

It did solved my problem, but is their still something wrong that the index.theme folder that is opening with no info or blank?

Or is this normal?
If this is normal then I'll just answer problem solved.
Thanks,

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

I don'y have it myself. If the issue is solved, please mark it as so :)

Revision history for this message
Javier Resendiz (javier-resendiz) said :
#4

Thanks actionparsnip, that solved my question.