Sunday, August 19, 2012

Installation and setup for Compiz with Mint 13 Mate

Project: Setup Compiz with Mint 13 Mate. Configure workspaces on the cube which can rotate by dragging with the middle mouse button.

Installing Compiz:
  • Command Line:  # apt-get install compizconfig-settings-manager
  • In Control Center -> Startup Applications add a Compiz entry with the command compiz --replace.
  • In mateconf-editor, set  /desktop/mate/session/required_components/windowmanager from marco  to compiz.
  • Log in and out to start Compiz.

Configure basic window and cube settings in Compiz Configuration Settings Manager:
  • Select Effects -> Window Decoration 
  • Select  Widow Management -> Move Window
  • Select Desktop -> Desktop Cube
  • Select Desktop -> Rotate Cube

Setting up the Workspace Switcher:
  • Add the Workspace Switcher gadget to your favorite panel.
  • Set Workspace Switcher preferences Number of workspaces to '1'.

Configure the cube in CompizConfig Settings Manager. Under General Options -> Desktop Size set:
  • Horizontal Virtual size: number of workspaces, e.g.4.
  • Vertical Virtual size: 1
  • Number of desktops: 1

Bind the middle mouse button to drag the cube rotation. 
  • Set Rotate Cube -> Bindings -> Rotate Cube to Button2.

How to activate Compiz in Mint 13 Maya MATE

Thanks to tux-sven

How to activate Compiz in Mint 13 Maya MATE


There is some things you have to do to get Compiz work.
  • Install the packet "compizconfig-settings-manager".
  • In a terminal window write "compiz --replace" (When you want Compiz start automatic you can open Control Center -> Startup Applications, and add a new post "Compiz" keeping the same command "compiz --replace".
  • The CPU usage now raises a lot. That is because there is two competing window-managers running.

To stop that high CPU usage in MATE when running Compiz:
  • In a terminal type “mateconf-editor”
  • When the editor opens: Go to /desktop/mate/session/required_components/windowmanager and replace "marco" with "compiz".
Not much happens now,

Thats because nothing is checked in "Compiz Configuration Settings Manager".
  • Open the Compiz Configuration Settings Manager.
  • Check what compiz-functions you want to activate.
  • One you sure need, the " Window Decoration".
  • Then you can choose "Move Window" and things you find good for you.
Myself I have activated Desktop Cube, Rotate Cube and Wobbly Windows.

Note that the number of windows are set in "General Options" -> Desktop Size.

I also think the desktop zoom is very nice, but at the moment I have not succeeded in activating it in the same way as LM 10 Julia.

Thursday, August 2, 2012

Use GRUB2 to boot a linux system from a /boot directory in an LVM volume.

Project - Use GRUB2 to boot a linux system from a /boot directory in a Logical Volume Manager (LVM2) volume.

The grub.cfg file must load the dynamic GRUB lvm module :
insmod lvm
GRUB expects /boot to be in a partition named:
(lvmGroupName-lvmBootVolumeName)
The linux kernel expects a /dev tree name for the root directory:
/dev/mapper/lvmGroupName-lvmBootVolumeName

Example:
menuentry "Linux - 2.6.35-32-generic" {
insmod lvm
set root=(vgSys-lvBoot)
linux /vmlinuz-2.6.35-32-generic root=/dev/mapper/vgSys-lvRoot ro
initrd /initrd.img-2.6.35-32-generic }

The Blog Starts Here


Triangle wave


DEAD END