Last active
May 22, 2020 21:15
-
-
Save cartolari/95e2a0999434686dcd12df608f17845f to your computer and use it in GitHub Desktop.
Starts WebStorm in a TigerVNC session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Requirements | |
| # - TigerVNC (Client and Server) | |
| # - OpenBox | |
| # - WebStorm | |
| export DISPLAY=:10 # Change if display :10 is already in use | |
| Xvnc -SecurityTypes=None +extension RANDR +extension GLX +extension COMPOSITE -SetPrimary=0 -SendPrimary=0 -depth 24 "$DISPLAY" & | |
| disown | |
| openbox & | |
| disown | |
| # Optional panel to show your running tasks, helps using multiple Windows | |
| # tint2 & | |
| # disown | |
| # You may want to change the following command if you don't have a webstorm script in your path | |
| webstorm & | |
| disown | |
| # After this you can start the VNC viewer and use localhost:10 as the server argument | |
| # If you want to run directly from the command line use: vncviewer localhost:10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment