remove xfce start script and desktop file
This commit is contained in:
parent
f54b8b12c2
commit
51c2ff4862
|
@ -1,28 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
function runCompiz() {
|
|
||||||
emerald --replace &
|
|
||||||
exec compiz --replace --sm-disable --ignore-desktop-hints ccp $@
|
|
||||||
}
|
|
||||||
|
|
||||||
ISSW=`glxinfo | grep "Software Rasterizer" -c`
|
|
||||||
|
|
||||||
# Try with direct rendering
|
|
||||||
HAVETFP=`glxinfo | grep texture_from_pixmap -c`
|
|
||||||
|
|
||||||
if ( [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then
|
|
||||||
runCompiz $@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Try again with indirect rendering
|
|
||||||
export LIBGL_ALWAYS_INDIRECT=1
|
|
||||||
|
|
||||||
HAVETFP=`glxinfo | grep texture_from_pixmap -c`
|
|
||||||
|
|
||||||
if ( [ $ISSW == 0 ] && [ $HAVETFP -gt 2 ] ); then
|
|
||||||
runCompiz $@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fall back to xfwm4
|
|
||||||
exec xfwm4 $@
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Compiz XFCE Emerald
|
|
||||||
Comment=start or restart Compiz Fusion with Emerald windows-decoator
|
|
||||||
TryExec=compiz-xfce-emerald
|
|
||||||
Exec=compiz-xfce-emerald
|
|
||||||
Icon=fusion-icon
|
|
||||||
NoDisplay=false
|
|
||||||
StartupNotify=true
|
|
||||||
Categories=Utility;
|
|
||||||
OnlyShowIn=XFCE;
|
|
||||||
Name[de_DE]=Compiz XFCE Emerald
|
|
Loading…
Reference in New Issue