LinuxQuestions.org
Review your favorite Linux distribution.
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 06-16-2016, 05:28 PM   #1
bhsmither
LQ Newbie
 
Registered: Jun 2016
Location: Rocky Mountains
Distribution: Mint
Posts: 10

Rep: Reputation: Disabled
Update GEdit


Having just installed "Rosa" Mint a couple of days ago, I have discovered a number of things that just do not fit in with my keyboarding habits.

This post involves Gedit.

In Mint's Software Manager, I see that Gedit v2.30 "Qiana" is installed (correct). (I also see Size: 1MB of disk space freed. Huh? Freed?)

Anyway, I do not like how Gedit is behaving. For example: I open
/proc/acpi/wakeup

When I adjust the height of the editor window, I immediately get a banner message saying "The file changed on disk." I seriously doubt that. The banner message is located in the file content window, which means, when I click the "Reload" button, the display of the new text is not aligned with where the past text was being displayed, so I cannot easily determine what text is actually different - if Gedit was telling the truth about the matter in the first place.

Also, files that should be editable are loaded read-only. (I d-click the file from "Nemo".)

So, I figure this must be a really old version of Gedit.

How do I update it?

In ftp.gnome.org, I see a version 3.20.
 
Old 06-16-2016, 05:48 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by bhsmither View Post
Anyway, I do not like how Gedit is behaving. For example: I open
/proc/acpi/wakeup

When I adjust the height of the editor window, I immediately get a banner message saying "The file changed on disk." I seriously doubt that.
I don't and here's why.

"/proc is very special in that it is also a virtual filesystem. It's sometimes referred to as a process information pseudo-file system. It doesn't contain 'real' files but runtime system information (e.g. system memory, devices mounted, hardware configuration, etc). For this reason it can be regarded as a control and information centre for the kernel. In fact, quite a lot of system utilities are simply calls to files in this directory. For example, 'lsmod' is the same as 'cat /proc/modules' while 'lspci' is a synonym for 'cat /proc/pci'. By altering files located in this directory you can even read/change kernel parameters (sysctl) while the system is running."[1]

So, unless you authored the /proc filesystem, you can remain in doubt.

