Gå til innhold

hvordan få scrolling til å virke i ubuntu?


Anbefalte innlegg

Videoannonse
Annonse

I /etc/X11/xorg.conf må du legge til noe

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/sysmouse"
        Option      "Protocol" "auto"
        Option      "Buttons" "7"
        Option      "ZAxisMapping" "4 5" <- Legg til dette
        Option      "Emulate3Buttons"
EndSection

Lenke til kommentar
tsg1zzn: jeg trodde /dev/sysmouse var *BSD-spesifikk?

 

Uansett, scrolling er noe som alltid har funket out-of-the-box for meg? Har du en spesiell type mus eller noe?

9161179[/snapback]

 

Hei og takk for rask respons.

Er ikke sikker på om jeg skjønte helt hva tsg mente, som sagt er jeg ikke veldig dreven i linux.

 

Musa sitter på siemens lifbook s7010.

scrolleknappen (ikke slik som på ekstern mus, denne må du trykke opp/ned på eller holde inne) sitter mellom høyre/venstre museknapp.

Lenke til kommentar

Klikk for å se/fjerne innholdet nedenfor
# /etc/X11/xorg.conf (xorg X Window System server configuration file)

#

# This file was generated by dexconf, the Debian X Configuration tool, using

# values from the debconf database.

#

# Edit this file with caution, and see the xorg.conf(5) manual page.

# (Type "man xorg.conf" at the shell prompt.)

#

# This file is automatically updated on xserver-xorg package upgrades *only*

# if it has not been modified since the last upgrade of the xserver-xorg

# package.

#

# If you have edited this file but would like it to be automatically updated

# again, run the following command:

# sudo dpkg-reconfigure -phigh xserver-xorg

 

Section "Files"

FontPath "/usr/share/fonts/X11/misc"

FontPath "/usr/share/fonts/X11/cyrillic"

FontPath "/usr/share/fonts/X11/100dpi/:unscaled"

FontPath "/usr/share/fonts/X11/75dpi/:unscaled"

FontPath "/usr/share/fonts/X11/Type1"

FontPath "/usr/share/fonts/X11/100dpi"

FontPath "/usr/share/fonts/X11/75dpi"

# path to defoma fonts

FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

 

Section "Module"

Load "i2c"

Load "bitmap"

Load "ddc"

Load "dri"

Load "extmod"

Load "freetype"

Load "glx"

Load "int10"

Load "vbe"

EndSection

 

Section "InputDevice"

Identifier "Generic Keyboard"

Driver "kbd"

Option "CoreKeyboard"

Option "XkbRules" "xorg"

Option "XkbModel" "pc105"

Option "XkbLayout" "no"

EndSection

 

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

Option "CorePointer"

Option "Device" "/dev/input/mice"

Option "Protocol" "ImPS/2"

Option "ZAxisMapping" "4 5"

Option "Emulate3Buttons" "true"

EndSection

 

Section "InputDevice"

Identifier "Synaptics Touchpad"

Driver "synaptics"

Option "SendCoreEvents" "true"

Option "Device" "/dev/psaux"

Option "Protocol" "auto-dev"

Option "HorizScrollDelta" "0"

EndSection

 

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 "Device"

Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"

Driver "i810"

BusID "PCI:0:2:0"

EndSection

 

Section "Monitor"

Identifier "Generic Monitor"

Option "DPMS"

HorizSync 28-51

VertRefresh 43-60

EndSection

 

Section "Screen"

Identifier "Default Screen"

Device "Intel Corporation 82852/855GM Integrated Graphics Device"

Monitor "Generic Monitor"

DefaultDepth 24

SubSection "Display"

Depth 1

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 4

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 8

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 15

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 16

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 24

Modes "1024x768"

EndSubSection

EndSection

 

Section "ServerLayout"

Identifier "Default Layout"

Screen "Default Screen"

InputDevice "Generic Keyboard"

InputDevice "Configured Mouse"

InputDevice "stylus" "SendCoreEvents"

InputDevice "cursor" "SendCoreEvents"

InputDevice "eraser" "SendCoreEvents"

InputDevice "Synaptics Touchpad"

EndSection

 

Section "DRI"

Mode 0666

EndSection

Lenke til kommentar

Prøv denne istedet:

Klikk for å se/fjerne innholdet nedenfor
# /etc/X11/xorg.conf (xorg X Window System server configuration file)

#

# This file was generated by dexconf, the Debian X Configuration tool, using

# values from the debconf database.

#

# Edit this file with caution, and see the xorg.conf(5) manual page.

# (Type "man xorg.conf" at the shell prompt.)

#

# This file is automatically updated on xserver-xorg package upgrades *only*

# if it has not been modified since the last upgrade of the xserver-xorg

# package.

#

# If you have edited this file but would like it to be automatically updated

# again, run the following command:

# sudo dpkg-reconfigure -phigh xserver-xorg

 

Section "Files"

FontPath "/usr/share/fonts/X11/misc"

FontPath "/usr/share/fonts/X11/cyrillic"

FontPath "/usr/share/fonts/X11/100dpi/:unscaled"

FontPath "/usr/share/fonts/X11/75dpi/:unscaled"

FontPath "/usr/share/fonts/X11/Type1"

FontPath "/usr/share/fonts/X11/100dpi"

FontPath "/usr/share/fonts/X11/75dpi"

# path to defoma fonts

FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

 

Section "Module"

Load "i2c"

Load "bitmap"

Load "ddc"

Load "dri"

Load "extmod"

Load "freetype"

Load "glx"

Load "int10"

Load "vbe"

EndSection

 

Section "InputDevice"

Identifier "Generic Keyboard"

Driver "kbd"

Option "CoreKeyboard"

Option "XkbRules" "xorg"

Option "XkbModel" "pc105"

Option "XkbLayout" "no"

EndSection

 

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

Option "CorePointer"

Option "Device" "/dev/input/mice"

Option "Protocol" "ImPS/2"

Option "ZAxisMapping" "4 5"

Option "Emulate3Buttons" "true"

EndSection

 

Section "InputDevice"

Identifier "Synaptics Touchpad"

Driver "synaptics"

Option "SendCoreEvents" "true"

Option "Device" "/dev/psaux"

Option "Protocol" "auto-dev"

Option "ZAxisMapping" "4 5"

Option "HorizScrollDelta" "0"

EndSection

 

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 "Device"

Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"

Driver "i810"

BusID "PCI:0:2:0"

EndSection

 

Section "Monitor"

Identifier "Generic Monitor"

Option "DPMS"

HorizSync 28-51

VertRefresh 43-60

EndSection

 

Section "Screen"

Identifier "Default Screen"

Device "Intel Corporation 82852/855GM Integrated Graphics Device"

Monitor "Generic Monitor"

DefaultDepth 24

SubSection "Display"

Depth 1

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 4

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 8

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 15

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 16

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 24

Modes "1024x768"

EndSubSection

EndSection

 

Section "ServerLayout"

Identifier "Default Layout"

Screen "Default Screen"

InputDevice "Generic Keyboard"

InputDevice "Configured Mouse"

InputDevice "stylus" "SendCoreEvents"

InputDevice "cursor" "SendCoreEvents"

InputDevice "eraser" "SendCoreEvents"

InputDevice "Synaptics Touchpad"

EndSection

 

Section "DRI"

Mode 0666

EndSection

9165506[/snapback]

Lenke til kommentar
Jeg har ikke særlig peiling i ubuntu, og har generelt lite erfaring, men hva med å starte opp gedit via terminalen mens du er root?(evt bruke sudo)

9171323[/snapback]

 

Kan være fordelaktig å lære seg å bruke en kommandolinje basert editor først som sist. "vi" er så å si de facto standard UNIX editoren, og her er en enkel tutorial for å komme igang:

 

VI Tutorial

 

Du skriver da typisk: sudo vi /etc/X11/xorg.conf

 

og finner området:

 

Section "InputDevice"
       Identifier  "Mouse0"
       Driver      "mouse"
....
....

 

Og legger til :

Option      "ZAxisMapping" "4 5"

 

et eller annet sted inne i "Section" > "EndSection" klammen.

 

Og ja, konfigurasjonssyntaxen i xorg.conf er helt sinnsyk. Gutta som er ansvarlige for den burde få skikkelig på pukkelen.

 

PS: Det kan være greit å prøve å glemme alt man vet om grafiske tekst editorer (GEdit, Notepad, Word o.l.) før man lærer seg VI.

Endret av krigun
Lenke til kommentar
Hei igjen.

Da har jeg klart å få til forandringen, men det virker forsatt ikke.

(scrolling fra ekstern mus funker greit)

9171841[/snapback]

 

Sorry, leste ikke godt nok. Trodde du mente scrollehjul på ekstern mus. Scrolleknappene er sikkert en enkel sak å koble opp mot pil opp/pil ned tastene, men akkurat hvordan man enklest gjør dette er jeg ikke helt sikker på off the top of my head.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...