Score:1

Installing Ubuntu in VM with Vagrant without automatically installing GNOME?

in flag

I'm setting up a vagrant script on my MacBook Pro to set up an Ubuntu Focal LTS VM. I've provisioned it to install Mate DE, but when I set it up, it's automatically installing GNOME and overwriting Mate. I know Mate is based off of GNOME 2, but that doesn't seem to be the reason as previously today, the mate provision was fine (I've been tweaking things and doing vagrant up and vagrant destroy on and off all day).

My Vagrantfile is installing config.vm.box = "ubuntu/focal64" and my provision file can be found here

Thank you folks

in flag
Silly question, but why not start with an Ubuntu MATE image rather than stock Ubuntu?
in flag
@matigo I can't find any based off of 20.04 LTS that still works with a proper mate. I've just tried https://app.vagrantup.com/chenhan/boxes/ubuntu-mate-desktop-20.04 and it still boots into a broken gnome de. I've also tried doing this: https://superuser.com/a/686001 and nothing
N0rbert avatar
zw flag
I would recommend to replace line 9 with `apt-get install -y ubuntu-mate-desktop^` . Note `^` at the end, it means task package, so MATE will be installed exactly as in Ubuntu MATE. And please do not change system version of the Python, comment out lines 20-26. It may break the whole system.
in flag
@N0rbert I managed to figure out the MATE install thing. But why don't I want to change the python version? Is there not a way to make `python3` launch py310 then?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.