UberStudent Forums

Help and Community for Users of Uberstudent
Return to UberStudent Home Page
It is currently Wed Jun 20, 2018 6:41 pm

All times are UTC




UberStudent Logo Shirt
Hey! You can wear this UberCool UberStudent Logo Shirt

Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu May 30, 2013 2:15 pm 
Offline
UberStudent Forum Helper

Joined: Sun Nov 25, 2012 12:37 pm
Posts: 72
Location: France
1 - Introduction
2 – Install Compiz
3 – Set Compiz as window manager
3.1 - Test Compiz on your system
3.2 - Set Compiz as WM permanently
4 - Enable features/effects in Compiz
4.1 – Set the standard functions
4.2 - Prepare to get amazed by some eye candy


1 - Introduction
Openbox and Compiz are just two of the more than 20 window managers (WM) for UNIX-like systems. Basically a WM manages the position and behaviour of your windows on the desktop.
Openbox is lightweight WM and is used by default in LXDE.
Compiz is an advanced WM which features a lot of useful functions and visual effects. Because it requires 3D acceleration it is enabled by default in a few GNU/Linux distributions only.


2 – Install Compiz
To install Compiz you have to get the following packages :
compiz, compiz-plugins, compiz-plugins-extra, compiz-plugins-main, compiz-plugins-default, compizconfig-settings-manager, compiz-fusion-plugins-main and compiz-fusion-plugins-extra

Please let me know if I forgot some packages.

Install these by typing the following in the console
Code:
sudo apt-get install compiz compiz-plugins compiz-plugins-extra compiz-plugins-main compiz-plugins-default compizconfig-settings-manager compiz-fusion-plugins-main compiz-fusion-plugins-extra


3 – Set Compiz as window manager
3.1 – Test Compiz on your system
To check if Compiz is correctly installed and if your system can handle it, type the following in the console
Code:
compiz --replace ccp

It will set Compiz temporarily as WM. After a system reboot Openbox will be used again.

3.2 – Set Compiz as WM permanently
In the following you will read things like « yourcurrentsession ». These depend on what session you are logged in to. Stephen has done a nice work to give you the options of two gnome2-like panels or just one standard panel in the session manager of UberStudent Aristotle Lightweight Edition.
My « Current Session » is UberStudent-TwoPanel.

In order to replace Openbox with Compiz, open your file manager in superuser mode by
Code:
sudo pcmanfm

Navigate to /etc/xdg/lxsession/YourCurrentSession/ and open the desktop.conf with you prefered text editor.
Replace the line window_manager=openbox-yourcurrentsession with window-manager=compiz ccp. You can also just outcommand the existing line by adding a # (see picture below). It will make it easier to convert back to Openbox.
Attachment:
File comment: desktop.conf
lssession desktop configuration.png
lssession desktop configuration.png [ 47.52 KiB | Viewed 17158 times ]

Save the file.

Now, go to Preferences → Desktop Session Settings → Advances Options and replace the window manager with "compiz ccp". This will edit the desktop.conf in /home/YourUsername/.config/lxsession/YourCurrentSession/

When you reboot your PC, Compiz should now be used by default.


4 - Enable features/effects in Compiz
4.1 – Set the standard functions
To have a nice desktop experience you have to enable some of the basic features which are enabled by default in Openbox. To enable these, go to Preferences → CompizConfig Settings Manager.
In the section « General » check the boxes for KDE Compatibility, Gnome Compatibility, Composite and OpenGL
In « Efects » enable Window Decorations
In « Window Management » check Place Windows, Move Windows and Resize Windows

4.2 - Prepare to get amazed by some eye candy
There are a mass of useful or fun effects. I myself enabled all the features mentionned in 4.1 plus these : Desktop Cube, Cube Rotation, Screen Capture, Image loading for JPEG, PNG and Text, Compiz Library Toolbox, Correspondance Regex, Session Management, Ring Switcher.

There is a nice video on youtube showing the power of Compiz.


