Only start VM when needed (KDE Plasma)
- Dominant language
- Shell
- Stars
- 10.3k
- Forks
- 452
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
so I'm new Github so excuse me for opening this as an issue but i didn't know where to put it.
So, i do not want to start the VM every time i boot my Kubuntu. Therefore, i wrote a little script and pinned that to the taskbar for starting the machine (prior to using word and Excel).
Why do that to begin with?
Running the VM all the time blocks some CPU and RAM. In case you primarily use your machine for calculations or gaming, continousily reserving resources might might not be the perfect solution. With this script, you can just start the machine as you need it. This script will work for GNOME as well, but as I don't know about pinning the apps there, I'm naming the topic specifically "KDE Plasma".
Below you can find the simple code. I know any advanced user will know this already but just in case...
1. Open a file (for example on the desktop)
2. paste the following:
#!/bin/bash
virsh start "RDPWindows"
3. save as XYZ.sh
4. right-click on the file, properties -> permissions -> tick "is executable"
5. right-click again on the file, pin to task-manager (in KDE)
6. Open "Virtual machine manager"
7. open the machine, press on Info

8. Untick "boot when host starts"

9. Done!
Now, everytime you want to use Word or Excel, you have to start XYZ.sh first (which boots the machine).
Regards
Crieo
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the issue's Bash script using virsh start "RDPWindows" and the KDE Plasma autostart steps. Determine whether on-demand VM startup belongs in winapps and what behavior should trigger it. Done means the VM is not started at host boot but is available when Word or Excel is launched.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, shell
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100