Can't rename _SOME_ icons when they are on destkop.

Bug #39002 reported by Trae McCombs
34
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Please try the following:

Applications > Sound & Video > [Right click] on Rhythmbox and [Add this item to the desktop]

Now, right click on they Rhythmbox Music Player and try and rename it to be: Rhythmbox

You'll notice this doesn't not work.

Same goes for Evolution Mail. You can't name it to be just "Evolution".

Firefox Web Browser works though. :/

Thanks ahead of time. I go by Trae on #ubuntu if you need any further feedback or testing.

Trae
PS. I was able to edit the entry via Alacarte and then add it to the desktop.

Note: the original reporter indicated the bug was in package 'gnome-desktop'; however, that package was not published in Ubuntu.

Revision history for this message
AJ Christensen (deejayfuzion) wrote :

Can confirm this as of Tue 11 Apr, 1:30AM NZDT.

Can not rename Rhythmbox Music Player to Rythmbox on the Desktop. Can also not rename Evolution Mail to Evolution.

Revision history for this message
Gary Coady (garycoady) wrote :

Reassigning to the nautilus package.

Revision history for this message
Gary Coady (garycoady) wrote :

Renaming a file on the desktop seems to add an entry into the .desktop file.
For example,
Name[en_IE]=Gobbledygook

This will take effect if in the correct language.

HOWEVER, it doesn't take effect if X-Ubuntu-Gettext-Domain is set... you can test by editing a .desktop file in ~/Desktop - removing the line X-Ubuntu-Gettext-Domain should allow renaming to occur.

Could you check this out, just to make sure I'm on the right track with your problem?

Revision history for this message
Trae McCombs (traemccombs) wrote : Re: [Bug 39002] Re: Can't rename _SOME_ icons when they are on destkop.

Name[en_US]=boo

I renamed it to be "boo" heh. And it appened that to the bottom of the
file, however, it didn't actually rename the icon.

REmoving that X-Ubuntu-Gettext-Domain stuff immediately allowed the icon to
be named "boo" after saving.

Anything else?

Thanks bunches,
Trae

On 4/10/06, Gary Coady <email address hidden> wrote:
>
> Renaming a file on the desktop seems to add an entry into the .desktop
> file.
> For example,
> Name[en_IE]=Gobbledygook
>
> This will take effect if in the correct language.
>
> HOWEVER, it doesn't take effect if X-Ubuntu-Gettext-Domain is set... you
> can test by editing a .desktop file in ~/Desktop - removing the line
> X-Ubuntu-Gettext-Domain should allow renaming to occur.
>
> Could you check this out, just to make sure I'm on the right track with
> your problem?
> --
> Can't rename _SOME_ icons when they are on destkop.
> https://launchpad.net/malone/bugs/39002
>

--
    Trae McCombs || http://occy.net/
  Founder - Themes.org // Linux.com
  CivicSpaceLabs - http://civicspacelabs.org/

Revision history for this message
Travis Watkins (amaranth) wrote :

nautilus needs to change the Name key as well as the Name[locale] key

Revision history for this message
Gary Coady (garycoady) wrote : Change "Name" as well as "Name[locale]"

Changing "Name" as well as "Name[locale]" causes the translation cache to be invalidated, as discussed on #ubuntu-desktop.

Revision history for this message
Trae McCombs (traemccombs) wrote : Re: [Bug 39002] Re: Can't rename _SOME_ icons when they are on destkop.

Do I need to do anything with this, or will it just be pushed out as a fix
with Ubuntu Dapper Drake when I apt-get dist-upgrade ?

Trae

On 4/11/06, Gary Coady <email address hidden> wrote:
>
> ** Attachment added: "Change "Name" as well as "Name[locale]""
> http://librarian.launchpad.net/2041858/nautilus_desktop_rename.patch
> --
> Can't rename _SOME_ icons when they are on destkop.
> https://launchpad.net/malone/bugs/39002
>

