https://bugs.kde.org/show_bug.cgi?id=522402

            Bug ID: 522402
           Summary: Option to disable (Permanently or Temporarily)
                    autostart from within system-settings
    Classification: Applications
           Product: systemsettings
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: kcm_autostart
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

This was initially a discussion on discuss.kde.org:
https://discuss.kde.org/t/option-to-disable-autostart-in-system-settings-and-or-plasma-login-manager/48257
so check it out there for a more in depth explanation, but here is a TLDR:

When you are in a situation where you need to restart your computer many times
in a short period of time (testing BIOS settings, dual booting, etc.) if you
have applications configured to autostart, the login process can take very very
long, since they are starting up every time your reboot and login.
Unfortuantly, as of now, there is no neat and integrated way to either
temporarily disable autostart applications for next login, or permanently
disable them until turned back on.

There are a couple of existing solutions, but most involve touching the
filesystem in some way, by either moving the desktop files or changing them.
Here are the existing proposed solutions (mostly taken from the discussion
listed above):

# 1
Proposal: rename or move `.config/autostart` while conducting system
maintenance and then move or rename it back
Rebuttal: probably the most straight forward solution and the one i will most
likely use until this feature is hopefully implemented, but a nice more
integrated solution would be way nicer

#2
Proposal: use a console via Ctrl-Alt-F3
Rebuttal: Sometimes a GUI is needed

# 3
Proposal: modify all the autostart desktop files to add a flag
(X-KDE-autostart-condition)
https://github.com/KDE/kdelibs/blob/1c5b25966136b6099665477616fb4d38a98fd7ef/kinit/README.autostart,
then add a new wayland desktop session that sets the flag to false in order to
prevent autostart from activating
Rebuttal: Very hacky and takes a lot of work. Would need to be done for any
newly added autostart application

# 4
Proposal: bash script that runs on every boot that throws up yes/no dialog if
you want your Autostart to run. if you choose yes, then it renames the
Autostart folder back into existence and restarts the plasmashell.
Rebuttal: This is a slightly nicer version of proposal #1, but since autostart
being enabled is usually what you want, restarting plasma-shell on every login
seems like a terrible idea.


Now as for the actual proposal(s) for this wishlist item:

# 1. Add a toggle to the autostart page in system-settings which can
permanently or temporarily disable autostart. This is the easiest and most
straightforward solution to this issue, so i am advocating the hardest for
this.

# 2. Add a disable autostart button to plasma-login-manager, so that you can
decide if you want to autostart during the moment of login as opposed to having
to remember to configure it through system-settings. This is outside the scope
of this wishlist item specifically and some people in the discussion were
against this because of scope-creep, but I still wanted to mention it here as a
proposed solution. This is more of a nice to have, then a necessity like
proposal #1.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to