Problems with modifying xorg.conf

Im still a Linux amateur thus it’s not like a tutorial is big help for me, it just keeps me making new threads about each new step of the tutorial if after a week of trying I can’t do it

Wacom USB tablet howto - openSUSE

Do make a backup of xorg.conf before modifying it.

How do I do a backup?

cp xorg.conf xorg.conf.YYYYMMDDHHmm

Am I suppose to replace those Ys and Ms with Year and month or what?

You will also need to add these lines to the server layout for the GIMP to use this tablet:

Wait and if I don’t use gimp? Is it good for anything else?

And how do I modify it

sorry guys but Im real confused

Hi!
Sorry I don’t want to quote you message - it’s to big :wink:
About backup:
Replacing YYDDMM with year, month, etc. is a good idea. You can find out your own way to rename your backups (I’m usually doing with example: xorg.conf.beforeBetaDriver).

Your xorg.conf is in /etc/X11/.
Edit with


sudo edit xorg.conf

press A if you want to insert something to the file.
To save, press : and type


save! xorg.conf

You need to insert all lines from the wiki page into your xorg.conf as it’s explained.

You will also need to add these lines to the server layout for the GIMP to use this tablet:
It means that these lines are going into:
Section "ServerLayout"
Good luck.

Hello !
xorg.conf is basically just a text-file with really impotant infirmation in it !
It’s use by Xorg to display things at your screen, etc… (like the screen driver, etc)
So, before editing your xorg.conf file, it’s always good to make a copy, that you could restore later, so, if you “break” your display, you will just have to restore the saved xorg.conf and reboot, and it’s all gonna be ok.

Now, to backup, you will have to launch nautilus with root, and copy-paste somewhere else, or rename it. (remember the name)
Or you could use the command “cp” in a terminal, as it is explained in the howto.

