个人工具

“UbuntuHelp:LuminocityHowTo”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(正在重定向到 UbuntuHelp:CompositeManager/CompizFusion
 
(未显示同一用户的3个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/LuminocityHowTo}}
+
#REDIRECT [[UbuntuHelp:CompositeManager/CompizFusion]]
{{Languages|UbuntuHelp:LuminocityHowTo}}
+
Luminocity is obsolete, use [[UbuntuHelp:CompizFusion|CompizFusion]]
 
If you are like me, you probably like to have some eye candy and the Luminocity demos enticed you. All those effect look great, but what good are they if we have to wait years for the effect to get into Gnome?  
 
If you are like me, you probably like to have some eye candy and the Luminocity demos enticed you. All those effect look great, but what good are they if we have to wait years for the effect to get into Gnome?  
 
I created this howto to help people like myself install Luminocity now in order to try out the new effects. It does alright on my Pentium 4 with an ATI card (newest fglrx drivers installed), but using a mouse wheel seems to make it crash (anyone got a work around?).
 
I created this howto to help people like myself install Luminocity now in order to try out the new effects. It does alright on my Pentium 4 with an ATI card (newest fglrx drivers installed), but using a mouse wheel seems to make it crash (anyone got a work around?).
第10行: 第10行:
 
<code><nowiki>apt-get install cvs libtool libxxf86vm-dev build-essential docbook-xsl automake1.7 libglib2.0-dev libgtk2.0-dev x11proto-gl-dev</nowiki></code>
 
<code><nowiki>apt-get install cvs libtool libxxf86vm-dev build-essential docbook-xsl automake1.7 libglib2.0-dev libgtk2.0-dev x11proto-gl-dev</nowiki></code>
 
Now lets make a directory:
 
Now lets make a directory:
<pre><nowiki>mkdir luminocity
+
<pre><nowiki>
 +
mkdir luminocity
 
cd luminocity/</nowiki></pre>
 
cd luminocity/</nowiki></pre>
 
Now we need to install jhbuild:
 
Now we need to install jhbuild:
<pre><nowiki>cvs -d :pserver:[email protected]:/cvs/gnome get jhbuild
+
<pre><nowiki>
 +
cvs -d :pserver:[email protected]:/cvs/gnome get jhbuild
 
cd jhbuild/
 
cd jhbuild/
 
make
 
make
 
make install</nowiki></pre>
 
make install</nowiki></pre>
 
I don't really get this part but its needed to work:
 
I don't really get this part but its needed to work:
<pre><nowiki>cvs -d :pserver:[email protected]:/cvs/gnome get luminocity/luminocity.modules
+
<pre><nowiki>
 +
cvs -d :pserver:[email protected]:/cvs/gnome get luminocity/luminocity.modules
 
cp luminocity/luminocity.modules modulesets/</nowiki></pre>
 
cp luminocity/luminocity.modules modulesets/</nowiki></pre>
 
Now get out of that directory
 
Now get out of that directory
<pre><nowiki>cd ..
+
<pre><nowiki>
 +
cd ..
 
</nowiki></pre>
 
</nowiki></pre>
 
and start gedit:
 
and start gedit:
<pre><nowiki>gedit
+
<pre><nowiki>
 +
gedit
 
</nowiki></pre>
 
</nowiki></pre>
 
Add the following quoted text to the new gedit file. Be sure to change where it says "username" to your username.
 
Add the following quoted text to the new gedit file. Be sure to change where it says "username" to your username.
<pre><nowiki>import os
+
<pre><nowiki>
 +
import os
  
 
moduleset = 'luminocity'
 
moduleset = 'luminocity'
第41行: 第47行:
 
Save the file as <code><nowiki>jhbuildrc-luminocity</nowiki></code>  
 
Save the file as <code><nowiki>jhbuildrc-luminocity</nowiki></code>  
 
Now to make more directories
 
Now to make more directories
<pre><nowiki>mkdir ~/luminocity/src/
+
<pre><nowiki>
 +
mkdir ~/luminocity/src/
 
mkdir ~/luminocity/opt/</nowiki></pre>
 
mkdir ~/luminocity/opt/</nowiki></pre>
 
