Shammer's Philosophy

My private adversaria

Install XFCE4 into my Jessie

I used GNOME desktop environment on my debian, but I have a compliant. That is that GNOME environment doesn't take over the mouse/trackpad configuration set by system setting. In detail, natural scrolling is disabled on some applications. Natural Scrolling is disabled on iceweasel with GNOME, Terminator at least. According to other sites, it is disabled on Nautilus.

I tried to edit xorg configuration files some patterns, but nothing has been changed. The file xorg configurations is located in /usr/share/X11/xorg.conf.d. I tested on the following ways.

In detail, editing /usr/share/X11/xorg.conf.d/10-evdev.conf to add ButtonMapping orders.

# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
	Option "ButtonMapping" "1 2 3 5 4 6 7 8"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
	Option "ButtonMapping" "1 2 3 5 4 6 7 8"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

And tried "xinput list" and "xinput list-props $DEVICE_ID | grep 'Scrolling Distance'" and generate 20-natural-scrolling.conf at /usr/share/X11/xorg.conf.d/ like below.

Section "InputClass"
        Identifier "Natural Scrolling"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Option "VertScrollDelta" "114"
        Option "HorizScrollDelta" "114"
        Option "DialDelta" "114"
EndSection

On my jessie, xinput list-props result is below. It seems that the value of VertScrollDelta is no value.

$ xinput list-props 11 | grep 'Scrolling Distance'
	Synaptics Scrolling Distance (273):	114, 114
	Synaptics Circular Scrolling Distance (283):	0.100000
$

I guess this is a root cause why above solution doesn't work, but there is no evidence.

So, I installed XFCE4 with "apt-get install xfce4". Logging in with xfce4 session makes my issue resolved.