Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use gedit for a lot of text editing (code and actual text documents). It's strength is that it's simple, it's just a text editor.
But after a recent update gedit has adopted an annoying behavior: If I start gedit from the command line in one workspace, and gedit is already running in another workspace, the new gedit document appears as a new tab in the other workspace's gedit window.
On one machine this bounces me to the other workspace, and on another similar machine this actually pulls the gedit window from the other workspace to the current workspace. Neither behavior is desirable.
My distro is gentoo and my desktop is xfce. It's possible that this is an xfce problem and not a gedit problem, but gedit is the only application that seems to act this way. Although, I did try rolling back to an older version of gedit, and the problem persisted. My guess is that there's a way to customize this behavior in a configuration file, but the gedit development site is pretty sparse on this kind of advice.
I have done a lot of searching on this problem, and I did find this thread from earlier this summer where an ubuntu user had a similar problem with kate (which is a fork off gedit)
It's strength is that it's simple, it's just a text editor.
...and bloated beyond compare.
Srsly if you just want a simple (GUI) text editor, try leafpad, mousepad, featherpad, or geany instead.
Chances are, the "annoying" behaviour will also go away with that.
shruggy, those options open a new gedit window every time. That's really handy at times, but it's also useful to be able to have different documents in the same window. The change here is that gedit is now attaching to windows in other workspaces.
ondoho, that certainly true with respect to the gedit code. Alas, this issue is likely the developers over developing the 'features'. However, I have tried out a few other editors. leafpad doesn't have syntax highlighting (which is great for coding). geany seems actually more feature rich than gedit, for example auto completion and auto indent. I know a lot of coders really like that, but it always feels like someone's trying to type over me, hence my migration to more simplistic editors (although again I think you're right, the backend of gedit is probably pretty bloated).
I will add SciTE to ondoho’s list. Has syntax highlighting, good documentation of its feature configuration, runs in both Linux and Windows. I was pleasantly surprised to learn of that last when I migrated to Linux…did not have to learn a new editor.
Not sure of the bloat factor, but has always performed well for me…
Alas, this issue is likely the developers over developing the 'features'. However, I have tried out a few other editors. leafpad doesn't have syntax highlighting (which is great for coding). geany seems actually more feature rich than gedit, for example auto completion and auto indent. I know a lot of coders really like that, but it always feels like someone's trying to type over me, hence my migration to more simplistic editors (although again I think you're right, the backend of gedit is probably pretty bloated).
mousepad has syntax highlighting, but not much more.
SciTE also has auto completion and auto indent out of the box, but they are both easy to turn off…
I’m one who likes them. Auto complete prompts me when I reuse a data name which helps me avoid typos. I coded for years using plain text editors and wish I had a dollar for each hour I spent debugging typos…
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.