And tell your computer to use the older version of automake (the 1.9 version won't work apparently).
 
And tell your computer to use the older version of automake (the 1.9 version won't work apparently).
<pre><nowiki>export AUTOMAKE=automake-1.7
+
<pre><nowiki>
 +
export AUTOMAKE=automake-1.7
 
export ACLOCAL=aclocal-1.7</nowiki></pre>
 
export ACLOCAL=aclocal-1.7</nowiki></pre>
 
Now its time to install Luminocity.
 
Now its time to install Luminocity.
<pre><nowiki>~/bin/jhbuild -f ~/luminocity/jhbuildrc-luminocity build xserver luminocity
+
<pre><nowiki>
 +
~/bin/jhbuild -f ~/luminocity/jhbuildrc-luminocity build xserver luminocity
 
</nowiki></pre>
 
</nowiki></pre>
 
Hit enter when it asks for a CVS password.
 
Hit enter when it asks for a CVS password.
 
You are now building Luminocity. It took 30 minutes on my Pentium 4.
 
You are now building Luminocity. It took 30 minutes on my Pentium 4.
 
If you have no error, Luminocity is installed. Time to use it. First enter this command (this must be done everytime):
 
If you have no error, Luminocity is installed. Time to use it. First enter this command (this must be done everytime):
<pre><nowiki>~/bin/jhbuild -f ~/luminocity/jhbuildrc-luminocity shell
+
<pre><nowiki>
 +
~/bin/jhbuild -f ~/luminocity/jhbuildrc-luminocity shell
 
</nowiki></pre>
 
</nowiki></pre>
 
Now its time for the xfake line. I will take this and its explination straight from the Gentoo guide:
 
Now its time for the xfake line. I will take this and its explination straight from the Gentoo guide:
 
"If you want to change the window size, start Xfake with:
 
"If you want to change the window size, start Xfake with:
<pre><nowiki>Xfake -screen <width>x<height*number_of_workspaces>x<bpp>
+
<pre><nowiki>
 +
Xfake -screen <width>x<height*number_of_workspaces>x<bpp>
 
</nowiki></pre>
 
</nowiki></pre>
 
It's also a good thing to add "-nolisten tcp" to Xfake arguments to improve safety.
 
It's also a good thing to add "-nolisten tcp" to Xfake arguments to improve safety.
 
For example, this would make luminocity to open in 1024x768 window when using 4 workspaces:
 
For example, this would make luminocity to open in 1024x768 window when using 4 workspaces:
<pre><nowiki>Xfake -ac -nolisten tcp -screen 1024x3072x32 :1 &
+
<pre><nowiki>
 +
Xfake -ac -nolisten tcp -screen 1024x3072x32 :1 &
 
</nowiki></pre>
 
</nowiki></pre>
 
Then you need to say what windows to stick in Luminocity using a command. This example is for Gxine:
 
Then you need to say what windows to stick in Luminocity using a command. This example is for Gxine:
<pre><nowiki>DISPLAY=:1 gxine &
+
<pre><nowiki>
 +
DISPLAY=:1 gxine &
 
</nowiki></pre>
 
</nowiki></pre>
 
Now its time to start Luminosity:
 
Now its time to start Luminosity:
<pre><nowiki>luminocity :1
+
<pre><nowiki>
 +
luminocity :1
 
</nowiki></pre>
 
</nowiki></pre>
 
Here is the explanation for that command from the Gentoo forum:
 
Here is the explanation for that command from the Gentoo forum:
 
"You can change the number of workspaces by starting luminocity with "-d <number_of_workspaces>" argument.
 
"You can change the number of workspaces by starting luminocity with "-d <number_of_workspaces>" argument.
 
It's also possible to add background image to luminocity by simply adding background path after luminocity start command:"
 
It's also possible to add background image to luminocity by simply adding background path after luminocity start command:"
<pre><nowiki>luminocity :1 -d 4 /path/to/background  
+
<pre><nowiki>
 +
luminocity :1 -d 4 /path/to/background  
 
</nowiki></pre>
 
</nowiki></pre>
 
Well...thats about it. I hope you enjoy it.I can't wait till this stuff is actually part of Gnome. I'm estimating two more releases before that happens...but that is probably optimistic. I'm glad we can try it out today! Viva la OSS!
 
Well...thats about it. I hope you enjoy it.I can't wait till this stuff is actually part of Gnome. I'm estimating two more releases before that happens...but that is probably optimistic. I'm glad we can try it out today! Viva la OSS!
 
In terms of usability, it's a tad unresponsive on my Radeon 9200SE and only marginally less so than it was on my Radeon Mobility 9000. For some reason  using my scrollwheel crashes the whole shebang. Other than that it's sweet and as a sign of things to come it's fantastic.
 
In terms of usability, it's a tad unresponsive on my Radeon 9200SE and only marginally less so than it was on my Radeon Mobility 9000. For some reason  using my scrollwheel crashes the whole shebang. Other than that it's sweet and as a sign of things to come it's fantastic.
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
+
{{From|https://help.ubuntu.com/community/LuminocityHowTo}}
 +
{{Languages|UbuntuHelp:LuminocityHowTo}}
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 23:44的最新版本

Luminocity is obsolete, use CompizFusion If you are like me, you probably like to have some eye candy and the Luminocity demos enticed you. All those effect look great, but what good are they if we have to wait years for the effect to get into Gnome? I created this howto to help people like myself install Luminocity now in order to try out the new effects. It does alright on my Pentium 4 with an ATI card (newest fglrx drivers installed), but using a mouse wheel seems to make it crash (anyone got a work around?). This is fun to play with (I really like the desktop switcher) but it's not a functional window manager like Metacity. It's only to be looked at. So don't show this off to all your Windows buddies (unless you say "this is the future of Linux") because they will be disappointed when they switch to use it only to find out it's basically a demo. This howto was created by adding this Gentoo one to this wikipage: http://64.233.167.104/search?q=cache:2ai6TpucWhoJ:forums.gentoo.org/viewtopic-t-313926.html+install+luminocity&hl=en&lr=&client=firefox&strip=1 For future note, every time you see bold, it is a new command line to enter. I will only use the bold for bash commands. First we need to install some things. apt-get install cvs libtool libxxf86vm-dev build-essential docbook-xsl automake1.7 libglib2.0-dev libgtk2.0-dev x11proto-gl-dev Now lets make a directory:

mkdir luminocity
cd luminocity/

Now we need to install jhbuild:

cvs -d :pserver:[email protected]:/cvs/gnome get jhbuild
cd jhbuild/
make
make install

I don't really get this part but its needed to work:

cvs -d :pserver:[email protected]:/cvs/gnome get luminocity/luminocity.modules
cp luminocity/luminocity.modules modulesets/

Now get out of that directory

cd ..

and start gedit:

gedit

Add the following quoted text to the new gedit file. Be sure to change where it says "username" to your username.

import os

moduleset = 'luminocity'
modules= [ 'luminocity' ]

cvsroot = ':pserver:[email protected]:/cvs/gnome'
checkoutroot = '/home/username/luminocity/src/luminocity/'
prefix = '/home/username/luminocity/opt/luminocity'
autogenargs='--enable-maintainer-mode --disable-static'

os.environ['INSTALL'] = os.path.join(os.environ['HOME'], 'bin', 'install-check')

Save the file as jhbuildrc-luminocity Now to make more directories

mkdir ~/luminocity/src/
mkdir ~/luminocity/opt/

And tell your computer to use the older version of automake (the 1.9 version won't work apparently).

export AUTOMAKE=automake-1.7
export ACLOCAL=aclocal-1.7

Now its time to install Luminocity.

~/bin/jhbuild -f ~/luminocity/jhbuildrc-luminocity build xserver luminocity

Hit enter when it asks for a CVS password. You are now building Luminocity. It took 30 minutes on my Pentium 4. If you have no error, Luminocity is installed. Time to use it. First enter this command (this must be done everytime):

~/bin/jhbuild -f ~/luminocity/jhbuildrc-luminocity shell

Now its time for the xfake line. I will take this and its explination straight from the Gentoo guide: "If you want to change the window size, start Xfake with:

Xfake -screen <width>x<height*number_of_workspaces>x<bpp>

It's also a good thing to add "-nolisten tcp" to Xfake arguments to improve safety. For example, this would make luminocity to open in 1024x768 window when using 4 workspaces:

Xfake -ac -nolisten tcp -screen 1024x3072x32 :1 &

Then you need to say what windows to stick in Luminocity using a command. This example is for Gxine:

DISPLAY=:1 gxine &

Now its time to start Luminosity:

luminocity :1

Here is the explanation for that command from the Gentoo forum: "You can change the number of workspaces by starting luminocity with "-d <number_of_workspaces>" argument. It's also possible to add background image to luminocity by simply adding background path after luminocity start command:"

luminocity :1 -d 4 /path/to/background 

Well...thats about it. I hope you enjoy it.I can't wait till this stuff is actually part of Gnome. I'm estimating two more releases before that happens...but that is probably optimistic. I'm glad we can try it out today! Viva la OSS! In terms of usability, it's a tad unresponsive on my Radeon 9200SE and only marginally less so than it was on my Radeon Mobility 9000. For some reason using my scrollwheel crashes the whole shebang. Other than that it's sweet and as a sign of things to come it's fantastic.