Registered Member
|
Dolphin and Konqueror (as a file manager) used to have separate mimetypes configuration. Dolphin and the rest of my system would open links and html files in Firefox, and Konqueror would open them in kate (I set them to do that by right clicking a file and assigning it what program to open while in konqueror). Recently I started with all new configuration files to clean up my years old system and now they are both modifying the same mimetypes. I want to be able to use konqueror to edit php and html and I want the rest of my system to open them in a browser as I've been doing for years. There must be a config file somewhere that does this.
What I did to break it was I renamed ~/.local ~/.config and ~/.kde and rebooted to let everything start fresh. Still have the old configs, I can't find what gave konqueror it's own mimetypes. How can I get konqueror to have it's own mimetype settings? |
Registered Member
|
In the File Associations configuration dialog (system settings -> File Associations, or from konqueror -> Settings -> Configure Konqueror -> File Management -> File Associations), select the mimetype you want to configure (e.g. text/html). There should be two tabs for configuring General associations (e.g. when you open from dolphin or other apps) and one for configuring Embedding associations (e.g. when opening from a kpart-enabled application like konqueror). This is where you would set up the different behaviors for dolphin vs. konqueror.
To set a given mimetype to open in the embedded editor in konqueror, select that mimetype, in the Embedded tab move the Embedded Advanced Text Editor (katepart) item to the top of the list. Disclaimer: This is according to how things are set up in KDE 4 (4.14). I have no idea if this has changed in KDE 5; though I'd hope that this hasn't.
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Thanks. I tried it again. It makes sense but it didn't work. That's how I originally set it up in KDE 4. It still held those settings when I upgraded to KDE 5. When I let KDE recreate all its settings it's not honoring those dialogs now. I think I need to find which config files are written to and update them manually. |
Registered Member
|
I just had success in a round about way. I used konqueror as a filemanager to login to a remote site with ftp. From there I right clicked on an html file and chose properties. I set the embedded tab to open in an external viewer and set the first app as katepart (that wasn't enough, it still opened in Firefox after that), then in the general tab I set the first app as kate. Now it expectedly opened the remote ftp html file in kate but when I went to dolphin to a local html file it opened it in firefox (as it was set last before I used konqueror in ftp). After that I could also use konqueror to browse to a local html file and it would open it in kate. Somehow, making the adjustment to an html file within ftp from the file's property menu, created a separation in the mimetypes configuration between konqueror and dolphin that stuck even after I logged out of ftp. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft