Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6732453

GNOME: javaws use "Desktop" directory for shortcuts, not the locale one "Escritorio"

XMLWordPrintable

    • x86
    • linux, linux_ubuntu

      FULL PRODUCT VERSION :
      java version "1.6.0"
      OpenJDK Runtime Environment (build 1.6.0-b09)
      OpenJDK Server VM (build 1.6.0-b09, mixed mode)

      also

      java version "1.6.0_10-beta"
      Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
      Java HotSpot(TM) Server VM (build 11.0-b12, mixed mode)

      also

      java version "1.6.0_10-rc"
      Java(TM) SE Runtime Environment (build 1.6.0_10-rc-b28)
      Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux epi 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Gnome Desktop, locale es_ES, desktop directory "Escritorio"

      file "$HOME/.config/user-dirs.dirs" contains the following line for desktop

      XDG_DESKTOP_DIR="$HOME/Escritorio"


      A DESCRIPTION OF THE PROBLEM :
      javaws use "Desktop" directory for shortcuts even when the desktop directory is "Escritorio" (Spanish locale).

      I've tried version 1.6.0-b09, 1.6.0_10-beta-b25 and 1.6.0_10-rc-b28.

      If my desktop directory is "/home/user/Escritorio" (es_ES) then javaws fails to create a shortcut and a menu item.

      If I create the directory "/home/user/Desktop" then the shortcut is created in this directory, so I have to move it to "/home/user/Escritorio" the correct one. The menu item is not created.

      the file .config/user-dirs.dirs contains the following line for desktop

      XDG_DESKTOP_DIR="$HOME/Escritorio"

      OS: ubuntu 8.04 updated


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Just exec javaws with any .jnlp application that should create a desktop shortcut.

      The Desktop directory must be localized ej: "/home/user/Escritorio"


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Creation of shortcuts and menu items as javaws specification tells.

      ACTUAL -
      javaws always use "/home/user/Desktop" directory for shortcuts.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      no errors.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      If I create the directory "/home/user/Desktop" then the shortcut is created in this directory, so I have to move it to "/home/user/Escritorio" the correct one. The menu item is not created.

            igor Igor Nekrestyanov (Inactive)
            ryeung Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: