[SOLVED](use vim instead) Using ex's -c argument

Say I have a file that looks like this
*background:
rgb:FF/FF/FF
*color0:
rgb:0/0/0
*color8:
rgb:68/68/68
*color1:
rgb:B2/18/18
*color9:
rgb:FF/54/54
*color2:
rgb:18/B2/18
*color10:
rgb:54/FF/54
*color3:
rgb:B2/68/18
*color11:
rgb:FF/FF/54
*color4:
rgb:18/18/B2
*color12:
rgb:54/54/FF
*color5:
rgb:B2/18/B2
*color13:
rgb:FF/54/FF
*color6:
rgb:18/B2/B2
*color14:
rgb:54/FF/FF
*color7:
rgb:B2/B2/B2
*color15:
rgb:FF/FF/FF
*foreground:
rgb:0/0/0
I want to put all the lines that start with rgb at the end of the line before them. Sounds simple, right? I can do this if I open up ex manually and type in three commands, but I want to be able to just type one command into the terminal/use this in a script. I looked at the man page and thought -c would solve all my problems, but I can't get it to work. I'm trying
ex -c "g/\*/j
w
q" file
The only ways I can get it to work is are practically the same thing, run ex in script mode and give it a script file/pipe the commands into it
ex -s file < ex_script
# or
echo "g/\*/j
w
q" | ex -s file
What am I doing wrong? Also, how can I put multiple ex commands on one line? Is that possible?
I know how to do this with sed also, but I'd rather do it with ex because I think it'll be less obtuse.
Last edited by jac (2010-07-06 10:59:44)

Oh, I was mistaken in thinking vim had its own ex binary/wrapper. I tried the multiple -c commands with ex yesterday, and it only executed the last one. This does work with vim as you have described.
This solves it for me because I thought I was using the ex-thing from vim anyway. Looking at the man page for vim, it has a limit of 10 -c/+ switches, so I'm guessing this is added functionality of vim and that is why it doesn't work with standard ex.
Thank you, Procyon!