You can rename your xorg.conf the way you want, and you can have as many backup of this file as you want. That why it’s a good idea to rename it with the date the change was made. (YY-MM-DD), exmeple: “xorg.conf_this_is_my_back_up_before_installing_the_tablet_date_25dec2008”
As long as you know you’ll be able to remember the name, it’s ok. (that’s why I only keep one backup, named “xorg.conf_bak” :slight_smile:

To edit your xorg.conf,you can also use your regular text-editor (gedit or kate) but with root.
(in a terminal: “su root”, enter, then “gedit /etc/X11/xrog.conf”)

Hope it helped

Bye

ps: sorry for my bad english, I understand better then I write :wink:

ehhh thanks it helped but some real trouble appeared!

whenever I try to log on , I instead am asked to type my login and password and end up in some command thing and I’m stuck there, I dont know any commands

any ideas what the heck happened?

Hello,

It might be because xorg.conf is broken…so, now you see the backup is necessery.

to launch the Desktop, try to type-in “startx” without the quotes.
If nothing happen, post the error message here.

Anyway, try to do something similar to this:
“cp /xorg.conf_backup /etc/X11/xorg.conf” (without the quotes) to copy the backed-up xorg in place of the messed-up one:
Les commandes fondamentales de Linux

Bye

If you can please post us the whole xorg.conf file.
At the console log in as root and try:


sax2 -r

If the screen comes up you’ll able to log in. Now reboot


reboot

and try to log in with your default user.

well
sax2 -r
and
reboot
are command which cannot be found in the consoles

and when it comes to
startx
well I get 2 pages of errors, cant send a screen since there is no chance to make one, I did type 2 lines from it thought

Fatal server error
no screens found

it sure was a good idea to keep XP on a partition…

Okay, something is wrong. When you log in as root there is need to be a command sax2.

what to do then?
I do have the backup on my desktop, but how do I get it and how do I use it to fix it all up?

Hello,

Where are you now, in the process: you have no user interface, right ? I mean, when you boot, everything boots fine, except for the UI ?
In command line, it asks for your user and password?
If yes, it means your xorg is broken and you need to restore it.

Login in root: type in “root” for the login and your regular password.

Then, you need to do something like

cp /the/path/to/your/backed-up/xorg.conf_your_backup /etc/X11/xorg.conf

(no quotes)
You need to adapt this code line to the real path where you saved your xorg.conf, and with the actual name.

It will restore the regular, original xorg.conf you made.

Then, reboot and everything should be fine.

Bye

hmmm since im new with directories… ehhh
my backup was a plain old copy also called xorg.conf and was placed on my desktop… what will the directory be?

Then it should be under the patch:


/home/<yourUser>/Desktop/

Replace the <yourUser> with your username.

phew… all working again!

Well ok, luckily I did make a back up of the new conf (accidentally) so I can show you what it contains

/…/

SaX generated X11 config file

Created on: 2008-10-14T18:24:12+0200.

Version: 8.1

Contact: Marcus Schaefer <sax@suse.de>, 2005

Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users&gt;

Automatically generated by [ISaX] (8.1)

PLEASE DO NOT EDIT THIS FILE!

Section “Files”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/local”
FontPath “/usr/share/fonts/75dpi:unscaled”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/Type1”
FontPath “/usr/share/fonts/URW”
FontPath “/usr/share/fonts/Speedo”
FontPath “/usr/share/fonts/PEX”
FontPath “/usr/share/fonts/cyrillic”
FontPath “/usr/share/fonts/latin2/misc:unscaled”
FontPath “/usr/share/fonts/latin2/75dpi:unscaled”
FontPath “/usr/share/fonts/latin2/100dpi:unscaled”
FontPath “/usr/share/fonts/latin2/Type1”
FontPath “/usr/share/fonts/latin7/75dpi:unscaled”
FontPath “/usr/share/fonts/baekmuk:unscaled”
FontPath “/usr/share/fonts/japanese:unscaled”
FontPath “/usr/share/fonts/kwintv”
FontPath “/usr/share/fonts/truetype”
FontPath “/usr/share/fonts/uni:unscaled”
FontPath “/usr/share/fonts/CID”
FontPath “/usr/share/fonts/ucs/misc:unscaled”
FontPath “/usr/share/fonts/ucs/75dpi:unscaled”
FontPath “/usr/share/fonts/ucs/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/misc:unscaled”
FontPath “/usr/share/fonts/hellas/75dpi:unscaled”
FontPath “/usr/share/fonts/hellas/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/Type1”
FontPath “/usr/share/fonts/misc/sgi:unscaled”
FontPath “/usr/share/fonts/xtest”
FontPath “/opt/kde3/share/fonts”
InputDevices “/dev/gpmdata”
InputDevices “/dev/input/mice”
EndSection

Section “ServerFlags”
Option “AllowMouseOpenFail” “on”
Option “ZapWarning” “on”
EndSection

Section “Module”
Load “dbe”
Load “type1”
Load “freetype”
Load “extmod”
Load “glx”
EndSection

Section “InputDevice”
Driver “kbd”
Identifier “Keyboard[0]”
Option “Protocol” “Standard”
Option “XkbLayout” “pl”
Option “XkbModel” “microsoftpro”
Option “XkbRules” “xfree86”
EndSection

Section “InputDevice”
Driver “mouse”
Identifier “Mouse[1]”
Option “Buttons” “5”
Option “Device” “/dev/input/mice”
Option “Name” “Wacom CTF-420 V2.0-0”
Option “Protocol” “explorerps/2”
Option “Vendor” “Sysp”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”
Driver “synaptics”
Identifier “Mouse[3]”
Option “Buttons” “5”
Option “Device” “/dev/input/mice”
Option “Emulate3Buttons” “on”
Option “HorizScrollDelta” “0”
Option “InputFashion” “Mouse”
Option “Name” “Synaptics;Touchpad”
Option “Protocol” “explorerps/2”
Option “SHMConfig” “on”
Option “Vendor” “Sysp”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”
Driver “wacom”
Identifier “cursor”
Option “Device” “/dev/input/wacom”
Option “InputFashion” “Tablet”
Option “Mode” “Relative”
Option “Name” “GRAPHIRE v1-4 (USB)”
Option “SendCoreEvents” “on”
Option “Type” “cursor”
Option “USB” “on”
Option “Vendor” “WACOM”
EndSection

Section “InputDevice”
Driver “wacom”
Identifier “stylus”
Option “Device” “/dev/input/wacom”
Option “InputFashion” “Pen”
Option “Mode” “Absolute”
Option “Name” “GRAPHIRE v1-4 Stylus (USB)”
Option “Protocol” “Auto”
Option “SendCoreEvents” “on”
Option “Type” “stylus”
Option “USB” “on”
Option “Vendor” “WACOM”
EndSection

Section “InputDevice”
Driver “wacom”
Identifier “eraser”
Option “Device” “/dev/input/wacom”
Option “InputFashion” “Eraser”
Option “Mode” “Absolute”
Option “Name” “GRAPHIRE v1-4 Eraser (USB)”
Option “Protocol” “Auto”
Option “SendCoreEvents” “on”
Option “Type” “eraser”
Option “USB” “on”
Option “Vendor” “WACOM”
EndSection

Section “Monitor”
DisplaySize 331 207
HorizSync 30-62
Identifier “Monitor[0]”
ModelName “CPT LCD MONITOR”
Option “DPMS”
Option “PreferredMode” “1280x800”
VendorName “CPT”
VertRefresh 43-60
UseModes “Modes[0]”
EndSection

Section “Modes”
Identifier “Modes[0]”
Modeline “1280x800” 83.46 1280 1344 1480 1680 800 801 804 828
Modeline “1280x800” 69.75 1280 1328 1360 1440 800 803 809 823 +HSync -Vsync
EndSection

Section “Screen”
DefaultDepth 24
SubSection “Display”
Depth 15
Modes “1280x800”
EndSubSection
SubSection “Display”
Depth 16
Modes “1280x800”
EndSubSection
SubSection “Display”
Depth 24
Modes “1280x800”
EndSubSection
SubSection “Display”
Depth 8
Modes “1280x800”
EndSubSection
Device “Device[0]”
Identifier “Screen[0]”
Monitor “Monitor[0]”
EndSection

Section “Device”
BoardName “Mobility Radeon HD 2300”
BusID “1:0:0”
Driver “radeonhd”
Identifier “Device[0]”
Option “monitor-PANEL” “Monitor[0]”
VendorName “ATI”
EndSection

Section “ServerLayout”
Identifier “Layout[all]”
InputDevice “Keyboard[0]” “CoreKeyboard”
InputDevice “Mouse[1]” “CorePointer”
InputDevice “Mouse[3]” “SendCoreEvents”
InputDevice “stylus” “SendCoreEvents”
InputDevice “eraser” “SendCoreEvents”
InputDevice “pad”
InputDevice “cursor” “SendCoreEvents”
Option “Clone” “off”
Option “Xinerama” “off”
Screen “Screen[0]”
EndSection

Section “DRI”
Group “video”
Mode 0660
EndSection

Section “Extensions”
EndSection

so ideas? am I doomed?

This xorg.conf looks like OK and matches with that one from the wiki page. Is it working?

sadly no… it’s broken… what to do?

Im not using gimp so is removing that one part possible?

I ask cause I’m really clueless how to repair the xorg.conf

IMHO you are properly set the xorg.conf file. I don’t know why it isn’t works. My guess is that the X have problems with your Input devices. This is the section what you’ve modified - play with these parameters. Sorry I can’t suggest you any more specific. :frowning: