View previous topic :: View next topic |
Author |
Message |
XSS n00b
Joined: 22 Mar 2003 Posts: 26
|
Posted: Tue Oct 14, 2003 11:41 pm Post subject: *sigh* Another 'is not a valid keyword' problem with X |
|
|
Hello, i was playing around with some settings and tried to get tv-out to work and i got some stuff to work, although now when i try to start X it just says:
Parse error on line 131 of section ServerLayout in file /etc/X11/XF86Config
"vice" is not a valid keyword in this section.
I don't get it, i searched these forums and found some interesting threads but people had the same problem and obviously the solution and/or problem is fairly simple but i can't for my life find the error in my config file, please check them and help me...
My config:
http://xss.najt.nu/stuff/XF86Config
The X-log:
http://xss.najt.nu/stuff/XFree86.0.log |
|
Back to top |
|
|
X Apprentice
Joined: 30 Apr 2002 Posts: 192 Location: Lexington KY
|
Posted: Wed Oct 15, 2003 12:19 am Post subject: |
|
|
Your config file is borked, I think.
Delete the second to last line... the one about InputDevice "keyboard1" ... and then retype it out manually. I think that should fix it, although I didn't take the time to test it out myself. |
|
Back to top |
|
|
XSS n00b
Joined: 22 Mar 2003 Posts: 26
|
Posted: Wed Oct 15, 2003 10:09 am Post subject: |
|
|
Ah too bad, it didnt work...i even tried rewriting the other InputDevice line also and it still said "vice" is not a valid keyword in this section.
Thanks for the answer though! |
|
Back to top |
|
|
MechanicalTurk n00b
Joined: 09 Aug 2003 Posts: 32 Location: Melbourne, VIC, Austraila
|
Posted: Wed Oct 15, 2003 10:24 am Post subject: |
|
|
I don't know if this is the problem, but my XF86Config ends with a newline chraracter after the EndSection line which in your case is line 131.... I think that the parser isn't coping well with the EOF also on line 131. So to fix, try adding a newline character to the end of file. Just a shot in the dark. But worth trying anyway. |
|
Back to top |
|
|
XSS n00b
Joined: 22 Mar 2003 Posts: 26
|
Posted: Wed Oct 15, 2003 10:37 am Post subject: |
|
|
OMG!!!
It worked, how come i didn't notice that one?
Thanks ALOT, i've been sitting with this config for almost 2 days now trying to figure out how make it work, thanks again! |
|
Back to top |
|
|
MechanicalTurk n00b
Joined: 09 Aug 2003 Posts: 32 Location: Melbourne, VIC, Austraila
|
Posted: Wed Oct 15, 2003 10:44 am Post subject: |
|
|
No problems.
I think it's a psychological thing. Since most of the time, whitespace doesn't matter, we tend to forget about it and it becomes invisible. Glad to know that it works now though. |
|
Back to top |
|
|
|