Giter Site home page Giter Site logo

siddhantrimal / autosetup-virtual-desktop Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 41 KB

Command set to utilize a hacky way to start virtual desktops, with user-defined programs, using Vdesk

Home Page: https://siddhantrimal.github.io/autosetup-virtual-desktop/

License: MIT License

Batchfile 100.00%
vdesk command-line virtual-desktops

autosetup-virtual-desktop's Introduction

autosetup-virtual-desktop

Keep your batch file in %homedrive%%homepath%\start menu\programs\startup\ to start your PC with your favorite applications within virtual desktops everytime!

Command set to utilize a hacky way to start virtual desktops, with user-defined programs, using Vdesk.

created in reference to this issue

Automatically create 3 virtual-desktops and, start applications

fig: Automatically create 3 virtual-desktops and, start applications (can be configured to do so much more)

Pre-requisites

  • The Vdesk application
  • Correctly set-up environment variables

Usage

To be noted while configuring your own

  • For browser/browser-based applications (Chrome, Firefox, Slack Desktop, Skype) wrap in ping -n 2 127.0.0.1 > nul to implement a necessary 1 second wait time.
  • Do not use the noswitch:true attribute for browser/browser-based applications.
  • Targeting multi-version applications that exist side-by-side on the same system is achieved with a shortcut file, when the %Path% variable is mapped out. Starting such a file exists in a different context so, context should be forwarded with start /i and waited on with the /w switch.
  • Keep your batch file in %homedrive%%homepath%\start menu\programs\startup\ to start your PC with your favorite applications everytime!

Script

start /i /w vdesk create:3
ping -n 2 127.0.0.1 > nul
start /i /w vdesk on:1 run:slack
ping -n 2 127.0.0.1 > nul
start /i /w vdesk on:2 run:devenv2015
start /i /w vdesk noswitch:true on:3 run:sublime_text
exit

Download: This is also available as a file

Download

License

Standard MIT License.

autosetup-virtual-desktop's People

Stargazers

 avatar

Watchers

 avatar  avatar

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.