You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"update-desktop-database" Process Behaving Strangely #445
appimagelauncherd starts a process called update-desktop-database that somehow manages to run its process on a separate (non-OS) hard drive drive partition (my OS drive is an SSD) I have installed (even though KSysGuard says it's running the command on ~/.local/share/applications) preventing me from unmounting that drive whenever I decide I need to. In addition, with this process running, the mentioned hard drive spins a lot (loudly) when I'm not even doing anything on it.
Expected behavior
The update-desktop-database likely shouldn't be running on drives/partitions that are completely outside of the scope of the command being run with it, hindering the target drive/partition.
To Reproduce
Steps to reproduce the behavior:
Install AppimageLauncher via the AUR
Set up AppImage Launcher and reboot the machine
Check the system monitor and listen to (my) 7200 RPM hard drive spin loudly
Kill the offending process
Notice that the strange behavior stops
System, software and AppImage information
Distro: Arch Linux
Desktop Environment: KDE Plasma version 5.22.5 (compiled with Clang and with -O3 optimization)
AppImageLauncher version installed: 2.2.0-5 (via AUR)
update-desktop-database is a workaround to make some distros/DEs just show the desktop entries within a reasonable amount of time. It must be run inside your home directory. What you describe seems normal workflow wise, but for some weird reason the process consumes a lot of resources.
I'm not sure whether your system is special in some way so the command just takes a lot of time and resources and causes a slowdown, it seems like the most plausible explanation. The question is how to work around that issue.
The update-desktop-database likely shouldn't be running on drives/partitions that are completely outside of the scope of the command being run with it, hindering the target drive/partition.
This is certainly a wrong assumption on your end. AppImages are user-specific, the same applies to integrated files etc. Your home directory is in some way the only partition that is within the scope of the command.
Forgot to come back around to this, since I need to replace my motherboard now, but I ended up finding that having a symlink to an external drive within a ~/.local/share/applications/<example>/ directory was what ended up causing this for some reason, though I've no idea why.
Removing the symlink ceased this issue going forward, as far as I can remember. :/
Activity
TheAssassin commentedon Mar 18, 2022
update-desktop-databaseis a workaround to make some distros/DEs just show the desktop entries within a reasonable amount of time. It must be run inside your home directory. What you describe seems normal workflow wise, but for some weird reason the process consumes a lot of resources.I'm not sure whether your system is special in some way so the command just takes a lot of time and resources and causes a slowdown, it seems like the most plausible explanation. The question is how to work around that issue.
This is certainly a wrong assumption on your end. AppImages are user-specific, the same applies to integrated files etc. Your home directory is in some way the only partition that is within the scope of the command.
ThisNekoGuy commentedon Mar 19, 2022