Announcement

Collapse
No announcement yet.

GVim causes X errors

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

    GVim causes X errors

    I have kubuntu 7.04 installed with most things running. I managed to bust my first install because GVim was giving X errors when run in a command tool. GVim did start, but even after following some advice regarding install of esd I could not get rid of the X errors. A stupid attempt with the adept package manager (I tried to install vim-gtk) resulted in kubuntu with no KDE (not really sure what happened there). Anyhow after a reinstall I managed to get back to wanting to install gvim.

    Can anyone tell me what I should do to make the thing work reasonably from the command line? I did a source install for PCBSD (also KDE based) and that gvim worked flawlessly, but freeBSD always has a large number of patches.

    Any ideas welcome
    Robin

    #2
    Re: GVim causes X errors

    I installed vim-gtk and now don't get any messages related to the esd device when starting gvim in a shell, but I still get X messages like this

    ~$ gvim
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    what is device 169?

    Robin

    Comment


      #3
      Re: GVim causes X errors

      OK I solved this. Seems these device 169 messages are related to a tablet device. I fixed the problem by editing xorg.conf

      sudo vim /etc/X11/xorg.conf

      found lines related to the wacom device and commented as follows

      #Section "InputDevice"
      # Driver "wacom"
      # Identifier "stylus"
      # option "Device" "/dev/input/wacom"
      # option "Type" "stylus"
      # option "ForceDevice" "ISDV4"# Tablet PC ONLY
      #EndSection

      #Section "InputDevice"
      # Driver "wacom"
      # Identifier "eraser"
      # option "Device" "/dev/input/wacom"
      # option "Type" "eraser"
      # option "ForceDevice" "ISDV4"# Tablet PC ONLY
      #EndSection

      #Section "InputDevice"
      # Driver "wacom"
      # Identifier "cursor"
      # option "Device" "/dev/input/wacom"
      # option "Type" "cursor"
      # option "ForceDevice" "ISDV4"# Tablet PC ONLY
      #EndSection
      ..........
      Section "ServerLayout"
      ......
      # InputDevice "stylus" "SendCoreEvents"
      # InputDevice "cursor" "SendCoreEvents"
      # InputDevice "eraser" "SendCoreEvents"
      EndSection

      hope this helps others with the same errors

      Robin

      Comment

      Working...
      X