Text editor quirk

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Text editor quirk

Postby sddfdds on Sat Dec 08, 2012 5:16 pm

If I open a file from nemo it opens in gedit as expected, and then if I open another file, it opens in a new tab in that same gedit instance.

However, if I first open gedit from the applications menu, and file>open a file, it opens...but then if I open a file from nemo it opens a new instance of gedit instead of putting it in a new tab in the original instance.

Am I missing an option here or is this a bug? Not sure if this is significant (or if it's exactly the issue) but in the applications menu, it is listed purely as gedit, whereas in nemo right-click/open with it is "Text editor" instead. (Although if you go to a file's properties, the open with tab there for selecting a default application lists it as gedit instead of text editor)
sddfdds
Level 1
Level 1
 
Posts: 19
Joined: Sun Nov 25, 2012 4:00 pm

Linux Mint is funded by ads and donations.
 

Re: Text editor quirk

Postby xenopeek on Sat Dec 08, 2012 5:57 pm

How I understand it; Nemo only knows about the gedit instance it started. As you open more text files from Nemo, it already knows it has this gedit instance open so just instructs that gedit instance to open these files as well. When you first yourself open gedit manually, Nemo doesn't know about that gedit instance as it isn't a child process of Nemo.

As for gedit vs. Text Editor, that is name vs. function. Some places list the name of a program, other places list the function of a program.

Let's not go around calling annoyances bugs :)
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13653
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 29 guests