Ubuntu Forums Archive Viewer

xorg.conf missing

Archived thread 384837 from Desktop Effects & Customization. Markdown source: Desktop_Effects_&_Customization/thread_384837_xorg.conf_missing.md

Original URL About this archive
#1

So, i was installing beryl, and i opened up the xorg.conf file, pasted the code in the screen section and saved. Then, I opened it again. .. this time for triplebuffer. Now, the xorg.conf file is blank. What do i do?

So, what I've done is

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

gksudo gedit /etc/X11/xorg.conf

Add to screen section >

Enable 32-bit ARGB GLX Visuals

Option "AddARGBGLXVisuals" "True"

If you are using an older version of compiz that

does not support rendering into the Composite

Overlay Window, you will need to disable clipping

of GLX rendering to the X Root window with this

option, or you will get a blank screen after

starting compiz:

Option "DisableGLXRootClipping" "True"

gksudo gedit /etc/X11/xorg.conf

Help would be appreciated.

#2

It looks like you just made a type somewhere. Try looking for the file in the Nautilus file browser.

#3

So, I figure out my problem. I typed x11 instead of X11

But, now I have another one.. I log in, alt + f2 type beryl manager and my screen turns green and a bit of purple and weird and unreadable. Help?

#4

Did you set your screen depth default (Section "Screen") to 24 in xorg.conf?

#5

no, i didn't although i probably did do something wrong with it

I tried changing it to 24, didn't change anything.

It might be helpful if i could see someone's properly configured xorg.conf file for beryl.

Btw, I'm running nvidia on a hp dv8000t w/ an intel processor.

#6

because chances are i'm doing something stupid.

xorg.conf

nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Oct 16 22:13:07 PDT 2006

/etc/X11/xorg.conf (xorg X Window System server configuration file)

#

This file was generated by dexconf, the Debian X Configuration tool, using

values from the debconf database.

#

Edit this file with caution, and see the /etc/X11/xorg.conf manual page.

(Type "man /etc/X11/xorg.conf" at the shell prompt.)

#

This file is automatically updated on xserver-xorg package upgrades *only*

if it has not been modified since the last upgrade of the xserver-xorg

package.

#

If you have edited this file but would like it to be automatically updated

again, run the following command:

sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "Synaptics Touchpad" EndSection

Section "Files"

# path to defoma fonts FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath "/usr/share/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/usr/share/X11/fonts/100dpi" FontPath "/usr/share/X11/fonts/75dpi" FontPath "/usr/share/fonts/X11/misc" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection

Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection

Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us" Option "XkbOptions" "lv3:ralt_switch" EndSection

Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection

Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" EndSection

Section "InputDevice"

# /dev/input/event # for USB Identifier "stylus" Driver "wacom" Option "Device" "/dev/wacom" # Change to Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection

Section "InputDevice"

# /dev/input/event # for USB Identifier "eraser" Driver "wacom" Option "Device" "/dev/wacom" # Change to Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection

Section "InputDevice"

# /dev/input/event # for USB Identifier "cursor" Driver "wacom" Option "Device" "/dev/wacom" # Change to Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection

Section "Monitor" Identifier "Generic Monitor" HorizSync 28.0 - 84.0 VertRefresh 43.0 - 60.0 Option "DPMS" EndSection

Section "Device" Identifier "NVIDIA Corporation NVIDIA Default Card" Driver "nvidia" Option "AddARGBGLXVisuals" "True" Option "RenderAccel" "True" Option "AllowGLXWithComposite" "True" Option "backingstore" "True" Option "TripleBuffer" "True" EndSection

Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NVIDIA Default Card" Monitor "Generic Monitor" DefaultDepth 16 SubSection "Display" Depth 1 Modes "1680x1050" EndSubSection SubSection "Display" Depth 4 Modes "1680x1050" EndSubSection SubSection "Display" Depth 8 Modes "1680x1050" EndSubSection SubSection "Display" Depth 15 Modes "1680x1050" EndSubSection SubSection "Display" Depth 16 Modes "1680x1050" EndSubSection SubSection "Display" Depth 24 Modes "1680x1050" EndSubSection

Enable 32-bit ARGB GLX Visuals

Option "AddARGBGLXVisuals" "True"

If you are using an older version of compiz that

does not support rendering into the Composite

Overlay Window, you will need to disable clipping

of GLX rendering to the X Root window with this

option, or you will get a blank screen after

starting compiz:

Option "DisableGLXRootClipping" "True" EndSection

and, here's what i get when I go alt-f2 and then beryl manager.

[IMG]http://img372.imageshack.us/img372/5366/screenshotnf6.png[/IMG]

#7

Change your default depth to 24.

#8

rsambuca said: Change your default depth to 24. i changed it to 24, but changed it back since it didn't change anything.

EDIT. You were right, i needed to change it to 24, ctrl alt backspace, then login and use beryl manager.

#9

You should also remove triplebuffer and the DisableGLXRootClipping lines IMO.