Re: Adding Mime Types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Son, den 14.03.2004 schrieb Kilian Kluge um 14:40:
> > I want to add a new mimetype for my own special text files. But
> > the problem is that kde always recognizes them as text files. how
> > can I override this?
> 
> At the Control Center ([Alt]+[F2], then type 'kcontrol') you can add 
> own MIME-Types (the special function is found in the 
> KDE-Components-group there). There you can add your own ending of 
> the files, a special icon and the program to open these files!

Strange.. now it works..

Anyway, I want that this also works with folders. 

I have registered a new mime type application/folder-app with pattern
*.App

then i make touch test.App
and mkdir tmp.App

cwacha@lapis:~/Desktop$ kfile test.App/
My Application.App/: Folder (inode/directory)
cwacha@lapis:~/Desktop$ kfile tmp.App 
test.App: Application (application/folder-app)

How does kde find out the mime type? There must be some rules somewhere.

What I want is a folder that starts a program when i open the folder in
KDE. This is a workaround for the application folder in Mac OSX.

Thanks for your help
-- 
Clemens Wacha           wacha@xxxxxx           ICQ:12620942

proudly running Debian/GNU Linux. See http://www.debian.org

___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux