PDA

View Full Version : [ubuntu] "Open with jEdit" still bad in Nautilus



Nick Payne
April 30th, 2012, 10:57 PM
The Nautilus script packaged with jEdit in 12.04 still has the problem that opening a file in jEdit from the Nautilus right-click menu doesn't reuse the existing jEdit window if already running. This stupid behaviour has now persisted through several Ubuntu versions. Installing jEdit using the deb file available from the jedit.org web site changes the behaviour to be correct, and has always done so.

rijidij
December 14th, 2012, 08:58 PM
I had this problem too when I installed the mighty jEdit from the Software Centre.
It is easily fixed by (sudo) editing the /usr/share/applications/jedit.desktop file.
Just add the -reuseview parameter to the Exec line like so:

Exec=jedit -reuseview %U
Save the file and everything should be shiny..