OpenSUSE 13.1 + Mate 1.6 + Xmonad
Thu, Nov 21, 2013So OpenSUSE 13.1 was released. And it’s great. But… Since gnome 3.9 support for custom window managers was broken. How to restore sanity to your desktop? Mate it! Here is quick how to.
Patterns for installing mate in OpenSUSE can be found here https://en.opensuse.org/Portal:MATE
Xmonad can be installed using cabal install or using packages from OBS.
sudo zypper -n in xorg-x11-devel
cabal install xmonad --flags="with_utf8 with_xft"
cabal install xmonad-contrib --flags="with_utf8 with_xft"
cabal install xmobar --flags="with_utf8 with_xft"
Create following file:
/usr/share/applications/xmonad.desktop
:
[Desktop Entry]
Type=Application
Name=Xmonad
# Replace it with your xmonad launcher
Exec=xmonad
NoDisplay=true
Terminal=false
StartupNotify=false
Categories=
Set xmonad as window manager for Mate:
# Mate 1.4
mateconftool-2 -s /desktop/mate/session/required_components/windowmanager xmonad --type string
# Mate 1.6
gsettings set org.mate.session.required-components windowmanager xmonad
If you have Gnome 3 installed make sure that gnome-settings daemon is not running in mate (can cause gsettings error).
Enjoy!
By the way I have some weird issues with gnome 3 apps rendering, no idea how to fix this for now.
Also caja -n
which is responsible for displaying icons on desktop loves to hide my xmobar.
You can kill caja and mate will restore it (temporary fix).
If you have any tips feel free to comment!
UPDATE 0 issues with rendering was caused by setWMName "LG3D"
in startupHook
.
Removed it for now (probably will cause issues with some Java(AWT) applications).
UPDATE 1 If you want to disable desktop add following file:
/usr/share/applications/caja-no-desktop.desktop
:
[Desktop Entry]
Name=Caja
Exec=caja -n --no-desktop
Icon=system-file-manager
Terminal=false
Type=Application
StartupNotify=true
NoDisplay=true
OnlyShowIn=MATE;
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=caja
X-MATE-Bugzilla-Component=general
X-MATE-Bugzilla-Version=1.6.2
X-MATE-Autostart-Phase=Desktop
X-MATE-Autostart-Notify=true
X-MATE-AutoRestart=true
X-MATE-Provides=filemanager
And now set it as default file manager for mate:
# Mate 1.6
gsettings set org.mate.session.required-components filemanager "caja-no-desktop"
Also you can store all *.desktop
files in $HOME/.local/share/applications
.