You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch to Remmina for connect, add fullscreen option
Fixes#48 to no longer logout of Windows after being disconnected for 60
seconds (only applies to new installs)
Fixes non passwordless sudo systems trying to install any new
dependencies in a non-visible shell
Fixes usb forwarding udev file not being deleted if usb_passthrough
variable is commented
Changes WM_CLASS for yad to be bvm
Closes#50
After these Remmina optimizations, it runs just as fast as freerdp, but
more reliably and sets window decorations. In a future commit I may
remove freerdp completely.
Restructure config file to be more intuitive
Now support new-vm mode being used to reset the config files
--text="Select USB devices to forward to the VM."$'\n'"Forwarded devices will stop working on Linux while the VM is running."$'\n'"Keyboard/mouse: bad idea unless you need all Windows keyboard shortcuts. Must use viewing mode "\""Direct"\"".")"||return 0
@@ -766,6 +767,7 @@ fi
766
767
[ -z"$debloat" ] && debloat=true
767
768
[ -z"$disksize" ] && disksize=40
768
769
[ -z"$free_ram_goal" ] && free_ram_goal=100
770
+
[ -z"$fullscreen" ] && fullscreen=false
769
771
if [ -z"$vm_mem" ];then
770
772
#choose RAM to allocate to VM - 1GB less than total RAM
error "The $DL_DIR directory is on a FAT32/FAT16/vfat partition. This type of partition cannot contain files larger than 4GB, however the Windows image will be larger than that.\nPlease format the drive with an Ext4 partition, or use another drive."
824
829
fi
825
830
826
-
install_dependencies ||exit 1
831
+
#avoid trying to run sudo not in a terminal, in case a password is necessary
832
+
if [ "$mode"!= gui ];then
833
+
install_dependencies ||exit 1
834
+
fi
827
835
828
836
echo"BVM mode $mode"
829
837
@@ -898,7 +906,7 @@ To get a fresh VM up and running, use a sequence like this:
898
906
newvm) #1
899
907
if [ -f"$vmdir/gui-steps-complete" ];then
900
908
#pick location for new VM, this one already exists
901
-
vmdir="$(yad --window-icon "${DIRECTORY}/resources/graphics/icon.png" --class wlfreerdp --name wlfreerdp --title "BVM" --center --directory --file --save --width 500 --text="$vmdir already exists."$'\n'"Proceed only if you are trying to make a second VM.")"
909
+
vmdir="$(yad --window-icon "${DIRECTORY}/resources/graphics/icon.png" --class bvm --name bvm --title "BVM" --center --directory --file --save --width 500 --text="$vmdir already exists."$'\n'"Proceed only if you are trying to make a second VM.")"
902
910
if [ !-z"$vmdir" ] && [ "$vmdir"!="$HOME" ];then
903
911
kill$YAD_PID
904
912
export vmdir
@@ -934,15 +942,22 @@ To get a fresh VM up and running, use a sequence like this:
934
942
935
943
#change green message to not say next step
936
944
define_step_complete="$(echo "$define_step_complete"| sed 's+Please close this terminal to proceed to the next step\.+Thank you for using BVM! This terminal can be closed now.+g')"
--text="Botspot Virtual Machine, at your service.$([ "$vmdir"!="$HOME/win11" ] &&echo -e "\nvmdir: <u>$vmdir</u>")" \
1042
1058
--field="<b>New Virtual Machine</b>!${DIRECTORY}/resources/graphics/1.png!Make a folder to put the VM files in - by default this is ~/win11":FBTN "@bash -c 'clickhandler newvm'" \
@@ -1045,7 +1061,7 @@ To get a fresh VM up and running, use a sequence like this:
1045
1061
--field="<b>Prepare for installation</b>!${DIRECTORY}/resources/graphics/4.png!Bundle up driver files and get ready for first boot":FBTN "$initial_button4" \
1046
1062
--field="<b>Install Windows 11</b>!${DIRECTORY}/resources/graphics/5.png!Boot the VM for the first time to install Windows":FBTN "$initial_button5" \
1047
1063
--field="<b>Run Windows 11</b>!${DIRECTORY}/resources/graphics/6.png!Boot the VM normally":FBTN "$initial_button6" \
0 commit comments