mate-session-manager: only use compton as default with 3D acceleration
This commit is contained in:
parent
4fa403dbbb
commit
5a6f5f8370
2 changed files with 3 additions and 2 deletions
|
|
@ -72,7 +72,8 @@ if [ -z "$WINDOW_MANAGER" ] ; then
|
||||||
# marco is still the default wm in MATE
|
# marco is still the default wm in MATE
|
||||||
KNOWN_WM="marco $KNOWN_WM"
|
KNOWN_WM="marco $KNOWN_WM"
|
||||||
|
|
||||||
xdpyinfo 2> /dev/null | grep -q "^ *Composite$" 2> /dev/null
|
#xdpyinfo 2> /dev/null | grep -q "^ *Composite$" 2> /dev/null
|
||||||
|
glxinfo |grep "OpenGL renderer"| grep -vi Gallium | grep -q .
|
||||||
IS_X_COMPOSITED=$?
|
IS_X_COMPOSITED=$?
|
||||||
if [ $IS_X_COMPOSITED -eq 0 ] ; then
|
if [ $IS_X_COMPOSITED -eq 0 ] ; then
|
||||||
KNOWN_WM="marco-compton mutter compiz-manager compiz beryl $KNOWN_WM"
|
KNOWN_WM="marco-compton mutter compiz-manager compiz beryl $KNOWN_WM"
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,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
|
VERSION=2
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue