MX-17.1 on Dell XPS 13

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
dolphin_oracle
Developer
Posts: 19925
Joined: Sun Dec 16, 2007 1:17 pm

Re: MX-17.1 on Dell XPS 13

#11 Post by dolphin_oracle »

try this

toggle-touchpad.sh (make executable)

Code: Select all

#!/bin/bash

#toggle touchpad on and off

STATUS=$(synclient |grep TouchpadOff |cut -d= -f2)

RET=$(echo $STATUS)

case $RET in

    0)  synclient TouchpadOff=1
        notify-send "Touchpad Off"
        ;;

    1)  synclient Touchpadoff=0
        notify-send "Touchpad On"
        ;;

esac


exit 0
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#12 Post by Jerry3904 »

Thanks, I will try that when I get home.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX-17.1 on Dell XPS 13

#13 Post by Stevo »

clicktician wrote: Sun Oct 21, 2018 12:11 pm
Jerry3904 wrote: Sun Oct 21, 2018 11:31 am That command does toggle it off and on, thanks. Now just need to figure out a launcher to do that.
It'd be really cool to have it triggered by the USB event so the touchpad shuts off when the mouse is present and turns back on when it's not.
For what it's worth, touchpad-indicator (provided by the touchpad-indicator package) also has an option for that, and also sets itself up to autostart.

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#14 Post by Jerry3904 »

I installed that, then launched it but nothing happened. Should try again

Code: Select all

$ /opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator
/opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator:29: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
<gettext.GNUTranslations object at 0x7fdf65555978>
/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py:30: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3 as appindicator
#####################################################
No LSB modules are available.
#####################################################
Distributor ID:	MX
Description:	MX 17 Horizon
Release:	17
Codename:	Horizon
Version:	x86_64
#####################################################

Touchpad-Indicator version: 1.1.0-1mx17+1-src
#####################################################
pidof syndaemon
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX-17.1 on Dell XPS 13

#15 Post by Stevo »

Hmmm....a little touchpad icon is supposed to pop up in the system tray.

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#16 Post by Jerry3904 »

It did, but only registered disable and never changed

BTW: I have this working correctly now. It turned out that there are two drivers for the touchpad
touchpad.png
The DLL one alone had a box to disable pad while typing, so I enabled it there and it worked. Thanks for everybody's help.
You do not have the required permissions to view the files attached to this post.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

clicktician
Posts: 136
Joined: Sat May 02, 2015 4:35 pm

Re: MX-17.1 on Dell XPS 13

#17 Post by clicktician »

Stevo wrote: Sun Oct 21, 2018 2:47 pm For what it's worth, touchpad-indicator (provided by the touchpad-indicator package) also has an option for that, and also sets itself up to autostart.
Wow, man. Thanks for turning me on to touchpad-indicator. Works great.
Son, someday all this will belong to your ex wife.

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#18 Post by Jerry3904 »

caprea wrote: Sun Oct 21, 2018 1:24 pm If you want to disable the touchpad only while typing on the keyboard, you could also try syndaemon
syndaemon -i 1 -d
The one is one second locking time
Possible to put it into startup,
I ended up using this, as other solutions seemed unreliable. Thanks.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17.1 on Dell XPS 13

#19 Post by Jerry3904 »

I installed the liquorix 4.18 kernel from Package Installer in an effort to iron out some bumps, and was very happy to see the OS boot up to the desktop without a twitch. Anything else I need to install to go along with it?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
fehlix
Developer
Posts: 10307
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX-17.1 on Dell XPS 13

#20 Post by fehlix »

Jerry3904 wrote: Sun Oct 28, 2018 12:00 pm Anything else ...
Yes. As you mentioned having issues with grub, would you mind to run

Code: Select all

sudo update-grub
And post any error message if any.
Background: I'm about hunting for a bug within uefi-grub, which might be the cause for not generating a proper grub-menu within UEFI booted MX (and also with MX installer/MX Boot repair). At least I can reproduce the bug within my UEFI environment, but would like to have further confirmation before report and provide a potential fix.
Thanks
fehlix
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Tips & Tricks by users”