https://wiki.archlinux.org/api.php?action=feedcontributions&user=Dieghen89&feedformat=atomArchWiki - User contributions [en]2024-03-28T17:01:04ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Compiz&diff=97245Compiz2010-02-17T20:42:51Z<p>Dieghen89: /* GNOME */</p>
<hr />
<div>[[Category:Eye candy (English)]]<br />
[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n|Compiz}}<br />
<br />
Compiz is a [http://en.wikipedia.org/wiki/Compositing_window_manager compositing window manager]. It provides its own window manager, so it cannot be used simultaneously with other window managers such as [[Openbox]], [[Fluxbox]], [[Enlightenment]] - users who want to keep their current window managers and add some effects to it may wish to try [[Xcompmgr]] instead.<br />
<br />
Compiz is the core of the project Compiz-Fusion, which worked on adding many functions/plugins to the WM and now is being merged again. Both projects are active and undergoing constant development. For more information, refer to the article, [http://wiki.compiz-fusion.org/CompizFusionVsCompiz Compiz Fusion vs. Compiz].<br />
<br />
== Installation ==<br />
Basic installation can be done using community as repo (see below).<br />
<br />
The second way is using nesl's git packages. See [[Compiz_Fusion_Git]] for more information.<br />
<br />
=== Install from Community ===<br />
Make sure the Community repository is enabled and run this command as root to install everything:<br />
# pacman -S compiz-fusion<br />
Run this if you only want gtk-based packages installed:<br />
# pacman -S compiz-fusion-gtk<br />
or this if you only want kde-based packages installed:<br />
# pacman -S compiz-fusion-kde <br />
<br />
Users who wish to select the packages individually may consult the following list:<br />
<br />
=== List of packages by group ===<br />
;Entire compiz-fusion group:<br />
:ccsm, compiz-core, compiz-fusion-plugins-extra, compiz-fusion-plugins-main, compizconfig-backend-gconf, compizconfig-backend-kconfig, emerald, emerald-themes, fusion-icon<br />
<br />
;KDE compiz-fusion group:<br />
:ccsm, compiz-fusion-plugins-extra, compiz-fusion-plugins-main, compizconfig-backend-kconfig, emerald, emerald-themes, fusion-icon<br />
<br />
;GTK compiz-fusion group:<br />
:ccsm, compiz-fusion-plugins-extra, compiz-fusion-plugins-main, compizconfig-backend-gconf, emerald, emerald-themes, fusion-icon<br />
<br />
;groupless / legacy (?):<br />
:compiz-decorator-gtk, compiz-decorator-kde, compiz-manager<br />
<br />
<br />
*ccsm is a good first choice frontend to configure compiz. <br />
*Emerald is compiz's own window decorator.<br />
*fusion-icon offers a tray icon and a nice way to start compiz, start ccsm and change the WM / Window Decorator.<br />
*compiz-manager is said to bring better session managing capabilities (needs confirmation!).<br />
*compiz-decorator-gtk and compiz-decorator-kde are alternatives to emerald, if you prefer using your DE's configuration backends and looks (needs confirmation too).<br />
<br />
=== Check Settings ===<br />
; Compatibility<br />
: The [http://forlong.blogage.de/entries/pages/Compiz-Check compiz-check] script runs several compiz-related tests and can help discovering setup and hardware issues. It is available from the [http://aur.archlinux.org/packages.php?ID=17163 aur].<br />
; Backend:<br />
: Depending on the packages you installed, you can use different backends to manage your compiz settings. While gconf / kconf should be fine for Gnome / KDE, the basic Flat-file Configuration Backed should be your choice if want to try out compiz in different Environments without losing the settings in between or you simply use a different Desktop Environment. You can change the used Backend with ccsm ("Settings=>").<br />
; Activate important plugins!:<br />
: Before you do anything else, you might want to check if the plugins that provide basic window manager behaviour are activated or you will have no possibility to drag, scale or close windows as soon as compiz is activated. Among those plugins are "Window Decoration" under Effects and "Move Window" & "Resize Window" under Window Management. (ccsm may be used to achieve this.)<br />
<br />
== Starting Compiz Fusion ==<br />
<br />
=== Manual (with "fusion-icon") ===<br />
<br />
Launch the Compiz Fusion tray icon:<br />
$ fusion-icon<br />
<br />
'''Note:''' If it fails, you may try it with dbus-launch:<br />
$ dbus-launch "fusion-icon"<br />
<br />
Right click on the icon in the panel and go to 'select window manager'. Choose "Compiz" if it isn't selected already, and you should be set.<br />
<br />
If this fails you can start compiz-fusion by using the following commands<br />
$ fusion-icon<br />
$ emerald --replace<br />
$ compiz-manager<br />
<br />
If you want to use compiz window decorations make sure you have the "Window Decoration" plugin marked in the compiz settings.<br />
<br />
=== KDE ===<br />
<br />
==== Manual (without "fusion-icon") ====<br />
<br />
Launch Compiz with the following command once installation is done :<br />
$ compiz --replace ccp &<br />
<br />
Start new settings manager:<br />
$ ccsm &<br />
<br />
Select all the plugins you like including “decoration” plugin, Add<br />
$ kde-window-decorator --replace<br />
as command string under ‘decoration’ plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
==== Autostart (with "fusion-icon") ====<br />
Add a symbolic link to the fusion-icon executable in your KDE Autostart directory (generally located on ~/.kde/Autostart):<br />
$ ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Next time KDE is started, it will load fusion-icon automatically.<br />
<br />
==== Autostart (without "fusion-icon") ====<br />
<br />
===== Method 1 - Autostart Link =====<br />
<br />
* You can ensure that Compiz Fusion will always start at login by appending a desktop entry to the KDE autostart directory. Create the file ''~/.kde/Autostart/compiz.desktop'' with the following contents:<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
<br />
* If you want to use the optional <tt>fusion-icon</tt> application, launch ''fusion-icon''. If you log out normally with ''fusion-icon'' running, KDE should restore your session and launch ''fusion-icon'' the next time you log in if this setting is enabled. If it doesn't appear to be working, ensure you have the following line in ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
===== Method 2 - export KDEWM (avoid KWIN) =====<br />
<br />
Using this method will load Compiz-Fusion as the default window manager instead of KWin from the start. This method is faster than loading Compiz-Fusion in the ~/.kde4/Autostart/ (method 1) because it avoids loading KDE's default WM (KWin) first. This way also stops that annoying black screen flicker you might see using other methods (when kwin switches to Compiz on KDE's desktop loading screens).<br />
<br />
As root you must create a short script by doing the following in your terminal. This will allow you to load compiz with the switches because doing it directly via <code>export KDEWM="compiz --replace ccp --sm-disable"</code> doesn't seem to work.<br />
$ echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
<br />
If this doesn't work, install the "fusion-icon" package and then use this line instead:<br />
$ echo "fusion-icon &" > /usr/bin/compiz-fusion<br />
<br />
Ensure that "/usr/bin/compiz-fusion" has executable (+x) permissions.<br />
$ chmod a+x /usr/bin/compiz-fusion<br />
<br />
Edit your ~/.bashrc and add the following so KDE will load compiz (via the script you just created) instead of loading KWin.<br />
$ export KDEWM="compiz-fusion"<br />
<br />
'''Note:''' If you use /usr/local/bin directory it may not work. In that case you should export the script with the path, i.e. <code>export KDEWM="/usr/local/bin/compiz-fusion"</code>.<br />
<br />
'''Note:''' The elegant way for above mentioned method is to include:<br />
KDEWM="compiz-fusion"<br />
line in the ~/.kde4/env/compiz.sh or /usr/env/compiz.sh (system wide).<br />
<br />
===== Method 3 - Use KDE 4.2 System Settings =====<br />
<br />
Go to System Settings --> Default Applications --> Window Manager --> Use a different window manager<br />
<br />
If you need to run compiz with custom options select "Compiz custom" (when you run fusion-icon from a terminal you can see the command line with which compiz was started).<br />
Create a file called "compiz-kde-launcher" in your /usr/bin directory. Then make the file executable: "chmod +x /usr/bin/compiz-kde-launcher".<br />
Here is an example for compiz-kde-launcher:<br />
#!/bin/bash<br />
LIBGL_ALWAYS_INDIRECT=1<br />
compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering &<br />
wait<br />
Make sure you have the plugin "Window Decorations" enabled. Depending on what packages you have have downloaded you can choose between serveral window decorators. The recommended ones for KDE are emerald and kde4-window-decorator. The emerald decorator has the advantage that it fits better to compiz's screen handling. Use "CompizConfig Settings Manager" to change the default decorator: Window Decorator -> Command: emerald --replace or kde4-window-decorator --replace.<br />
<br />
If you have no window decorations try to add the following line to your "compiz-kde-launcher"-file:<br />
sleep 1<br />
kde4-window-decorator --replace&<br />
# or if you want to use emerald<br />
# emerald --replace&<br />
<br />
<br />
----<br />
<br />
=== GNOME ===<br />
<br />
==== Autostart (without "fusion-icon") ====<br />
<br />
'''1)''' Create /usr/share/applications/compiz.desktop containing the following:<br />
<br />
[Desktop Entry]<br />
Type=Application<br />
Encoding=UTF-8<br />
Name=Compiz<br />
Exec=/usr/bin/compiz ccp<br />
NoDisplay=true<br />
# name of loadable control center module<br />
X-GNOME-WMSettingsModule=compiz<br />
# autostart phase<br />
X-GNOME-Autostart-Phase=WindowManager<br />
X-GNOME-Provides=windowmanager<br />
# name we put on the WM spec check window<br />
X-GNOME-WMName=Compiz<br />
# back compat only<br />
X-GnomeWMSettingsLibrary=compiz<br />
<br />
{{Box Note| If that doesn't work try:}}<br />
<br />
Exec=/usr/bin/compiz ccp --indirect-rendering<br />
<br />
or<br />
<br />
Exec=/usr/bin/compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering<br />
<br />
Instead of:<br />
<br />
Exec=/usr/bin/compiz ccp<br />
<br />
'''2)''' Set some GConf parameters using the gconftool-2 command in a terminal window.<br />
<br />
<br />
{{Box Note| Since those parameters apply to a given user, you '''must''' logout from the root account and log in as that other user before proceeding with the next steps. GConf will fail, if called from a root account.}}<br />
<br />
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz<br />
<br />
The following are optional and in most cases not necessary (the respective keys are deprecated since GNOME 2.12). But iny any case, if the above didn't succeed the next two statements are still valid and should be tried.<br />
<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/current /usr/bin/compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/default /usr/bin/compiz<br />
<br />
==== Autostart (without "fusion-icon", Gnome prior to 2.24) ====<br />
<br />
This is a way that works if you use GDM (and I'd assume KDM too).<br />
<br />
Make a file called /usr/local/bin/compiz-start-boot with the contents:<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
and make executable (<code>chmod +x</code>). Next create the file /etc/X11/sessions/Compiz.desktop containing the following:<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Select Compiz on Gnome as your session and you're good to go.<br />
<br />
==== Autostart (with "fusion-icon") ====<br />
<br />
To start Compiz fusion automatically when starting a session go to System > Preferences > Startup Applications. In the Startup Programs tab, click the Add button.<br />
<br />
You will now see the Add Startup Program dialogue. Fill it in as follows.<br />
<br />
<br />
Name:<br />
Compiz Fusion<br />
Command:<br />
fusion-icon<br />
Comment: (Put anything you like or leave blank.)<br />
<br />
<br />
When you're done hit the Add button. You should now see your startup program in the list in the Startup Programs tab. It must be checked to be enabled. You can uncheck it to disable Compiz on startup and switch back to Metacity.<br />
<br />
You may also need to use the gconftool-2 command in a terminal window to set the following parameter, otherwise fusion-icon might not load the windows decorator.<br />
gconftool-2 --type bool --set /apps/metacity/general/compositing_manager false<br />
<br />
=== Xfce ===<br />
<br />
==== Xfce autostart (without "fusion-icon") ====<br />
<br />
Starting Compiz with the XFCE session manager. <br />
This will start Compiz directly without loading Xfwm.<br />
<br />
Please note the change to xml config files in XFCE newer than 4.2<br />
<br />
<br />
To install the session manager, run this command as root:<br />
# pacman -S xfce4-session<br />
<br />
<br />
Now we have to configure the default/failsafe session of XFCE.<br />
<br />
<br />
Edit the following file <br />
# nano ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml<br />
<br />
Or to make the change for all XFCE users (root access required)<br />
# nano /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml<br />
<br />
<br />
Replace the xfwm startup command,<br />
<br />
<property name="Client0_Command" type="array"><br />
<value type="string" value="xfwm4"/><br />
</property><br />
<br />
with the following:<br />
<br />
<property name="Client0_Command" type="array"><br />
<value type="string" value="compiz"/><br />
<value type="string" value="ccp"/><br />
</property><br />
<br />
<br />
To prevent the default session from being overwritten you may also add this:<br />
<br />
<property name="general" type="empty"><br />
...<br />
...<br />
<property name="SaveOnExit" type="bool" value="false"/><br />
</property><br />
<br />
<br />
To remove the existing sessions, run:<br />
rm -r ~/.cache/sessions<br />
<br />
<br />
==== Xfce autostart (with "fusion-icon") ====<br />
=====Method 1:=====<br />
<br />
This will load Xfwm first then replace it with Compiz.<br />
<br />
Open the XFCE Settings Manager & then Sessions & Startup. Click the Application Autostart tab.<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
<br />
(Command:) fusion-icon<br />
<br />
=====Method 2:=====<br />
<br />
Edit the following file (settings in this file is used in preference)<br />
nano ~/.config/xfce4-session/xfce4-session.rc<br />
<br />
Or to make the change for all XFCE users (root access required)<br />
# nano /etc/xdg/xfce4-session/xfce4-session.rc<br />
<br />
Add the following<br />
[Failsafe Session]<br />
Client0_Command=fusion-icon<br />
<br />
Comment out Client0_Command=xfwm4 if it exists.<br />
<br />
This will cause xfce to load Compiz instead of Xfwm when the user has no existing sessions.<br />
<br />
To prevent the default session from being overwritten you may also add<br />
[General]<br />
AutoSave=false<br />
SaveOnExit=false<br />
<br />
To remove the existing sessions<br />
rm -r ~/.cache/sessions<br />
<br />
=== As a standalone WM ===<br />
<br />
A simple method, utilizing a simple script entitled '''start-fusion.sh''':<br />
#!/bin/sh<br />
# add more apps here if necessary or start another panel, tray like pypanel, bmpanel, stalonetray<br />
xfce4-panel&<br />
fusion-icon<br />
Make it executable and add it to ~/.xinitrc, like this:<br />
exec start-fusion.sh<br />
Feel free to use a different panel, tray, or start a whole bunch on applications with your session.<br />
See [http://bbs.archlinux.org/viewtopic.php?id=51282 forum thread] for more info.<br />
<br />
==== Add a root menu ====<br />
<br />
To add a root menu similar to that in Openbox, Fluxbox, Blackbox etc. you must install the package compiz-deskmenu from the [[AUR]].<br />
Upon a restart of Compiz-Fusion, you should be able to middle click on your desktop to launch the menu.<br />
<br />
If it does not automatically work, enter the CompizConfig Settings Manager, and in Commands tab, within the General Settings menu, ensure that there is a command to launch Compiz-Deskmenu, and the appropriate key binding is set to Control+Space.<br />
<br />
If it still does not work, enter the Viewport Switcher menu, and change "Plugin for initiate action" to core (NOTE: for versions 0.8.2+ it's 'commands' instead of 'core'), and "Action name for initiate" to run_command0_key.<br />
<br />
An alternative is to use [http://aur.archlinux.org/packages.php?ID=29564 mygtkmenu], also in [[AUR]].<br />
<br />
== Misc ==<br />
<br />
=== Using compiz-manager ===<br />
<br />
In order to use compiz-manager, you need to install it from community:<br />
pacman -S compiz-manager<br />
<br />
Compiz-manager, that now is installed in /usr/bin/compiz-manager, is a simple wrapper for compiz and ALL its options. For example, you can run <br />
compiz-manager <br />
and see that console returns. You can use it in all the scripts that start compiz. Very simple!<br />
<br />
=== using gtk-window-decorator ===<br />
<br />
In order to use gtk-window-decorator, install the package ''compiz-decorator-gtk'' and select "GTK Window Decorator" instead of "Emerald" as your window decorator in fusion-icon or whatever other program you are using to configure compiz.<br />
<br />
=== gconf: Additional Compiz Configurations ===<br />
<br />
To achieve more satisfying results from Compiz, you can tweak its config with gconf-editor:<br />
<br />
gconf-editor &<br />
<br />
Note that now compiz-core isn't built with gconf support; It is now on compiz-decorator-gtk. So, you need to install it if you want to use gconf-editor to edit compiz configuration.<br />
Compiz config is in <b>apps</b> > <b>compiz</b> > <b>general</b> > <b>allscreens</b> > <b>options</b><br />
<br />
Active plugins is where you specify the plugins you would like to use, simply edit the key and add in value(refer to <b>apps</b> > <b>compiz</b> > <b>plugins</b>). Plugins I’ve found useful are screenshot, png, fade, minimize. Please do not remove those enabled by default.<br />
<br />
<br />
=== Keyboard Shortcuts ===<br />
Default plugin keyboard shortcuts (plugins have to be activated!)<br />
<br />
* Switch windows = Alt + Tab<br />
* Switch desktops on cube = Ctrl + Alt + Left/Right Arrow<br />
* Move window = Alt + left-click<br />
* Resize window = Alt + right-click<br />
<br />
A more detailed list can be found under [http://wiki.compiz-fusion.org/CommonKeyboardShortcuts CommonKeyboardShortcuts] in the Compiz wiki or you can always just look at your plugin's configuration (ccsm).<br />
<br />
<br />
=== ATI R600/R700 Notes ===<br />
While using fusion-icon you shouldn't experience any problems because it takes care of everything for you, but if you are using one of the autostart methods that don't involve fusion-icon you will run into trouble. For example when using the Xfce autostart method without fusion icon you must edit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml per the instructions above. However, if you follow the directions above explicity you will find that compiz does not load. You must instead make your xfce4-session.xml file look like this<br />
<br />
<property name="Client0_Command" type="array"><br />
<value type="string" value="LIBGL_ALWAYS_INDIRECT=1"/><br />
<value type="string" value="compiz"/><br />
<value type="string" value="--sm-disable"/><br />
<value type="string" value="--ignore-desktop-hints"/><br />
<value type="string" value="ccp"/><br />
<value type="string" value="--indirect-rendering"/><br />
</property><br />
<br />
This example targeted Xfce specifically, but it can be adapted to any desktop environment. It's just a matter of figuring out how to add it to the proper config file. The key thing is the required command which if typed on a command line would look like this<br />
<br />
LIBGL_ALWAYS_INDIRECT=1 compiz --sm-disable --ignore-desktop-hints ccp --indirect-rendering<br />
<br />
This is how Xfce's session manager interprets the above XML code. Notice that you don't need --replace because you are not first loading xfwm and then compiz.<br />
<br />
== Additional Resources ==<br />
<br />
*[[Compiz_Troubleshooting]] -- sub article<br />
*[[Compiz_Configuration]] -- sub article<br />
*[http://compiz.org Compiz Website] -- including wiki and forum<br />
<br />
*[[AIGLX]] -- article<br />
*[[Xgl]] -- article<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89https://wiki.archlinux.org/index.php?title=Compiz_(Italiano)&diff=97244Compiz (Italiano)2010-02-17T20:42:01Z<p>Dieghen89: /* Autostart (senza "fusion-icon") */</p>
<hr />
<div>[[Category:Eye candy (italiano)]]<br />
[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{i18n|Compiz}}<br />
<br />
= Installazione =<br />
L'installazione di base può essere eseguita usando il repo "community"(vedi avanti).<br />
<br />
Una seconda opzione è quella di usare i git packages di nesl. [[Compiz_Fusion_Git]] per più informazioni riguardanti questo meodo.<br />
<br />
== Installare dal repo community ==<br />
<br />
Controlla che il repository sia abilitato, ed esegui questi comandi per installare tutto:<br />
pacman -S compiz-fusion<br />
oppure questo se vuoi solo i package per gtk(quindi senza necessità delle librerie qt)<br />
pacman -S compiz-fusion-gtk<br />
al contrario se vuoi usare i pacchetti di kde-base:<br />
pacman -S compiz-fusion-kde <br />
Se vuoi selezionare manualmente i pacchetti, ecco una lista<br />
<br />
<br />
= Avviare Compiz Fusion =<br />
<br />
== Manuale (con "fusion-icon") ==<br />
<br />
Avvia la tray icon di compiz:<br />
<br />
fusion-icon<br />
<br />
note: se fallisce, prova con: dbus-launch<br />
<br />
dbus-launch "fusion-icon"<br />
<br />
Clicca di destro sull'icona nel pannello, e seleziona "select window manager", scegli "compiz", se non è ancora selezionato, dovrebbe partire.<br />
<br />
Se fallisce, puoi avviare compiz-fusion usando i seguenti comandi<br />
<br />
fusion-icon<br />
emerald --replace<br />
compiz-manager<br />
<br />
== KDE ==<br />
<br />
=== Manuale (senza "fusion-icon") ===<br />
<br />
Avvia compiz con i seguenti comandi, dopo che l'installazione è conclusa:<br />
<br />
compiz --replace ccp &<br />
Avvia il nuovo settings manager:<br />
<br />
ccsm &<br />
<br />
Seleziona tutti i plugins che desideri includere, ed aggiungi <br />
kde-window-decorator --replace<br />
come stringa di comando sotto "decoration" plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
=== Autostart (con "fusion-icon") ===<br />
<br />
Dovresti aggiungere un link simbolico alla fusion-icon eseguibile, nella tua cartella autostart di kde(generalmente si trova in ~/.kde/Autostart):<br />
<br />
ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Al prossimo avvio di KDE caricherà fusion-icon automaticamente.<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
==== Metodo 1 - Autostart Link ====<br />
<br />
* Puoi assicurarti che Compiz Fusion si avvierà sempre al login, aggiungendo a desktop entry nella cartella autostard di KDE. Crea il file ''~/.kde/Autostart/compiz.desktop'' con il seguente contenuto<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=/usr/bin/compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
* Se vuoi usare l'opzionale <tt>fusion-icon</tt> application, avvia ''fusion-icon''. Se esci normalmente con ''fusion-icon'' avviato, KDE dovrebbe rimettere la sessione, e lanciare ''fusion-icon'' la prossima volta che loggerai, se questa opzione è abilitata. Se non sembra andare, assicurati che tu abbia la seguente linea nel file: ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
==== Metodo 2 - esportare KDEWM (con KWIN) ====<br />
<br />
Usando questo metodo Compiz-Fusion sarà caricato di default in KWIN. Questo rende Compiz-fusion più velice da caricare perchè evita di caricare KWin. In questo modo, tra l'altro, si elmina quella fastidiosa schermata nera che capita di vedere usando algri metodi (quando si passa da KWin a Compiz).<br />
<br />
Da root si deve creare un piccolo script eseguendo i seguenti comandi da terminale.<br />
<br />
echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
chmod +x /usr/bin/compiz-fusion<br />
<br />
Ora basta aggiungere la seguente riga al tuo ~/.bashrc cosi' che KDE carichi compiz (attraverso lo script appena creato) invece di kwin.<br />
<br />
export KDEWM="compiz-fusion"<br />
<br />
== GNOME ==<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
'''1)''' Crea il file ''/usr/share/applications/compiz.desktop'' con la seguente dicitura:<br />
[Desktop Entry]<br />
Type=Application<br />
Encoding=UTF-8<br />
Name=Compiz<br />
Exec=/usr/bin/compiz ccp<br />
NoDisplay=true<br />
# name of loadable control center module<br />
X-GNOME-WMSettingsModule=compiz<br />
# autostart phase<br />
X-GNOME-Autostart-Phase=WindowManager<br />
X-GNOME-Provides=windowmanager<br />
# name we put on the WM spec check window<br />
X-GNOME-WMName=Compiz<br />
# back compat only<br />
X-GnomeWMSettingsLibrary=compiz<br />
<br />
'''Attenzione:''' Se non funziona prova:<br />
Exec=/usr/bin/compiz ccp --indirect-rendering<br />
<br />
o<br />
<br />
Exec=/usr/bin/compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering<br />
<br />
al posto di<br />
<br />
Exec=/usr/bin/compiz ccp<br />
<br />
'''2)''' Aggiungi le seguenti chiavi di registro:<br />
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/current /usr/bin/compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/default /usr/bin/compiz<br />
<br />
=== Autostart (senza "fusion-icon" Gnome precedenti alla 2.4) ===<br />
<br />
Questo procedimento funziona se si esegue l'accesso con GDM<br />
<br />
Crea un file chiamandolo /usr/local/bin/compiz-start-boot<br />
<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
renderlo eseguibile (chmod +x). Successivamente crea il file /etc/X11/sessions/Compiz.desktop contenente la seguente dicitura:<br />
<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Seleziona Compiz su Gnome sulla tua sessione e tutto andrà bene.<br />
<br />
=== Autostart (con "compiz-fusion") ===<br />
<br />
Per avviare Compiz Fusion automaticamente quando fai il login,<br />
<br />
aggiungi in [Sistema] -> [Preferenze] -> [Sessioni] -> [Programmi d'Avvio]<br />
<br />
<br />
Nome: "Compiz Fusion"<br />
e <br />
Comando: "fusion-icon"<br />
<br />
Aggiungere "Compiz Fusion" alla lista dei programmi all'avvio è una buona idea per cambiare velocemente tra Metacity e Compiz.<br />
<br />
== Xfce ==<br />
<br />
=== Xfce autostart (without "compiz-fusion") ===<br />
<br />
TO DO<br />
<br />
=== Xfce autostart (with "compiz-fusion") ===<br />
<br />
Start "Autostarted Applications"<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
and <br />
(Command:) fusion-icon<br />
<br />
= Troubleshooting =<br />
<br />
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set<br />
<br />
See [[Compiz_Troubleshooting]]<br />
<br />
= Additional Resources =<br />
*[[AIGLX]]<br />
*[[Xgl]]<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment<br />
*[[Compiz]] -- The original composite/window manager from Novell<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89https://wiki.archlinux.org/index.php?title=Compiz_(Italiano)&diff=97243Compiz (Italiano)2010-02-17T20:41:46Z<p>Dieghen89: /* Autostart (senza "fusion-icon") */</p>
<hr />
<div>[[Category:Eye candy (italiano)]]<br />
[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{i18n|Compiz}}<br />
<br />
= Installazione =<br />
L'installazione di base può essere eseguita usando il repo "community"(vedi avanti).<br />
<br />
Una seconda opzione è quella di usare i git packages di nesl. [[Compiz_Fusion_Git]] per più informazioni riguardanti questo meodo.<br />
<br />
== Installare dal repo community ==<br />
<br />
Controlla che il repository sia abilitato, ed esegui questi comandi per installare tutto:<br />
pacman -S compiz-fusion<br />
oppure questo se vuoi solo i package per gtk(quindi senza necessità delle librerie qt)<br />
pacman -S compiz-fusion-gtk<br />
al contrario se vuoi usare i pacchetti di kde-base:<br />
pacman -S compiz-fusion-kde <br />
Se vuoi selezionare manualmente i pacchetti, ecco una lista<br />
<br />
<br />
= Avviare Compiz Fusion =<br />
<br />
== Manuale (con "fusion-icon") ==<br />
<br />
Avvia la tray icon di compiz:<br />
<br />
fusion-icon<br />
<br />
note: se fallisce, prova con: dbus-launch<br />
<br />
dbus-launch "fusion-icon"<br />
<br />
Clicca di destro sull'icona nel pannello, e seleziona "select window manager", scegli "compiz", se non è ancora selezionato, dovrebbe partire.<br />
<br />
Se fallisce, puoi avviare compiz-fusion usando i seguenti comandi<br />
<br />
fusion-icon<br />
emerald --replace<br />
compiz-manager<br />
<br />
== KDE ==<br />
<br />
=== Manuale (senza "fusion-icon") ===<br />
<br />
Avvia compiz con i seguenti comandi, dopo che l'installazione è conclusa:<br />
<br />
compiz --replace ccp &<br />
Avvia il nuovo settings manager:<br />
<br />
ccsm &<br />
<br />
Seleziona tutti i plugins che desideri includere, ed aggiungi <br />
kde-window-decorator --replace<br />
come stringa di comando sotto "decoration" plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
=== Autostart (con "fusion-icon") ===<br />
<br />
Dovresti aggiungere un link simbolico alla fusion-icon eseguibile, nella tua cartella autostart di kde(generalmente si trova in ~/.kde/Autostart):<br />
<br />
ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Al prossimo avvio di KDE caricherà fusion-icon automaticamente.<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
==== Metodo 1 - Autostart Link ====<br />
<br />
* Puoi assicurarti che Compiz Fusion si avvierà sempre al login, aggiungendo a desktop entry nella cartella autostard di KDE. Crea il file ''~/.kde/Autostart/compiz.desktop'' con il seguente contenuto<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=/usr/bin/compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
* Se vuoi usare l'opzionale <tt>fusion-icon</tt> application, avvia ''fusion-icon''. Se esci normalmente con ''fusion-icon'' avviato, KDE dovrebbe rimettere la sessione, e lanciare ''fusion-icon'' la prossima volta che loggerai, se questa opzione è abilitata. Se non sembra andare, assicurati che tu abbia la seguente linea nel file: ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
==== Metodo 2 - esportare KDEWM (con KWIN) ====<br />
<br />
Usando questo metodo Compiz-Fusion sarà caricato di default in KWIN. Questo rende Compiz-fusion più velice da caricare perchè evita di caricare KWin. In questo modo, tra l'altro, si elmina quella fastidiosa schermata nera che capita di vedere usando algri metodi (quando si passa da KWin a Compiz).<br />
<br />
Da root si deve creare un piccolo script eseguendo i seguenti comandi da terminale.<br />
<br />
echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
chmod +x /usr/bin/compiz-fusion<br />
<br />
Ora basta aggiungere la seguente riga al tuo ~/.bashrc cosi' che KDE carichi compiz (attraverso lo script appena creato) invece di kwin.<br />
<br />
export KDEWM="compiz-fusion"<br />
<br />
== GNOME ==<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
'''1)''' Crea il file ''/usr/share/applications/compiz.desktop'' con la seguente dicitura:<br />
[Desktop Entry]<br />
Type=Application<br />
Encoding=UTF-8<br />
Name=Compiz<br />
Exec=/usr/bin/compiz ccp<br />
NoDisplay=true<br />
# name of loadable control center module<br />
X-GNOME-WMSettingsModule=compiz<br />
# autostart phase<br />
X-GNOME-Autostart-Phase=WindowManager<br />
X-GNOME-Provides=windowmanager<br />
# name we put on the WM spec check window<br />
X-GNOME-WMName=Compiz<br />
# back compat only<br />
X-GnomeWMSettingsLibrary=compiz<br />
<br />
'''Attenzione:''' Se non funziona prova:<br />
Exec=/usr/bin/compiz ccp --indirect-rendering<br />
<br />
o<br />
<br />
Exec=/usr/bin/compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering<br />
<br />
al posto di<br />
<br />
Exec=compiz ccp<br />
<br />
'''2)''' Aggiungi le seguenti chiavi di registro:<br />
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/current /usr/bin/compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/default /usr/bin/compiz<br />
<br />
=== Autostart (senza "fusion-icon" Gnome precedenti alla 2.4) ===<br />
<br />
Questo procedimento funziona se si esegue l'accesso con GDM<br />
<br />
Crea un file chiamandolo /usr/local/bin/compiz-start-boot<br />
<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
renderlo eseguibile (chmod +x). Successivamente crea il file /etc/X11/sessions/Compiz.desktop contenente la seguente dicitura:<br />
<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Seleziona Compiz su Gnome sulla tua sessione e tutto andrà bene.<br />
<br />
=== Autostart (con "compiz-fusion") ===<br />
<br />
Per avviare Compiz Fusion automaticamente quando fai il login,<br />
<br />
aggiungi in [Sistema] -> [Preferenze] -> [Sessioni] -> [Programmi d'Avvio]<br />
<br />
<br />
Nome: "Compiz Fusion"<br />
e <br />
Comando: "fusion-icon"<br />
<br />
Aggiungere "Compiz Fusion" alla lista dei programmi all'avvio è una buona idea per cambiare velocemente tra Metacity e Compiz.<br />
<br />
== Xfce ==<br />
<br />
=== Xfce autostart (without "compiz-fusion") ===<br />
<br />
TO DO<br />
<br />
=== Xfce autostart (with "compiz-fusion") ===<br />
<br />
Start "Autostarted Applications"<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
and <br />
(Command:) fusion-icon<br />
<br />
= Troubleshooting =<br />
<br />
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set<br />
<br />
See [[Compiz_Troubleshooting]]<br />
<br />
= Additional Resources =<br />
*[[AIGLX]]<br />
*[[Xgl]]<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment<br />
*[[Compiz]] -- The original composite/window manager from Novell<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89https://wiki.archlinux.org/index.php?title=Compiz_(Italiano)&diff=97242Compiz (Italiano)2010-02-17T20:41:11Z<p>Dieghen89: /* Autostart (senza "fusion-icon") */</p>
<hr />
<div>[[Category:Eye candy (italiano)]]<br />
[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{i18n|Compiz}}<br />
<br />
= Installazione =<br />
L'installazione di base può essere eseguita usando il repo "community"(vedi avanti).<br />
<br />
Una seconda opzione è quella di usare i git packages di nesl. [[Compiz_Fusion_Git]] per più informazioni riguardanti questo meodo.<br />
<br />
== Installare dal repo community ==<br />
<br />
Controlla che il repository sia abilitato, ed esegui questi comandi per installare tutto:<br />
pacman -S compiz-fusion<br />
oppure questo se vuoi solo i package per gtk(quindi senza necessità delle librerie qt)<br />
pacman -S compiz-fusion-gtk<br />
al contrario se vuoi usare i pacchetti di kde-base:<br />
pacman -S compiz-fusion-kde <br />
Se vuoi selezionare manualmente i pacchetti, ecco una lista<br />
<br />
<br />
= Avviare Compiz Fusion =<br />
<br />
== Manuale (con "fusion-icon") ==<br />
<br />
Avvia la tray icon di compiz:<br />
<br />
fusion-icon<br />
<br />
note: se fallisce, prova con: dbus-launch<br />
<br />
dbus-launch "fusion-icon"<br />
<br />
Clicca di destro sull'icona nel pannello, e seleziona "select window manager", scegli "compiz", se non è ancora selezionato, dovrebbe partire.<br />
<br />
Se fallisce, puoi avviare compiz-fusion usando i seguenti comandi<br />
<br />
fusion-icon<br />
emerald --replace<br />
compiz-manager<br />
<br />
== KDE ==<br />
<br />
=== Manuale (senza "fusion-icon") ===<br />
<br />
Avvia compiz con i seguenti comandi, dopo che l'installazione è conclusa:<br />
<br />
compiz --replace ccp &<br />
Avvia il nuovo settings manager:<br />
<br />
ccsm &<br />
<br />
Seleziona tutti i plugins che desideri includere, ed aggiungi <br />
kde-window-decorator --replace<br />
come stringa di comando sotto "decoration" plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
=== Autostart (con "fusion-icon") ===<br />
<br />
Dovresti aggiungere un link simbolico alla fusion-icon eseguibile, nella tua cartella autostart di kde(generalmente si trova in ~/.kde/Autostart):<br />
<br />
ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Al prossimo avvio di KDE caricherà fusion-icon automaticamente.<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
==== Metodo 1 - Autostart Link ====<br />
<br />
* Puoi assicurarti che Compiz Fusion si avvierà sempre al login, aggiungendo a desktop entry nella cartella autostard di KDE. Crea il file ''~/.kde/Autostart/compiz.desktop'' con il seguente contenuto<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=/usr/bin/compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
* Se vuoi usare l'opzionale <tt>fusion-icon</tt> application, avvia ''fusion-icon''. Se esci normalmente con ''fusion-icon'' avviato, KDE dovrebbe rimettere la sessione, e lanciare ''fusion-icon'' la prossima volta che loggerai, se questa opzione è abilitata. Se non sembra andare, assicurati che tu abbia la seguente linea nel file: ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
==== Metodo 2 - esportare KDEWM (con KWIN) ====<br />
<br />
Usando questo metodo Compiz-Fusion sarà caricato di default in KWIN. Questo rende Compiz-fusion più velice da caricare perchè evita di caricare KWin. In questo modo, tra l'altro, si elmina quella fastidiosa schermata nera che capita di vedere usando algri metodi (quando si passa da KWin a Compiz).<br />
<br />
Da root si deve creare un piccolo script eseguendo i seguenti comandi da terminale.<br />
<br />
echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
chmod +x /usr/bin/compiz-fusion<br />
<br />
Ora basta aggiungere la seguente riga al tuo ~/.bashrc cosi' che KDE carichi compiz (attraverso lo script appena creato) invece di kwin.<br />
<br />
export KDEWM="compiz-fusion"<br />
<br />
== GNOME ==<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
'''1)''' Crea il file ''/usr/share/applications/compiz.desktop'' con la seguente dicitura:<br />
[Desktop Entry]<br />
Type=Application<br />
Encoding=UTF-8<br />
Name=Compiz<br />
Exec=/usr/bin/compiz ccp<br />
NoDisplay=true<br />
# name of loadable control center module<br />
X-GNOME-WMSettingsModule=compiz<br />
# autostart phase<br />
X-GNOME-Autostart-Phase=WindowManager<br />
X-GNOME-Provides=windowmanager<br />
# name we put on the WM spec check window<br />
X-GNOME-WMName=Compiz<br />
# back compat only<br />
X-GnomeWMSettingsLibrary=compiz<br />
<br />
'''Attenzione:''' Se non funziona prova:<br />
Exec=compiz ccp --indirect-rendering<br />
<br />
o<br />
<br />
Exec=compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering<br />
<br />
al posto di<br />
<br />
Exec=compiz ccp<br />
<br />
'''2)''' Aggiungi le seguenti chiavi di registro:<br />
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/current /usr/bin/compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/default /usr/bin/compiz<br />
<br />
=== Autostart (senza "fusion-icon" Gnome precedenti alla 2.4) ===<br />
<br />
Questo procedimento funziona se si esegue l'accesso con GDM<br />
<br />
Crea un file chiamandolo /usr/local/bin/compiz-start-boot<br />
<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
renderlo eseguibile (chmod +x). Successivamente crea il file /etc/X11/sessions/Compiz.desktop contenente la seguente dicitura:<br />
<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Seleziona Compiz su Gnome sulla tua sessione e tutto andrà bene.<br />
<br />
=== Autostart (con "compiz-fusion") ===<br />
<br />
Per avviare Compiz Fusion automaticamente quando fai il login,<br />
<br />
aggiungi in [Sistema] -> [Preferenze] -> [Sessioni] -> [Programmi d'Avvio]<br />
<br />
<br />
Nome: "Compiz Fusion"<br />
e <br />
Comando: "fusion-icon"<br />
<br />
Aggiungere "Compiz Fusion" alla lista dei programmi all'avvio è una buona idea per cambiare velocemente tra Metacity e Compiz.<br />
<br />
== Xfce ==<br />
<br />
=== Xfce autostart (without "compiz-fusion") ===<br />
<br />
TO DO<br />
<br />
=== Xfce autostart (with "compiz-fusion") ===<br />
<br />
Start "Autostarted Applications"<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
and <br />
(Command:) fusion-icon<br />
<br />
= Troubleshooting =<br />
<br />
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set<br />
<br />
See [[Compiz_Troubleshooting]]<br />
<br />
= Additional Resources =<br />
*[[AIGLX]]<br />
*[[Xgl]]<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment<br />
*[[Compiz]] -- The original composite/window manager from Novell<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89https://wiki.archlinux.org/index.php?title=Compiz_(Italiano)&diff=97241Compiz (Italiano)2010-02-17T20:40:46Z<p>Dieghen89: /* Autostart (senza "fusion-icon") */</p>
<hr />
<div>[[Category:Eye candy (italiano)]]<br />
[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{i18n|Compiz}}<br />
<br />
= Installazione =<br />
L'installazione di base può essere eseguita usando il repo "community"(vedi avanti).<br />
<br />
Una seconda opzione è quella di usare i git packages di nesl. [[Compiz_Fusion_Git]] per più informazioni riguardanti questo meodo.<br />
<br />
== Installare dal repo community ==<br />
<br />
Controlla che il repository sia abilitato, ed esegui questi comandi per installare tutto:<br />
pacman -S compiz-fusion<br />
oppure questo se vuoi solo i package per gtk(quindi senza necessità delle librerie qt)<br />
pacman -S compiz-fusion-gtk<br />
al contrario se vuoi usare i pacchetti di kde-base:<br />
pacman -S compiz-fusion-kde <br />
Se vuoi selezionare manualmente i pacchetti, ecco una lista<br />
<br />
<br />
= Avviare Compiz Fusion =<br />
<br />
== Manuale (con "fusion-icon") ==<br />
<br />
Avvia la tray icon di compiz:<br />
<br />
fusion-icon<br />
<br />
note: se fallisce, prova con: dbus-launch<br />
<br />
dbus-launch "fusion-icon"<br />
<br />
Clicca di destro sull'icona nel pannello, e seleziona "select window manager", scegli "compiz", se non è ancora selezionato, dovrebbe partire.<br />
<br />
Se fallisce, puoi avviare compiz-fusion usando i seguenti comandi<br />
<br />
fusion-icon<br />
emerald --replace<br />
compiz-manager<br />
<br />
== KDE ==<br />
<br />
=== Manuale (senza "fusion-icon") ===<br />
<br />
Avvia compiz con i seguenti comandi, dopo che l'installazione è conclusa:<br />
<br />
compiz --replace ccp &<br />
Avvia il nuovo settings manager:<br />
<br />
ccsm &<br />
<br />
Seleziona tutti i plugins che desideri includere, ed aggiungi <br />
kde-window-decorator --replace<br />
come stringa di comando sotto "decoration" plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
=== Autostart (con "fusion-icon") ===<br />
<br />
Dovresti aggiungere un link simbolico alla fusion-icon eseguibile, nella tua cartella autostart di kde(generalmente si trova in ~/.kde/Autostart):<br />
<br />
ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Al prossimo avvio di KDE caricherà fusion-icon automaticamente.<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
==== Metodo 1 - Autostart Link ====<br />
<br />
* Puoi assicurarti che Compiz Fusion si avvierà sempre al login, aggiungendo a desktop entry nella cartella autostard di KDE. Crea il file ''~/.kde/Autostart/compiz.desktop'' con il seguente contenuto<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=/usr/bin/compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
* Se vuoi usare l'opzionale <tt>fusion-icon</tt> application, avvia ''fusion-icon''. Se esci normalmente con ''fusion-icon'' avviato, KDE dovrebbe rimettere la sessione, e lanciare ''fusion-icon'' la prossima volta che loggerai, se questa opzione è abilitata. Se non sembra andare, assicurati che tu abbia la seguente linea nel file: ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
==== Metodo 2 - esportare KDEWM (con KWIN) ====<br />
<br />
Usando questo metodo Compiz-Fusion sarà caricato di default in KWIN. Questo rende Compiz-fusion più velice da caricare perchè evita di caricare KWin. In questo modo, tra l'altro, si elmina quella fastidiosa schermata nera che capita di vedere usando algri metodi (quando si passa da KWin a Compiz).<br />
<br />
Da root si deve creare un piccolo script eseguendo i seguenti comandi da terminale.<br />
<br />
echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
chmod +x /usr/bin/compiz-fusion<br />
<br />
Ora basta aggiungere la seguente riga al tuo ~/.bashrc cosi' che KDE carichi compiz (attraverso lo script appena creato) invece di kwin.<br />
<br />
export KDEWM="compiz-fusion"<br />
<br />
== GNOME ==<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
'''1)''' Crea il file ''/usr/share/applications/compiz.desktop'' con la seguente dicitura:<br />
[Desktop Entry]<br />
Type=Application<br />
Encoding=UTF-8<br />
Name=Compiz<br />
Exec=/usr/bin/compiz ccp<br />
NoDisplay=true<br />
# name of loadable control center module<br />
X-GNOME-WMSettingsModule=compiz<br />
# autostart phase<br />
X-GNOME-Autostart-Phase=WindowManager<br />
X-GNOME-Provides=windowmanager<br />
# name we put on the WM spec check window<br />
X-GNOME-WMName=Compiz<br />
# back compat only<br />
X-GnomeWMSettingsLibrary=compiz<br />
<br />
'''Attenzione''' Se non funziona prova:<br />
Exec=compiz ccp --indirect-rendering<br />
<br />
o<br />
<br />
Exec=compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering<br />
<br />
al posto di<br />
<br />
Exec=compiz ccp<br />
<br />
'''2)''' Aggiungi le seguenti chiavi di registro:<br />
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/current /usr/bin/compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/default /usr/bin/compiz<br />
<br />
=== Autostart (senza "fusion-icon" Gnome precedenti alla 2.4) ===<br />
<br />
Questo procedimento funziona se si esegue l'accesso con GDM<br />
<br />
Crea un file chiamandolo /usr/local/bin/compiz-start-boot<br />
<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
renderlo eseguibile (chmod +x). Successivamente crea il file /etc/X11/sessions/Compiz.desktop contenente la seguente dicitura:<br />
<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Seleziona Compiz su Gnome sulla tua sessione e tutto andrà bene.<br />
<br />
=== Autostart (con "compiz-fusion") ===<br />
<br />
Per avviare Compiz Fusion automaticamente quando fai il login,<br />
<br />
aggiungi in [Sistema] -> [Preferenze] -> [Sessioni] -> [Programmi d'Avvio]<br />
<br />
<br />
Nome: "Compiz Fusion"<br />
e <br />
Comando: "fusion-icon"<br />
<br />
Aggiungere "Compiz Fusion" alla lista dei programmi all'avvio è una buona idea per cambiare velocemente tra Metacity e Compiz.<br />
<br />
== Xfce ==<br />
<br />
=== Xfce autostart (without "compiz-fusion") ===<br />
<br />
TO DO<br />
<br />
=== Xfce autostart (with "compiz-fusion") ===<br />
<br />
Start "Autostarted Applications"<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
and <br />
(Command:) fusion-icon<br />
<br />
= Troubleshooting =<br />
<br />
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set<br />
<br />
See [[Compiz_Troubleshooting]]<br />
<br />
= Additional Resources =<br />
*[[AIGLX]]<br />
*[[Xgl]]<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment<br />
*[[Compiz]] -- The original composite/window manager from Novell<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89https://wiki.archlinux.org/index.php?title=Compiz_(Italiano)&diff=97239Compiz (Italiano)2010-02-17T20:39:45Z<p>Dieghen89: /* Autostart (senza "fusion-icon") */</p>
<hr />
<div>[[Category:Eye candy (italiano)]]<br />
[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{i18n|Compiz}}<br />
<br />
= Installazione =<br />
L'installazione di base può essere eseguita usando il repo "community"(vedi avanti).<br />
<br />
Una seconda opzione è quella di usare i git packages di nesl. [[Compiz_Fusion_Git]] per più informazioni riguardanti questo meodo.<br />
<br />
== Installare dal repo community ==<br />
<br />
Controlla che il repository sia abilitato, ed esegui questi comandi per installare tutto:<br />
pacman -S compiz-fusion<br />
oppure questo se vuoi solo i package per gtk(quindi senza necessità delle librerie qt)<br />
pacman -S compiz-fusion-gtk<br />
al contrario se vuoi usare i pacchetti di kde-base:<br />
pacman -S compiz-fusion-kde <br />
Se vuoi selezionare manualmente i pacchetti, ecco una lista<br />
<br />
<br />
= Avviare Compiz Fusion =<br />
<br />
== Manuale (con "fusion-icon") ==<br />
<br />
Avvia la tray icon di compiz:<br />
<br />
fusion-icon<br />
<br />
note: se fallisce, prova con: dbus-launch<br />
<br />
dbus-launch "fusion-icon"<br />
<br />
Clicca di destro sull'icona nel pannello, e seleziona "select window manager", scegli "compiz", se non è ancora selezionato, dovrebbe partire.<br />
<br />
Se fallisce, puoi avviare compiz-fusion usando i seguenti comandi<br />
<br />
fusion-icon<br />
emerald --replace<br />
compiz-manager<br />
<br />
== KDE ==<br />
<br />
=== Manuale (senza "fusion-icon") ===<br />
<br />
Avvia compiz con i seguenti comandi, dopo che l'installazione è conclusa:<br />
<br />
compiz --replace ccp &<br />
Avvia il nuovo settings manager:<br />
<br />
ccsm &<br />
<br />
Seleziona tutti i plugins che desideri includere, ed aggiungi <br />
kde-window-decorator --replace<br />
come stringa di comando sotto "decoration" plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
=== Autostart (con "fusion-icon") ===<br />
<br />
Dovresti aggiungere un link simbolico alla fusion-icon eseguibile, nella tua cartella autostart di kde(generalmente si trova in ~/.kde/Autostart):<br />
<br />
ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Al prossimo avvio di KDE caricherà fusion-icon automaticamente.<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
==== Metodo 1 - Autostart Link ====<br />
<br />
* Puoi assicurarti che Compiz Fusion si avvierà sempre al login, aggiungendo a desktop entry nella cartella autostard di KDE. Crea il file ''~/.kde/Autostart/compiz.desktop'' con il seguente contenuto<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=/usr/bin/compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
* Se vuoi usare l'opzionale <tt>fusion-icon</tt> application, avvia ''fusion-icon''. Se esci normalmente con ''fusion-icon'' avviato, KDE dovrebbe rimettere la sessione, e lanciare ''fusion-icon'' la prossima volta che loggerai, se questa opzione è abilitata. Se non sembra andare, assicurati che tu abbia la seguente linea nel file: ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
==== Metodo 2 - esportare KDEWM (con KWIN) ====<br />
<br />
Usando questo metodo Compiz-Fusion sarà caricato di default in KWIN. Questo rende Compiz-fusion più velice da caricare perchè evita di caricare KWin. In questo modo, tra l'altro, si elmina quella fastidiosa schermata nera che capita di vedere usando algri metodi (quando si passa da KWin a Compiz).<br />
<br />
Da root si deve creare un piccolo script eseguendo i seguenti comandi da terminale.<br />
<br />
echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
chmod +x /usr/bin/compiz-fusion<br />
<br />
Ora basta aggiungere la seguente riga al tuo ~/.bashrc cosi' che KDE carichi compiz (attraverso lo script appena creato) invece di kwin.<br />
<br />
export KDEWM="compiz-fusion"<br />
<br />
== GNOME ==<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
'''1)''' Crea il file ''/usr/share/applications/compiz.desktop'' con la seguente dicitura:<br />
[Desktop Entry]<br />
Type=Application<br />
Encoding=UTF-8<br />
Name=Compiz<br />
Exec=/usr/bin/compiz ccp<br />
NoDisplay=true<br />
# name of loadable control center module<br />
X-GNOME-WMSettingsModule=compiz<br />
# autostart phase<br />
X-GNOME-Autostart-Phase=WindowManager<br />
X-GNOME-Provides=windowmanager<br />
# name we put on the WM spec check window<br />
X-GNOME-WMName=Compiz<br />
# back compat only<br />
X-GnomeWMSettingsLibrary=compiz<br />
<br />
{{Box Attenzione| Se non funziona prova:}}<br />
Exec=compiz ccp --indirect-rendering<br />
<br />
o<br />
<br />
Exec=compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering<br />
<br />
al posto di<br />
<br />
Exec=compiz ccp<br />
<br />
'''2)''' Aggiungi le seguenti chiavi di registro:<br />
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/current /usr/bin/compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/default /usr/bin/compiz<br />
<br />
=== Autostart (senza "fusion-icon" Gnome precedenti alla 2.4) ===<br />
<br />
Questo procedimento funziona se si esegue l'accesso con GDM<br />
<br />
Crea un file chiamandolo /usr/local/bin/compiz-start-boot<br />
<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
renderlo eseguibile (chmod +x). Successivamente crea il file /etc/X11/sessions/Compiz.desktop contenente la seguente dicitura:<br />
<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Seleziona Compiz su Gnome sulla tua sessione e tutto andrà bene.<br />
<br />
=== Autostart (con "compiz-fusion") ===<br />
<br />
Per avviare Compiz Fusion automaticamente quando fai il login,<br />
<br />
aggiungi in [Sistema] -> [Preferenze] -> [Sessioni] -> [Programmi d'Avvio]<br />
<br />
<br />
Nome: "Compiz Fusion"<br />
e <br />
Comando: "fusion-icon"<br />
<br />
Aggiungere "Compiz Fusion" alla lista dei programmi all'avvio è una buona idea per cambiare velocemente tra Metacity e Compiz.<br />
<br />
== Xfce ==<br />
<br />
=== Xfce autostart (without "compiz-fusion") ===<br />
<br />
TO DO<br />
<br />
=== Xfce autostart (with "compiz-fusion") ===<br />
<br />
Start "Autostarted Applications"<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
and <br />
(Command:) fusion-icon<br />
<br />
= Troubleshooting =<br />
<br />
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set<br />
<br />
See [[Compiz_Troubleshooting]]<br />
<br />
= Additional Resources =<br />
*[[AIGLX]]<br />
*[[Xgl]]<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment<br />
*[[Compiz]] -- The original composite/window manager from Novell<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89https://wiki.archlinux.org/index.php?title=Compiz_(Italiano)&diff=97238Compiz (Italiano)2010-02-17T20:36:53Z<p>Dieghen89: /* GNOME */</p>
<hr />
<div>[[Category:Eye candy (italiano)]]<br />
[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{i18n|Compiz}}<br />
<br />
= Installazione =<br />
L'installazione di base può essere eseguita usando il repo "community"(vedi avanti).<br />
<br />
Una seconda opzione è quella di usare i git packages di nesl. [[Compiz_Fusion_Git]] per più informazioni riguardanti questo meodo.<br />
<br />
== Installare dal repo community ==<br />
<br />
Controlla che il repository sia abilitato, ed esegui questi comandi per installare tutto:<br />
pacman -S compiz-fusion<br />
oppure questo se vuoi solo i package per gtk(quindi senza necessità delle librerie qt)<br />
pacman -S compiz-fusion-gtk<br />
al contrario se vuoi usare i pacchetti di kde-base:<br />
pacman -S compiz-fusion-kde <br />
Se vuoi selezionare manualmente i pacchetti, ecco una lista<br />
<br />
<br />
= Avviare Compiz Fusion =<br />
<br />
== Manuale (con "fusion-icon") ==<br />
<br />
Avvia la tray icon di compiz:<br />
<br />
fusion-icon<br />
<br />
note: se fallisce, prova con: dbus-launch<br />
<br />
dbus-launch "fusion-icon"<br />
<br />
Clicca di destro sull'icona nel pannello, e seleziona "select window manager", scegli "compiz", se non è ancora selezionato, dovrebbe partire.<br />
<br />
Se fallisce, puoi avviare compiz-fusion usando i seguenti comandi<br />
<br />
fusion-icon<br />
emerald --replace<br />
compiz-manager<br />
<br />
== KDE ==<br />
<br />
=== Manuale (senza "fusion-icon") ===<br />
<br />
Avvia compiz con i seguenti comandi, dopo che l'installazione è conclusa:<br />
<br />
compiz --replace ccp &<br />
Avvia il nuovo settings manager:<br />
<br />
ccsm &<br />
<br />
Seleziona tutti i plugins che desideri includere, ed aggiungi <br />
kde-window-decorator --replace<br />
come stringa di comando sotto "decoration" plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
=== Autostart (con "fusion-icon") ===<br />
<br />
Dovresti aggiungere un link simbolico alla fusion-icon eseguibile, nella tua cartella autostart di kde(generalmente si trova in ~/.kde/Autostart):<br />
<br />
ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Al prossimo avvio di KDE caricherà fusion-icon automaticamente.<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
==== Metodo 1 - Autostart Link ====<br />
<br />
* Puoi assicurarti che Compiz Fusion si avvierà sempre al login, aggiungendo a desktop entry nella cartella autostard di KDE. Crea il file ''~/.kde/Autostart/compiz.desktop'' con il seguente contenuto<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=/usr/bin/compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
* Se vuoi usare l'opzionale <tt>fusion-icon</tt> application, avvia ''fusion-icon''. Se esci normalmente con ''fusion-icon'' avviato, KDE dovrebbe rimettere la sessione, e lanciare ''fusion-icon'' la prossima volta che loggerai, se questa opzione è abilitata. Se non sembra andare, assicurati che tu abbia la seguente linea nel file: ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
==== Metodo 2 - esportare KDEWM (con KWIN) ====<br />
<br />
Usando questo metodo Compiz-Fusion sarà caricato di default in KWIN. Questo rende Compiz-fusion più velice da caricare perchè evita di caricare KWin. In questo modo, tra l'altro, si elmina quella fastidiosa schermata nera che capita di vedere usando algri metodi (quando si passa da KWin a Compiz).<br />
<br />
Da root si deve creare un piccolo script eseguendo i seguenti comandi da terminale.<br />
<br />
echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
chmod +x /usr/bin/compiz-fusion<br />
<br />
Ora basta aggiungere la seguente riga al tuo ~/.bashrc cosi' che KDE carichi compiz (attraverso lo script appena creato) invece di kwin.<br />
<br />
export KDEWM="compiz-fusion"<br />
<br />
== GNOME ==<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
'''1)''' Crea il file ''/usr/share/applications/compiz.desktop'' con la seguente dicitura:<br />
[Desktop Entry]<br />
Type=Application<br />
Encoding=UTF-8<br />
Name=Compiz<br />
Exec=/usr/bin/compiz ccp<br />
NoDisplay=true<br />
# name of loadable control center module<br />
X-GNOME-WMSettingsModule=compiz<br />
# autostart phase<br />
X-GNOME-Autostart-Phase=WindowManager<br />
X-GNOME-Provides=windowmanager<br />
# name we put on the WM spec check window<br />
X-GNOME-WMName=Compiz<br />
# back compat only<br />
X-GnomeWMSettingsLibrary=compiz<br />
<br />
'''2)''' Aggiungi le seguenti chiavi di registro:<br />
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/current /usr/bin/compiz<br />
gconftool-2 --set -t string /desktop/gnome/applications/window_manager/default /usr/bin/compiz<br />
<br />
=== Autostart (senza "fusion-icon" Gnome precedenti alla 2.4) ===<br />
<br />
Questo procedimento funziona se si esegue l'accesso con GDM<br />
<br />
Crea un file chiamandolo /usr/local/bin/compiz-start-boot<br />
<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
renderlo eseguibile (chmod +x). Successivamente crea il file /etc/X11/sessions/Compiz.desktop contenente la seguente dicitura:<br />
<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Seleziona Compiz su Gnome sulla tua sessione e tutto andrà bene.<br />
<br />
=== Autostart (con "compiz-fusion") ===<br />
<br />
Per avviare Compiz Fusion automaticamente quando fai il login,<br />
<br />
aggiungi in [Sistema] -> [Preferenze] -> [Sessioni] -> [Programmi d'Avvio]<br />
<br />
<br />
Nome: "Compiz Fusion"<br />
e <br />
Comando: "fusion-icon"<br />
<br />
Aggiungere "Compiz Fusion" alla lista dei programmi all'avvio è una buona idea per cambiare velocemente tra Metacity e Compiz.<br />
<br />
== Xfce ==<br />
<br />
=== Xfce autostart (without "compiz-fusion") ===<br />
<br />
TO DO<br />
<br />
=== Xfce autostart (with "compiz-fusion") ===<br />
<br />
Start "Autostarted Applications"<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
and <br />
(Command:) fusion-icon<br />
<br />
= Troubleshooting =<br />
<br />
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set<br />
<br />
See [[Compiz_Troubleshooting]]<br />
<br />
= Additional Resources =<br />
*[[AIGLX]]<br />
*[[Xgl]]<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment<br />
*[[Compiz]] -- The original composite/window manager from Novell<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89https://wiki.archlinux.org/index.php?title=Compiz_(Italiano)&diff=97237Compiz (Italiano)2010-02-17T20:29:19Z<p>Dieghen89: /* Metodo 1 - Autostart Link */</p>
<hr />
<div>[[Category:Eye candy (italiano)]]<br />
[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{i18n|Compiz}}<br />
<br />
= Installazione =<br />
L'installazione di base può essere eseguita usando il repo "community"(vedi avanti).<br />
<br />
Una seconda opzione è quella di usare i git packages di nesl. [[Compiz_Fusion_Git]] per più informazioni riguardanti questo meodo.<br />
<br />
== Installare dal repo community ==<br />
<br />
Controlla che il repository sia abilitato, ed esegui questi comandi per installare tutto:<br />
pacman -S compiz-fusion<br />
oppure questo se vuoi solo i package per gtk(quindi senza necessità delle librerie qt)<br />
pacman -S compiz-fusion-gtk<br />
al contrario se vuoi usare i pacchetti di kde-base:<br />
pacman -S compiz-fusion-kde <br />
Se vuoi selezionare manualmente i pacchetti, ecco una lista<br />
<br />
<br />
= Avviare Compiz Fusion =<br />
<br />
== Manuale (con "fusion-icon") ==<br />
<br />
Avvia la tray icon di compiz:<br />
<br />
fusion-icon<br />
<br />
note: se fallisce, prova con: dbus-launch<br />
<br />
dbus-launch "fusion-icon"<br />
<br />
Clicca di destro sull'icona nel pannello, e seleziona "select window manager", scegli "compiz", se non è ancora selezionato, dovrebbe partire.<br />
<br />
Se fallisce, puoi avviare compiz-fusion usando i seguenti comandi<br />
<br />
fusion-icon<br />
emerald --replace<br />
compiz-manager<br />
<br />
== KDE ==<br />
<br />
=== Manuale (senza "fusion-icon") ===<br />
<br />
Avvia compiz con i seguenti comandi, dopo che l'installazione è conclusa:<br />
<br />
compiz --replace ccp &<br />
Avvia il nuovo settings manager:<br />
<br />
ccsm &<br />
<br />
Seleziona tutti i plugins che desideri includere, ed aggiungi <br />
kde-window-decorator --replace<br />
come stringa di comando sotto "decoration" plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
=== Autostart (con "fusion-icon") ===<br />
<br />
Dovresti aggiungere un link simbolico alla fusion-icon eseguibile, nella tua cartella autostart di kde(generalmente si trova in ~/.kde/Autostart):<br />
<br />
ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Al prossimo avvio di KDE caricherà fusion-icon automaticamente.<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
==== Metodo 1 - Autostart Link ====<br />
<br />
* Puoi assicurarti che Compiz Fusion si avvierà sempre al login, aggiungendo a desktop entry nella cartella autostard di KDE. Crea il file ''~/.kde/Autostart/compiz.desktop'' con il seguente contenuto<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=/usr/bin/compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
* Se vuoi usare l'opzionale <tt>fusion-icon</tt> application, avvia ''fusion-icon''. Se esci normalmente con ''fusion-icon'' avviato, KDE dovrebbe rimettere la sessione, e lanciare ''fusion-icon'' la prossima volta che loggerai, se questa opzione è abilitata. Se non sembra andare, assicurati che tu abbia la seguente linea nel file: ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
==== Metodo 2 - esportare KDEWM (con KWIN) ====<br />
<br />
Usando questo metodo Compiz-Fusion sarà caricato di default in KWIN. Questo rende Compiz-fusion più velice da caricare perchè evita di caricare KWin. In questo modo, tra l'altro, si elmina quella fastidiosa schermata nera che capita di vedere usando algri metodi (quando si passa da KWin a Compiz).<br />
<br />
Da root si deve creare un piccolo script eseguendo i seguenti comandi da terminale.<br />
<br />
echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
chmod +x /usr/bin/compiz-fusion<br />
<br />
Ora basta aggiungere la seguente riga al tuo ~/.bashrc cosi' che KDE carichi compiz (attraverso lo script appena creato) invece di kwin.<br />
<br />
export KDEWM="compiz-fusion"<br />
<br />
== GNOME ==<br />
<br />
=== Autostart (senza "compiz-fusion") ===<br />
<br />
Questo procedimento funziona se si esegue l'accesso con GDM<br />
<br />
Crea un file chiamandolo /usr/local/bin/compiz-start-boot<br />
<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
renderlo eseguibile (chmod +x). Successivamente crea il file /etc/X11/sessions/Compiz.desktop contenente la seguente dicitura:<br />
<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Seleziona Compiz su Gnome sulla tua sessione e tutto andrà bene.<br />
<br />
=== Autostart (con "compiz-fusion") ===<br />
<br />
Per avviare Compiz Fusion automaticamente quando fai il login,<br />
<br />
aggiungi in [Sistema] -> [Preferenze] -> [Sessioni] -> [Programmi d'Avvio]<br />
<br />
<br />
Nome: "Compiz Fusion"<br />
e <br />
Comando: "fusion-icon"<br />
<br />
Aggiungere "Compiz Fusion" alla lista dei programmi all'avvio è una buona idea per cambiare velocemente tra Metacity e Compiz.<br />
<br />
== Xfce ==<br />
<br />
=== Xfce autostart (without "compiz-fusion") ===<br />
<br />
TO DO<br />
<br />
=== Xfce autostart (with "compiz-fusion") ===<br />
<br />
Start "Autostarted Applications"<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
and <br />
(Command:) fusion-icon<br />
<br />
= Troubleshooting =<br />
<br />
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set<br />
<br />
See [[Compiz_Troubleshooting]]<br />
<br />
= Additional Resources =<br />
*[[AIGLX]]<br />
*[[Xgl]]<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment<br />
*[[Compiz]] -- The original composite/window manager from Novell<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89https://wiki.archlinux.org/index.php?title=Compiz_(Italiano)&diff=97236Compiz (Italiano)2010-02-17T20:28:52Z<p>Dieghen89: /* Metodo 2 - esportare KDEWM (con KWIN) */</p>
<hr />
<div>[[Category:Eye candy (italiano)]]<br />
[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{i18n|Compiz}}<br />
<br />
= Installazione =<br />
L'installazione di base può essere eseguita usando il repo "community"(vedi avanti).<br />
<br />
Una seconda opzione è quella di usare i git packages di nesl. [[Compiz_Fusion_Git]] per più informazioni riguardanti questo meodo.<br />
<br />
== Installare dal repo community ==<br />
<br />
Controlla che il repository sia abilitato, ed esegui questi comandi per installare tutto:<br />
pacman -S compiz-fusion<br />
oppure questo se vuoi solo i package per gtk(quindi senza necessità delle librerie qt)<br />
pacman -S compiz-fusion-gtk<br />
al contrario se vuoi usare i pacchetti di kde-base:<br />
pacman -S compiz-fusion-kde <br />
Se vuoi selezionare manualmente i pacchetti, ecco una lista<br />
<br />
<br />
= Avviare Compiz Fusion =<br />
<br />
== Manuale (con "fusion-icon") ==<br />
<br />
Avvia la tray icon di compiz:<br />
<br />
fusion-icon<br />
<br />
note: se fallisce, prova con: dbus-launch<br />
<br />
dbus-launch "fusion-icon"<br />
<br />
Clicca di destro sull'icona nel pannello, e seleziona "select window manager", scegli "compiz", se non è ancora selezionato, dovrebbe partire.<br />
<br />
Se fallisce, puoi avviare compiz-fusion usando i seguenti comandi<br />
<br />
fusion-icon<br />
emerald --replace<br />
compiz-manager<br />
<br />
== KDE ==<br />
<br />
=== Manuale (senza "fusion-icon") ===<br />
<br />
Avvia compiz con i seguenti comandi, dopo che l'installazione è conclusa:<br />
<br />
compiz --replace ccp &<br />
Avvia il nuovo settings manager:<br />
<br />
ccsm &<br />
<br />
Seleziona tutti i plugins che desideri includere, ed aggiungi <br />
kde-window-decorator --replace<br />
come stringa di comando sotto "decoration" plugin.<br />
<br />
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. --><br />
<br />
=== Autostart (con "fusion-icon") ===<br />
<br />
Dovresti aggiungere un link simbolico alla fusion-icon eseguibile, nella tua cartella autostart di kde(generalmente si trova in ~/.kde/Autostart):<br />
<br />
ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon<br />
<br />
Al prossimo avvio di KDE caricherà fusion-icon automaticamente.<br />
<br />
=== Autostart (senza "fusion-icon") ===<br />
<br />
==== Metodo 1 - Autostart Link ====<br />
<br />
* Puoi assicurarti che Compiz Fusion si avvierà sempre al login, aggiungendo a desktop entry nella cartella autostard di KDE. Crea il file ''~/.kde/Autostart/compiz.desktop'' con il seguente contenuto<br />
<br />
[Desktop Entry]<br />
Encoding=UTF-8<br />
Exec=compiz --replace ccp<br />
StartupNotify=false<br />
Terminal=false<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
* Se vuoi usare l'opzionale <tt>fusion-icon</tt> application, avvia ''fusion-icon''. Se esci normalmente con ''fusion-icon'' avviato, KDE dovrebbe rimettere la sessione, e lanciare ''fusion-icon'' la prossima volta che loggerai, se questa opzione è abilitata. Se non sembra andare, assicurati che tu abbia la seguente linea nel file: ''~/.kde/share/config/ksmserverrc'':<br />
<br />
loginMode=restorePreviousLogout<br />
<br />
==== Metodo 2 - esportare KDEWM (con KWIN) ====<br />
<br />
Usando questo metodo Compiz-Fusion sarà caricato di default in KWIN. Questo rende Compiz-fusion più velice da caricare perchè evita di caricare KWin. In questo modo, tra l'altro, si elmina quella fastidiosa schermata nera che capita di vedere usando algri metodi (quando si passa da KWin a Compiz).<br />
<br />
Da root si deve creare un piccolo script eseguendo i seguenti comandi da terminale.<br />
<br />
echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion<br />
chmod +x /usr/bin/compiz-fusion<br />
<br />
Ora basta aggiungere la seguente riga al tuo ~/.bashrc cosi' che KDE carichi compiz (attraverso lo script appena creato) invece di kwin.<br />
<br />
export KDEWM="compiz-fusion"<br />
<br />
== GNOME ==<br />
<br />
=== Autostart (senza "compiz-fusion") ===<br />
<br />
Questo procedimento funziona se si esegue l'accesso con GDM<br />
<br />
Crea un file chiamandolo /usr/local/bin/compiz-start-boot<br />
<br />
#!/bin/bash<br />
export WINDOW_MANAGER="compiz ccp"<br />
exec gnome-session<br />
<br />
renderlo eseguibile (chmod +x). Successivamente crea il file /etc/X11/sessions/Compiz.desktop contenente la seguente dicitura:<br />
<br />
[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=Compiz on GNOME<br />
Exec=/usr/local/bin/compiz-start-boot<br />
Icon=<br />
Type=Application<br />
<br />
Seleziona Compiz su Gnome sulla tua sessione e tutto andrà bene.<br />
<br />
=== Autostart (con "compiz-fusion") ===<br />
<br />
Per avviare Compiz Fusion automaticamente quando fai il login,<br />
<br />
aggiungi in [Sistema] -> [Preferenze] -> [Sessioni] -> [Programmi d'Avvio]<br />
<br />
<br />
Nome: "Compiz Fusion"<br />
e <br />
Comando: "fusion-icon"<br />
<br />
Aggiungere "Compiz Fusion" alla lista dei programmi all'avvio è una buona idea per cambiare velocemente tra Metacity e Compiz.<br />
<br />
== Xfce ==<br />
<br />
=== Xfce autostart (without "compiz-fusion") ===<br />
<br />
TO DO<br />
<br />
=== Xfce autostart (with "compiz-fusion") ===<br />
<br />
Start "Autostarted Applications"<br />
<br />
Add<br />
(Name:) Compiz Fusion<br />
and <br />
(Command:) fusion-icon<br />
<br />
= Troubleshooting =<br />
<br />
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set<br />
<br />
See [[Compiz_Troubleshooting]]<br />
<br />
= Additional Resources =<br />
*[[AIGLX]]<br />
*[[Xgl]]<br />
*[[Composite]] -- A Xorg extension required by composite managers<br />
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment<br />
*[[Compiz]] -- The original composite/window manager from Novell<br />
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency<br />
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])<br />
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]</div>Dieghen89