Xorg.conf file

Discussion in 'Acer Aspire One' started by mrpostman, Mar 22, 2010.

  1. mrpostman

    mrpostman

    Joined:
    Jul 6, 2009
    Messages:
    21
    Likes Received:
    0
    Hi guys,

    Have posted about my keyboard layout problems in the beginners section. However, whilst trying to sort that out (I didnt get any replies), I ended up messing up the Xorg.conf file up.

    I edited the identifyer of the keyboard in the xorg file, which then, upon reboot, brought up a blue screen with a command prompt style saying the front end module could not be loaded.

    I managed to get back in to the GUI by removing the Xorg file I edited by using the command rm /etc/X11/Xorg.conf

    but now, because I used the remove command I have no Xorg.conf file (I knew it would remove the file when I did this command, but it was the only way I thought I could get back in to the GUI)

    Would some one be able to past the contents of their xorg file for me please So I can re-create one.

    Although the file is missing, I must say, my linpus is running faster now after doing this, but I'm assuming I will need this file for something important.

    Thanks :)
     
    mrpostman, Mar 22, 2010
    #1
  2. mrpostman

    kmc

    Joined:
    Apr 4, 2009
    Messages:
    7
    Likes Received:
    0
    Just in case you decide to reinstate the file:

    Code:
    # Xorg configuration created by system-config-display
    Section "ServerFlags"
    	Option "DontZap" "yes"
    	Option "DontVTSwitch" "yes"
    EndSection
    
    Section "ServerLayout"
    	Identifier     "Default Layout"
    	Screen      0  "Screen0" 0 0
    	InputDevice    "Mouse0" "CorePointer"
    	InputDevice    "Synaptics Mouse" "AlwaysCore"
    	InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Keyboard0"
    	Driver      "kbd"
    	Option	    "XkbModel" "pc105"
            Option      "XkbLayout" "gb,us(euro)"
            Option      "XkbOptions" "grp:alt_shift_toggle"
    EndSection
    
    Section "InputDevice"
    	Identifier "Synaptics Mouse"
            Driver     "synaptics"
            Option     "Device" "/dev/psaux"
            Option     "Protocol" "auto-dev"
    	Option	   "LeftEdge"  "1700"
      	Option	"RightEdge"     "5300"
      	Option	"TopEdge"       "1700"
      	Option	"BottomEdge"    "4200"
      	Option	"FingerLow"	"25"
      	Option	"FingerHigh"	"30"
      	Option	"MaxTapTime"	"180"
      	Option	"MaxTapMove"	"220"
      	Option	"VertScrollDelta" "100"
      	Option	"MinSpeed"	"0.09"
      	Option	"MaxSpeed"	"0.18"
      	Option	"AccelFactor"	"0.0015"
      	Option	"SHMConfig"	"on"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse0"
    	Driver      "mouse"
    	Option	    "Protocol" "IMPS/2"
    	Option	    "Device" "/dev/input/mice"
    	Option	    "ZAxisMapping" "4 5"
    	Option	    "Emulate3Buttons" "no"
    EndSection
    
    Section "Monitor"
    	Identifier  "Monitor0"
    	Modeline  "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -HSync +VSync
    #	Option	"Above"	"Monitor1"
    EndSection
    
    Section "Device"
    	Identifier  "Videocard0"
    	Driver      "intel"
    #	Option      "monitor-LVDS" "Monitor0"
    #	Option	    "monitor-VGA" "Monitor1"
    	Option	    "Clone" "true"
    	Option	"MonitorLayout"	"LVDS,VGA"
    	BusID	"PCI:0:2:0"
    #	Screen	0
    EndSection
    
    Section "Screen"
    	Identifier "Screen0"
    	Device     "Videocard0"
    	Monitor	    "Monitor0"
    	DefaultDepth     24
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
    		Modes    "1024x600" "800x600" "640x480"
             Virtual 1024 768
    	EndSubSection
    EndSection
    
    
     
    kmc, Mar 22, 2010
    #2
  3. mrpostman

    mrpostman

    Joined:
    Jul 6, 2009
    Messages:
    21
    Likes Received:
    0
    Thank you!

    Is that code you pasted "as is" when you install from scratch, or has that been tweaked?

    If its been tweaked, will it matter if I happen to have a different aspire one model to yourself?

    I dont even know if the conf file overrides my system settings, because I still cant get a british keyboard layout when editing the keyboard layout to "gb" within this Xorg file.
     
    mrpostman, Mar 23, 2010
    #3
  4. mrpostman

    kmc

    Joined:
    Apr 4, 2009
    Messages:
    7
    Likes Received:
    0
    Ha! I thought of that very question when I posted it, but I didn't know the answer, so never mentioned it.... I use ArchLinux, not Linpus, but I left the partition as a fallback. Not sure when I last used it.

    The date of the file suggests it was modified a couple of months after I got my One, but I don't remember doing anything, and it looks standard (as far as I can remember). I would have set the keyboard to GB using the standard XFCE applet soon after I got it.

    Have a look at this wiki:

    http://wiki.archlinux.org/index.php/Acer_Aspire_One

    Ignore most of it, but the original file is reproduced here.
     
    kmc, Mar 23, 2010
    #4
  5. mrpostman

    mrpostman

    Joined:
    Jul 6, 2009
    Messages:
    21
    Likes Received:
    0
    Great post :)

    Im just a little reluctant to use "corekeyboard" as the identifier.

    On this Linpus system before I messed up the Xorg.conf, it was set to "something, corekeyboard"

    I removed the former so that it just said "corekeyboard" as the identifier, and this is what caused the file to corrupt/die on me.

    This is when I had to do the command line rm /etc/x11/conf.xorg as root user because all I was getting on boot was the blue acer splash screen with a command line prompt.

    ===========================
    Regarding that GB keyboard, this is a really tricky one for me. Ive tried the following methods so far:

    Settings>Keyboard Language>English UK (default)

    Set the SCIM to English UK and also to Unknown to give that a shot

    Setting the Xorg.conf file to say gb as the layout.

    Ive tried the "loadkeys uk" command line, which loaded fine but when I came to setxkbmap -model pc104 -layout gb (using advice on another forum I found, i got "Error loading new keyboard description

    I even ran OOBE to change the language in there, but it keeps reverting to US after it reboots itself.

    Deleted the OOBE log file and rebooted (this then brought up the low graphical interface like when first setting up the machine and I set it to uk) but again, when it booted up, it wasnt UK anymore.

    Also had a look in /etc/sysconfig/i18n
    but there is no "en_GB" in the supported language section, same goes with "i18n.en" in this directory - I tried changing it to en_GB anyway, to no sucess.


    If you have any input or suggestions, I'm all ears :)
     
    mrpostman, Mar 24, 2010
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.