wok-next annotate compiz/stuff/compiz-startwm @ rev 19437

compiz-ccsm, xvkbd: check depends, tried to fix startup with some locales
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 09 18:56:56 2016 +0300 (2016-10-09)
parents 8e1f5fe117e6
children
rev   line source
psychomaniak@19217 1 #!/bin/sh
psychomaniak@19217 2 #
psychomaniak@19217 3 #Usage: compiz
psychomaniak@19217 4 # [--display DISPLAY] [--bg-image PNG] [--refresh-rate RATE]
psychomaniak@19217 5 # [--fast-filter] [--indirect-rendering] [--no-detection]
psychomaniak@19217 6 # [--keep-desktop-hints] [--loose-binding] [--replace]
psychomaniak@19217 7 # [--no-fbo] [--sm-disable] [--sm-client-id ID] [--only-current-screen]
psychomaniak@19217 8 # [--use-root-window] [--debug] [--version] [--help] [PLUGIN]...
psychomaniak@19217 9
psychomaniak@19217 10 COMPIZ_OPTS='--sm-disable --loose-binding --no-fbo --ignore-desktop-hints'
psychomaniak@19217 11
psychomaniak@19437 12 (lsmod | grep -q nvidia) && COMPIZ_OPTS="$COMPIZ_OPTS --indirect-rendering"
psychomaniak@19217 13
psychomaniak@19217 14 compiz --replace $COMPIZ_OPTS