ubuntu compiz problem

6 01 2010

i had a few hours ago a problem with compiz window manager

i was using my laptop for reading .. about 4 hours ad then it required a charging source .. so i connected it to the power source. i tried to switch to another desktop using the alt+ctrl+right but it shown that the compiz is deactivated and the dumb old switching screen appeared

1- solution:

i right clicked the desktop > change desktop background > visual effects > extra.
but it didn’t work, it normally searched for a driver (it is existed before!) and then hanged and told me that desktop effects couldn’t enabled ?

2- solution:

searched google but all the topics on the ubuntu forums didn’t work !!!

3- solution

i entered the IRC channel for ubuntu and asked about the problem .. they told me to check the drivers (intel doen’t show in the properity drivers cuz it’s free ) and another one told me to reinstall the driver ( where the hell i find the intel graphics driver ? in synaptic ? i reinstalled rebooted .. no use)

4- i decided to go on my own .

open a terminal run compiz ? ooooh… i run normally ? what the hell is the problem
so i have to put it in the start up .. open system>preferences>startup application>add
then write compiz in the name field and in the command field and Add
reboot ………… whoooooooooooooooory it run congrates
somebody tell me what was the problem … i hell don’t know but this was the solution for me … if anyone can tell me what was the problem i’m waiting for your comments

Advertisements




Make Geany compile a gtkmm c++ file

9 12 2008
open Geany
Note : the latest version is Geany 0.15
you can download it from :
http://www.geany.org/Download/Releases
or from here:
http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=geany

from the Build menu select Set Includes and Arguments
from the
set the fields as u can see in the picture:
Compile : g++ -Wall -c “%f” `pkg-config gtkmm-2.4 –cflags –libs`
Build : g++ -Wall “%f” -o “%e” `pkg-config gtkmm-2.4 –cflags –libs`
Execute : “./%e”

Note: make sure to write `pkg-config gtkmm-2.4 –cflags –libs` with the back quotation `

you can now build your program with F9 and Run it with F5





Ubuntu Spiderman Usplash

26 08 2008
the spider man usplash for ubuntu 🙂
the download link :
http://blazeeboy.googlepages.com/spiderMan.so.tar.gz





Voltage sensors for ubuntu

17 08 2008
i always need to c the temperature of my CPU but i couldn’t find it, then i managed to find this (LM sensors)
it show me the voltage and the temp and fans speed
i’ll tell ya how to install it and use it :
Installation
1- open a terminal with ALT+CTRL+T
2- print this to install lmsensors:
sudo apt-get install lm-sensors
3- enter your password
then after finishing we need to
Configuration
1- print :
sudo sensors-detect
2- and then your password, the program will start like that :
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you’re doing.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no):

so we’ll press Y and enter:
the program will try to detect the sensors in your hardware your job is to press Y or any key , it’s simple
at last it will print u the summery and tell u that it will print a line at the end of the file /etc/modules
then of source you have to agree .
after this step the program will exit ,
3- you have to restart.
Running
1- then after opening open a terminal and print :
sensors
it will print every thing u ever dreamed about:
~$ sensors
it87-isa-0290
Adapter: ISA adapter
VCore 1: +1.47 V (min = +0.00 V, max = +4.08 V)
VCore 2: +3.26 V (min = +0.00 V, max = +4.08 V)
+3.3V: +3.04 V (min = +0.00 V, max = +4.08 V)
+5V: +5.00 V (min = +0.00 V, max = +6.85 V)
+12V: +8.26 V (min = +0.00 V, max = +16.32 V)
-12V: -16.68 V (min = -27.36 V, max = +3.93 V)
-5V: -4.70 V (min = -13.64 V, max = +4.03 V)
Stdby: +2.37 V (min = +0.00 V, max = +6.85 V)
VBat: +3.33 V
fan1: 3668 RPM (min = 0 RPM, div = 8)
fan2: 0 RPM (min = 0 RPM, div = 16)
fan3: 0 RPM (min = 0 RPM, div = 8)
M/B Temp: +30.0°C (low = +127.0°C, high = +70.0°C) sensor = thermal diode
CPU Temp: +63.0°C (low = +127.0°C, high = +70.0°C) sensor = transistor
Temp3: +38.0°C (low = +127.0°C, high = +70.0°C) sensor = transistor

Congratulations

=============================================
Addition in : Sunday, August 17 2008
after installation i noticed that the PC thermal is going up, i think that it cause this so i have to disable it ( it maybe because of my hardware specifications).
Uninstallation
1- open terminal with ALT+CTRL+T
2- print :
sudo nano /etc/modules
3- enter your password
4- search for the lines similar to
# Generated by sensors-detect on Sun Aug 17 02:58:07 2008
# Chip drivers
it87

and change it to :
# Generated by sensors-detect on Sun Aug 17 02:58:07 2008
# Chip drivers
#it87

5- press CTRL+X to exit
6- press Y to agree on the saving
7- press enter to write to /etc/modules
8- restart you box