Announcement

Collapse
No announcement yet.

KMail and KWallet

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    KMail and KWallet

    I'm running Plasma desktop 5.27.5 on my Bookworm installation. I always install Thunderbird to do email because of KMail problems I had years ago.
    Setting up and running Thunderbird was always easy and flawless. KMail, not so much. Since moving to my new 1TB SSD main drive I have been polishing Plasma by removing unwanted applications. I noticed that KMail was taking almost 300MB of disk space, probably more if I included Akonadi.

    I checked with "sudo apt-cache rdepends kmail" and found that it was connected at the hip to Plasma:

    $ sudo apt-cache rdepends kmail
    [sudo] password for jerry:
    kmail
    Reverse Depends:
    kde-standard
    kdepim
    kdepim-themeeditors
    krusader
    kontact
    kipi-plugins


    ​I used:
    sudo dpkg -P --force-depends kmail

    to remove kmail without tearing down the Plasma barn.

    I was informed immediately that the next time I run dpkg or apt-get or Discover that kmail would be automatically installed again. So what's the point in removing it? I decided that I'd give KMail a try again after all these years. Setting up my IMAP email server was easy. I sent off a "test 1" email, which worked as it should. My Thunderbird informed me that I had mail. I clicked "Check Mail" in KMail and was asked for my ISP email password, which I gave. My test email never came down the chute. It's still setting on my ISP email server. Even though I saved my email password in KMail's account settings it kept asking me for it. I was also informed that if I wanted the password to be supplied automatically I'd have to start KWallet. I've always disabled KWallet and have never used it because it was a pile of ... the first and last time I tried it. But, being a glutton for punishment, I fired up KDE Wallet and checked the enable checkbox. It already had an entry titled mailtransportagent5 as an app that used KDE Wallet. I could not find a way to ad KMail to KDE Wallet, which is just as confusing, if not poorly designed, as it used to be.

    I ended up stripping my configurations setting out of KMail and disabling KDE Wallet. Oh well, at least I've used only 117GB of my 931GB of available space.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    #2
    Configuring KMail so it works is not a project for the uninitiated or feint of heart! I gave up using it YEARS ago. As my iMac is my main PC, and I use Apples Mail application, I just access Gmail when running Kubuntu. Simpler.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      You probably need to remove the right meta-package that is depending on kmail, possibly by a few layers, even.

      Taking a peek:
      As you have seen, on Debian the main KDE metapackage kde-standard does depend on it, so it might be worthwhile to remove that one, and make sure that the more minimal kde-plasma-desktop​ is installed (it should be).
      You may also need to mark kde-plasma-desktop as manual (or just (re)install it with apt, which will also do this) to make sure it and other important stuff isn't removed during any autoremove actions.
      Last edited by claydoh; Oct 24, 2023, 09:04 PM.

      Comment


        #4
        1. Do not use the "debian-live-XXX-kde" ISO… And preferably make your own Debian KDE. I said it.

        Originally posted by GreyGeek View Post
        […]
        I was informed immediately that the next time I run dpkg or apt-get or Discover that kmail would be automatically installed again.
        […]
        2. Did you try to remove the meta-package kdepim (if it is installed) in Debian? Otherwise claydoh had good suggestions!
        Last edited by Schwarzer Kater; Oct 24, 2023, 06:58 PM.
        Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
        Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

        get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
        install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

        Comment


          #5
          Thank you all for your excellent suggestions. I will try them and let you know the results.
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            Well, the removal process removed 647MB of applications.

            I started by removing kdepim and then kde-connect and the other suggestions. Then I removed KMail. It took out java, kwrite, kconnect, sddm and the two themes I used. It also took out the entire libreoffice suite (I had installed all of them). My desktop didn't crash, which allowed me to use the menu to restart. At boot up instead of presenting me with the sddm display-manager it took me to a console login screen. I entered my name and password. Then I entered "startx" and the plasma desktop started right up and worked well.


            To get the display manager working again I entered
            dpkg-reconfigure sddm

            followed by
            systemctl enable display-manager.service

            and rebooted. Everything started up nicely.

            Thanks for the help!
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment

            Working...
            X