I'm setting up a laptop machine that doesn't have a BIOS setting for disabling its touchpad. I can run synclient in the user's .bashrc, but that doesn't disable it in the greeter, where one enters one's username and password. Where in the TDE startup sequence can I run synclient to disable the touchpad?
Leslie -- Platform: Linux Distribution: openSUSE Leap 15.5 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.2 tde-config: 1.0
Anno domini 2024 Tue, 21 May 11:55:21 -0500 J Leslie Turriff via tde-devels scripsit:
I'm setting up a laptop machine that doesn't have a BIOS setting for disabling its touchpad. I can run synclient in the user's .bashrc, but that doesn't disable it in the greeter, where one enters one's username and password. Where in the TDE startup sequence can I run synclient to disable the touchpad?
~/.xsessionrc or ~/.xinitrc depending on your system. Do someting like
( sleep 10; synclient ) &
just to be sure Xorg finished it's stuff.
Nik
Leslie
Platform: Linux Distribution: openSUSE Leap 15.5 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.2 tde-config: 1.0
tde-devels mailing list -- devels@trinitydesktop.org To unsubscribe send an email to devels-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydeskt...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On 2024-05-21 12:35:31 Dr. Nikolaus Klepp via tde-devels wrote:
Anno domini 2024 Tue, 21 May 11:55:21 -0500
J Leslie Turriff via tde-devels scripsit:
I'm setting up a laptop machine that doesn't have a BIOS setting for disabling its touchpad. I can run synclient in the user's .bashrc, but that doesn't disable it in the greeter, where one enters one's username and password. Where in the TDE startup sequence can I run synclient to disable the touchpad?
~/.xsessionrc or ~/.xinitrc depending on your system. Do someting like
( sleep 10; synclient ) &
just to be sure Xorg finished it's stuff.
Nik
Does it run before I'm logged in? Doesn't seem like it could. Maybe put it somewhere like /usr/lib64/X11/...?
Leslie
Anno domini 2024 Tue, 21 May 18:42:27 -0500 J Leslie Turriff via tde-devels scripsit:
On 2024-05-21 12:35:31 Dr. Nikolaus Klepp via tde-devels wrote:
Anno domini 2024 Tue, 21 May 11:55:21 -0500
J Leslie Turriff via tde-devels scripsit:
I'm setting up a laptop machine that doesn't have a BIOS setting for disabling its touchpad. I can run synclient in the user's .bashrc, but that doesn't disable it in the greeter, where one enters one's username and password. Where in the TDE startup sequence can I run synclient to disable the touchpad?
~/.xsessionrc or ~/.xinitrc depending on your system. Do someting like
( sleep 10; synclient ) &
just to be sure Xorg finished it's stuff.
Nik
Does it run before I'm logged in? Doesn't seem like it could. Maybe put it somewhere like /usr/lib64/X11/...?
If you need it on the tdm screen try "man tdm" - or just take a look at /etc/trinity/tdm/Xsession
Nik
Leslie
Anno domini 2024 Wed, 22 May 09:23:31 +0200 Dr. Nikolaus Klepp via tde-devels scripsit:
Anno domini 2024 Tue, 21 May 18:42:27 -0500 J Leslie Turriff via tde-devels scripsit:
On 2024-05-21 12:35:31 Dr. Nikolaus Klepp via tde-devels wrote:
Anno domini 2024 Tue, 21 May 11:55:21 -0500
J Leslie Turriff via tde-devels scripsit:
I'm setting up a laptop machine that doesn't have a BIOS setting for disabling its touchpad. I can run synclient in the user's .bashrc, but that doesn't disable it in the greeter, where one enters one's username and password. Where in the TDE startup sequence can I run synclient to disable the touchpad?
~/.xsessionrc or ~/.xinitrc depending on your system. Do someting like
( sleep 10; synclient ) &
just to be sure Xorg finished it's stuff.
Nik
Does it run before I'm logged in? Doesn't seem like it could. Maybe put it somewhere like /usr/lib64/X11/...?
If you need it on the tdm screen try "man tdm" - or just take a look at /etc/trinity/tdm/Xsession
sorry copy&past error: /etc/trinity/tdm/Xsetup :)
Nik
Leslie
On 2024-05-22 02:23:31 Dr. Nikolaus Klepp via tde-devels wrote:
Anno domini 2024 Tue, 21 May 18:42:27 -0500
J Leslie Turriff via tde-devels scripsit:
On 2024-05-21 12:35:31 Dr. Nikolaus Klepp via tde-devels wrote:
Anno domini 2024 Tue, 21 May 11:55:21 -0500
J Leslie Turriff via tde-devels scripsit:
I'm setting up a laptop machine that doesn't have a BIOS setting for disabling its touchpad. I can run synclient in the user's .bashrc, but that doesn't disable it in the greeter, where one enters one's username and password. Where in the TDE startup sequence can I run synclient to disable the touchpad?
~/.xsessionrc or ~/.xinitrc depending on your system. Do someting like
( sleep 10; synclient ) &
just to be sure Xorg finished it's stuff.
Nik
Does it run before I'm logged in? Doesn't seem like it could. Maybe put it somewhere like /usr/lib64/X11/...?
If you need it on the tdm screen try "man tdm" - or just take a look at /etc/trinity/tdm/Xsession
Nik
Ah! Thank you; I see that TDM provides exit points for scripts at various points during its startup and shutdown, just what I needed.
Leslie
On 5/21/24 11:55 AM, J Leslie Turriff via tde-devels wrote:
I'm setting up a laptop machine that doesn't have a BIOS setting for disabling its touchpad. I can run synclient in the user's .bashrc, but that doesn't disable it in the greeter, where one enters one's username and password. Where in the TDE startup sequence can I run synclient to disable the touchpad?
The xinput command also is needed.
Further, some newer laptops such as Thinkpads have "extra buttons." In addition to using xinput and synclient to disable trackpads, these extra buttons need to be disabled too.
In my case with a Thinkpad T580, using xinput list | grep -i 'thinkpad extra buttons' reveals the culprit.
I have a Thinkpad T400 and I only need the basic xinput and synclient commands.
With both laptops I mapped my shell script commands to Fn+F11 to toggle the trackpad.
To integrate the script with TDE, or any desktop environment, I created $HOME/.config/autostart/trackpad-disable.desktop to launch my trackpad-disable script. This automatically disables the trackpad. For just TDE, the $TDEHOME/Autostart likely would suffice. When I want to --rare -- I can use Fn+F11 to enable the trackpad.
On 2024-05-21 12:42:54 Darrell Anderson via tde-devels wrote:
On 5/21/24 11:55 AM, J Leslie Turriff via tde-devels wrote:
I'm setting up a laptop machine that doesn't have a BIOS setting for disabling its touchpad. I can run synclient in the user's .bashrc, but that doesn't disable it in the greeter, where one enters one's username and password. Where in the TDE startup sequence can I run synclient to disable the touchpad?
The xinput command also is needed.
For...?
Further, some newer laptops such as Thinkpads have "extra buttons." In addition to using xinput and synclient to disable trackpads, these extra buttons need to be disabled too.
In my case with a Thinkpad T580, using xinput list | grep -i 'thinkpad extra buttons' reveals the culprit.
I have a Thinkpad T400 and I only need the basic xinput and synclient commands.
With both laptops I mapped my shell script commands to Fn+F11 to toggle the trackpad.
To integrate the script with TDE, or any desktop environment, I created $HOME/.config/autostart/trackpad-disable.desktop to launch my trackpad-disable script. This automatically disables the trackpad. For just TDE, the $TDEHOME/Autostart likely would suffice. When I want to --rare -- I can use Fn+F11 to enable the trackpad. ____________________________________________________ tde-devels mailing list -- devels@trinitydesktop.org To unsubscribe send an email to devels-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydesk top.org
Okay, but I'm trying to get it disabled in the greeter screen, where one enters username and password, before the user session starts; so an autostart routine is too late.
Leslie -- Platform: Linux Distribution: openSUSE Leap 15.5 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.2 tde-config: 1.0
On 2024-05-21 18:48:24 Darrell Anderson via tde-devels wrote:
On 5/21/24 6:18 PM, J Leslie Turriff via tde-devels wrote:
The xinput command also is needed.
For...?
For example:
xinput --set-prop "$XINPUT_TOUCHPAD_NAME" "Device Enabled" 0
Okay. Put this where so that it happens before the greeter asks for login?
Leslie -- Platform: Linux Distribution: openSUSE Leap 15.5 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.2 tde-config: 1.0
On 5/21/24 7:25 PM, J Leslie Turriff via tde-devels wrote:
xinput --set-prop "$XINPUT_TOUCHPAD_NAME" "Device Enabled" 0
Okay. Put this where so that it happens before the greeter asks for login?
I mentioned that in a previous reply:
To integrate the script with TDE, or any desktop environment, I created $HOME/.config/autostart/trackpad-disable.desktop to launch my trackpad-disable script. This automatically disables the trackpad. For just TDE, the $TDEHOME/Autostart likely would suffice. When I want to --rare -- I can use Fn+F11 to enable the trackpad.
On 2024-05-21 19:31:44 Darrell Anderson via tde-devels wrote:
On 5/21/24 7:25 PM, J Leslie Turriff via tde-devels wrote:
xinput --set-prop "$XINPUT_TOUCHPAD_NAME" "Device Enabled" 0
Okay. Put this where so that it happens before the greeter asks for login?
I mentioned that in a previous reply:
To integrate the script with TDE, or any desktop environment, I created $HOME/.config/autostart/trackpad-disable.desktop to launch my trackpad-disable script. This automatically disables the trackpad. For just TDE, the $TDEHOME/Autostart likely would suffice. When I want to --rare -- I can use Fn+F11 to enable the trackpad.
But that would happen AFTER login I want it disabled in the greeter (login) screen before I login.
Leslie -- Platform: Linux Distribution: openSUSE Leap 15.5 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.2 tde-config: 1.0
On 5/21/24 7:49 PM, J Leslie Turriff via tde-devels wrote:
But that would happen AFTER login I want it disabled in the greeter (login) screen before I login.
You mean TDM? I don't use graphical logins much (I'm a dinosaur who still uses startx), but TDM has many configuration options. Perhaps edit the Xsetup script?
On 2024-05-21 20:02:11 Darrell Anderson via tde-devels wrote:
On 5/21/24 7:49 PM, J Leslie Turriff via tde-devels wrote:
But that would happen AFTER login I want it disabled in the greeter (login) screen before I login.
You mean TDM? I don't use graphical logins much (I'm a dinosaur who still uses startx), but TDM has many configuration options. Perhaps edit the Xsetup script?
Perhaps. That's what I'm asking.
Leslie -- Platform: Linux Distribution: openSUSE Leap 15.5 - x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.1.2 tde-config: 1.0