Warning: A "user" (that's you logged in) has no need to open /proc/acpi/wakeup in a text editor.

Period. You have no business opening that file.

I hate to be blunt, but you can't even use the gEdit you do have, so why upgrade?
It won't fix your error.

In Linux, newer doesn't mean better.

Last edited by Habitual; 06-16-2016 at 05:54 PM.
 
Old 06-16-2016, 06:06 PM   #3
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
The /proc filesystem is not a normal filesystem and the "files" in it are not actually files, they are handles which allow a common file-type interface to the system (aka kernel) processes.

To see the filesystem type you my use df -T (man df).

So, for example:

Code:
df -T /
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sda5      ext4  239G   68G  159G  30% /

df -T /proc
Filesystem     Type  Size  Used Avail Use% Mounted on
proc           proc     0     0     0    - /proc
It is a "proc" filesystem.

See man proc for more information about what is there and how to use it.

Also, this page inlcudes an overview of the filesystem with a table of useful information down the page.

But I am curious why you would be trying to open that "file" in the first place...? The answer probably indicates that what you are actually trying to do is something else and that you were side-tracked by inability to open the file.

Take some time to learn your way around GNU/Linux.

Last edited by astrogeek; 06-16-2016 at 06:08 PM. Reason: tpos, typs, typos
 
Old 06-16-2016, 06:35 PM   #4
bhsmither
LQ Newbie
 
Registered: Jun 2016
Location: Rocky Mountains
Distribution: Mint
Posts: 10

Original Poster
Rep: Reputation: Disabled
This conversation had me use the terminal:
http://www.linuxquestions.org/questi...up-4175582396/

In taking some time to learn my way around the system (aka blindly explore), I decided to peek at this file from "Nemo".

So, getting away from what I was looking at and back to what I was using to do the looking:
Is there a way to upgrade Gedit? Is v2.30 the latest for "Rosa" or is v3.20 a valid version to upgrade to?
 
Old 06-16-2016, 07:06 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
I am not familiar with Rosa and not a gedit user so can't help much.

However, a quick duckduckgo shows gedit 3.20 to be the most recent stable release.

If it is in the Rosa repos, you shoulld be able to upgrade it using their package manager. If not, you may be able to build it yourself (depending on the state of the Rosa libs and gedit dependencies).

But as Habitual said, newer is not necessarily better in the GNU/Linux sphere - sometimes it is just newer, sometimes it is really different.
 
Old 06-16-2016, 07:29 PM   #6
bhsmither
LQ Newbie
 
Registered: Jun 2016
Location: Rocky Mountains
Distribution: Mint
Posts: 10

Original Poster
Rep: Reputation: Disabled
"newer is not necessarily better"

Well, that applies to nearly everything: Windows, wine, women, song.

It's getting away from the bugs that I am pursuing.

Is a "Software Manager" different than a "package manager"?
 
Old 06-16-2016, 08:16 PM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by bhsmither View Post
Is a "Software Manager" different than a "package manager"?
Same thing.

The only "bug" here is you trying edit that file.
How did you get "gedit /proc/acpi/wakeup" from
Code:
cat /proc/acpi/wakeup
at http://www.linuxquestions.org/questi...6/#post5561670 ?

I believe someone who knows nothing about Linux or how it works should just take my word for it.
Quote:
Originally Posted by bhsmither View Post
because I know nothing about Linux or its behaviors.
If 17.3 gave you gedit 2.30 and that's what's in the repo, then that is what you get.
New Users should stick to Software Manager and the software packaged is known to be stable
with the system it is installed on.

And if you think a newer version of gedit is going to some how "fix" this "bug" your chasing
(Suspend/Hibernate/PowerManagement?) in a file you weren't told to edit?

No. I will not help you turn your LinuxMint into a Suicide Note.

Last edited by Habitual; 06-16-2016 at 08:18 PM.
 
Old 06-16-2016, 08:44 PM   #8
bhsmither
LQ Newbie
 
Registered: Jun 2016
Location: Rocky Mountains
Distribution: Mint
Posts: 10

Original Poster
Rep: Reputation: Disabled
I think a newer version of Gedit might include having moved the banner message out of the text editing pane.
 
Old 06-17-2016, 06:12 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by bhsmither View Post
I think a newer version of Gedit might include having moved the banner message out of the text editing pane.
Open another "live" file in any gedit and you would get the same "banner"
Which, btw, is asking you "Do you want to reload the file?"
The file you think you may be "editing" has changed and gedit graciously notifies you.

That's not a problem. That's a feature. And a damn good one too.

Again, there's nothing "wrong" with gEdit. It's not a "bug".
The bug is your lack of Linux experience. I'm not trying to be a dick,
but it's just that simple.

IF I "gedit /proc/acpi/wakeup" I get the same banner.
Everyone who opens a file in gEdit and that files' contents have changed gets that "banner".

The banner doesn't seem to be an option to "remove" or inhibit either.
Hell, Notepad does this too, ya noob.

Edit stuff in your $HOME directory.
If ferrari wanted you to edit, "he" (forgive if not a 'he') would have said so.
If there was any valid reason for you to edit that file, it certainly wouldn't be expected
by anyone that you open it in a graphical editor.

Newbies are exhausting at 7am.
Have a Good Day!
 
  


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
[SOLVED] Changing shortcut keys for gedit using /.config/gedit/accels has no impact in program charlemagne-is-my-son Linux - Software 1 12-16-2014 08:16 AM
[SOLVED] help with Gedit Gregg Bell Linux - Newbie 11 03-08-2014 07:48 PM
gedit sachithkn Fedora 2 08-28-2011 02:42 AM
Gnome 3, Gedit 3.0.5, when I open file with gedit, it created one more unneeded tab Mr. Alex Linux - Software 1 06-18-2011 07:58 AM
Can't update Gedit rvoigt Linux - Newbie 1 09-28-2004 06:15 AM

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

All times are GMT -5. The time now is 07:37 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