plasma3d Δημοσ. 20 Δεκεμβρίου 2006 Share Δημοσ. 20 Δεκεμβρίου 2006 prospathisa na valo to xgl sta ubuntu mou opo ton parakato odigo : > How to install Xgl/Compiz (Nvidia) * For complete info on how to set up XGL on different cards and some tweaks see: http://ubuntuforums.org/showthread.php?t=148351 * Read #General Notes * Read #How to install Graphics Driver (NVIDIA) sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup gksudo gedit /etc/X11/xorg.conf * Find this section Section "Module" Load "i2c" Load "bitmap" ... Load "type1" Load "vbe" EndSection * Comment out dri and GLcore (if present) # Load "dri" # Load "GLcore" * Make sure the glx module is loaded Load "glx" * Find this section (your values may vary) Section "Device" Identifier "NVIDIA Corporation NV34M [GeForce FX Go5200]" Driver "nv" BusID "PCI:1:0:0" EndSection * Replace with the following lines, leaving the Identifier and BusID as it is Section "Device" ... Driver "nvidia" ... Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" EndSection * Find this section Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV34M [GeForce FX Go5200]" Monitor "Generic Monitor" DefaultDepth 16 * Make sure DefaultDepth is set to 24, if it isn't already DefaultDepth 24 * Save the edited file * Install Xgl/Compiz 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 * Replace everything with the following lines # 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 <configuration key>" # # 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 * Create a script that runs Xgl/Compiz on startup gksudo gedit /usr/bin/thefuture * Insert the following lines into the new file. Replace .us with appropriate keyboard binding for your region. Eg .gb for United Kingdom. For a full list of keyboard bindings, type ls /usr/share/xmodmap in a terminal. If unsure, leave as .us (United States) #!/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 * Save the file sudo chmod 755 /usr/bin/thefuture * To run compiz for this session thefuture * To have compiz load on startup o System -> Preferences -> Sessions o Startup Programs -> Add /usr/bin/thefuture * o Click Ok, then Close o Read #How to restart GNOME without rebooting computer * Troubleshooting o If Xgl/Compiz doesn't seem to work, or you get errors, simply restart your machine after adding "thefuture" to Startup programs o If moving windows slows down the system, run gconf-editor from the terminal. Find apps/compiz/general/screen0/options. Disable detect_refresh_rate and set refresh rate to 60. Everything should work fine now... o If you are using a non default keyboard layout (other language), you might have to change it back to what you need if the keyboard acts funny at System/Settings/Keyboard. o You can also set the Super-key to the windows button here. o If you don't want "bottom expanded panel", type "killall gnome-panel" in terminal. * Tips o Switch windows = Alt + Tab o Arrange and View All Windows = F12 turns on or off; clicking a window will zoom it to the front o Switch desktops on cube = Ctrl + Alt + Left/Right Arrow o Switch desktops on cube - with active window following = Ctrl + Shift + Alt + Left/Right Arrow o Rotate cube manually = Ctrl + Alt + left-click o Make window translucent/opaque = currently only possible with the "transset" utility o Zoom-in once = Super-key right-click o Zoom-in manually = Super-key + wheel mouse up o Zoom-out manually = Super-key + wheel mouse down o Move window = Alt + left-click o Snap Move window (will stick to borders) = Ctrl + Alt + left-click o Resize window = Alt + right-click [edit] kai otan pao na doso to "thefuture" mou vgazi to eksis lathos kai kolane ta X Windows : >plasma3d@plasma3d-desktop:~$ compiz.real: GLX_EXT_texture_from_pixmap is missing compiz.real: Failed to manage screen: 0 compiz.real: No manageable screens found on display :0.0 Συνδέστε για να σχολιάσετε Κοινοποίηση σε άλλες σελίδες άλλες επιλογές
Προτεινόμενες αναρτήσεις
Αρχειοθετημένο
Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.