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.
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.
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.
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
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?
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.
I believe someone who knows nothing about Linux or how it works should just take my word for it.
Quote:
Originally Posted by bhsmither
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.