How can I determine which compositor is currently being used when multiple desktops have been installed such as LXDE and XFCE. Compiz is also installed.
Is there a code that will show which installed compositing manager being used?
How can I determine which compositor is currently being used when multiple desktops have been installed such as LXDE and XFCE. Compiz is also installed.
Is there a code that will show which installed compositing manager being used?
There is no direct command to get your current compositing manager. To do that, we need to make a list of them and check in the current processes. I made a script for this. Here it goes:
#!/bin/sh
COMPOSITORS=('awesome' 'beryl' 'blackbox' 'compiz' 'dwm' 'enlightenment' 'fluxbox' 'fvwm' 'i3' 'icewm' 'kwin' 'metacity' 'musca' 'openbox' 'pekwm' 'ratpoison' 'scrotwm' 'wmaker' 'wmfs' 'wmii' 'xfwm4' 'xmonad')
for i in `ps -u $USER -o comm`; do
for c in ${COMPOSITORS[@]}; do
if [ "$i" == "$c" ]; then
echo "Your compositor is $i"
fi
done
done
Open your editor, paste the code above and save it with the name check-compositor.sh. Then open the terminal and execute
$ sh path/to/your/file/check-compositor.sh
That should show your current compositor manager. You can add more compositing managers to the list if you wish, but I think that's pretty much all of them.
xcompmgr
, see here, since OP is interested in LXDE. Also, I'm not sure about including Openbox. To my mind, it's a window manager. (I don't use compositing myself and am not familiar with the other names in the list.) – Apr 04 '13 at 03:08autostart
? – Apr 04 '13 at 03:09~/.config/lxsession/Lubuntu/autostart
? I know you haven't said you're using Lubuntu (or ~/.config/lxsession/LXDE/autostart)? – Apr 04 '13 at 03:38gnome-shell
since I think in 18.04 it includes mutter? – Sanjay Manohar Jul 27 '18 at 07:43