News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

file type associations hell

Started by killerbot, January 18, 2021, 05:38:39 PM

Previous topic - Next topic

killerbot

och boy, on latest OpenSuse Leap 15.2, kde

for some reason each time dolphin (or for that matter settings file type associations) does not register it to the system, meaning I am unable to get :
*.cbp
*.workspace
registered.
Fighting with it for some time now, anyone out here with some suggestions or solutions ?

oBFusCATed

You're at the mercy of the .desktop files. :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

killerbot

solved it, so the sudo make install, must have placed a codeblocks.xml in : /usr/local/share/mime/packages/

so far so good, but the process of installation did not issue an update request for the mime database, so all what needed to be done was :


sudo update-mime-database /usr/local/share/mime

oBFusCATed

Moral of the story: Just never use "sudo make install". Learn how to make packages it is way more reliable. :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

killerbot

creating a package when building the software locally for the system, isn't that a bit of a detour ?

oBFusCATed

Only the first time. After that it is a win, because you're not worried about missing/messing steps and then trying to debug what went wrong.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]