Početak›Forumi›Linuks distribucije›Ubuntu,Mint,…›XGL/Compiz (nVIDIA)
- This topic has 7 odgovora, 6 glasova, and was last updated 17 years, 2 months ranije by djux.
-
AutorČlanci
-
29. septembar 2006. u 1:22 pm #7879BrokeBodyUčesnik
Naravno, driver vec treba da vam je instaliran. 🙂
[code]
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf[/code]pronadjite module section
[code]
Section “Module”
Load “i2c”
Load “bitmap”
…
Load “type1”
Load “vbe”
EndSection[/code]Dekomentarisite dri i GLcore (ako ih ima)
[code]
# Load “dri”
# Load “GLcore”
[/code]Proverite da li je glx modul ucitan
[code]
Load “glx”[/code]Pronadjite device section
[code]
Section “Device”
Identifier “NVIDIA Corporation NV17 [GeForce4 MX 440]”
Driver “nvidia”
BusID “PCI:1:0:0″[/code]ispod busid dodajte
[code]
Option “RenderAccel” “true”
Option “AllowGLXWithComposite” “true”[/code]to bi ovako trebalo da izgleda
[code]
Section “Device”
Identifier “NVIDIA Corporation NV17 [GeForce4 MX 440]”
Driver “nvidia”
BusID “PCI:1:0:0”
Option “RenderAccel” “true”
Option “AllowGLXWithComposite” “true”[/code]proverite u screen section da li je default depth na 24
[code]
Section “Screen”
Identifier “Default Screen”
Device “NVIDIA Corporation NV17 [GeForce4 MX 440]”
Monitor “Generic Monitor”
DefaultDepth 24[/code]Snimite fajl
[code]
sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome
sudo cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom-backup
gksudo gedit /etc/gdm/gdm.conf-custom[/code]Obrisite sve sto pise u tom fajlu i unesite ovo
[code]
# GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration. If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration. Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below. Refer to the comments in the
# gdm.conf file for information about each option. Also refer to the reference
# documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change. Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver –command=”UPDATE_CONFIG”
#
# For example, the “Enable” key in the “[debug]” section would be specified by
# “debug/Enable”.
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings. You can also restart GDM by sending
# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category. You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with “#” are considered comments.
#
# Have fun![daemon]
[security]
[xdmcp]
[gui]
[greeter]
[chooser]
[debug]
[servers]# Override display 1 to use Xgl
0=Xgl[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true[/code]Napravite scriptu koja ce da pokrece XGL/Compiz pri podizanju sistema
[code]gksudo gedit /usr/bin/thefuture[/code]
Unesite sledece u novokreirani fajl
[code]#!/bin/bash
gnome-window-decorator & compiz –replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
xmodmap /usr/share/xmodmap/xmodmap.us
[/code]Snimite fajl
[code]sudo chmod 755 /usr/bin/thefuture
[/code]unesite u terminalu
[code]thefuture
[/code]Da bi se Compiz ucitavao pri podizanju sistema
System -> Preferences -> Sessions
Startup Programs -> Add
[code]/usr/bin/thefuture
[/code]Idite na OK i zatvorite
Komande
* Switch windows = Alt + Tab
* Arrange and View All Windows = F12 turns on or off; clicking a window will zoom it to the front
* Switch desktops on cube = Ctrl + Alt + Left/Right Arrow
* Switch desktops on cube – with active window following = Ctrl + Shift + Alt + Left/Right Arrow
* Rotate cube manually = Ctrl + Alt + left-click
* Make window translucent/opaque = currently only possible with the “transset” utility
* Zoom-in once = Super-key right-click
* Zoom-in manually = Super-key + wheel mouse up
* Zoom-out manually = Super-key + wheel mouse down
* Move window = Alt + left-click
* Snap Move window (will stick to borders) = Ctrl + Alt + left-click
* Resize window = Alt + right-click26. decembar 2006. u 10:19 pm #48273ackoUčesnikA za KDE
27. decembar 2006. u 6:50 am #48274GoranSTXUčesnikjeste, a za KDE?
27. decembar 2006. u 7:27 am #48275urosevicUčesnikA za KDE, koristite Fedora Core 6, dodajte beryl, pokrenute beryl-manager i gotovo 😀
24. januar 2007. u 10:32 am #48276PacyUčesnik24. januar 2007. u 10:43 am #48277djuxUčesnikPo meni je mnogo bolja varijanta AIGLX, naravno uz Xorg 7.1/Nvidia 9xxx. Dobija se 3D desktop bez gubljenja akceleracije uz pomoc OpenGL-a, korisno npr. za cedegu 🙂
24. januar 2007. u 12:54 pm #48278PacyUčesnikPo meni je mnogo bolja varijanta AIGLX, naravno uz Xorg 7.1/Nvidia 9xxx. Dobija se 3D desktop bez gubljenja akceleracije uz pomoc OpenGL-a, korisno npr. za cedegu 🙂
Mozemo li to i da vidimo kako izgleda kod tebe? O0
24. januar 2007. u 1:17 pm #48279djuxUčesnikNa zalost koristim slackware 11.0 – Xorg 6.9, tako da nista od AIGLX. Probao sam i na prvi pogled isto ti je kao XGL. AIGLX je implementiran u xorg i u stvari koristi indirect rendering, tako da ne moras da koristis dva X server-a kao sa XGL-om.
-
AutorČlanci
Moraš biti prijavljen da bi postavio komentar u ovoj temi.