Announcement

Collapse
No announcement yet.

Error Loading menu.lst

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error Loading menu.lst

    I just installed Kubuntu 7.04.

    I want to change the menu.lst, so I enterewd the command (Alt-F2 box):

    kdesu kate /boot/grub/menu.lst

    and I got the following errors:

    >
    xError BadDevice, 1 invalid or uninitialized input device 167

    Major opcode 144
    Minor opcode 3
    Resource ID 0

    Failed to open Device

    Major opcode 144
    Minor opcode 3
    Resource ID 0

    What do I do to fix this?

    Chuck Billow
    *****<br />&quot;I not only use all the brains that I have, but all that I can borrow.&quot;<br /><br />~ Woodrow Wilson

    #2
    Re: Error Loading menu.lst

    You types this into a terminal? Without opening the Konsole press the ALT key and the F2 key at the same time. This will give you the run command.

    The error is just a complaint that you opened a gui app with a konsole.

    eriefisher
    ~$sudo make me a sandwich

    Comment


      #3
      Re: Error Loading menu.lst

      Originally posted by eriefisher
      You types this into a terminal? Without opening the Konsole press the ALT key and the F2 key at the same time. This will give you the run command.

      The error is just a complaint that you opened a gui app with a konsole.

      eriefisher
      It was in a run box (Alt-F2)... I'll try it again...

      Chuck
      *****<br />&quot;I not only use all the brains that I have, but all that I can borrow.&quot;<br /><br />~ Woodrow Wilson

      Comment


        #4
        Re: Error Loading menu.lst

        Two problems:
        1. You can't get any output from the Run Command dialog. (Unless you mean a dialog box popped up.)
        2. There's nothing there that says bad things. See this to fix a nuisance you have there.
        For external use only.

        Comment


          #5
          Re: Error Loading menu.lst

          I remember this coming up before here, and although I didn't read SheeEttin's link this time, I think we are on the same page on this subject.
          FWIW, I get those messages all the time at Konsole when opening GUI's with sudo or kdesu. Almost every time, though, it finally opens in a few seconds and all is well. Now and then, I just close out and try again and it'll come through ok.
          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

          Comment


            #6
            Re: Error Loading menu.lst

            Isn't
            Code:
            sudo kate
            an easier way to edit menu.lst, then open the file at /boot/grub/ having ignored the grumbles in the terminal? Greg

            Comment


              #7
              Re: Error Loading menu.lst

              No. Use kdesu for GUI apps (like Kate or Konqueror) and sudo for others (like vi or anything else). Bad things happen if you don't.
              For external use only.

              Comment


                #8
                Re: Error Loading menu.lst

                Originally posted by SheeEttin
                No. Use kdesu for GUI apps
                Good to know that there is a better way, but KDESU kate still gives strange warnings, at least it does on my computer.
                X Error: BadDevice, invalid or uninitialized input device 167
                Major opcode: 144
                Minor opcode: 3
                Resource id: 0x0
                Failed to open device
                Greg

                Comment


                  #9
                  Re: Error Loading menu.lst

                  Originally posted by gregb49
                  Originally posted by SheeEttin
                  No. Use kdesu for GUI apps
                  Good to know that there is a better way, but KDESU kate still gives strange warnings, at least it does on my computer.
                  X Error: BadDevice, invalid or uninitialized input device 167
                  Major opcode: 144
                  Minor opcode: 3
                  Resource id: 0x0
                  Failed to open device
                  Greg
                  Greg I'm still getting a bit of those errors as well... Doesn't seem to alter results, but a bit unnerving...

                  Chuck
                  *****<br />&quot;I not only use all the brains that I have, but all that I can borrow.&quot;<br /><br />~ Woodrow Wilson

                  Comment


                    #10
                    Re: Error Loading menu.lst

                    That is easily fixed. You need to open your /etc/X11/xorg.conf file with kate in Super User mode, i.e.
                    Code:
                    kdesu kate /etc/X11/xorg.conf
                    . First thing to do is "save as" xorg.conf.bak_1OCT07, so you've got a solid, current backup file.

                    Now, go to the "Server Layout" stanza, find the lines that refer to the wacom stylus, cursor, and erasor, and "comment" them out by inserting a "#" in front of each offending line, so it looks like so:
                    Code:
                    Section "ServerLayout"
                    #	InputDevice   "stylus"	"SendCoreEvents"
                    #	InputDevice   "cursor"	"SendCoreEvents"
                    #	InputDevice   "eraser"	"SendCoreEvents"
                      Identifier   "Default Layout"
                      Screen   0 "Screen0" 0 0
                      InputDevice  "Generic Keyboard"
                      InputDevice  "Configured Mouse"
                    EndSection
                    Next. scroll down to where the "Section Input Device" stanzas begin. Find the three stanzas that refer to the erasor, the stylus, and the cursor, and comment them out, so they look like this:

                    Code:
                    # Section "InputDevice"
                    #  Identifier   "stylus"
                    #  Driver     "wacom"
                    #  Option     "Device" "/dev/input/wacom"
                    #  Option     "Type" "stylus"
                    #  Option     "ForceDevice" "ISDV4"		# Tablet PC ONLY
                    # EndSection
                    
                    # Section "InputDevice"
                    #  Identifier   "eraser"
                    #  Driver     "wacom"
                    #  Option     "Device" "/dev/input/wacom"
                    #  Option     "Type" "eraser"
                    #  Option     "ForceDevice" "ISDV4"		# Tablet PC ONLY
                    # EndSection
                    
                    # Section "InputDevice"
                    #  Identifier   "cursor"
                    #  Driver     "wacom"
                    #  Option     "Device" "/dev/input/wacom"
                    #  Option     "Type" "cursor"
                    #  Option     "ForceDevice" "ISDV4"		# Tablet PC ONLY
                    # EndSection
                    Now click "save as" again, and this time save it as xorg.conf. If you want to restart the xserver with this new configuration, just Ctrl-Alt-Backspace and log in again. Otherwise it will take effect the next time you log in or reboot.

                    You're done -- tell a friend how to do it!

                    Comment


                      #11
                      Re: Error Loading menu.lst

                      Psychocats on the graphical sudo issue (she explains it for Ubuntu and sudo vs gksudo, but the principle is the same—kdesu = gksudo etc).
                      http://www.psychocats.net/ubuntu/graphicalsudo

                      Thanks, dibl, for that fix—Good to know that!


                      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                      Comment

                      Working...
                      X