2. Installing cassowary on Windows (guest) and Linux (host)
February 13, 2022 ยท View on GitHub
On Windows (guest)
- Open Settings, click on System, scroll to bottom and click on Remote desktop then click on Enable Remote Desktop and click confirm!
- Open this page and download latest .zip from the release page
- Extract the downloaded .zip file
- Double click on
setup.batlocated on extracted directory - Logout and login again to windows session
- After you have logged in continue the instructions below
On Linux (host)
Here we will be using Arch Linux. You can easily find equivalent commands for your Linux distro.
- Go to the release page and download latest
.whl; - Open terminal on the location where you downloaded the
.whlfile; - Install
python3,python3-pip,freerdp2,libvirt-python3packages and dependencies by running following commands on terminal:
$ sudo pacman -S python3 python3-pip freerdp libvirt-python
$ pip3 install PyQt5
- Install the downloaded
.whlfile by running:
$ pip install cassowary*
If you get any warning about the folder
/home/$USER/.local/binnot in your PATH, you can easily add it by adding it to your$HOME/.profileor$HOME/.bash_profile:echo "PATH=\$PATH:$HOME/.local/bin" >> $HOME/.profile
- Launch cassowary configuration utility with:
$ python3 -m cassowary -a
- Head over to Misc tab and click on "Setup Autostart" and "Create". This will bring cassowary to your application menu and setup background service autostart;
- Enter the VM name from the VM setup step; in this case
Win10; - Click on "Save changes" and then on "Autodetect", this should automatically fill up the VM IP;
- Click "Save changes" again then click "Autofill host/username" then enter the password you set during the windows setup. Then click "Save changes" again;
- Now goto "Guest app" tab and create shortcut for any application you want.
Now you can find application on your application menu which you can use to launch apps easily You can explore other commandline usage of cassowary by running:
$ python -m cassowary -h