gedit, jedit

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
anatak74
Level 2
Level 2
Posts: 51
Joined: Tue Nov 17, 2015 9:04 pm

gedit, jedit

Post by anatak74 »

Hi,

I installed jedit but now every text file I want to edit opens in a new jedit window.
If I want to open it with gedit, the same thing happens.

can anyone tell me how to make sure that the text files open in the same window for jedit or for gedit?

thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: gedit, jedit

Post by MrEen »

Looks like you want the launcher to use -reuseview, according to here.

More info here.
anatak74
Level 2
Level 2
Posts: 51
Joined: Tue Nov 17, 2015 9:04 pm

Re: gedit, jedit

Post by anatak74 »

thank you for the information.

I tried to pass the -reuseview to the launcher but that didn't work.

removing jedit didn't solve the problem in gedit neither.

I will try to follow this solution to at least restore gedit to it's previous behavior.

https://askubuntu.com/questions/75671/w ... from-nauti
anatak74
Level 2
Level 2
Posts: 51
Joined: Tue Nov 17, 2015 9:04 pm

Re: gedit, jedit

Post by anatak74 »

This is my gedit config file

Code: Select all

[Desktop Entry]
Name=gedit
GenericName=Text Editor
Comment=Edit text files
Exec=gedit %U
Terminal=false
Type=Application
StartupNotify=true
Icon=accessories-text-editor
Categories=GNOME;GTK;Utility;TextEditor;
X-GNOME-DocPath=gedit/gedit.xml
X-GNOME-FullName=Text Editor
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gedit
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.18.3
X-GNOME-Bugzilla-ExtraInfoScript=/usr/share/gedit/gedit-bugreport
Actions=new-window;new-document;
Keywords=Text;Editor;Plaintext;Write;
X-Ubuntu-Gettext-Domain=gedit

X-AppStream-Ignore=true

[Desktop Action new-window]
Name=Open a New Window
Exec=gedit --new-window
does anyone have an idea what I have to change to open in tabs instead of a new window?
Locked

Return to “Beginner Questions”