Giter VIP home page Giter VIP logo

scripts's People

Contributors

mestrelion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

scripts's Issues

Does not see DVI monitors

Saw your post and decided to give your script a try. It does not see my either of my primary monitors, one of which is the display BIOS/GRUB shows on.

$ monitor-switch --list
Connected monitors:
# DP-0	DisplayPort	S22B300
# HDMI-0	HDMI	DELL E2414H

$ grep NVIDIA /var/log/Xorg.0.log
[519989.444] (--) NVIDIA(GPU-0): CRT-0: disconnected
[519989.444] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[519989.444] (--) NVIDIA(GPU-0): 
[519989.489] (--) NVIDIA(GPU-0): HYO DUAL-DVI (DFP-0): connected
[519989.489] (--) NVIDIA(GPU-0): HYO DUAL-DVI (DFP-0): Internal TMDS
[519989.489] (--) NVIDIA(GPU-0): HYO DUAL-DVI (DFP-0): 330.0 MHz maximum pixel clock
[519989.489] (--) NVIDIA(GPU-0): 
[519989.495] (--) NVIDIA(GPU-0): DELL E2414H (DFP-1): connected
[519989.496] (--) NVIDIA(GPU-0): DELL E2414H (DFP-1): Internal TMDS
[519989.496] (--) NVIDIA(GPU-0): DELL E2414H (DFP-1): 165.0 MHz maximum pixel clock
[519989.496] (--) NVIDIA(GPU-0): 
[519989.525] (--) NVIDIA(GPU-0): Samsung S22B300 (DFP-2): connected
[519989.525] (--) NVIDIA(GPU-0): Samsung S22B300 (DFP-2): Internal TMDS
[519989.525] (--) NVIDIA(GPU-0): Samsung S22B300 (DFP-2): 165.0 MHz maximum pixel clock
[519989.525] (--) NVIDIA(GPU-0): 
[519989.548] (--) NVIDIA(GPU-0): HYO DUAL-DVI (DFP-3): connected
[519989.548] (--) NVIDIA(GPU-0): HYO DUAL-DVI (DFP-3): Internal TMDS
[519989.548] (--) NVIDIA(GPU-0): HYO DUAL-DVI (DFP-3): 330.0 MHz maximum pixel clock
[519989.548] (--) NVIDIA(GPU-0): 
[519989.548] (--) NVIDIA(GPU-0): DFP-4: disconnected
[519989.548] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[519989.548] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
[519989.548] (--) NVIDIA(GPU-0): 
[519989.565] (II) NVIDIA(0): Setting mode "DVI-I-1: nvidia-auto-select @2560x1440 +4480+0 {ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0}, HDMI-0: nvidia-auto-select @1920x1080 +7040+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-0: nvidia-auto-select @1920x1080 +2560+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DVI-D-0: nvidia-auto-select @2560x1440 +0+0 {ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0}

[monitor-switch] - "-l" flag is defined twice (--list & --left)

Hi,

Would just like to mention that the "-l" flag is defined twice but only applicable for "--list". Changing the flag to anything else should resolve the issue "-ls" for example.

-l|--list) list=1 ;;

-l|--left ) enable=( "${monitors[0]}" );;

Thanks for the script. Has been super useful to make use of VariableRefresh on X11 by disabling the secondary monitor.

Error in script matchsubtitles.orig

I reported this bug here but was referred to your repository:

Error in script matchsubtitles.orig

Error:
./matchsubtitles.orig: line 96: ${ext,,}: bad substitution

Line 96:
case "${ext,,}" in avi|mpg|mpeg|mkv|mp4|ogv) ;; *) continue ;; esac

Correction:
case "${ext}" in avi|mpg|mpeg|mkv|mp4|ogv) ;; *) continue ;; esac

Also, running without --run only echoes first file even though with --run all files are processed.

With correction, script works great! Thanks!

monitor-switch script

It's something wrong in monitor-switch script. If we have connected two identically models of monitors script print only the one position.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.