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
Conversation
774c8cd to
cf60cb8
Compare
…lude other pull-request, like 'migration to mate-volume-control-status-icon' and 'remove picom', you have to rework it)
cf60cb8 to
b2440c3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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=Trueto the .desktop file in ~/.config/autostart to disable the autostart.Pro-Arguments:
Autostarts, which are currently changed by Mate-Tweak:
mate-volume-control-status-icon(( or the outdated mate-volume-control-applet))tildapicom( see open Pull-request picom shouldn't run, parallel with compiz or no-composite (bugfix #97) #108 )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)