Re: Cannot display /etc/fstab

From: cody (deutronium_at_gmx.de)
Date: 06/23/05


Date: Thu, 23 Jun 2005 01:21:55 +0200

I also noticed that /etc/fstab had like some other files in this directory
another icon although I couldn't find any properties of the file which would
explain this.

The funny thing is that I now opened the file from texteditor by starting
the texteditor and chose "file open" and it worked. Then I found a label
name in fstab which contained lots of special chars which couldn't properly
displayed. Then I removed those special chars and replaced it with a valid
identifier. After I saved the file it had a normal icon like most other
files in /etc and I now could open it with the texteditor without problems.

That means that a file which contains special chars/binary content is
treatet differenct by the GUI. But how does that work? Does the GUI scan the
contents *all* files in a folder to determine which icon it shall display
for each one?

"Ivan Marsh" <annoyed@you.now> schrieb im Newsbeitrag
news:pan.2005.06.22.18.22.09.629349@you.now...
>> "Ivan Marsh" <annoyed@you.now> schrieb im Newsbeitrag
>> news:pan.2005.06.22.17.35.58.975100@you.now...
>>> On Wed, 22 Jun 2005 02:13:10 +0200, cody wrote:
>>>
>>>> I got the message when attempting to open this file from the GUI
>>>> (gnome).
>>>
>>> Shall we try and guess which application you were attempting to view
>>> the file with?
>>>
> On Wed, 22 Jun 2005 19:45:19 +0200, cody wrote:
>
>> Thanks for answering me.
>>
>> By default is is opened with the TextEditor. I tried other programs, the
>> same message, so I guess the message came from the OS, not from the
>> specific application. I have no clue what the cause of the problem could
>> be.
>
> Well, if you have rights to the file, which root should, and you still
> can't open it that's a bit of a head scratcher.
>
> This may be an issue with being logged into the GUI as root. Some say you
> should never do that... I'm not sure why. I don't log in as root as a rule
> in general, so maybe someone else has some insight into that.
>
> --
> "Blessed is he who expects nothing, for he shall never be disappointed."
> Benjamin Franklin (I didn't know he was a Buddhist)
>



Relevant Pages

  • Re: Cannot display /etc/fstab
    ... > By default is is opened with the TextEditor. ... This may be an issue with being logged into the GUI as root. ... so maybe someone else has some insight into that. ...
    (linux.redhat)
  • CRASH of my GUI
    ... On Redhat v 90.... ... When I log via "root" GUI -> OK ... except on icon... ... Is there a way to "rebuilt" the GUI for a specific username ?? ...
    (linux.redhat)
  • Re: Im in over my head on this one. Clarification please...
    ... I recommend that you do not use your UI elements as state variables ... (don't use your GUI controls to be the difinitive holder of important ... appropriate icon on your status bar. ... Your GUI elements should be changed as a side effect of setting your ...
    (microsoft.public.vstudio.development)
  • Re: Using K3b as a non-root user
    ... If you have no qualms about using root to burn then just create an icon ... is permission wise, goto the last tab and just put "k3b" without the ... different user box and enter "root" without the quotes, OK,OK out and ... If you want a snazzy icon then in the first pane of the properties click ...
    (alt.os.linux.suse)
  • Re: Personal Favicon Problem
    ... Disclaimer: The above is my opinion. ... Note that the icon is ... not at the root level since I am just one of many users of dcsi.net. ...
    (microsoft.public.windowsxp.basics)