Benjamin-Loison / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
0 stars 0 forks source link

Touchpad seems pressed no matter not touching it #155

Open Benjamin-Loison opened 2 weeks ago

Benjamin-Loison commented 2 weeks ago

I figured out this issue between 07/11/24 13:30 - 14:00 UTC+1.

Should figure out last reboot time and intermediary APT logs.

last reboot
Output: ``` reboot system boot 6.8.0-48-generic Sat Nov 9 14:42 still running reboot system boot 6.8.0-48-generic Sat Nov 9 13:47 - 14:14 (00:26) reboot system boot 6.8.0-48-generic Sat Nov 9 12:56 - 13:13 (00:16) reboot system boot 6.8.0-48-generic Sat Nov 9 00:38 - 12:55 (12:16) reboot system boot 6.8.0-48-generic Fri Nov 8 23:04 - 00:36 (01:32) reboot system boot 6.8.0-48-generic Fri Nov 8 22:06 - 23:02 (00:55) reboot system boot 6.8.0-48-generic Thu Nov 7 23:51 - 21:30 (21:39) reboot system boot 6.8.0-48-generic Thu Nov 7 17:09 - 23:47 (06:38) reboot system boot 6.8.0-48-generic Thu Nov 7 16:58 - 23:47 (06:49) reboot system boot 6.8.0-48-generic Thu Nov 7 16:49 - 16:56 (00:06) reboot system boot 6.8.0-48-generic Thu Nov 7 15:46 - 16:49 (01:03) reboot system boot 6.8.0-48-generic Thu Nov 7 14:36 - 15:42 (01:05) reboot system boot 6.8.0-48-generic Thu Nov 7 14:10 - 14:35 (00:24) reboot system boot 6.8.0-48-generic Thu Nov 7 13:42 - 14:09 (00:26) reboot system boot 6.8.0-48-generic Wed Nov 6 22:39 - 14:09 (15:29) reboot system boot 6.8.0-48-generic Wed Nov 6 16:32 - 22:26 (05:54) reboot system boot 6.8.0-48-generic Sun Nov 3 21:40 - 16:27 (2+18:46) reboot system boot 6.8.0-48-generic Sun Nov 3 13:04 - 21:39 (08:35) reboot system boot 6.8.0-48-generic Sat Nov 2 00:22 - 03:26 (1+03:03) reboot system boot 6.8.0-47-generic Sun Oct 27 22:07 - 03:26 (6+05:18) reboot system boot 6.8.0-47-generic Sun Oct 27 15:08 - 22:06 (06:57) ```

I verified that 22:39 - 14:09 ~ 15:29.

So kernel version does not seem involved.

So since Wed Nov 6 14:09:

/var/log/apt/history.log: ``` ... Start-Date: 2024-11-02 13:46:12 Commandline: /usr/bin/apt-get autoremove --purge -y Purge: linux-modules-6.8.0-45-generic:amd64 (6.8.0-45.45), linux-image-6.8.0-45-generic:amd64 (6.8.0-45.45), linux-headers-6.8.0-45-generic:amd64 (6.8.0-45.45), linux-tools-6.8.0-45:amd64 (6.8.0-45.45), linux-headers-6.8.0-45:amd64 (6.8.0-45.45), linux-tools-6.8.0-45-generic:amd64 (6.8.0-45.45), linux-modules-extra-6.8.0-45-generic:amd64 (6.8.0-45.45) End-Date: 2024-11-02 13:46:25 Start-Date: 2024-11-06 00:34:08 Commandline: apt-get install --assume-yes --option Dpkg::Options::=--force-confnew chromium element-desktop firefox-locale-en firefox-locale-fr firefox gh git-lfs lintian libout123-0t64 libmpg123-dev libsyn123-0t64 libmpg123-0t64 libmpg123-0t64:i386 libopenjp2-7 libruby3.2 ruby3.2 thunderbird thunderbird-locale-en thunderbird-locale-fr thunderbird-locale-en-us Upgrade: firefox-locale-en:amd64 (132.0+linuxmint1+wilma, 132.0.1+linuxmint1+wilma), firefox-locale-fr:amd64 (132.0+linuxmint1+wilma, 132.0.1+linuxmint1+wilma), lintian:amd64 (2.117.0ubuntu1.1, 2.117.0ubuntu1.2), libout123-0t64:amd64 (1.32.5-1ubuntu1, 1.32.5-1ubuntu1.1), element-desktop:amd64 (1.11.83, 1.11.84), thunderbird:amd64 (1:128.4.0esr+linuxmint1+wilma, 1:128.4.1esr+linuxmint1+wilma), chromium:amd64 (130.0.6723.69~linuxmint1+wilma, 130.0.6723.91~linuxmint1+wilma), libruby3.2:amd64 (3.2.3-1ubuntu0.24.04.1, 3.2.3-1ubuntu0.24.04.3), firefox:amd64 (132.0+linuxmint1+wilma, 132.0.1+linuxmint1+wilma), thunderbird-locale-en:amd64 (1:128.4.0esr+linuxmint1+wilma, 1:128.4.1esr+linuxmint1+wilma), thunderbird-locale-fr:amd64 (1:128.4.0esr+linuxmint1+wilma, 1:128.4.1esr+linuxmint1+wilma), libmpg123-dev:amd64 (1.32.5-1ubuntu1, 1.32.5-1ubuntu1.1), libopenjp2-7:amd64 (2.5.0-2ubuntu0.1, 2.5.0-2ubuntu0.2), ruby3.2:amd64 (3.2.3-1ubuntu0.24.04.1, 3.2.3-1ubuntu0.24.04.3), libsyn123-0t64:amd64 (1.32.5-1ubuntu1, 1.32.5-1ubuntu1.1), gh:amd64 (2.45.0-1ubuntu0.1, 2.45.0-1ubuntu0.2), libmpg123-0t64:amd64 (1.32.5-1ubuntu1, 1.32.5-1ubuntu1.1), libmpg123-0t64:i386 (1.32.5-1ubuntu1, 1.32.5-1ubuntu1.1), thunderbird-locale-en-us:amd64 (1:128.4.0esr+linuxmint1+wilma, 1:128.4.1esr+linuxmint1+wilma), git-lfs:amd64 (3.4.1-1ubuntu0.1, 3.4.1-1ubuntu0.2) End-Date: 2024-11-06 00:35:11 Start-Date: 2024-11-07 14:33:47 Commandline: /usr/bin/apt upgrade -y Requested-By: benjamin (1000) Upgrade: mtr-tiny:amd64 (0.95-1.1build2, 0.95-1.1ubuntu0.1), signal-desktop:amd64 (7.31.0, 7.32.0) End-Date: 2024-11-07 14:33:56 ... ```

Could give a try to Debian 12 GNOME but it would require an actual production try which is not that easy.

A Bash command to remove parenthesis content of Upgrade would be nice.

paste | sed -E 's/:(amd64|i386) \([^)]*\)//g'

Source: the Stack Overflow answer 27826048

DuckDuckGo and Google search sed remove all parenthesis and their content.

firefox-locale-en, firefox-locale-fr, lintian, libout123-0t64, element-desktop, thunderbird, chromium, libruby3.2, firefox, thunderbird-locale-en, thunderbird-locale-fr, libmpg123-dev, libopenjp2-7, ruby3.2, libsyn123-0t64, gh, libmpg123-0t64, libmpg123-0t64, thunderbird-locale-en-us, git-lfs

I am not comfortable with all these packages but they don't look related in my opinion.

Distribution

Not read.

Package version

Not read.

Graphics hardware in use

No response

Frequency

Always

Bug description

On Linux Mint 22 Cinnamon Framework 13.

Rebooting has not solved the issue initially but seems to finally.

+3

Steps to reproduce

Not read.

Expected behavior

Not read.

Additional information

No response

Benjamin-Loison commented 3 days ago

I hope that my mainboard is not involved. It is maybe because I regularly open my laptop body.

Benjamin-Loison commented 3 days ago

https://frame.work/fr/en/products/keyboard?v=FRANBKEN06 costs 45 €. The 109 € https://frame.work/fr/en/products/input-cover-kit?v=FRANHC0006 seems to have unrelevant plastic around the keyboard.

Otherwise I checked all marketplace relevant items.

Benjamin-Loison commented 3 days ago

Host key + m, minimize virtualbox OS window

The Host key is [...] right Ctrl by default.

Source: the Stack Overflow answer 42287971

Benjamin-Loison commented 2 days ago

Benjamin_Loison/gnome-terminal/issues/7 would help.

Benjamin-Loison commented 2 days ago

Adding .desktop entries to the start menu to reset the touchpad and the mouse could help as sometimes I am able to type Terminal and open one but there is no focus on it, hence I cannot write any command.

Maybe could otherwise leverage ctrl + alt + FN, especially as it does not log us out.

Benjamin-Loison commented 1 day ago

Should define a custom shortcut to reset the touchpad and the mouse as sometimes can't access a Terminal nor the start menu. Maybe just the keyboard is not working, hence a shortcut would not help.

I set as custom keyboard shortcut to debug Touchpad and Mouse ctrl + alt + a/z.

Benjamin-Loison commented 1 day ago
~/debug_touchpad.sh: ```bash #!/usr/bin/bash for action in disable enable do xinput $action 'PIXAXXXX:00 XXXX:XXXX Touchpad' done ```
~/debug_mouse.sh: ```bash #!/usr/bin/bash for action in disable enable do xinput $action 'PIXAXXXX:00 XXXX:XXXX Mouse' done ```