LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-20-2018, 05:26 AM   #1
pcardoso73
LQ Newbie
 
Registered: Feb 2018
Posts: 2

Rep: Reputation: Disabled
gedit doesn't retain information in the buffer


Dear all,
I use gedit a lot for software development. I know, I know: "use emacs or vi instead!"

But as I am kind of used to it and like the visual aspect of gedit, I would like to solve 2 problems that really annoy me.

First problem:
When I highlight something with the mouse and then want to paste it using the middle mouse button, I must do it without clicking anywhere else, otherwise the buffer's content is wiped :-| .

This doesn't happen with other editors, so I cannot understand this behavior.

Second problem:
When editing a file if the permissions are set to read only, and I go to the console and change the permissions to allow writing to the file, I have to close and open the file again or save it with another name and then rename it to the original name.

On Nedit, for example, if I change the permissions with the file open, it behaves accordingly to the new permissions set on command line and so it will allow me to save the file.

Can somebody help me with this please ?

Best regards,
Pedro
 
Old 02-20-2018, 12:28 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I have gedit version 3.18.3 which I just installed to Mint 18.1 from the repository.

For your first problem, I can double click to select, or left mouse hold and drag to select, and when I hit the center mouse button it will paste it to where my my mouse cursor is located and will do so repeatedly in the same location, or if I happen to move around. It retains the copy buffer

For the second problem. I made a file read-only. Edited it and could not save it. Went to the terminal and made the file read-write, leaving gedit open, and gedit allowed me to save it without any complaint.

And you are welcome to use whatever editor you choose. I used gedit as well as others and it just depends upon availability and preference for me.
 
Old 02-20-2018, 04:32 PM   #3
pcardoso73
LQ Newbie
 
Registered: Feb 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi rtmistler,

Thanks so much for your answer. I've checked just now and my gedit version is 2.28.4 :-). A bit old I believe:-D

In my case, I am not using Linux on my personal machine, I simply connect to my employer's server running RHEL6, which I cannot touch. Maybe this version had some bugs, I don't really know. I will check with our sys admin if it is possible to upgrade the gedit's version to a newer one and, hopefully, have these issues solved.
Many thanks,
Pedro
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Touchpad scrolling doesn't work in Gedit crosstalk Linux - Desktop 0 09-22-2012 05:03 PM
KVM doesn't retain CPU allocation once started HelpMe2877 Linux - Virtualization and Cloud 7 05-11-2011 10:18 AM
Why doesn't 'sudo gedit' work in Vinagre? abbotm Linux - Newbie 2 10-13-2010 06:43 PM
why gedit text editor doesn't work? fm_hyudin Linux - General 9 06-24-2008 11:36 AM
CRON doesn't retain $PATH of user bret SUSE / openSUSE 4 03-09-2006 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration