View previous topic :: View next topic |
Author |
Message |
andi456 Apprentice

Joined: 06 Mar 2005 Posts: 226 Location: Germany
|
Posted: Thu Jan 23, 2025 5:11 pm Post subject: [Solved] krusader "forgets" mime types |
|
|
Hi,
another issue occured after my last update: my favourite file manager krusader "forgot" all its mime types so that I always have to choose a suitable application to open for example a .pdf file. This wouldn't be an issue, if krusader "remembered" the association of for example okular to a .pdf. Instead, if I try to set it via the settings submenu, the new entry is being deleted.
So I started krusader from the terminal emulator and got at least some hints:
Code: |
18:05:33.689-warning kf.purpose.externalprocess unknown@0 # Cannot initialize model for plugin type "Export" with data QJsonObject(): missing key "urls"
kf.service.services: KServiceFactory: unexpected object entry in KSycoca database (type= 306 )
kf.service.services: KServiceFactory: unexpected object entry in KSycoca database (type= 306 )
18:05:58.306-warning kf.service.services unknown@0 # KServiceFactory: unexpected object entry in KSycoca database (type= 306 )
18:05:58.306-warning kf.service.services unknown@0 # KServiceFactory: unexpected object entry in KSycoca database (type= 306 )
|
Maybe someone has a clue, what to do to fix this "unexpected entry in the ksycoca database".
Kind regards,
Andreas
Last edited by andi456 on Sat Jan 25, 2025 10:58 am; edited 1 time in total |
|
Back to top |
|
 |
CooSee Veteran


Joined: 20 Nov 2004 Posts: 1528 Location: Earth
|
Posted: Fri Jan 24, 2025 11:34 pm Post subject: |
|
|
do you have kde-plasma/kde-cli-tools installed ?
what does xdg-mime query default application/pdf as User say ? - type in terminal.
 _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
 |
andi456 Apprentice

Joined: 06 Mar 2005 Posts: 226 Location: Germany
|
Posted: Sat Jan 25, 2025 10:58 am Post subject: |
|
|
Actually, I was about to post solution. kde-cli-tools is part of it, but in addition to that, I had to symlink /etc/xdg/menus/kf5-applications.menu to /etc/xdg/menus/applications.menu, i.e., as root user
Code: | ln -s /etc/xdg/menus/kf5-applications.menu /etc/xdg/menus/applications.menu |
Just in case someone someone has the same problem.
Kind regards |
|
Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9348
|
Posted: Sat Jan 25, 2025 5:48 pm Post subject: |
|
|
What desktop environment do you use that does not provide an applications.menu itself?
Because obviously, kf5-applications.menu will be gone at some point as well and only remains on your system by chance of being pulled in by some other random package than krusader. |
|
Back to top |
|
 |
andi456 Apprentice

Joined: 06 Mar 2005 Posts: 226 Location: Germany
|
Posted: Sun Jan 26, 2025 4:07 pm Post subject: |
|
|
qfile tells me that /etc/xdg/menus/kf5-applications.menu belongs to kde-frameworks/kservice:5, whereas kde-frameworks/kservice:6 does not seem to have installed any file in the same directory. |
|
Back to top |
|
 |
|