Bug#723744: gnome: For a 2 buttons mouse, impossible to emulate middle at startup.

infosforlinux at free.fr infosforlinux at free.fr
Thu Sep 19 13:24:11 UTC 2013


Package: gnome
Version: 1:3.4+7
Severity: normal

Dear Maintainer,

With Gnome, by default, for a 2 buttons mouse (Logitech USB Trackball), there is
no emulation of the middle button.
For XFCE or KDE, by default, there is the emulation of the middle button.

Without the middle button, it's impossible to copy/paste using the two buttons.

With the previous version of Debian : Squeeze, there is the emulation of the
middle
button.

Using "xinput test <device ID>", there is only the buttons 1 and 3 detected, not
the 2sc: the middle button.

In a terminal, I can use the following script to enable the middle button:
#!/bin/sh
MOUSE_POINTER="Logitech USB Trackball"
MOUSE_ID=`xinput list | grep -i "${MOUSE_POINTER}" | awk -F= '{ print $2}' | awk
'{print $1}'`
/usr/bin/xinput --set-prop "${MOUSE_ID}" "Evdev Middle Button Emulation" 1

I've tried to activate the emulation of the middle button at the startup of
Gnome
without success.
I've put the script's code in various files:
    ~/.profile
    ~/.login;
    ~/.xsesionrc.

And created the files:
    /etc/X11/Xsession.d/98x11-local_setup
    /etc/X11/Xsession.d/100x11-local_setup

With "gdm", after the login, the files are executed in the following order :
/home/localuser/.profile
/etc/X11/Xsession.d/100x11-local_setup
/home/localuser/.xsessionrc
/etc/X11/Xsession.d/98x11-local_setup
/home/localuser/.login
But the middle button can't be emulate.

Could you find a solution at this problem ?

Thanks.


-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome depends on:
ii  aisleriot                    1:3.4.1-1
ii  alacarte                     3.5.3-1
ii  avahi-daemon                 0.6.31-2
ii  cheese                       3.4.2-2
ii  cups-pk-helper               0.2.3-3
ii  desktop-base                 7.0.3
ii  evolution                    3.4.4-3
ii  evolution-plugins            3.4.4-3
ii  file-roller                  3.4.2-1
ii  gedit                        3.4.2-1
ii  gedit-plugins                3.4.0-1
ii  gimp                         2.8.2-2
ii  gnome-applets                3.4.1-3
ii  gnome-color-manager          3.4.2-1
ii  gnome-core                   1:3.4+7
ii  gnome-documents              0.4.2-2
ii  gnome-games                  1:3.4.2-3
ii  gnome-media                  3.4.0-1
ii  gnome-nettool                3.2.0-1
ii  gnome-orca                   3.4.2-2
ii  gnome-shell-extensions       3.4.0-2
ii  gnome-tweak-tool             3.4.0.1-2
ii  gstreamer0.10-ffmpeg         0.10.13-5
ii  gstreamer0.10-plugins-ugly   0.10.19-2+b2
ii  hamster-applet               2.91.3+git20120514.b9fec3e1-1
ii  inkscape                     0.48.3.1-1.3
ii  libgtk2-perl                 2:1.244-1
ii  libreoffice-calc             1:3.5.4+dfsg2-0+deb7u2
ii  libreoffice-gnome            1:3.5.4+dfsg2-0+deb7u2
ii  libreoffice-impress          1:3.5.4+dfsg2-0+deb7u2
ii  libreoffice-writer           1:3.5.4+dfsg2-0+deb7u2
ii  nautilus-sendto              3.0.3-2+b1
ii  network-manager-gnome        0.9.4.1-5
ii  rhythmbox                    2.97-2.1
ii  rhythmbox-plugin-cdrecorder  2.97-2.1
ii  rhythmbox-plugins            2.97-2.1
ii  rygel-playbin                0.14.3-2
ii  rygel-preferences            0.14.3-2
ii  rygel-tracker                0.14.3-2
ii  seahorse                     3.4.1-2
ii  shotwell                     0.12.3-2
ii  simple-scan                  3.4.2-1
ii  sound-juicer                 3.4.0-3
ii  telepathy-gabble             0.16.5-1+deb7u1
ii  telepathy-rakia              0.7.4-1
ii  telepathy-salut              0.8.1-1
ii  tomboy                       1.10.0-2
ii  totem                        3.0.1-8
ii  totem-plugins                3.0.1-8
ii  tracker-gui                  0.14.1-3
ii  transmission-gtk             2.52-3+nmu1
ii  vinagre                      3.4.2-2
ii  xdg-user-dirs-gtk            0.9-1
ii  xul-ext-adblock-plus         2.1-1+deb7u1

