Skip to content

rework: autostart managment: disable autostart by overwrite with a local file, instead of delete the system-wide#114

Open
2387skju wants to merge 3 commits into
ubuntu-mate:masterfrom
2387skju:autostart_disabled_by_overwrite_local
Open

rework: autostart managment: disable autostart by overwrite with a local file, instead of delete the system-wide#114
2387skju wants to merge 3 commits into
ubuntu-mate:masterfrom
2387skju:autostart_disabled_by_overwrite_local

Conversation

@2387skju

@2387skju 2387skju commented Jan 14, 2026

Copy link
Copy Markdown

I suggest a change in the Autostart-Managment inside of Mate-Tweak:
Currently the Autostart-files are System-wide deleted (/etc/xdg/autostart) .
I think the overwriting with files in User-Folder is a bedder option (~/.config/autostart) .
Disable of an system-wide Autostart, will be done by overwriting the system-wide. Just simple add the line Hidden=True to the .desktop file in ~/.config/autostart to disable the autostart.

Pro-Arguments:

  • less root right needed (note: some distribution does not ship the policy file (like OpenSuse) ; every Layout change need's password)
  • multi-user support (= Users can have different settings)

Autostarts, which are currently changed by Mate-Tweak:


Realization:

We will only write to ~/.config/autostart. (with exception for the outdated / deprecated parts)

picom:
Here we have to make a check before: Some distribution (named: opensuse) added the line OnlyShowIn=LXQt, which will disable the autostart in MATE.

Copy / duplicate the systemwide- autostart:
Instead of creating the Autostart-file new, i use a copy of the system-wide one ( if possible ).
Advantage: It has multiple languages for Name or Comment.

The Autostarter are still visible in the autostart managment ( mate-session-properties : click checkbox: show hidden). This comment is added:
(disabled by Mate-Tweak. Reason: parallel running compiz has problems)
(disabled by Mate-Tweak. Reason: ayatana-indicator has already a volume controller)
autostart_vol_hidden__marked_sw_DE_v1_16f

@2387skju 2387skju changed the title code-refactor: create Autostart-file in user directory, instead of /etc code-refactor: create Autostart-file in local user directory, instead of /etc Jan 14, 2026
@2387skju 2387skju changed the title code-refactor: create Autostart-file in local user directory, instead of /etc code-refactor: create Autostart-file in local user directory, instead of system-wide Jan 14, 2026
@2387skju 2387skju changed the title code-refactor: create Autostart-file in local user directory, instead of system-wide rework: autostart managment: disabled by overwrite with a local file, instead of rm/create system-wide Jan 15, 2026
@2387skju 2387skju changed the title rework: autostart managment: disabled by overwrite with a local file, instead of rm/create system-wide rework: autostart managment: disable autostart by overwrite with a local file, instead of delete / create system-wide Jan 15, 2026
@2387skju 2387skju changed the title rework: autostart managment: disable autostart by overwrite with a local file, instead of delete / create system-wide rework: autostart managment: disable autostart by overwrite with a local file, instead of delete the system-wide Jan 16, 2026
@2387skju 2387skju force-pushed the autostart_disabled_by_overwrite_local branch from 774c8cd to cf60cb8 Compare January 18, 2026 13:47
…lude other pull-request, like 'migration to mate-volume-control-status-icon' and 'remove picom', you have to rework it)
@2387skju 2387skju force-pushed the autostart_disabled_by_overwrite_local branch from cf60cb8 to b2440c3 Compare January 23, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant