Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13002 closed enhancement (fixed)

Use /etc/default/josm to configure Java options.

Reported by: sebastic Owned by: bastiK
Priority: normal Milestone: 16.06
Component: Ubuntu package Version:
Keywords: Cc:

Description

There is an old bugreport for the Ubuntu package in Launchpad (#287717) requesting -Dsun.java2d.opengl=True to be used by default.

Stéphane Brunner proposed to use /etc/default/josm to easily configure common options such as that, but apparently never got around to actually implementing it. The attached patch implements the proposed change for both the tested & latest packaging (using /etc/default/josm & /etc/default/josm-latest respectively).

Attachments (1)

09-josm-default-options.patch (1.7 KB) - added by sebastic 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by sebastic

comment:1 Changed 3 years ago by bastiK

Resolution: fixed
Status: newclosed

In 10430/josm:

applied #13002 - Use /etc/default/josm to configure Java options (patch by sebastic)

comment:2 Changed 3 years ago by bastiK

Thanks! As you may know, there is a difference in -Dsun.java2d.opengl=true and -Dsun.java2d.opengl=True, i.e. the upper case True gives debug output at start. In my test it was just one line, so it seems reasonable to keep it this way.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain bastiK.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.