mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-23 16:41:29 +00:00
Move upstream to code.dumpstack.io
This commit is contained in:
parent
f60945d3c1
commit
fd224db22e
|
@ -33,17 +33,17 @@ You need to **relogin** if you install virt-manager (libvirt) first time.
|
||||||
|
|
||||||
## Install appvm tool
|
## Install appvm tool
|
||||||
|
|
||||||
$ go get github.com/jollheef/appvm
|
$ go get code.dumpstack.io/tools/appvm
|
||||||
|
|
||||||
## Update appvm tool
|
## Update appvm tool
|
||||||
|
|
||||||
$ go get -u github.com/jollheef/appvm
|
$ go get -u code.dumpstack.io/tools/appvm
|
||||||
|
|
||||||
## Generate resolution
|
## Generate resolution
|
||||||
|
|
||||||
By default uses 1920x1080. If you need to regenerate `appvm/nix/monitor.nix`:
|
By default uses 1920x1080. If you need to regenerate `appvm/nix/monitor.nix`:
|
||||||
|
|
||||||
$ $GOPATH/src/github.com/jollheef/appvm/generate-resolution.sh 3840 2160 > $GOPATH/src/github.com/jollheef/appvm/nix/monitor.nix
|
$ $GOPATH/src/code.dumpstack.io/tools/appvm/generate-resolution.sh 3840 2160 > $GOPATH/src/code.dumpstack.io/tools/appvm/nix/monitor.nix
|
||||||
|
|
||||||
Autodetection is a bash-spaghetti, so you need to check results. BTW it's just a X.org monitor section.
|
Autodetection is a bash-spaghetti, so you need to check results. BTW it's just a X.org monitor section.
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ Autodetection is a bash-spaghetti, so you need to check results. BTW it's just a
|
||||||
$ appvm start chromium --verbose
|
$ appvm start chromium --verbose
|
||||||
$ # ... long wait for first time, because we need to collect a lot of packages
|
$ # ... long wait for first time, because we need to collect a lot of packages
|
||||||
|
|
||||||
You can customize local settings in `$GOPATH/github.com/jollheef/appvm/nix/local.nix`.
|
You can customize local settings in `$GOPATH/code.dumpstack.io/tools/appvm/nix/local.nix`.
|
||||||
|
|
||||||
Default hotkey to release cursor: ctrl+alt.
|
Default hotkey to release cursor: ctrl+alt.
|
||||||
|
|
||||||
|
|
4
appvm.go
4
appvm.go
|
@ -116,7 +116,7 @@ func list(l *libvirt.Libvirt) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("\nAvailable VM:")
|
fmt.Println("\nAvailable VM:")
|
||||||
files, err := ioutil.ReadDir(os.Getenv("GOPATH") + "/src/github.com/jollheef/appvm/nix")
|
files, err := ioutil.ReadDir(os.Getenv("GOPATH") + "/src/code.dumpstack.io/tools/appvm/nix")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
@ -257,7 +257,7 @@ func stupidProgressBar() {
|
||||||
|
|
||||||
func start(l *libvirt.Libvirt, name string, verbose bool) {
|
func start(l *libvirt.Libvirt, name string, verbose bool) {
|
||||||
// Currently binary-only installation is not supported, because we need *.nix configurations
|
// Currently binary-only installation is not supported, because we need *.nix configurations
|
||||||
appvmPath := os.Getenv("GOPATH") + "/src/github.com/jollheef/appvm"
|
appvmPath := os.Getenv("GOPATH") + "/src/code.dumpstack.io/tools/appvm"
|
||||||
|
|
||||||
// Copy templates
|
// Copy templates
|
||||||
err := prepareTemplates(appvmPath)
|
err := prepareTemplates(appvmPath)
|
||||||
|
|
Loading…
Reference in a new issue