--
    Trae McCombs || http://occy.net/
  Founder - Themes.org // Linux.com
  CivicSpaceLabs - http://civicspacelabs.org/

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the patch, Gary. This upload fixes the issue:

 nautilus (2.14.1-0ubuntu3) dapper; urgency=low
 .
   * debian/patches/10_rename_desktop.patch:
     - patch by Gary Coady <email address hidden>, make renaming of a .desktop
       work with the language packs too (Ubuntu: #39002)
   * debian/patches/11_backup_files_list.patch:
     - patch by Gary Coady <email address hidden>, fix the backup files not listed
       when the hidden files option is used (Ubuntu: #5326)

Changed in nautilus:
assignee: nobody → desktop-bugs
status: Confirmed → Fix Released
Revision history for this message
Alexandre Otto Strube (surak) wrote :

This bug is still present in 2.14.1-0ubuntu4 (dapper fully updated in 17-apr-2006).

What happens is:

if you send an icon to desktop and rename it, it will work, as it will change the icon caption at the "Name=" line, not in your locale.

If you change the caption in your locale, nothing happens until you remove the last line, "X-Ubuntu-Gettext-Domain" - then nautilus shows the caption in the correct locale, not in "Name=" line.

Revision history for this message
Alexandre Otto Strube (surak) wrote :

There are still issues on this bug. See last comment.

Changed in nautilus:
status: Fix Released → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

how do you rename it for your locale?

Changed in nautilus:
status: Unconfirmed → Needs Info
Revision history for this message
Trae McCombs (traemccombs) wrote :

On 4/18/06, Sebastien Bacher <email address hidden> wrote:
>
> how do you rename it for your locale?

Sorry, not sure what you are talking about. this seems to be fixed
upstream.
Trae

--
    Trae McCombs || http://occy.net/
  Founder - Themes.org // Linux.com
  CivicSpaceLabs - http://civicspacelabs.org/

Revision history for this message
Sebastien Bacher (seb128) wrote :

I'm asking you to give a clear description of your issue since you say that's not fixed. What do you rename and how? That's probably not fixed upstream since the language patch creating the issue is Ubuntu specific

Revision history for this message
Trae McCombs (traemccombs) wrote :

It _IS_ fixed for me now. heh. I have apt-get dist-upgraded and it fixed
the problem.

:)

If I've lead you astray in you thinking it wasn't fixed, I apologize.

This bug seems fixed to me.

Thanks,
Trae

On 4/19/06, Sebastien Bacher <email address hidden> wrote:
>
> I'm asking you to give a clear description of your issue since you say
> that's not fixed. What do you rename and how? That's probably not fixed
> upstream since the language patch creating the issue is Ubuntu specific
>
> --
> Can't rename _SOME_ icons when they are on destkop.
> https://launchpad.net/bugs/39002
>

--
    Trae McCombs || http://occy.net/
  Founder - Themes.org // Linux.com
  CivicSpaceLabs - http://civicspacelabs.org/

Revision history for this message
Sebastien Bacher (seb128) wrote :

The comment was rather for Alexandre who reopened saying that's some case where it's not fixed yet, but since he's not subscribed to the bug and that work fine for me and on your box too closing it again

Changed in nautilus:
status: Needs Info → Fix Released
Revision history for this message
Alexandre Otto Strube (surak) wrote :

Explaining it a little better.

If you send an icon to desktop by right-clicking on it and selecting "Add this launcher to desktop" and renaming, by clicking once on it and typing F2, the .desktop will change the line "Name=", thus it will work. It will ignore completely the line "Name[yourlocale]=".

If you comment the last line, "X-Ubuntu-Gettext-Domain=", it will use the localized line. If not, it completely ignores the localized lines and always use the "Name="

Revision history for this message
Alexandre Otto Strube (surak) wrote :

To test it:
- run latest dapper live
- when isolinux options appears, choose a language other than english (I always test with Brazilian Portuguese)
- gnome will launch, partly translated.
- Go to menu applications/accessories (acessórios in pt_BR)
- Calculator, for instance, is there, correctly translated as "Calculadora"
- Right-click calculator and choose "Add this launcher to desktop"
- Calculator will appear at desktop, but in english!
- Open a terminal and edit the .desktop file.
- Comment the last line, "X-Ubuntu-Gettext-Domain="
- Now the icon is correctly translated.

This breaks "espresso" icon from being localized, as its icon appears on the desktop.

Changed in nautilus:
status: Fix Released → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

What you describe looks an another issue. Renaming works, as you said it uses Name= which is good enough because the .desktop doesn't ship any translation for your custom name and you want to get the name you type used anyway and not a translation of it. Please open an another bug for the espresso issue you face

Changed in nautilus:
status: Unconfirmed → Fix Released
Revision history for this message
Alexandre Otto Strube (surak) wrote :

Thanks seb128, keeping number here for reference only: https://launchpad.net/bugs/40364

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.