Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
package-helpers
Commits
8f4bf631
Commit
8f4bf631
authored
2 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
mate-tweak: Improved handling of marco composition scripts
parent
92dfd9d1
No related branches found
No related tags found
No related merge requests found
Pipeline
#747
passed
2 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-mate-tweak
+17
-11
17 additions, 11 deletions
helpers/make-mate-tweak
with
17 additions
and
11 deletions
helpers/make-mate-tweak
+
17
−
11
View file @
8f4bf631
...
...
@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
1
0
VERSION
=
1
1
.
./config
...
...
@@ -32,28 +32,34 @@ sed 's/Icon=.*/Icon=mate-desktop-symbolic/' -i data/mate-tweak.desktop
sed
's/Software Rasterizer/Accelerated: no/'
-i
mate-tweak
# Corrects rendering delay on Pluma, possibly others
sed
'/--backend/s/\\/--xrender-sync-fence \\/'
-i
marco-
picom
sed
'/--backend/s/\\/--xrender-sync-fence \\/'
-i
marco-
wrapper
# Shadow config
sed
-i
'/shadow-radius/s|12|
6
|'
marco-
picom
sed
-i
'/shadow-opacity/s|0.125|0.
6
|'
marco-
picom
sed
-i
'/shadow-offset-x/s|-12|-
9
|'
marco-
picom
sed
-i
'/shadow-offset-y/s|-12|-
9
|'
marco-
picom
sed
-i
'/shadow-radius/s|12|
15
|'
marco-
wrapper
sed
-i
'/shadow-opacity/s|0.125|0.
5
|'
marco-
wrapper
sed
-i
'/shadow-offset-x/s|-12|-
15
|'
marco-
wrapper
sed
-i
'/shadow-offset-y/s|-12|-
15
|'
marco-
wrapper
# Transitional dummy marco-compton
rm
marco-compton
cat
<<
EOF
> marco-compton
#!/bin/sh
# Compton has been replaced by picom
, and should be handled by mate-wm
# Compton has been replaced by picom
(marco-xrender wrapper)
WINDOW_MANAGER=
\`
gsettings get org.mate.session.required-components windowmanager 2> /dev/null | sed s/
\'
//g
\`
WINDOW_MANAGER=xterm
[ -f /usr/bin/marco ] && WINDOW_MANAGER=marco
[ -f /usr/bin/marco-no-composite ] && WINDOW_MANAGER=marco-no-composite
if
[ "
\$
WINDOW_MANAGER = "marco-compton"
]; then
gsettings set org.mate.session.required-components windowmanager mate-wm
if
glxinfo | grep -q Accelerated.*yes && [ -f /usr/bin/picom ] && [ -f /usr/bin/marco-xrender
]
; then
WINDOW_MANAGER=marco-xrender
fi
exec /usr/bin/mate-wm
gsettings set org.mate.session.required-components windowmanager
\$
WINDOW_MANAGER
exec
\$
WINDOW_MANAGER
EOF
chmod
755 marco-compton
# Add Trisquel to layout list
sed
's/fedora/trisquel/g; s/Fedora/Trisquel/'
-i
mate-tweak
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment