Gentoo Archives: gentoo-user

From: Caveman Al Toraboran <toraboracaveman@××××××××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] mouse clicks only in a single window/tile (unless tty is shuffled)
Date: Tue, 15 Oct 2019 17:46:50
Message-Id: WVdBaxZ56HSwGKLQ3mRPj6WFgpfLPHQ6ooONLxZ4Cx2pyBljm3fS8hAfguPPobcpZOlxIz3SPNApQOJrWXQglnILtoU38nzZKf3ByI5UqTk=@protonmail.com
1 hi - problem: when i type `startx` (only after a fresh boot), then, while the mouse moves freely as expected across my screens, it can only click in a single window/tile (using i3). the problem is solved when i switch ttys and come back.
2
3 but looking at the xorg log file, what seems to happen when i switch ttys is that the devices get removed (including the mouse), and then re-added as i come back to the xorg tty.
4
5 i found another way to make it work without switching ttys: before i `startx` (after the fresh boot), i type `sudo libinput debug-events` and move the mouse around and click (all without xorg-server running). then, when i `startx`, mouse works fine (without needing to shuffle ttys around)
6
7 anyone knows what is causing this issue? how can i solve it so that clicking works on all windows, as usual, without needing to shuffle ttys around?
8
9 details:
10
11 - profile: default/linux/amd64/17.1/systemd
12
13 - make.conf content:
14
15 # These settings were set by the catalyst build script that automatically
16 # built this stage.
17 # Please consult /usr/share/portage/config/make.conf.example for a more
18 # detailed example.
19 COMMON_FLAGS="-march=native -O2 -pipe -msse -msse2 -msse3 -mmmx -fdiagnostics-color=always"
20 CFLAGS="${COMMON_FLAGS}"
21 CXXFLAGS="${COMMON_FLAGS}"
22 FCFLAGS="${COMMON_FLAGS}"
23 FFLAGS="${COMMON_FLAGS}"
24
25 # NOTE: This stage was built with the bindist Use flag enabled
26 PORTDIR="/var/db/repos/gentoo"
27 DISTDIR="/var/cache/distfiles"
28 PKGDIR="/var/cache/binpkgs"
29
30 # This sets the language of build output to English.
31 # Please keep this setting intact when reporting bugs.
32 LC_MESSAGES=C
33
34 # me
35 ACCEPT_KEYWORDS="~amd64"
36 MAKEOPTS="-j4"
37 INPUT_DEVICES="libinput synaptics wacom"
38 VIDEO_CARDS="amdgpu radeonsi"
39 USE="alsa pulseaudio"
40
41 - USE flags in package.use/:
42
43 x11-misc/compton xinerama opengl
44 x11-misc/dmenu xinerama
45 media-gfx/feh xinerama
46 media-libs/imlib2 gif jpeg png tiff
47 sys-kernel/gentoo-sources symlink
48 kde-apps/konsole X
49 media-video/ffmpeg openssl
50 sci-mathematics/octave -imagemagick
51 media-sound/pulseaudio bluetooth dbus
52 app-admin/sudo -sendmail
53 sys-apps/util-linux static-libs
54 # required by www-client/qutebrowser-1.7.0::gentoo
55 # required by qutebrowser (argument)
56 >=dev-python/pyyaml-5.1 libyaml
57 # required by dev-python/PyQtWebEngine-5.13.2_pre1909181828::gentoo
58 # required by www-client/qutebrowser-1.7.0::gentoo
59 # required by qutebrowser (argument)
60 >=dev-python/PyQt5-5.13.1 declarative gui network widgets printsupport multimedia opengl sql webchannel
61 # required by dev-python/PyQtWebEngine-5.13.2_pre1909181828::gentoo
62 # required by www-client/qutebrowser-1.7.0::gentoo
63 # required by qutebrowser (argument)
64 >=dev-qt/qtwebengine-5.12.5 widgets
65 # required by dev-qt/qtwebengine-5.12.5::gentoo
66 # required by dev-python/PyQtWebEngine-5.13.2_pre1909181828::gentoo
67 # required by www-client/qutebrowser-1.7.0::gentoo
68 # required by qutebrowser (argument)
69 >=dev-qt/qtwebchannel-5.12.5 qml
70 # required by dev-qt/qtwebengine-5.12.5::gentoo
71 # required by dev-python/PyQtWebEngine-5.13.2_pre1909181828::gentoo
72 # required by www-client/qutebrowser-1.7.0::gentoo
73 # required by qutebrowser (argument)
74 >=dev-libs/libxml2-2.9.9-r1 icu
75 # required by dev-qt/qtwebengine-5.12.5::gentoo
76 # required by dev-python/PyQtWebEngine-5.13.2_pre1909181828::gentoo
77 # required by www-client/qutebrowser-1.7.0::gentoo
78 # required by qutebrowser (argument)
79 >=media-libs/libvpx-1.8.0-r1 svc
80 # required by dev-qt/qtwebengine-5.12.5::gentoo
81 # required by dev-python/PyQtWebEngine-5.13.2_pre1909181828::gentoo
82 # required by www-client/qutebrowser-1.7.0::gentoo
83 # required by qutebrowser (argument)
84 >=sys-libs/zlib-1.2.11-r2 minizip
85 # required by dev-python/PyQt5-5.13.1::gentoo[multimedia]
86 # required by dev-python/PyQtWebEngine-5.13.2_pre1909181828::gentoo
87 # required by www-client/qutebrowser-1.7.0::gentoo
88 # required by qutebrowser (argument)
89 >=dev-qt/qtmultimedia-5.12.5 widgets
90
91 x11-libs/libdrm video_cards_radeon
92 x11-libs/libxcb xkb
93 sys-apps/systemd policykit
94 dev-libs/libpcre2 pcre16
95 dev-qt/qtcore icu
96 kde-frameworks/kwindowsystem X
97 dev-lang/python sqlite
98 app-text/xmlto text
99 x11-libs/cairo X xcb
100 x11-libs/pango X
101
102 # required by app-shells/fish-3.0.2::gentoo
103 # required by fish (argument)
104 >=dev-libs/libpcre2-10.33 pcre32
105
106 dev-cpp/cairomm X
107 dev-cpp/gtkmm X
108
109 rgrds,
110 cm.
111
112 Sent with [ProtonMail](https://protonmail.com) Secure Email.