That's it, your computer is now set to use Compiz. :geek:
Feel free to give feedback and corrections, please.

_________________
- Intel® Pentium™4 @ 2.99GHz × 2 - 32 MB Graphics Chip - 1,0 GB RAM - UberStudent Plato Xfce 32 bit -


Top
 Profile  
 
Click Here to Get Inexpensive UberStudent Discs

Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!
PostPosted: Sat Aug 24, 2013 4:42 am 
Offline
New UberStudent User

Joined: Tue Aug 20, 2013 1:17 pm
Posts: 5
Firs of all, a Fantastic tutorial! Only a few things though, as of UberStudent 3.0, the steps have changed a little, so I have detailed them below.

You now must disable the default compositor. This can be done by Going to the Applications menu, then navigate to System -> Look and Feel -> Compositing -> Stop All.

You then must navigate to System -> Look and Feel -> Session and Startup, go to the Application Startup tab and uncheck the "Desktop Compositing"

David Baum wrote:
2 – Install Compiz
To install Compiz you have to get the following packages :
compiz, compiz-plugins, compiz-plugins-extra, compiz-plugins-main, compiz-plugins-default, compizconfig-settings-manager, compiz-fusion-plugins-main and compiz-fusion-plugins-extra


you dont need compiz-pugins-main or compiz-plugins-default.
compiz-fusion-plugins-main and compiz-fusion-plugins-extra no longer exist in the repositories.
You now need: dconf-tools to keep the default UberStudent icons.

To revise, all you should need to do is
Code:
sudo apt-get install compiz compiz-plugins compiz-plugins-extra compizconfig-settings-manager dconf-tools


New step:
To keep the look and feel of the window decorator icons, you must change dconf to the default UberStudent theme. To do this, open
Code:
dconf-editor
then navigate to org>gnome>desktop>wm>preferences then change the theme to: A+DarkSilver This is Case Sensitive

Close that window and follow the next steps.

David Baum wrote:
3 – Set Compiz as window manager
3.1 – Test Compiz on your system
To check if Compiz is correctly installed and if your system can handle it, type the following in the console
Code:
compiz --replace ccp

It will set Compiz temporarily as WM. After a system reboot Openbox will be used again.

3.2 – Set Compiz as WM permanently
In the following you will read things like « yourcurrentsession ». These depend on what session you are logged in to. Stephen has done a nice work to give you the options of two gnome2-like panels or just one standard panel in the session manager of UberStudent Aristotle Lightweight Edition.
My « Current Session » is UberStudent-TwoPanel.

In order to replace Openbox with Compiz, open your file manager in superuser mode by
Code:
sudo pcmanfm

Navigate to /etc/xdg/lxsession/YourCurrentSession/ and open the desktop.conf with you prefered text editor.
Replace the line window_manager=openbox-yourcurrentsession with window-manager=compiz ccp. You can also just outcommand the existing line by adding a # (see picture below). It will make it easier to convert back to Openbox.
Attachment:
lssession desktop configuration.png

Save the file.

Now, go to Preferences → Desktop Session Settings → Advances Options and replace the window manager with "compiz ccp". This will edit the desktop.conf in /home/YourUsername/.config/lxsession/YourCurrentSession/



None of these need the "ccp" at the end of the --replace string anymore.

BE WARNED! There seems to be a bug (well, many. But the most annoying) in Compiz + this version of XFCE that no longer allows you to wake from sleep! The computer will wake, but the screen will not. it is documented [url]here[/url] and is affecting me too. Although I cannot find this on launchpad, it does exist. Use with caution!


Top
 Profile  
 
PostPosted: Sat Aug 24, 2013 12:34 pm 
Offline
New UberStudent User

Joined: Tue Aug 20, 2013 1:17 pm
Posts: 5
seeing as i cant find the edit button... I will retract that last comment. I have since purged Compiz, and the bug is still there, so it may not be directly related to Compiz. Apologies for my haste...

If I figure it out, I will let everyone know...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Click Here to Get Inexpensive UberStudent Discs


Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!



All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group