Skip to content

malterik/tvlt1421_ubuntu

 
 

Repository files navigation

Thinkvision LT1421 Initializer

This is forked to work with my X1 Carbon & HDMI Monitor setup.

This script is used to turn on or off a ThinkVision LT1421 USB monitor in Ubuntu. It has been tested on Ubuntu 14.04 & Elementary OS Freya

I am not a guru on bash scripting, nor am I an expert on DisplayLink, so any advice, expertise, questions, comments or concerns are all welcome such that I may learn something. Bring it!

References for this script:

  • thecaffiend's repo [https://github.com/thecaffiend/tvlt1421_ubuntu]
  • Jochen Kirstaetter's excellent writeup got me quite a bit of the way there. I ended here with an upgraded kernel (not Ubuntu patched) and to the point of the "works, but only paints around the cursor" (you'd know it if you saw it, it's mentioned in the comments of the post)
  • This post on using a thinkvision usb monitor in arch which got me the right xrandr settings to fix the painting only around the cursor issue.
  • The how to on upgrading to the latest (3.12.0-031200-generic as of this writing) kernel.

Usage

Make the *.bash scripts executable

$ chmod +x thinkvision-left-hdmi-right.bash thinkvision-set-left.bash thinkvision-set-right.bash

This sets the thinkvision left and my HDMI1 monitor right of my main X1 carbon

$ bash thinkvision-left-hdmi-right.bash on

This sets the thinkvision left

$ bash thinkvision-set-left.bash on

This sets the thinkvision right

$ bash thinkvision-set-right.bash on

Off can be used with any of the bash scripts ex:

$ bash thinkvision-set-left.bash off

Best to create an alias for these so you can use them quickly git

To fit your needs

Unless you are running an X1 carbon you might need to make this fit your needs

Run

$ xrandr

After you do this, look for the name of your monitor, mine on the X1 is LVDS1, I also have an HDMI monitor connected which comes up as HDMI1

Once you know this, you can change the code in these files change them. Find where I have LVDS1 change that to your monitor.

About

Script for getting the ThinkVision LT1421 working on Ubuntu. Use it to turn the monitor on and off.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%