Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kmail not starting (plasma 5)
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
zwirbeltier
n00b
n00b


Joined: 15 Dec 2012
Posts: 6

PostPosted: Sat Jun 22, 2024 12:03 pm    Post subject: kmail not starting (plasma 5) Reply with quote

Since a few months I’m unable to start kmail from either the the menu or krunner (Plasma running on Wayland). When I try it, it starts loading but nothing else happens.

I am however able to start it using the a shell by just typing
Code:
kmail
and letting it run there.

Has anyone else observed this problem? Any ideas how to fix it?
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2179

PostPosted: Sat Jun 22, 2024 6:24 pm    Post subject: Reply with quote

Try clicking RMB on the kmail entry in your start menu, and select "Edit application". Then look at the actual command issued (on the last page, IIRC); that will have some parameters passed to kmail. Then try running kmail from a terminal window using those parameters. With luck, you might get an error message (no promises!).

If that doesn't help, look at the KDE wayland terminal log file. If your displaymanager is SDDM, it will be somewhere under $HOME/.local/share/sddm, though I have yet to find anything useful there because of the high noise to signal ratio.
_________________
Greybeard
Back to top
View user's profile Send private message
zwirbeltier
n00b
n00b


Joined: 15 Dec 2012
Posts: 6

PostPosted: Sun Jun 23, 2024 6:08 pm    Post subject: Reply with quote

Thanks for the hint. I tried both things you suggested:

The command from the desktop file is
Code:
kmail -qwindowtitle %c %u
which for me translates to
Code:
kmail -qwindowtitle KMail
. This command opens the KMail window when I execute it from the shell.

~/.local/share/sddm/wayland-session.log was entirely empty but I found something in the systemd journal.

Code:

Jun 23 20:01:54 elodin krunner[365039]: kmail2: Missing value after '--view'.


The desktop files provided by kmail are:

Code:

/usr/share/applications/kmail_view.desktop   # This is the one that’s seemingly used with the command: kmail --view %u
/usr/share/applications/org.kde.kmail-refresh-settings.desktop
/usr/share/applications/org.kde.ktnef.desktop
/usr/share/applications/org.kde.kmail2.desktop   # This is the one from the above command that worked


Why does krunner use one and not the other?
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2179

PostPosted: Sun Jun 23, 2024 6:33 pm    Post subject: Reply with quote

I can't help much more, I'm afraid. I noticed elsewhere that if you are using systemd you might see output in journalctl files. I don't use systemd, so I'd not come across this behaviour.

My menu uses the same KDE command to start kmail as you list above.
_________________
Greybeard
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 654

PostPosted: Mon Jun 24, 2024 11:57 am    Post subject: Reply with quote

Whenever I've had issues with kontact/kmail, akonadi has always been the issue. Does akonadiselftest (run from a terminal) show any issues?
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