Similar Messages

  • [SOLVED] How do I use .tex files as templates in vim?

    I finally got vim just the way I like it, and I plan to write papers using LaTeX now that I have seen the light. I created a .tex file called documentTemplate.tex with all the options set up for the title, author, font, margins, etc. just the way I like it. What I would like to do is be able to execute a command that opens this document with vim and then be forced to save it as a different file name. I have made my documentTemplate.tex read-only, and when I open it with vim, it gives me the usual warning and then allows me to edit the document without actually writing over it.
    The problem I have experienced is after writing the file with a new name using ":w ~/Documents/<filename>", I am not able to save over that document with ":w". Every subsequent ":w" tries to save what I have over documentTemplate.tex, but not the new file name. How can I make this work correctly?
    If there is a better way to use .tex documents as templates with vim please let me know. I am not using vim-latex because it seems to be dying/not that good/unnecessary/whatever. What are the other LaTeXers doing? At least some of you guys must use vim!
    Thanks,
    Allamgir
    Last edited by Allamgir (2009-08-17 16:19:22)

    Or add something like this in your .vimrc (much cleaner imo):
    if has('autocmd')
    autocmd BufNewFile * silent! 0r $HOME/.vim/templates/%:e.tpl
    endif
    Where in this case $HOME/.vim/templates/tex.tpl is your latex template.  Now everytime you open a file that has a .tex extension (or possibly filetype, I'm not sure what is used here) your template will be loaded.  You can obviously modify it to whatever suits you the best.
    Note that this is taken straight out of my .vimrc, and it is set up to handle multiple template languages, not just tex files.  Adding a $HOME/.vim/templates/py.tpl automatically adds python templates too.
    Last edited by rson451 (2009-08-17 16:33:42)

  • What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?

    Hi All,
    I am new to TestStand. Still in the process of learning it.
    What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
    Thanks in advance,
    LaVIEWan
    Solved!
    Go to Solution.

    Hi,
    Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
    Regards
    Ray Farmer

  • How do I force Outlook 2010 to use Firefox instead if IE8?

    Whenever I click a link in my emails, it opens in IE8. With only one link, it works fine, but when I click on multiple links in a techie email, IE locks up when dealing with multiple tabs. Firefox works great.
    Where do I change the settings in Outlook 2010 so that links will open using Firefox instead???????
    Help files have not produced an answer.
    This is on a Win 7 Ultimate 32, Office 2010 Military version, with full Outlook 2010.
    TIA

    I found that this link solved my problem for windows 7:
    [http://www.werockyourweb.com/how-do-i-set-default-browser-outlook http://www.werockyourweb.com/how-do-i-set-default-browser-outlook]

  • Using Vim as a Python IDE?

    I am only just trying to learn Python. Presently using IDLE, but I prefer to edit with Vim. There is a lot of info around on using Vim with Python, but basically all I want to do at the moment is write a bit of test code and then run it through the Python interpreter and get back into Vim after seeing the error messages (;-)) ...I have just been doing a ":!/usr/bin/python %" for that.
    Can anyone suggest a more useful Vim addon IDE that is not too convoluted or complicated?

    what I used to do was to have a python session running inside screen and mapped some keys to send a selected region to the interpreter. (I took it from some web page, can't remember where.)
    I have something like this in my .vimrc:
    function Send_to_Screen(text)
    if !exists("g:screen_sessionname") || !exists("g:screen_windowname")
    call Screen_Vars()
    end
    echo system("screen -S " . g:screen_sessionname . " -p " . g:screen_windowname . " -X s\
    tuff '" . substitute(a:text, "'", "'\\\\''", 'g') . "'")
    endfunction
    function Screen_Session_Names(A,L,P)
    return system("screen -ls | awk '/Attached/ {print $1}'")
    endfunction
    function Screen_Vars()
    if !exists("g:screen_sessionname") || !exists("g:screen_windowname")
    let g:screen_sessionname = ""
    let g:screen_windowname = "0"
    end
    let g:screen_sessionname = input("session name: ", "", "custom,Screen_Session_Names")
    let g:screen_windowname = input("window name: ", g:screen_windowname)
    endfunction
    "common send to screen functions
    vmap <C-c><C-c> "ry :call Send_to_Screen(@r)<CR>
    nmap <C-c>v :call Screen_Vars()<CR>
    "python : insert tags and send fns
    nmap <C-i><C-p> i#{<CR>#}
    nmap <C-c><C-p> ml?#{<CR>jv/#}<CR>k<C-c><C-c>`l
    as you can see <C-i><C-p> would insert a couple of tags #{ #} then you write the code in between and, then doing <C-c><C-p> would send everything between the #{ ... #} to python. Very useful when you want to test just some pieces of code, instead if the whole file.

  • Using VIM

    I've recently been using VIM via with the GTK gui(gvim) and I fell in love with the editor, but I'd also like to use it in console mode instead of nano. The issues I am having is I do not know the keybindings in order to save ect. I'm use to M$ style keybindings . It's something like Ctrl+X+S? Something like that xD. Odd keybindings. Thanks for my very newbish question

    Gullible Jones wrote:
    test1000 wrote:ofc, unless you learn vim _well_ there is no reason you should use it when there are other, better editors for you out there.
    What better editors?
    i meant better as in 'better if you are used to windows keycombination and typical notepad-like interface and don't want to spend the time learning vim good enough so as to obliverate the necessity for previously mentioned like text-editor'
    then better would be: scite kwrite kate ...
    basically every editor except vim, emacs and nano _almost_ i must make clear.
    but i thought this was obvious. ach. i shall now construct everything i say so as to not leave a shred of possible misunderstanding in the air.

  • How do I make KDE use smartdimmer instead of ... ?

    Hi!
    I have KDE 4.3 installed on my laptop and the power management options don't work when it comes to dimming my screen. I have just installed smartdimmer, which does work for my screen and I'm wondering how I can tell KDE to use that instead.
    Thanks
    Last edited by steven (2009-10-24 02:10:50)

    There are two different settings involved:
    '''Address Bar Autofill'''
    If you have used HTTPS on a site before, Firefox's address bar autofill feature will prefer the HTTPS address. If you don't mind selecting from the drop-down instead, or simply typing the whole address, you can turn off the address bar autofill. Here's how:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''autofill''' and pause while the list is filtered
    (3) Double-click '''browser.urlbar.autoFill''' to toggle it from true to false.
    '''Address Bar Search'''
    Regarding address bar search, you can change the URL used by the "keyword" service. Please see this thread for links: [https://support.mozilla.org/en-US/questions/955363 Unable to connect to proxy due to automatic https].
    Does that solve it?

  • Exception access violation using jlong instead of jint

    Hi,
    I hope you can help me.
    I'm using Java5 under Windows XP and I'm developing under Eclipse.
    I try to use an "old" c-Application accesed via JNI.
    Status Quo is that, I have access to the c-side, over my JNI-conform DLL. My current task is to translate the c-side structs to java-objects. This also works, but only with limitation.
    Calling methods bidirectional is working, manipulation a java-object is like a walk on an warm and sunny Saturday afternoon.
    But I'm not able to use all possible parameters (for now I have tried to use jobject, jstring, jint, jboolean, jlong).
    The first problem I had, were using Strings as parameters, but this now I deal with the loopway over java/lang/object (using java/lang/String results in an access_violation).
    The next problem, and the harder one, is, that I cannot use the type long or jlong.
    int (jint) is no problem, with int all works fine, but if I change the environment, creating and using long, I allways get an the access_violation shown below.
    Is there anything, I need to know?
    working c-side-code:
    jobject someObject;
    jint anIntegerValue;
    anIntegerValue =5;               
    jmethodID mid3 = (*env)->GetMethodID(env, cl, "initReturnSomeObject", "(ILjava/lang/Object;)Ljava/lang/Object;");
                   if(mid3 == (jmethodID)0) printf("\ndooofes MethodName4!\n");
                             else {
                                  const char* myParams;
                                  myParams = "ooooohwow!!!";
                                  someObject = (*env)->CallObjectMethod(env, jobj, mid3,
                                             anIntegerValue, (*env)->NewStringUTF(env, myParams));
                             }wokring java-side-code
    public Object initReturnSomeObject(int i, Object obj) {
              String s = (String)obj;
              System.out.println("String: "+s+"\nInteger: "+i);
              some = new SomeObject(s,i);
              if(some==null) System.out.println("Some is not yet initialized, FEAR!!!!\n");
              else System.out.println("Yoh, I'm soooo many good!! \nSome:\nString: "+some.getS1()+"\nInt: "+some.getI1()+"\n");
              return (Object)some;
    so, und this code, doesn't work. you can see, the changes are dramatically!! ;)
    sorry for my sarcasm. I do not know, why it doesn't work.
    jlong aLongValue;
    aLongValue = 2;
    jmethodID mid3 = (*env)->GetMethodID(env, cl, "initReturnSomeObject", "(JLjava/lang/Object;)Ljava/lang/Object;");
                   if(mid3 == (jmethodID)0) printf("\ndooofes MethodName4!\n");
                             else {
                                  const char* myParams;
                                     myParams = "ooooohwow!!!";
                                  someObject = (*env)->CallObjectMethod(env, jobj, mid3,
                                            aLongValue, (*env)->NewStringUTF(env, myParams));
         public Object initReturnSomeObject(long i, Object obj) {
              String s = (String)obj;
              System.out.println("String: "+s+"\nInteger: "+i+"\nLong: ");
              some = new SomeObject(s,(int)i);
              if(some==null) System.out.println("Some is not yet initialized, FEAR!!!!\n");
              else System.out.println("Yoh, I'm soooo many good!! \nSome:\nString: "+some.getS1()+"\nInt: "+some.getI1()+"\n");
              return (Object)some;
    # An unexpected error has been detected by Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d942975, pid=1784, tid=1648
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
    # Problematic frame:
    # V  [jvm.dll+0x182975]
    # An error report file with more information is saved as hs_err_pid1784.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #do you need some other informations or details? something out of the log-file? ok, i have to take the bus, so sorry for uncomplete informations or sentences ;)
    till later.

    Hi,
    I'm quite sure, the signature is correct. For failure check, yesterday I ran javap to check the signature, but I do also mean, that I changed the signature afterwards for several time. And, it works ;) at least the way, using Integer.
    Trying to use java/lang/String everytime I got the Error, that the method could not be found - this is the part, I was wrong in my description. So the error-Message is a different one.
    Belonging to the question for assumptions I made... it's difficult. I'm quite new to JNI, so, I don't know, what I can assume to do. The Method call seems to be a kind of reflection-mechanism. So I assume that the behaviour is similar. But reflection I'm not very firm, either ^^.
    What I do assume is, that the parameter-value J fits to the java-type jlong. But a work around on this, I will try today. getting the jlong into an char* or using long instead of jlong or using Ljava/lang/Long; or a casted Long as Ljava/lang/Object; ...
    I'm anxious to the ideas, I will have, bypassing this point. if there is no way, I will write a file, send a email or something like this ;)
    Thx for thinking about my problem jschel!! It's great not to be alone.
    John

  • I just found my old ipod touch (i think 1st generation) and would like to let my toddler use it instead of my phone.  I am trying to download apps but it say I need to update to 4.3 but it won't let me update.  I have the most recent itunes. any idea why?

    I just found my old ipod touch (i think 1st generation) and would like to let my toddler use it instead of my phone.  I am trying to download apps but it say I need to update to 4.3 but it won't let me update.  I have the most recent itunes. any idea why? I saw a thread saying to purchase the newest software (that was posted a few years ago) I paid 4.95 for the software and it's still saying it can't be updated.  Am I just SOL??

    The 1G iPod can only go as high as 3.1.3. The 1G does not have an internal speaker or volume buttons on the upper left edge.
    Identifying iPod models
    To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Apple Club - filter apps by iOS version.

  • How to modify a lookup field-type to use checkbox instead of radiobutton?

    How to modify a lookup field-type to use checkbox instead of radiobutton?
    I would like to modify the behavior for the lookup field.
    Normally you get a screen where it is possible to search through a lookup. The items resulted from the search are listed as radiobutton items. Therefore you can select only one at the time to be added.
    Is it possible to have the items to be listed as checkbox instead? So that you can check multiple items and therefore be able to add multiple items at the time?
    For example:
    To add the user to 10 different groups on MS-AD.
    It is desired to have the ability to check multiple groups to be added instead only one at the time.
    My client would like to use this feature in many other situations.

    Displaying will not be a big deal but with that you have to customize the action class and its working as well.

  • Open hyperlinks in html text using StageWebView instead of external browser

    My iPad app downloads xml data from a server and displays it as html text. The text may contain hyperlinks and currently these are correctly displayed as links in my app. However when I click on the link, it opens the link in an external browser.
    Any idea how I could instead open the links using StageWebView - I know how to open a link using StageWebView - the problem is intercepting whatever causes it to open in the external browser and instead use StageWebView.
    Thanks in advance

    Hi, John, welcome to Apple's user-to-user discussion forums.
    Does anyone here know of a way to open new windows without using command click in a tab?
    If you want links on a web page to open in a new tab, you need to command-click on them. This will work both for links set up to open in the same window and those set up to open in a new window. There is no setting in Preferences to make links on a web page automatically open in a new tab.
    There is a preference setting to open links from other programs, such as Mail, in a new tab. In Safari's Preferences, click on the General icon. Towards the bottom where it says "Open links from applications", check "in a new tab in the current window".

  • [SOLVED] I have to use "startx" twice in order to make it work

    Hello
    2 days ago I decided to reinstall Arch Linux again because 3 months ago when I installed Windows, it got installed on top of my Arch partitions (even though I told it to install on my second hard drive). Anyway, I'm having some problems with "startx". I log in on my user account, then I type "startx" (I haven't took the time to figure out how to do that automatically yet). Then I see some color changes on my screen, monitor turns off then shows a black screen and some other things, it happens so fast. But in the end it stays black. Then I have to go to a new console (tty2) and startx again, same color changes and then it works, although not perfectly: e.g. I've put "sh ~/.fehbg &" in .xinitrc but I only see my wallpaper for 1 second and then it goes away. There's also "numlockx" in my .xinitrc file and when I do startx for the first time I see that my numlock light on my keyboard turns on. So it starts, but not completely.
    I also have problems with SLiM. I installed it, configured and enabled it like it is written on the wiki (/etc/inittab). But still there's no sign of it when I boot Arch Linux. Maybe these 2 problems might be related somehow?
    Here are some config files and logs that I made.
    Log 1 = When I use startx for the first time (startx &> log)
    X.Org X Server 1.12.4
    Release Date: 2012-08-27
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.4.8-1-ARCH x86_64
    Current Operating System: Linux ruben 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d7c730b6-c224-4ab4-9079-2eaa18cfbab3 ro quiet
    Build Date: 27 August 2012 08:04:39AM
    Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 3 00:30:33 2012
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    > Ignoring extra symbols
    Errors from xkbcomp are not fatal to the X server
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Compat map for group 2 redefined
    > Using new definition
    > Warning: Compat map for group 3 redefined
    > Using new definition
    > Warning: Compat map for group 4 redefined
    > Using new definition
    Errors from xkbcomp are not fatal to the X server
    xinit: connection to X server lost
    waiting for X server to shut down ..........
    xinit: X server slow to shut down, sending KILL signal
    waiting for server to die
    xinit: unexpected signal 1
    Log 2 = When I use startx for the second time (startx &> log2)
    X.Org X Server 1.12.4
    Release Date: 2012-08-27
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.4.8-1-ARCH x86_64
    Current Operating System: Linux ruben 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d7c730b6-c224-4ab4-9079-2eaa18cfbab3 ro quiet
    Build Date: 27 August 2012 08:04:39AM
    Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Wed Oct 3 00:31:19 2012
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    > Ignoring extra symbols
    Errors from xkbcomp are not fatal to the X server
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Compat map for group 2 redefined
    > Using new definition
    > Warning: Compat map for group 3 redefined
    > Using new definition
    > Warning: Compat map for group 4 redefined
    > Using new definition
    Errors from xkbcomp are not fatal to the X server
    Another instance of Dropbox (611) is running!
    which: no hsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl)
    which: no esetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl)
    Another instance of Dropbox (611) is running!
    [874:907:130934640:ERROR:bus.cc(307)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
    [874:907:130941871:ERROR:bus.cc(307)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
    I18N: Operating system doesn't support locale "en_US"
    I18N: Operating system doesn't support locale "en_US"
    [1236:1250:601579755:ERROR:bus.cc(307)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
    [1236:1250:601580025:ERROR:bus.cc(307)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
    xinit: connection to X server lost
    waiting for X server to shut down XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
    after 49525 requests (49525 known processed) with 0 events remaining.
    urxvt: X connection to ':1' broken, unable to recover, exiting.
    ..Server terminated successfully (0). Closing log file.
    xinit: unexpected signal 1
    Xorg.0.log (copied after using startx for the first time, since the mistake is most likely over there, if there's one at least)
    [ 49.310]
    X.Org X Server 1.12.4
    Release Date: 2012-08-27
    [ 49.311] X Protocol Version 11, Revision 0
    [ 49.311] Build Operating System: Linux 3.4.8-1-ARCH x86_64
    [ 49.312] Current Operating System: Linux ruben 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64
    [ 49.313] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d7c730b6-c224-4ab4-9079-2eaa18cfbab3 ro quiet
    [ 49.314] Build Date: 27 August 2012 08:04:39AM
    [ 49.314]
    [ 49.314] Current version of pixman: 0.26.2
    [ 49.315] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 49.315] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 49.318] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 3 00:44:15 2012
    [ 49.357] (==) Using config file: "/etc/X11/xorg.conf"
    [ 49.357] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 49.393] (==) ServerLayout "Layout0"
    [ 49.393] (**) |-->Screen "Screen0" (0)
    [ 49.393] (**) | |-->Monitor "Monitor0"
    [ 49.402] (**) | |-->Device "Device0"
    [ 49.402] (**) |-->Input Device "Keyboard0"
    [ 49.402] (**) |-->Input Device "Mouse0"
    [ 49.402] (==) Automatically adding devices
    [ 49.402] (==) Automatically enabling devices
    [ 49.472] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 49.472] Entry deleted from font path.
    [ 49.512] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 49.512] Entry deleted from font path.
    [ 49.512] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 49.513] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 49.513] Entry deleted from font path.
    [ 49.513] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 49.513] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 49.513] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 49.513] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 49.513] (WW) Disabling Keyboard0
    [ 49.513] (WW) Disabling Mouse0
    [ 49.513] (II) Loader magic: 0x7c8b00
    [ 49.513] (II) Module ABI versions:
    [ 49.513] X.Org ANSI C Emulation: 0.4
    [ 49.513] X.Org Video Driver: 12.1
    [ 49.513] X.Org XInput driver : 16.0
    [ 49.513] X.Org Server Extension : 6.0
    [ 49.515] (--) PCI:*(0:1:0:0) 10de:0649:1025:013d rev 161, Mem @ 0xce000000/16777216, 0xd0000000/268435456, 0xcc000000/33554432, I/O @ 0x00002000/128
    [ 49.515] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 49.515] (II) LoadModule: "extmod"
    [ 49.544] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 49.550] (II) Module extmod: vendor="X.Org Foundation"
    [ 49.550] compiled for 1.12.4, module version = 1.0.0
    [ 49.550] Module class: X.Org Server Extension
    [ 49.550] ABI class: X.Org Server Extension, version 6.0
    [ 49.550] (II) Loading extension MIT-SCREEN-SAVER
    [ 49.550] (II) Loading extension XFree86-VidModeExtension
    [ 49.550] (II) Loading extension XFree86-DGA
    [ 49.550] (II) Loading extension DPMS
    [ 49.550] (II) Loading extension XVideo
    [ 49.550] (II) Loading extension XVideo-MotionCompensation
    [ 49.550] (II) Loading extension X-Resource
    [ 49.550] (II) LoadModule: "dbe"
    [ 49.550] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 49.558] (II) Module dbe: vendor="X.Org Foundation"
    [ 49.558] compiled for 1.12.4, module version = 1.0.0
    [ 49.558] Module class: X.Org Server Extension
    [ 49.558] ABI class: X.Org Server Extension, version 6.0
    [ 49.558] (II) Loading extension DOUBLE-BUFFER
    [ 49.558] (II) LoadModule: "glx"
    [ 49.558] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 50.693] (II) Module glx: vendor="NVIDIA Corporation"
    [ 50.693] compiled for 4.0.2, module version = 1.0.0
    [ 50.693] Module class: X.Org Server Extension
    [ 50.693] (II) NVIDIA GLX Module 304.51 Tue Sep 18 17:38:06 PDT 2012
    [ 50.693] (II) Loading extension GLX
    [ 50.693] (II) LoadModule: "record"
    [ 50.693] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 50.703] (II) Module record: vendor="X.Org Foundation"
    [ 50.703] compiled for 1.12.4, module version = 1.13.0
    [ 50.703] Module class: X.Org Server Extension
    [ 50.703] ABI class: X.Org Server Extension, version 6.0
    [ 50.703] (II) Loading extension RECORD
    [ 50.703] (II) LoadModule: "dri"
    [ 50.704] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 50.716] (II) Module dri: vendor="X.Org Foundation"
    [ 50.716] compiled for 1.12.4, module version = 1.0.0
    [ 50.716] ABI class: X.Org Server Extension, version 6.0
    [ 50.716] (II) Loading extension XFree86-DRI
    [ 50.716] (II) LoadModule: "dri2"
    [ 50.716] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 50.717] (II) Module dri2: vendor="X.Org Foundation"
    [ 50.717] compiled for 1.12.4, module version = 1.2.0
    [ 50.717] ABI class: X.Org Server Extension, version 6.0
    [ 50.717] (II) Loading extension DRI2
    [ 50.717] (II) LoadModule: "nvidia"
    [ 50.731] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 50.805] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 50.805] compiled for 4.0.2, module version = 1.0.0
    [ 50.805] Module class: X.Org Video Driver
    [ 50.834] (II) NVIDIA dlloader X Driver 304.51 Tue Sep 18 17:18:40 PDT 2012
    [ 50.834] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 50.845] (--) using VT number 7
    [ 50.903] (II) Loading sub module "fb"
    [ 50.903] (II) LoadModule: "fb"
    [ 50.903] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 50.919] (II) Module fb: vendor="X.Org Foundation"
    [ 50.919] compiled for 1.12.4, module version = 1.0.0
    [ 50.919] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 50.919] (II) Loading sub module "wfb"
    [ 50.919] (II) LoadModule: "wfb"
    [ 50.920] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 50.933] (II) Module wfb: vendor="X.Org Foundation"
    [ 50.933] compiled for 1.12.4, module version = 1.0.0
    [ 50.933] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 50.933] (II) Loading sub module "ramdac"
    [ 50.933] (II) LoadModule: "ramdac"
    [ 50.934] (II) Module "ramdac" already built-in
    [ 50.944] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    [ 50.944] (==) NVIDIA(0): RGB weight 888
    [ 50.944] (==) NVIDIA(0): Default visual is TrueColor
    [ 50.944] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 50.945] (**) NVIDIA(0): Enabling 2D acceleration
    [ 54.431] (II) NVIDIA(GPU-0): Display (AU Optronics Corporation (DFP-0)) does not support
    [ 54.431] (II) NVIDIA(GPU-0): NVIDIA 3D Vision stereo.
    [ 54.448] (II) NVIDIA(0): NVIDIA GPU GeForce 9600M GT (G96) at PCI:1:0:0 (GPU-0)
    [ 54.448] (--) NVIDIA(0): Memory: 1048576 kBytes
    [ 54.448] (--) NVIDIA(0): VideoBIOS: 62.94.4a.00.23
    [ 54.448] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 54.448] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    [ 54.455] (--) NVIDIA(0): Valid display device(s) on GeForce 9600M GT at PCI:1:0:0
    [ 54.455] (--) NVIDIA(0): CRT-0
    [ 54.455] (--) NVIDIA(0): AU Optronics Corporation (DFP-0) (connected)
    [ 54.455] (--) NVIDIA(0): DFP-1
    [ 54.455] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
    [ 54.455] (--) NVIDIA(0): AU Optronics Corporation (DFP-0): 330.0 MHz maximum pixel clock
    [ 54.455] (--) NVIDIA(0): AU Optronics Corporation (DFP-0): Internal Dual Link LVDS
    [ 54.455] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
    [ 54.455] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
    [ 54.455] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
    [ 54.455] (**) NVIDIA(0): device AU Optronics Corporation (DFP-0) (Using EDID
    [ 54.455] (**) NVIDIA(0): frequencies has been enabled on all display devices.)
    [ 54.456] (==) NVIDIA(0):
    [ 54.456] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
    [ 54.456] (==) NVIDIA(0): will be used as the requested mode.
    [ 54.456] (==) NVIDIA(0):
    [ 54.456] (II) NVIDIA(0): Validated MetaModes:
    [ 54.456] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
    [ 54.456] (II) NVIDIA(0): Virtual screen size determined to be 1440 x 900
    [ 55.521] (--) NVIDIA(0): DPI set to (98, 99); computed from "UseEdidDpi" X config
    [ 55.521] (--) NVIDIA(0): option
    [ 55.522] (--) Depth 24 pixmap format is 32 bpp
    [ 55.522] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
    [ 55.530] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 55.530] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 55.530] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 55.530] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 55.530] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 55.530] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 55.530] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 55.530] (II) NVIDIA(0): Config Options in the README.
    [ 55.533] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
    [ 55.879] (II) Loading extension NV-GLX
    [ 55.938] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 55.938] (==) NVIDIA(0): Backing store disabled
    [ 55.938] (==) NVIDIA(0): Silken mouse enabled
    [ 55.939] (**) NVIDIA(0): DPMS enabled
    [ 55.939] (II) Loading extension NV-CONTROL
    [ 55.939] (II) Loading extension XINERAMA
    [ 55.939] (II) Loading sub module "dri2"
    [ 55.939] (II) LoadModule: "dri2"
    [ 55.940] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 55.940] (II) Module dri2: vendor="X.Org Foundation"
    [ 55.940] compiled for 1.12.4, module version = 1.2.0
    [ 55.940] ABI class: X.Org Server Extension, version 6.0
    [ 55.940] (II) NVIDIA(0): [DRI2] Setup complete
    [ 55.940] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 55.940] (--) RandR disabled
    [ 55.940] (II) Initializing built-in extension Generic Event Extension
    [ 55.940] (II) Initializing built-in extension SHAPE
    [ 55.940] (II) Initializing built-in extension MIT-SHM
    [ 55.940] (II) Initializing built-in extension XInputExtension
    [ 55.940] (II) Initializing built-in extension XTEST
    [ 55.940] (II) Initializing built-in extension BIG-REQUESTS
    [ 55.940] (II) Initializing built-in extension SYNC
    [ 55.940] (II) Initializing built-in extension XKEYBOARD
    [ 55.940] (II) Initializing built-in extension XC-MISC
    [ 55.940] (II) Initializing built-in extension SECURITY
    [ 55.940] (II) Initializing built-in extension XINERAMA
    [ 55.940] (II) Initializing built-in extension XFIXES
    [ 55.940] (II) Initializing built-in extension RENDER
    [ 55.940] (II) Initializing built-in extension RANDR
    [ 55.940] (II) Initializing built-in extension COMPOSITE
    [ 55.940] (II) Initializing built-in extension DAMAGE
    [ 55.943] (II) Initializing extension GLX
    [ 56.358] (II) config/udev: Adding input device Power Button (/dev/input/event6)
    [ 56.358] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 56.358] (II) LoadModule: "evdev"
    [ 56.358] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 56.374] (II) Module evdev: vendor="X.Org Foundation"
    [ 56.374] compiled for 1.12.3.901, module version = 2.7.3
    [ 56.374] Module class: X.Org XInput Driver
    [ 56.374] ABI class: X.Org XInput driver, version 16.0
    [ 56.374] (II) Using input driver 'evdev' for 'Power Button'
    [ 56.374] (**) Power Button: always reports core events
    [ 56.374] (**) evdev: Power Button: Device: "/dev/input/event6"
    [ 56.375] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 56.375] (--) evdev: Power Button: Found keys
    [ 56.375] (II) evdev: Power Button: Configuring as keyboard
    [ 56.375] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event6"
    [ 56.375] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 56.375] (**) Option "xkb_rules" "evdev"
    [ 56.375] (**) Option "xkb_model" "evdev"
    [ 56.375] (**) Option "xkb_layout" "us"
    [ 56.399] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
    [ 56.399] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 56.399] (II) Using input driver 'evdev' for 'Video Bus'
    [ 56.399] (**) Video Bus: always reports core events
    [ 56.399] (**) evdev: Video Bus: Device: "/dev/input/event2"
    [ 56.399] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 56.399] (--) evdev: Video Bus: Found keys
    [ 56.399] (II) evdev: Video Bus: Configuring as keyboard
    [ 56.399] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input3/event2"
    [ 56.399] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 56.399] (**) Option "xkb_rules" "evdev"
    [ 56.399] (**) Option "xkb_model" "evdev"
    [ 56.399] (**) Option "xkb_layout" "us"
    [ 56.400] (II) config/udev: Adding input device Power Button (/dev/input/event4)
    [ 56.400] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 56.400] (II) Using input driver 'evdev' for 'Power Button'
    [ 56.400] (**) Power Button: always reports core events
    [ 56.400] (**) evdev: Power Button: Device: "/dev/input/event4"
    [ 56.400] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 56.400] (--) evdev: Power Button: Found keys
    [ 56.400] (II) evdev: Power Button: Configuring as keyboard
    [ 56.400] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4/event4"
    [ 56.400] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
    [ 56.400] (**) Option "xkb_rules" "evdev"
    [ 56.400] (**) Option "xkb_model" "evdev"
    [ 56.400] (**) Option "xkb_layout" "us"
    [ 56.401] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
    [ 56.401] (II) No input driver specified, ignoring this device.
    [ 56.401] (II) This device may have been added with another device file.
    [ 56.401] (II) config/udev: Adding input device Sleep Button (/dev/input/event5)
    [ 56.401] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
    [ 56.401] (II) Using input driver 'evdev' for 'Sleep Button'
    [ 56.401] (**) Sleep Button: always reports core events
    [ 56.401] (**) evdev: Sleep Button: Device: "/dev/input/event5"
    [ 56.401] (--) evdev: Sleep Button: Vendor 0 Product 0x3
    [ 56.401] (--) evdev: Sleep Button: Found keys
    [ 56.401] (II) evdev: Sleep Button: Configuring as keyboard
    [ 56.401] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input5/event5"
    [ 56.401] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
    [ 56.401] (**) Option "xkb_rules" "evdev"
    [ 56.401] (**) Option "xkb_model" "evdev"
    [ 56.401] (**) Option "xkb_layout" "us"
    [ 56.402] (II) config/udev: Adding input device Acer Crystal Eye webcam (/dev/input/event8)
    [ 56.402] (**) Acer Crystal Eye webcam: Applying InputClass "evdev keyboard catchall"
    [ 56.402] (II) Using input driver 'evdev' for 'Acer Crystal Eye webcam'
    [ 56.402] (**) Acer Crystal Eye webcam: always reports core events
    [ 56.402] (**) evdev: Acer Crystal Eye webcam: Device: "/dev/input/event8"
    [ 56.402] (--) evdev: Acer Crystal Eye webcam: Vendor 0x64e Product 0xa103
    [ 56.402] (--) evdev: Acer Crystal Eye webcam: Found keys
    [ 56.402] (II) evdev: Acer Crystal Eye webcam: Configuring as keyboard
    [ 56.402] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/input/input8/event8"
    [ 56.402] (II) XINPUT: Adding extended input device "Acer Crystal Eye webcam" (type: KEYBOARD, id 10)
    [ 56.402] (**) Option "xkb_rules" "evdev"
    [ 56.402] (**) Option "xkb_model" "evdev"
    [ 56.402] (**) Option "xkb_layout" "us"
    [ 56.402] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
    [ 56.402] (II) No input driver specified, ignoring this device.
    [ 56.402] (II) This device may have been added with another device file.
    [ 56.403] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event10)
    [ 56.403] (II) No input driver specified, ignoring this device.
    [ 56.403] (II) This device may have been added with another device file.
    [ 56.403] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event11)
    [ 56.403] (II) No input driver specified, ignoring this device.
    [ 56.403] (II) This device may have been added with another device file.
    [ 56.403] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event12)
    [ 56.403] (II) No input driver specified, ignoring this device.
    [ 56.403] (II) This device may have been added with another device file.
    [ 56.403] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 56.403] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 56.403] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 56.404] (**) AT Translated Set 2 keyboard: always reports core events
    [ 56.404] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 56.404] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 56.404] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 56.404] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 56.404] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 56.404] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
    [ 56.404] (**) Option "xkb_rules" "evdev"
    [ 56.404] (**) Option "xkb_model" "evdev"
    [ 56.404] (**) Option "xkb_layout" "us"
    [ 56.404] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
    [ 56.404] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
    [ 56.404] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
    [ 56.404] (II) LoadModule: "synaptics"
    [ 56.404] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 56.418] (II) Module synaptics: vendor="X.Org Foundation"
    [ 56.418] compiled for 1.12.2, module version = 1.6.2
    [ 56.418] Module class: X.Org XInput Driver
    [ 56.418] ABI class: X.Org XInput driver, version 16.0
    [ 56.418] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
    [ 56.418] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 56.418] (**) Option "Device" "/dev/input/event7"
    [ 56.423] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
    [ 56.423] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
    [ 56.423] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    [ 56.423] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
    [ 56.423] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right scroll-buttons
    [ 56.423] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
    [ 56.423] (**) Option "TapButton1" "1"
    [ 56.423] (**) Option "TapButton2" "2"
    [ 56.423] (**) Option "TapButton3" "3"
    [ 56.424] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [ 56.424] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 56.424] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input7/event7"
    [ 56.424] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
    [ 56.424] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
    [ 56.424] (**) synaptics: SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
    [ 56.424] (**) synaptics: SynPS/2 Synaptics TouchPad: AccelFactor is now 0.040
    [ 56.424] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    [ 56.424] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
    [ 56.424] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
    [ 56.424] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
    [ 56.424] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [ 56.424] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
    [ 56.424] (II) No input driver specified, ignoring this device.
    [ 56.424] (II) This device may have been added with another device file.
    [ 56.425] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
    [ 56.425] (II) No input driver specified, ignoring this device.
    [ 56.425] (II) This device may have been added with another device file.
    Xorg.conf
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 304.51 ([email protected]) Tue Sep 18 18:26:36 PDT 2012
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "1"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    .xinitrc
    # Set keyboard layout to Belgian
    setxkbmap -layout be
    # Activate numlock
    numlockx &
    # Start Dropbox
    dropboxd
    # Set wallpaper
    sh ~/.fehbg &
    # Start Openbox
    exec ck-launch-session dbus-launch openbox-session
    I know that .xinitrc is still practically empty, but I only started configuring it yesterday and I like to take things slowly (perfectionist here).
    I did some research after some errors in log1 and log2 but I didn't find anything that worked. Xorg.0.log I only checked for (EE) tags, and I didn't find any.
    Anyone has an idea what may have caused this? Any errors that I didn't see?
    Thank you in advance.
    Last edited by Culinax (2012-10-04 09:50:39)

    That is not a practically empty xinitrc - that file only needs one line: exec WM.  Other things are entirely optional, and some of them very useful, but I'd encourage you to stick with the simplest xinitrc that will do what you require.
    Is slim involved?  Probably.  That is the source of many problems.  But to start narrowing this down, I have 3 suggestions:
    1) temporarily (at least) change your inittab to default to runlevel 3 ... actually, is it currently set to 5 or 3? if it is currently 3 that would explain why slim doesn't start.
    2) at a tty in runlevel 3 use "xinit" instead of "startx".  Startx is fine most of the time, but it is essentially just a complex wrapper for xinit.  That complexity can often iadd useful functionality, but it *always* makes troubleshooting more difficult.  So for now just use a vanilla 'xinit'.
    3) remove dbus-launch from your exec line in xinitrc.  This is done by console-kit so it is redundant and potentially problematic.  Further BOTH of these are taken care of by slim, so I'd even suggest getting both a jump start on being ready for slim and simplifying troubleshooting by removing both of them.  Just make that line "exec openbox-session"
    Edit: adding one more:
    4) temporarily switch out openbox-session for openbox.  I suspect the reason feh's setting of the background is getting overridden is due to a script or setting in openbox's autostart settings - many of these are only invoked when "openbox-session" is called, while "openbox" starts *just* the window manager itself.
    Last edited by Trilby (2012-10-03 17:30:36)

  • Invalid security certificate for my website host-they say the problem is Apple Safari and use Firefox instead

    For the past few days, I keep getting an invalid security certificate in Safari whenever I select Edit My Site from my website homepage (http://annaporterartist.com), or whenever I select anything requiring a secure log in from my website host main page (FASO.com). I have contacted technical support at my website host (fineartstudioonline.com) and they say that this has been an intermittently recurring problem in Safari for years and they recommend that I use Firefox instead. As proof of this they emailed a link to an Apple Support discussion, but it was for Mac OS X Lion v 10.7.4 and Safari 5.1, even though I told them I am using Mac OS X Mountain Lion v 10.8.2 and Safari 6.0.2. I do not get this error message anywhere else on the web using Safari. I did try Firefox and it seems to work fine, but I prefer Safari and I want to know why Safari is not working as it should be. I am concerned that there is a real security problem with my website host and I need someone to explain why I am getting this error message, what it means, and if it is, in fact, a known problem with Safari or is my website host corrupted? Really tired of technical support playing pass the buck or pretending the problem does not exist.
    The specific error message is:
    Their response to my inquiry and my reply is shown below:

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ Certificates
    There are three menus in the window. What is selected in each of them?

  • I would like to read a text file in which the decimal numbers are using dots instead of commas. Is there a way of converting this in labVIEW, or how can I get the program to enterpret the figures in the correct way?

    The program doest enterpret my figures from the text file in the correct way since the numbers contain dots instead of commas. Is there a way to fix this in labVIEW, or do I have to change the files before reading them in the program? Thanks beforehend!

    You must go in the labview option menu, you can select 'use the local
    separator' in the front side submenu (LV6i).
    If you use the "From Exponential/Fract/Eng" vi, you are able to select this
    opton (with a boolean) without changing the labview parameters.
    (sorry for my english)
    Lange Jerome
    FRANCE
    "Nina" a ecrit dans le message news:
    [email protected]..
    > I would like to read a text file in which the decimal numbers are
    > using dots instead of commas. Is there a way of converting this in
    > labVIEW, or how can I get the program to enterpret the figures in the
    > correct way?
    >
    > The program doest enterpret my figures from the text file in the
    > correct way since the numbers contain dots instea
    d of commas. Is there
    > a way to fix this in labVIEW, or do I have to change the files before
    > reading them in the program? Thanks beforehend!

  • Using open instead of file open causes Acrobat X11 to barf and stop working

    I get a Critical Error when I use Open instead of File Open.
    Faulting Application Path: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
    Problem Event Name: APPCRASH
    Application Name: Acrobat.exe
    Application Version: 11.0.9.29
    Application Timestamp: 5412b52e
    Fault Module Name: StackHash_9cd1
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Code: c00001a5
    Exception Offset: PCH_9A_FROM_ntdll+0x0003AAAC
    OS Version: 6.3.9600.2.0.0.256.48
    Locale ID: 1033
    Additional Information 1: 9cd1
    Additional Information 2: 9cd11aece74acb27712497bb36a41cb9
    Additional Information 3: 907e
    Additional Information 4: 907e2580c2bb8a6c100db3c807719959
    Bucket ID: 14715054b1814cb4d80f9c990e44ea23 (73554368215)

    You can use the DocOpen event.

Maybe you are looking for

  • No suggestion has worked for me to fix iTunes 10.2.1.1 upgrade!

    I upgraded my iTunes when prompted 2 days ago and thought nothing more of it until yesterday when I tried to launch iTunes in order to add more songs. (I am using Windows 7 btw). Whenever I clicked on the icon to open it nothing happened and before a

  • ORA-00600: internal error code, arguments: [ktbdchk1: bad dscn], [], [], []

    Hi, Can anyone tell me how to resolve this error ORA-00600: internal error code, arguments: [ktbdchk1: bad dscn], [], [], [], [], [], [], [] ORA-06512: at "ProcName", line 7 ORA-06512: at line 17 thx

  • Can't Get Albumn Art To Import Always

    This one I've never been able figure out as it's intermittent: Sometimes on CDs, that I own, and rip to iTunes, if iTunes doesn't find the artwork online, I'll copy/paste the cover art in myself. Mostly it works fine. I make the art 500x500 pixels. -

  • Centering the entire site

    I've decided to venture out and learn CSS, but I've a long way to go. I've watched many videos and read up on "how to's" as well as key benifits of CSS. So I've decided to start with a css template in DW and work backwards rather that open notebook a

  • Read a single digit in a row of numbers

    Hi, is there a format or check the second digit in row. For example: input 123456; I want to get '2' from the row and out put as an ID All help is greatly appreciated. Cheers, LJ