Results 1 to 9 of 9

Thread: bug in KDE menu. Applications cant be started

  1. #1

    Default bug in KDE menu. Applications cant be started

    Hello all,

    I'm using KDE Plasma 5 (KDE Frameworks 5.54.0 with Qt 5.12.1.
    Since the latest update, I cant start any application in the KDE menu. But all applications start with Alt+F2.
    I've created another user: everything is ok with KDE.
    So I guess, there's something weird with my profile.
    Prior writing this post, i went to login with my account and after validating my password, the system went to hibernate or suspend to RAM whereas I have never used this feature before.
    what files and folders should be removed to fix this?

    Thanks for your help

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,518

    Default Re: bug in KDE menu. Applications cant be started

    In other words, neither a Bug nor a feature
    Quote Originally Posted by jnowe View Post
    what files and folders should be removed to fix this?
    If KDE begins to massively misbehave and, a “new” user doesn't experience this misbehaviour then, the following is possibly a remedy:
    • From a VT TTY – console, no GUI running – remove everything in ~/.cache/.
    • Execute kbuildsycoca5 to rebuild the KDE Cache.


    • Login again via the KDE GUI.

    If that doesn't help then, the KDE environment of the user who is suffering this issue will have to be rebuilt:
    • With the user “root”:


    1. Rename the user's Home directory to something else indicating that it's an archive.
    2. Recreate the user's Home directory – using the “--archive” option of “cp” (to preserve the default directory protections) copy everything in /etc/skel/ over to the user's newly created empty Home directory – change the ownership and user group of the newly created Home directory and all it's contents to those of the affected user.

    Now have the affected user login to their “new, fresh” KDE environment – KDE will automatically create everything it needs at this “1st login” to the user's newly created Home directory.
    • The affected user now has to setup their Home directory again.
    • Please be aware that, as a general rule, the user's hidden directories should not be restored from the contents of the archived Home directory …
    • The exception is any Kontact/KMail/Korganizer file in the archived ~/.local/share/ directory:

    As a general rule the archived contents of the following ~/.local/share/ directories can be moved to the new Home directory: contacts/ kaddressbook/ korganizer/ local-mail/ .local-mail.directory/ notes/.

    • The contents of other ~/.local/share/ directories such as okular/ are the applications history – restore as needed.
    • Once the user's KDE environment has been completely restored, after a suitable “wait and see” period, the remaining contents of the archived Home directory can be deleted – the KDE environment in the archived home directory misbehaves and can therefore be regarded as being corrupt …

  3. #3

    Default Re: bug in KDE menu. Applications cant be started

    Thanks, the issue is fixed with the second solution.
    Nevertheless, this kind of bug is annoying after an update

  4. #4

    Default Re: bug in KDE menu. Applications cant be started

    starting the computer this morning, the issue went back

  5. #5

    Default Re: bug in KDE menu. Applications cant be started

    On 2/9/19 12:46 PM, dcurtisfra wrote:
    >
    > -In other words, neither a Bug nor a feature- …
    > jnowe;2894010 Wrote:
    >> what files and folders should be removed to fix this?

    > If KDE begins to massively misbehave and, a “new” user doesn't
    > experience this misbehaviour then, the following is possibly a remedy:
    >
    > - From a VT TTY – console, no GUI running – remove everything in
    > ~/.cache/.
    > - Execute kbuildsycoca5 to rebuild the KDE Cache.
    >
    >
    >
    > - Login again via the KDE GUI.
    >
    > If that doesn't help then, the KDE environment of the user who is
    > suffering this issue will have to be rebuilt:
    >
    > - With the user “root”:
    >
    >
    >
    > - Rename the user's Home directory to something else indicating that
    > it's an archive.
    > - Recreate the user's Home directory – using the “--archive”
    > option of “cp” (to preserve the default directory protections)
    > copy everything in /etc/skel/ over to the user's newly created empty
    > Home directory – change the ownership and user group of the newly
    > created Home directory and all it's contents to those of the affected
    > user.
    >


    No need for copying anything. Just rename the current home directory,
    recreate the home directory and login. all necessary files and
    directories will automatically be created.

    --
    Ken
    unix since 1986
    S.u.S.E.-openSUSE since 1998


  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,518

    Talking Re: bug in KDE menu. Applications cant be started

    Quote Originally Posted by jnowe View Post
    starting the computer this morning, the issue went back
    Then, you have a rogue application which is messing about with the KDE Plasma 5 Starter menu entries …

  7. #7
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,518

    Question Re: bug in KDE menu. Applications cant be started

    Quote Originally Posted by kensch View Post
    No need for copying anything. Just rename the current home directory, recreate the home directory and login. all necessary files and directories will automatically be created.
    Do you mean, use (as the user “root”) the CLI command “mkhomedir_helper”?
    • /sbin/mkhomedir_helper
    • man 8 mkhomedir_helper

  8. #8
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,792
    Blog Entries
    14

    Default Re: bug in KDE menu. Applications cant be started

    Why all this hacking around? I wouldn't want to rename my homedir, ever again. Why not use
    Code:
    kbuildsyscoca5 --noincremental
    ? That's the way it's done in KDE.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  9. #9

    Default Re: bug in KDE menu. Applications cant be started

    On 2/11/19 4:26 AM, dcurtisfra wrote:
    >
    > kensch;2894093 Wrote:
    >>
    >> No need for copying anything. Just rename the current home directory,
    >> recreate the home directory and login. all necessary files and
    >> directories will automatically be created.
    >>

    > Do you mean, use (as the user “root”) the CLI command
    > “mkhomedir_helper”?
    >
    > - /sbin/mkhomedir_helper
    > - man 8 mkhomedir_helper
    >
    >


    As user 'root':

    /code
    **********

    cd /home
    mv <username> <username>.org
    mkdir <username>
    chown <username>.users <username>
    **********

    Substitute the real user name for <username>.
    This should only be needed as a last resort.

    --
    Ken
    unix since 1986
    S.u.S.E.-openSUSE since 1998


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •