Error when renaming icons on destop

Asked by Waldorf Klein

Binary package hint: nautilus

Hello and thank you for your work in developing Nautilus.
I would like to report here something which I think is a bug.

Nautilus 2.20.0

In order to change the names of my Home and Trash icons on the desktop, I went to Configuration Editor to change the values of 'home_icon_name' and 'trash_icon_name' from <no value> to some names of my choice but I was only allowed to choose numbers, so I set it to 0. In doing so, I got this warning:

Type mismatch: Expected `string' not `int' for key /apps/nautilus/desktop/home_icon_name

The icons now appear on the desktop without any name at all.

I haven't been able to go back to the original settings <no value>, and every time I reboot my machine I get the following error:

-------------------------------
An error occurred while loading or saving configuration information for gnome-panel. Some of your configuration settings may not work properly.

Details:

Type mismatch: Expected `string' got `int' for key /apps/nautilus/desktop/home_icon_name
-------------------------------

Nothing to be allarmed about, but very annoying.

Waldorf

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
Chris Coulson
Solved:
Last query:
Last reply:

This question was originally filed as bug #313818.

Revision history for this message
Chris Coulson (chrisccoulson) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
Chris Coulson (chrisccoulson) said :
#2

The error you experienced was because you set the icon name to an integer type in gconf-editor, when it should be a string. To correct this, launch gconf-editor again, and navigate to /apps/nautilus/desktop/home_icon_name. Edit the key, and change "Type" to "string", and enter the desired name.

Revision history for this message
Waldorf Klein (waldorfklein) said :
#3

Thank you for your answer, Chris.

Changing the "Type" from "integer" to "string" is not allowed. It is gray and blocked.

Revision history for this message
Best Chris Coulson (chrisccoulson) said :
#4

You might need to unset the key in gconf-editor first, and then re-add it again.

Revision history for this message
Waldorf Klein (waldorfklein) said :
#5

Thanks, that solved the issue.

(Changing the "Type" from "string" to "integer" or vice versa remains disabled though.)

Revision history for this message
Waldorf Klein (waldorfklein) said :
#6

Thanks Chris Coulson, that solved my question.