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
Package Registry
Model registry
Operate
Terraform modules
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
Eliab Andi Artz
package-helpers
Commits
1d282a72
Commit
1d282a72
authored
2 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
mate-tweak: use marco-xpresent on intel gpus
parent
c0b18171
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-mate-tweak
+7
-4
7 additions, 4 deletions
helpers/make-mate-tweak
with
7 additions
and
4 deletions
helpers/make-mate-tweak
+
7
−
4
View file @
1d282a72
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
VERSION
=
1
3
VERSION
=
1
4
.
./config
.
./config
...
@@ -53,12 +53,15 @@ WINDOW_MANAGER=xterm
...
@@ -53,12 +53,15 @@ WINDOW_MANAGER=xterm
[ -f /usr/bin/marco ] && WINDOW_MANAGER=marco
[ -f /usr/bin/marco ] && WINDOW_MANAGER=marco
[ -f /usr/bin/marco-no-composite ] && WINDOW_MANAGER=marco-no-composite
[ -f /usr/bin/marco-no-composite ] && WINDOW_MANAGER=marco-no-composite
# Check for hardware acceleration
if glxinfo -B | grep "OpenGL renderer string" | grep -qv llvmpipe ; then
if glxinfo -B | grep "OpenGL renderer string" | grep -qv llvmpipe ; then
WINDOW_MANAGER=marco
# Use marco-glx (picom) on non-intel gpu, if available
if glxinfo -B | grep -qiv vendor.*intel; then
if [ -f /usr/bin/picom ] && [ -f /usr/bin/marco-glx ] ; then
if [ -f /usr/bin/picom ] && [ -f /usr/bin/marco-glx ] ; then
WINDOW_MANAGER=marco-glx
WINDOW_MANAGER=marco-glx
else
WINDOW_MANAGER=marco
fi
fi
fi
fi
fi
gsettings set org.mate.session.required-components windowmanager
\$
WINDOW_MANAGER
gsettings set org.mate.session.required-components windowmanager
\$
WINDOW_MANAGER
...
...
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