Versions of packages gnome recommends:
ii  browser-plugin-gnash     0.8.11~git20120629-1
ii  gdebi                    0.8.7
ii  gnome-games-extra-data   3.2.0-4
ii  nautilus-sendto-empathy  3.4.2.3-2+deb7u1
ii  telepathy-idle           0.1.11-2

Versions of packages gnome suggests:
pn  dia-gnome              <none>
pn  gnome-boxes            <none>
pn  gnucash                <none>
pn  iceweasel-l10n-all     <none>
ii  libreoffice-evolution  1:3.5.4+dfsg2-0+deb7u2
pn  planner                <none>
pn  xul-ext-gnome-keyring  <none>

Versions of packages gnome-core depends on:
ii  at-spi2-core                              2.5.3-2
ii  baobab                                    3.4.1-1
ii  brasero                                   3.4.1-4
ii  caribou                                   0.4.4-1
ii  caribou-antler                            0.4.4-1
ii  dconf-gsettings-backend                   0.12.1-3
ii  dconf-tools                               0.12.1-3
ii  empathy                                   3.4.2.3-2+deb7u1
ii  eog                                       3.4.2-1+build1
ii  evince                                    3.4.0-3.1
ii  evolution-data-server                     3.4.4-3
ii  fonts-cantarell                           0.0.9-1
ii  gcalctool                                 6.4.2.1-3
ii  gconf2                                    3.2.5-1+build1
ii  gdm3                                      3.4.1-8
ii  gkbd-capplet                              3.4.0.2-1
ii  glib-networking                           2.32.3-1
ii  gnome-backgrounds                         3.4.2-1
ii  gnome-bluetooth                           3.4.2-1
ii  gnome-contacts                            3.4.1-1+b1
ii  gnome-control-center                      1:3.4.3.1-2
ii  gnome-dictionary                          3.4.0-2
ii  gnome-disk-utility                        3.0.2-3
ii  gnome-font-viewer                         3.4.0-2
ii  gnome-icon-theme                          3.4.0-2
ii  gnome-icon-theme-extras                   3.4.0-1
ii  gnome-icon-theme-symbolic                 3.4.0-2
ii  gnome-keyring                             3.4.1-5
ii  gnome-menus                               3.4.2-5
ii  gnome-online-accounts                     3.4.2-2
ii  gnome-packagekit                          3.4.2-2
ii  gnome-panel                               3.4.2.1-4
ii  gnome-power-manager                       3.4.0-2
ii  gnome-screensaver                         3.4.1-1
ii  gnome-screenshot                          3.4.1-1
ii  gnome-session                             3.4.2.1-4
ii  gnome-session-fallback                    3.4.2.1-4
ii  gnome-settings-daemon                     3.4.2+git20121218.7c1322-3+deb7u1
ii  gnome-shell                               3.4.2-7
ii  gnome-sushi                               0.4.1-3
ii  gnome-system-log                          3.4.1-3
ii  gnome-system-monitor                      3.4.1-2+b1
ii  gnome-terminal                            3.4.1.1-2
ii  gnome-themes-standard                     3.4.2-2.1
ii  gnome-user-guide                          3.4.2-1+build1
ii  gnome-user-share                          3.0.2-1
ii  gsettings-desktop-schemas                 3.4.2-3
ii  gstreamer0.10-plugins-base                0.10.36-1.1
ii  gstreamer0.10-plugins-good                0.10.31-3+nmu1
ii  gstreamer0.10-pulseaudio                  0.10.31-3+nmu1
ii  gtk2-engines                              1:2.20.2-2
ii  gucharmap                                 1:3.4.1.1-2.1
ii  gvfs-backends                             1.12.3-4
ii  gvfs-bin                                  1.12.3-4
ii  iceweasel                                 17.0.8esr-1~deb7u1
ii  libatk-adaptor                            2.5.3-2
ii  libcanberra-pulse                         0.28-6
ii  libcaribou-gtk-module                     0.4.4-1
ii  libcaribou-gtk3-module                    0.4.4-1
ii  libgtk-3-common                           3.4.2-6
ii  libpam-gnome-keyring                      3.4.1-5
ii  metacity                                  1:2.34.3-4
ii  mousetweaks                               3.4.2-1
ii  nautilus                                  3.4.2-1+build1
ii  notification-daemon                       0.7.6-1
ii  plasma-widgets-workspace [notification-d  4:4.8.4-6
ii  policykit-1-gnome                         0.105-2
ii  pulseaudio                                2.0-6.1
ii  sound-theme-freedesktop                   0.7.pristine-2
ii  tracker-gui                               0.14.1-3
ii  vino                                      3.4.2-1+b1
ii  yelp                                      3.4.2-1+b1
ii  zenity                                    3.4.0-2

Versions of packages gnome-core recommends:
ii  network-manager-gnome  0.9.4.1-5

gnome-core suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list