Page tree

The Green Linux Desktop Concept

What you get with your Green Linux Desktop:

  • Ubuntu 18.04 LTS (or previous versions)
  • GNOME Desktop (DESY Default Desktop)
  • Fully and exclusively managed by Puppet config management
  • Kerberos and AFS credentials to fully integrate into other DESY systems
  • A local home directory (without backup) with certain links precreated into your AFS home directory (backup)
    • Documents : Your documents, presentations, ...
    • private : Your private folder
    • public : An AFS sharing folder accessible by others via AFS
    • www : The directory accessible by others via the http://www.desy.de/~accountname
    • afs : Your AFS home
    • ... you are of course free to create other links into AFS on your own
  • Possibility to install further software on your own, without needing root permissions
  • Full support for the operating system: Contact UCO

Please check the summary page for informations on the version availability, and for comments about OpenAFS.

Software installation

software can be installed from preconfigured repositories. These are currently:

$ ls -l /etc/apt/sources.list.d/
total 40
-rw-r--r-- 1 root root 152 Mar 25 09:55 desy.list
-rw-r--r-- 1 root root 115 Mar 25 09:55 elastic.list
-rw-r--r-- 1 root root 131 Mar 25 09:55 google-chrome.list
-rw-r--r-- 1 root root 136 Mar 25 09:55 nextcloud-client.list
-rw-r--r-- 1 root root 126 Mar 25 09:55 oracle-java.list
-rw-r--r-- 1 root root 134 Mar 25 09:55 puppetlabs.list
-rw-r--r-- 1 root root 254 Mar 25 09:55 ubuntu.list
-rw-r--r-- 1 root root 178 Mar 25 09:55 ubuntu-partner.list
-rw-r--r-- 1 root root 281 Mar 25 09:55 ubuntu-security.list
-rw-r--r-- 1 root root 278 Mar 25 09:55 ubuntu-updates.list

You will see that we provide some software via our own repos, and that we also include repos from other products that might be of interest to DESY users.

Available software can be queried on the command line using e.g.

$ apt-cache search someapp

However, installing software using apt will fail, as users have no root access. Also sudo will not help.

The only way to install software is via the Ubuntu Software Center / 18.04: "Packages". When using Unity desktop, an icon presenting a bag with an "A" on it should be present - that is the Ubuntu Software Center. 18.04: "Packages" is a brown box with a green arrow.

Skype, Vidyo, Chrome Browser, OwnCloud client, ...

... the above section. Although these software programms are not part of the standard Ubuntu repositories, we have configured special repositories. The software is available via Ubuntu Software Center. Please note that for searching, you might need to enter the full name of the software, "sky" for "skype" might not be sufficient unless you press the "Show technical items" link at the very bottom of the window.

Compiling and installing sofware

If compiled, some software by default wants to install itself into directories not writable to normal users.

Changing these defaults usually is very easy. Software then can be installed into local user directories, or even on network shares. The latter has the advantage, that software is available also on other machines.

Have a look at https://confluence.desy.de/display/IS/Local+Software+installation for a brief overview.

Docker and the Green Desktop?

This is possible since Ubuntu 18.04, please check Docker on Green Desktop for more details.

Python and pip

Often, python packages should be installed using pip.

This can be done:

  • make sure the Ubuntu Package python-pip is installed (see above, use the software center if needed)
  • Then
    pip install YourApplication 
    under your account. This will install software in $HOME

Mounting Windows directories

This is possible without root access using Nautilus (The standard Ubuntu File System Browser).

Please check

http://it.desy.de/services/uco/documentation/win_network_drives_smb/index_eng.html

for documentation.

Other SMB services like the ASAP3 system work in a similar fashion.

One word of caution: You SHOULD NOT click "Remember forever" because of troubles when changing password: Your account might get suspended because of too many failures.

Configuring default printer

No default printer is set, so if an application is using "default printer" , the first one in the row is used.

You can (and maybe should) change this: Click on "System settings", then "Printers". Chose the printer you like and right-click on it. Then click on "Set as default". You then should chose "set as my personal default printer" ... you cannot change the system-wide settings.

Changing Windows Manager

For Ubuntu 18.04 and upwards, GNOME is the default window manager. For Ubuntu 16.04 and older, Unity is the default window manager.

DESY IT recommends to stick with the default window manager.

However, should you feel the need to use another one, you can do so - at your own risk.

When logging in, click on the small Ubuntu logo next to the username/password field, and you are prompted to alternatives.

KDE is by default not installed on the system, so cannot be chosen. To install KDE, please use the Ubuntu Software Center and install Kubuntu - this will install all necessary files and configure the login manager.

FVWM2 and ICEWM and some other window manager are also available via the Software Center.

But, again, some features are only available via Unity.

Changing language for users

You can change the language used within the Ubuntu Desktop:

  • Open System Settings
  • Open Language Support
  • Chose the desired language in the list and drag it to the first position in the list
  • A language which is grey does not yet have language packages installed. If your language of choice is greyed out, click on Install/Remove Languages and select the language. All needed packages will be installed
  • DO NOT click on Apply System-Wide: This is not necessary for you and would break DESY system configuration.
  • Log-out and log-in again
  • On login, you will be asked whether you want to update the names for system folders (.e.g. Documents -> Dokumente). DO NOT perform this action, as they will break links to AFS that we have configured for you

If you have changed your language, please do not forget that support can only help with German or English error messages.

Changing Capslock behaviour

You can change the language used within the Ubuntu Unity Desktop:

  • Install gnome-tweak-tool using the Ubuntu Software Center

  • run gnome-tweak-tool (16.04) or gnome-tweaks (18.04) from the console

  • 16.04: Select "typing" from the left bar

  • 16.04: Chose the "Caps lock behaviour" you need

  • 16.04: Close gnome-tweak-tool to save

  • 18.04: Chose "Keyboard & Mouse" from the left menu

  • 18.04: Chose "Additional Layout Options"

  • 18.04: "Cap Lock Behaviour" -> "Caps Lock is disabled"  and close to save

Ksplice

Ksplice is a commercial tool allowing to patch the Linux Kernel while running.

Its use for DESY desktops is discouraged, and the product is not installed by default:

  • Too many operational issues have been observed
  • Ksplice does not fix issues on the glibc and systemd, thus providing only partial security
  • No labels