Print

Print


So this might work (worked for Ben as well)

sudo apt-get install at-spi2-core gnome-terminal gnome-control-center nautilus
sudo locale-gen
localectl set-locale LANG="en_GB.UTF-8"

then reboot

From: CCP-PETMR Developers list [mailto:[log in to unmask]] On Behalf Of Thielemans, Kris
Sent: 23 May 2017 14:16
To: [log in to unmask]
Subject: Re: Ubuntu settings missing and other

Hi

I got gnome-terminal working with

sudo apt-get install at-spi2-core
sudo locale-gen
localectl set-locale LANG="en_GB.UTF-8"

The byoby terminal now also has a menu bar etc.

Can someone try this? If this doesn’t work, we have to throw away the vagrant VM and install from a fresh (L)Ubuntu. We can then vote for which window manager to use…

kris


From: Nikos Efthimiou [mailto:[log in to unmask]]
Sent: 23 May 2017 13:24
To: Thielemans, Kris <[log in to unmask]<mailto:[log in to unmask]>>; [log in to unmask]<mailto:[log in to unmask]>
Subject: Re: Ubuntu settings missing and other


Hi,

You could try the less weird openbox:

1.     Run GUI applications without GUI

2.  sudo apt install xauth

Then any gui application that you install will also install the required dependencies. After you can connect with ssh -X command and run any gui application with X forwarding (never tried it with just xauth installed).

3.     Minimal GUI:

4.  sudo apt install xorg

5.  sudo apt install openbox --no-install-recommends

Run the command startx and openbox will start (you can open a terminal there and run any application you want)

6.     Minimal GUI with display manager:

7.  sudo apt install xorg

8.  sudo apt install lightdm-gtk-greeter --no-install-recommends

9.  sudo apt install lightdm --no-install-recommends

10.sudo apt install openbox --no-install-recommends

After reboot you will see the lightdm login menu (I don't know how you can make it not to start automatically but I don't think it consumes too much resources when you haven't logged in). Maybe some themes won't appear correct, so if you don't mind more dependencies install all packages in the same order without the --no-install-recommends option.

On 23/05/17 13:11, Thielemans, Kris wrote:
Hi

Installing ubuntu-gnome-desktop on top of the current VM meant that I can no longer open a terminal. In fact, reverting before gnome-desktop and just getting gnome-terminal means it can’t start. Oh well. Not sure what it depends on.

I need to get some lunch (and cry in a corner).

From: Casper da Costa-Luis [mailto:[log in to unmask]]
Sent: 23 May 2017 12:58
To: Thielemans, Kris <[log in to unmask]><mailto:[log in to unmask]>
Cc: [log in to unmask]<mailto:[log in to unmask]>
Subject: RE: Ubuntu settings missing and other

Hi Kris,

Maybe we should be using ubuntu server edition (which is less bloated) and installing ubuntu-gnome-desktop on top of that?

On the current system, after we install something like ubuntu-gnome-desktop, we can remove gnome3 which should reduce the size, right? I think ubuntu-gnome-desktop depends on gnome2, but I may be wrong.

Regards,
Casper

On 23 May 2017 12:48 p.m., "Thielemans, Kris" <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hi

Yes, we want to minimise the size of the VM, but on the other hand the user experience shouldn’t be too much “out of the normal”.

I don’t really want to get into discussions on Window Managers etc. XFCE is a bit weird as well I think. I don’t know i3. My understanding is that Ubuntu now comes with gnome3.

We’re using
https://atlas.hashicorp.com/box-cutter/boxes/ubuntu1604
which is Ubuntu 16.04 LTS server. It has some bits of gnome clearly, just not enough.

Ubuntu-gnome-desktop will add 1.5GB disk space (download was 0.5GB). Not sure what that’d give after export. I’m trying this now just to see if makes more sense.

Nikos’ message below for reference
-----------

Would you consider i3wm window manager. It is tiled ... but as long as you just need to open spyder or a couple of terminal it would work like a charm. Plus, it is very small.

Could can use it in combination to gnome-base, to have the regular daemons and tools.

https://askubuntu.com/questions/595563/fresh-install-of-ubuntu-with-i3wm
---------

From: CCP-PETMR Developers list [mailto:[log in to unmask]<mailto:[log in to unmask]>] On Behalf Of Casper da Costa-Luis
Sent: 23 May 2017 12:37
To: [log in to unmask]<mailto:[log in to unmask]>
Subject: Re: Ubuntu settings missing and other

Hi,

We could replace MATE with i3 as per Nikos' suggestion. I think the point is to keep size down so even ubuntu-gnome-desktop (0.5GB) is preferable to MATE (2.4GB)? Unless Kris meant 5GB...

In my experience X11+window manager tend to take up at least 1GB, even with something like lxde. Don't know of any neat way around that. Are we currently using ubuntu server and manually installing gnome3?

Casper

On 23 May 2017 12:29 p.m., "Edoardo Pasca" <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Just tested

MATE: requires 2.4 Gb
XFCE: 129 Mb
Gnome-control-center: 157 Mb

I think that it doesn’t harm if we distribute a VM with XFCE and if the user wants can get whatever she likes.

Edo

From: CCP-PETMR Developers list [mailto:[log in to unmask]<mailto:[log in to unmask]>] On Behalf Of Edoardo Pasca
Sent: 23 May 2017 12:16
To: [log in to unmask]<mailto:[log in to unmask]>
Subject: Re: Ubuntu settings missing and other

On my debian 8 I decided to install MATE, which is a fork of the GNOME2. It is supported by Ubuntu

https://ubuntu-mate.org/

I really wouldn’t suggest GNOME 3.

Edo

From: Thielemans, Kris [mailto:[log in to unmask]]
Sent: 23 May 2017 11:54
To: Pasca, Edoardo (STFC,RAL,SC) <[log in to unmask]<mailto:[log in to unmask]>>; [log in to unmask]<mailto:[log in to unmask]>
Subject: RE: Ubuntu settings missing and other

Yes, agreed.

yes the machine is too bare. The byoby terminal looks friendlier than xterm but I still see no menu and cannot copy-paste (except with middle-click).

Installing Ubuntu-gnome-desktop is a .5GB download... I’m not sure about this, neither is Ben. Nikos, Casper, any ideas?

Kris


From: CCP-PETMR Developers list [mailto:[log in to unmask]] On Behalf Of Edoardo Pasca
Sent: 23 May 2017 11:12
To: [log in to unmask]<mailto:[log in to unmask]>
Subject: Ubuntu settings missing and other

Hi all,

The VM is _very_ bare minimum and it misses the app to change the settings, like monitor, keyboard and stuff. I guess this is allright because it allows to distribute a small appliance.

Do you have suggestion of which packages we may (suggest to) install to make the machine a little bit more user friendly?

I mean using xterm in Gnome3 is a clash of cultures…

Edo

--
Edoardo Pasca, PhD
Visual Analytics and Imaging Systems Group
Scientific Computing Department, STFC Rutherford Appleton Laboratoty
0044 (0)1235 44 5660
:wq