Skip to content
Snippets Groups Projects
Commit ada1e0a5 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

mate-session-manager: set org.mate.Marco.general compositing-manager flag

parent 193672c4
No related branches found
No related tags found
No related merge requests found
Pipeline #834 passed
......@@ -3,12 +3,14 @@
WINDOW_MANAGER=xterm
[ -f /usr/bin/marco ] && WINDOW_MANAGER=marco
[ -f /usr/bin/marco-no-composite ] && WINDOW_MANAGER=marco-no-composite
gsettings set org.mate.Marco.general compositing-manager false
# Check for hardware acceleration
if glxinfo -B | grep "OpenGL renderer string" | grep -qv llvmpipe ; then
WINDOW_MANAGER=marco
gsettings set org.mate.Marco.general compositing-manager true
# Use marco-glx (picom) on non-intel gpu, if available
if glxinfo -B | grep -qiv vendor.*intel; then
if ! glxinfo -B | grep -qi vendor.*intel; then
if [ -f /usr/bin/picom ] && [ -f /usr/bin/marco-glx ] ; then
WINDOW_MANAGER=marco-glx
fi
......
......@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=7
VERSION=8
. ./config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment