Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE: application/octet-stream [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Tue Oct 21, 2003 6:59 am    Post subject: KDE: application/octet-stream [SOLVED] Reply with quote

Hi,

I was messing around with File Association in Control Mode and I wanted to make a new entry to play audio files with the extension .asx

It did not work, and I deleted the entry.
Now everytime I open conqueror or kmail I received this message
Code:

Could not find mime type
application/octet-stream


Do you have any idea why I am getting this?
Can you check in the File Association for an entry ?

Thank you
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Tue Oct 21, 2003 3:12 pm    Post subject: Reply with quote

I found the solution.
I had to create an empty mime type with the name octet-stream in the sectioin application.
Back to top
View user's profile Send private message
cutaway
n00b
n00b


Joined: 21 Feb 2004
Posts: 17

PostPosted: Sat Feb 21, 2004 7:50 am    Post subject: Create Mime Type Reply with quote

I have tried to create a new mime type of octet-stream.desktop in ~.kde/share/mimelnk/application but this did not work. I then tried to insert

[Desktop Entry]
Hidden=true
MimeType=application/octet-stream
Type=MimeType

But this didn't seem to work either. Did I do this correctly?

Right now this is just causing kbudget and kmymoney2 to crash but I am afraid that this is going to start to snowball.

Please help. I would like to start using these programs.
_________________
Thanks,
Cutaway
Back to top
View user's profile Send private message
cutaway
n00b
n00b


Joined: 21 Feb 2004
Posts: 17

PostPosted: Sat Feb 28, 2004 5:48 pm    Post subject: Reply with quote

Okay, here is what I found out on my own. I went to the following url which
explains the extension types for all the mime-types (at least a partial
list).

http://www.duke.edu/websrv/file-extensions.html

I sifted through all the entries and added the file extentions that they
included in the following manner.

Open "Control Center" select "File Associations" click the "application" group
of the tree and make sure the octet-stream is not included. Click the
"Add..." button and change group to "application". Now select the
"octet-stream" entry and add the following file extentions.

*.bin
*.class
*.dms
*.exe
*.lha
*.lzh

I also put "octet-stream" in the Description text box and did not add any
applictions to the "Application Preference Order" area (I would bet that you
should not add any preferred applications as this might mess stuff up even
further.).

I have not tried this with multiple users yet so I am not sure if you have to
do this for everybody. I have also noticed that I am not given the option to
remove this mime-type (the "Remove.." button next to the "Add..." button
remains disabled) now that I have included it. If somebody can tell me why
or in what file that this information is stored (as I have not found any
reference to it) it would be much appreciated.


I hope this helps somebody later as I could find very little on this
information.

Thanks,
Cutaway
_________________
Thanks,
Cutaway
Back to top
View user's profile Send private message
cpunchin
n00b
n00b


Joined: 18 Feb 2004
Posts: 37

PostPosted: Sun Mar 21, 2004 4:29 pm    Post subject: Reply with quote

Thanks man...
Back to top
View user's profile Send private message
hippo
n00b
n00b


Joined: 28 Jan 2004
Posts: 17

PostPosted: Tue Jan 17, 2006 8:57 am    Post subject: Reply with quote

I had the same problem but your solution didn't work for me.
My problem was that I had a mixture of kde-3.4.3 and kde-3.5 packages
(maybe because my /etc/rc.conf was still set to kde-3.4.3)

I changed my /etc/rc.conf and ran the following command to remove all kde-3.4.3 packages (they all had 3.5 version aswell)

for i in $(grep kde-base /etc/portage/package.keywords | cut -d" " -f 1 ); do sudo emerge -C "=$i"-3.4.3; done

This worked a treat and my kde is prettier to boot 'cause i had been running the old version even though I had the new one installed.
Hope this helps someone else with the octet-stream problem if the previous post doesn't work.

Cheers,
h!pp0
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Sat Mar 18, 2006 4:54 pm    Post subject: Reply with quote

cutaway: just worked for me. Thanks.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Mon Aug 14, 2006 6:49 pm    Post subject: Reply with quote

Cool. Same problem with me (added *.aup entry for Audacity projects, then started getting the error) and replacing the application/octet-stream entry fixed it. Cheers :)

Should we file a bug about this, though?
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
XenoTerraCide
Veteran
Veteran


Joined: 18 Jan 2004
Posts: 1418
Location: MI, USA

PostPosted: Tue May 29, 2007 8:36 am    Post subject: Reply with quote

just in case it helps anyone searching in the future running
Code:
 kbuildsycoca
worked for me.
_________________
I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help.


Last edited by XenoTerraCide on Wed Jul 11, 2007 2:16 am; edited 1 time in total
Back to top
View user's profile Send private message
g4j
Apprentice
Apprentice


Joined: 03 Jul 2004
Posts: 174
Location: Florida

PostPosted: Wed Jul 11, 2007 2:00 am    Post subject: Thanks! Reply with quote

Thanks cutaway! I created octet-stream with only bin and dms, since class belonged to java, exe belonged to Crossover Office, and the two compressed formats were also claimed. But this solved my problem.

I tried running kbuildsycoca first. It generated lots of warnings, but didn't seem to solve anything.

Thanks again for posting this solution.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum