Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] krusader "forgets" mime types
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
andi456
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 225
Location: Germany

PostPosted: Thu Jan 23, 2025 5:11 pm    Post subject: [Solved] krusader "forgets" mime types Reply with quote

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
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1507
Location: Earth

PostPosted: Fri Jan 24, 2025 11:34 pm    Post subject: Reply with quote

do you have kde-plasma/kde-cli-tools installed ?

what does xdg-mime query default application/pdf as User say ? - type in terminal.

8)
_________________
" 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
View user's profile Send private message
andi456
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 225
Location: Germany

PostPosted: Sat Jan 25, 2025 10:58 am    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9333

PostPosted: Sat Jan 25, 2025 5:48 pm    Post subject: Reply with quote

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
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