Skip to content
Commit 1fe37c3b authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[kcms/autostart] Rework entry hiding

The current code extracts the executable name from the Exec line, which is somewhat brittle and unreliable. For this purpose the TryExec line exists. While not all apps have one they can be assumed to be reliable when present.

This check is not relevant for scripts since there we can simply assume they are present, otherwise we wouldn't have found them.

This allows for some refactoring of the code, in particular the removal of the command filed in AutostartEntry.
parent 56513036
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment