On 09/17/2016 09:57 AM, Kate Draven wrote:
I recently installed Trinity and everything is going well except that konqueror classifies all files with no extension as octet-stream. Any idea how to fix that problem? If I use `file` from the command line like this `file --mime-type FILENAME`, it will give the correct mime type. GTK programs also work correctly. It appears to be something specific with TDE.
Thanks.
Nathan
Use kcontrol or tcontrol? Either way go to file associations. Usually under kde/TDE Components. I don't have a TDE computer in front of me now so I'm only going be memory. This should be enough to get you there.
However, I have to point out that it seems odd that the distro can't identify the files.
Hope this helps,
Kate
Hi Kate,
Thanks for the reply. I've looked in the File Associations settings, but I can't see a way to fix files without an extension. Files with an extension are recognized just fine. But konqueror should be able to check the magic number thing to determine the type of a file, but something caused this to stop working.
On Saturday 17 September 2016 04.35:28 Nathan Rugg wrote:
On 09/17/2016 09:57 AM, Kate Draven wrote:
I recently installed Trinity and everything is going well except that konqueror classifies all files with no extension as octet-stream. Any idea how to fix that problem? If I use `file` from the command line like this `file --mime-type FILENAME`, it will give the correct mime type. GTK programs also work correctly. It appears to be something specific with TDE.
Thanks.
Nathan
Hello Nathan,
You don't say what distribution you installed on, nor what type the files really are. You don't say either why you have files without extension. Do they come from another system (I mostly know Windows and Mac users to create such as their OS/UI hide the extensions by default).
I tried to duplicate your problem here (openSUSE 13.1 + TDE 14) but I can't:
- If I remove the extension to LibreOffice files, Konqueror still identifies them correctly - If I create files without extension (I can't do that with LibreOffice, by the way) with kedit, I get this:
An empty text file is seen as "unknown", Konqueror asks me to choose the program to open it.
If I type a few words into the file, it gets identified as "plain text"
So it seems to me that Konqueror actually has a way to analyse the file. This might point to a problem in identifying your files.
Anyway, I am not sure your problem is TDE specific, at least as long as it is a problem of "no extension", because here Konqueror does not classify files without extension as octet-stream. There seems to be someting specific also to your files.
Thierry
On 09/17/2016 03:21 PM, Thierry de Coulon wrote:
On Saturday 17 September 2016 04.35:28 Nathan Rugg wrote:
On 09/17/2016 09:57 AM, Kate Draven wrote:
I recently installed Trinity and everything is going well except that konqueror classifies all files with no extension as octet-stream. Any idea how to fix that problem? If I use `file` from the command line like this `file --mime-type FILENAME`, it will give the correct mime type. GTK programs also work correctly. It appears to be something specific with TDE.
Thanks.
Nathan
Hello Nathan,
You don't say what distribution you installed on, nor what type the files really are. You don't say either why you have files without extension. Do they come from another system (I mostly know Windows and Mac users to create such as their OS/UI hide the extensions by default).
I tried to duplicate your problem here (openSUSE 13.1 + TDE 14) but I can't:
- If I remove the extension to LibreOffice files, Konqueror still identifies
them correctly
- If I create files without extension (I can't do that with LibreOffice, by
the way) with kedit, I get this:
An empty text file is seen as "unknown", Konqueror asks me to choose the program to open it.
If I type a few words into the file, it gets identified as "plain text"
So it seems to me that Konqueror actually has a way to analyse the file. This might point to a problem in identifying your files.
Anyway, I am not sure your problem is TDE specific, at least as long as it is a problem of "no extension", because here Konqueror does not classify files without extension as octet-stream. There seems to be someting specific also to your files.
Thierry
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Hi Thierry,
Thanks for the reply. I'm on Ubuntu 16.04.1.
To clarify, if I rename any file, like a .jpg, .txt, .odt, etc and remove the extension Konqueror can't identify them. It treats it as an octet-stream. It was working a few days ago. I don't know what happened or how to fix it. Nautilus and other non-TDE programs recognize the files correctly without an extension, but Konqueror can't.
Nathan Rugg wrote:
On 09/17/2016 03:21 PM, Thierry de Coulon wrote:
On Saturday 17 September 2016 04.35:28 Nathan Rugg wrote:
On 09/17/2016 09:57 AM, Kate Draven wrote:
I recently installed Trinity and everything is going well except that konqueror classifies all files with no extension as octet-stream. Any idea how to fix that problem? If I use `file` from the command line like this `file --mime-type FILENAME`, it will give the correct mime type. GTK programs also work correctly. It appears to be something specific with TDE.
Thanks.
Nathan
Hello Nathan,
You don't say what distribution you installed on, nor what type the files really are. You don't say either why you have files without extension. Do they come from another system (I mostly know Windows and Mac users to create such as their OS/UI hide the extensions by default).
I tried to duplicate your problem here (openSUSE 13.1 + TDE 14) but I can't:
- If I remove the extension to LibreOffice files, Konqueror still
identifies them correctly
- If I create files without extension (I can't do that with LibreOffice,
by the way) with kedit, I get this:
An empty text file is seen as "unknown", Konqueror asks me to choose the program to open it.
If I type a few words into the file, it gets identified as "plain text"
So it seems to me that Konqueror actually has a way to analyse the file. This might point to a problem in identifying your files.
Anyway, I am not sure your problem is TDE specific, at least as long as it is a problem of "no extension", because here Konqueror does not classify files without extension as octet-stream. There seems to be someting specific also to your files.
What is in the file associations/types in the configuration of konqueror or perhaps in the system wide configuration?
regards
On Saturday 17 September 2016 09.36:04 Nathan Rugg wrote:
Hi Thierry,
Thanks for the reply. I'm on Ubuntu 16.04.1.
To clarify, if I rename any file, like a .jpg, .txt, .odt, etc and remove the extension Konqueror can't identify them. It treats it as an octet-stream. It was working a few days ago. I don't know what happened or how to fix it. Nautilus and other non-TDE programs recognize the files correctly without an extension, but Konqueror can't.
Hi Nathan,
OK, so this makes the problem more precise:
On Ubuntu 16.04 renaming the files makes Konqueror see them as octet-stream. On openSuSE 13.1 the same does not.
I have checked on Raspbian and MX15 (both with TDE): without extension ogg and midi files become "unknown". Clicking on them opens teh "open with" dialog.
Text files, PDF and jpg open as if they had an extension.
SO your issue seems Ubuntu + TDE related.
Now we need someone with more understanding than me of what Konqueror uses to identify a file type to sort this out.
Thierry
On 09/18/2016 05:25 AM, Thierry de Coulon wrote:
Now we need someone with more understanding than me of what Konqueror uses to identify a file type to sort this out.
Thierry
Linux uses what are called "magic" files to determine the file type. But something is wrong with the way TDE is loading them on my system.
When I run konqueror from the command line, I get warnings like this:
konqueror: WARNING: Pixmap not found for mimetype inode/directory /etc/magic, 4: Warning: using regular magic file `/etc/trinity/magic/kexi.magic' /etc/magic, 4: Warning: using regular magic file `/etc/trinity/magic/kexi.magic' /etc/trinity/magic/kexi.magic, 2: Warning: using regular magic file `/etc/trinity/magic/tdeio.magic' /etc/magic, 4: Warning: using regular magic file `/etc/trinity/magic/kexi.magic' /etc/trinity/magic/kexi.magic, 2: Warning: using regular magic file `/etc/trinity/magic/tdeio.magic' /etc/trinity/magic/tdeio.magic, 17: Warning: using regular magic file `/etc/trinity/magic/kolf.magic'
I tried downloading a new /opt/trinity/share/mimelnk/magic file, but that has the same warnings.
On 2016/09/18 06:25 AM, Thierry de Coulon wrote:
On Saturday 17 September 2016 09.36:04 Nathan Rugg wrote:
Hi Thierry,
Thanks for the reply. I'm on Ubuntu 16.04.1.
To clarify, if I rename any file, like a .jpg, .txt, .odt, etc and remove the extension Konqueror can't identify them. It treats it as an octet-stream. It was working a few days ago. I don't know what happened or how to fix it. Nautilus and other non-TDE programs recognize the files correctly without an extension, but Konqueror can't.
Hi Nathan,
OK, so this makes the problem more precise:
On Ubuntu 16.04 renaming the files makes Konqueror see them as octet-stream. On openSuSE 13.1 the same does not.
I have checked on Raspbian and MX15 (both with TDE): without extension ogg and midi files become "unknown". Clicking on them opens teh "open with" dialog.
Text files, PDF and jpg open as if they had an extension.
SO your issue seems Ubuntu + TDE related.
Now we need someone with more understanding than me of what Konqueror uses to identify a file type to sort this out.
Thierry
I can confirm this problem in Debian Stretch + TDE R14.1.x~trunk. If a file has no extension whatsoever, Konqueror shows them as "unknown". Not sure what happens with other file manager installed.
Cheers Michele