source: lliurex-artwork-defaults/trunk/fuentes/mate/etc/X11/Xsession.d/65compiz_profile-on-lliurex-session @ 3687

Last change on this file since 3687 was 3687, checked in by mabarracus, 3 years ago

New procedure to allow have no efects session without wm --replace

File size: 745 bytes
Line 
1# This file is sourced by Xsession(5), not executed.
2# Select unity profile if we are in the default session.
3# The default profile is used otherwise.
4
5is_lliurex(){
6    T=$(echo $DESKTOP_SESSION |egrep -io 'lliurex'|uniq)
7    if [ -n "$T" ]; then
8        return 0
9    else
10        return 1
11    fi
12}
13
14if is_lliurex; then
15    if [ "x$DESKTOP_SESSION" = "xlliurex-nofx" ]; then
16        dconf write /org/mate/desktop/session/required-components/windowmanager "'marco'"
17    else
18        dconf reset /org/mate/desktop/session/required-components/windowmanager
19    fi
20    if [ "x$DESKTOP_SESSION" = "xlliurex-mate" -o "x$XDG_SESSION_DESKTOP" = "xlliurex-mate" ]; then
21        COMPIZ_CONFIG_PROFILE="mate"
22        export COMPIZ_CONFIG_PROFILE
23    fi
24fi
Note: See TracBrowser for help on using the repository browser.