Citrix – Making CentOS Look Like Windows 10

Citrix – Making CentOS Look Like Windows 10

As part of my testing with the CVAD 1912 Linux VDA I came across the B00merang desktop themes which makes a Linux desktop look like Windows 10. I decided to explore whether the theme could be applied to Citrix sessions and after to some googling, got it up and running .

For testing I used the MCS CentOS clones which I already built out for my testing which I’m in the process of documenting on my wiki in the series Deploying The Linux VDA 1912 On CentOS 7 and uses a GNOME desktop.

Installing B00merang was simple enough and consisted of performing the following steps:

  • In a terminal session download the Windows 10 theme using the git command below:
git clone https://github.com/B00merang-Project/Windows-10.git
  • The theme is then downloaded to your home folder as a folder named Windows-10.  I moved it to the system themes so that it’s available for all users by executing the command below:
mv Windows-10 /usr/share/themes
  • After that I grabbed the icons using the git command and downloading the icons using the wget command below:
wget https://github.com/Elbullazul/Windows-10/releases/download/v0.9.6/Windows.10.Icons.v0.4.1.zip
  • Once downloaded I unzipped the archive and also copied to the system icons so that it’s available for everyone by executing the commands below:
unzip wget Windows.10.Icons.v0.4.1.zip

mv Windows.10.Icons.v04.1 /usr/share/icons
  • Following that I had to install the gnome-tweaks package using the yum command below:
yum install gnome-tweak-tool
  • Following that I launched a Citrix session as my normal AD user to my CentOS VDA and from a terminal opened gnome-tweaks and select Windows-10 for the Applications, Icons, and Shell as shown below:
Selecting the Windows-10 theme and icons
Selecting the Windows-10 theme and icons

This then gave me a Citrix session with the look and feel of Windows 10 as shown below but a couple of gripes I had with it was that a) the toolbar was still at the top, and b) the logoff button was still hidden away in the top right menu.

Gnome desktop with the B00merang theme
Gnome desktop with the B00merang theme

To get a closer experience of the theme B00merang can also use the cinnamon desktop so once I’d got the theme using git along with the icons, the next step was to install cinnamon by performing the following steps:

  • Install the epel repository by executing the yum command below:
yum install epel-release
  • Once the epel repository was installed the cinnamon desktop was also installed using yum as shown below:
yum install cinnamon

I now had the cinnamon desktop and the final change was to create an xsession file in my users home folder with the following text which I found on the Citrix discussions page Select Display Manager for Shared Desktop:

#!/bin/sh
export LD_PRELOAD='/usr/$LIB/libctxXrandrhook.so'
# Each line here tells Xorg to load a specific desktop environment when a desktop session is created.
# Remove the hash sign (#) to uncomment the instruction you want Xorg to execute.
# Prepend a hash sign to any line to comment it out.
# Only one line should be uncommented.
# 
# If you wish to revert this user back to gnome-classic, just remove executable rights from the xsession file
exec cinnamon-session # Cinnamon
# exec gnome-session # GNOME
# exec icewm # IceWM
# exec startkde # KDE
# ...or another installed Display Manager

I logged out and then back in again to get a cinnamon desktop and changed the theme in cinnamon to Windows-10 as shown below:

Selecting Windows-10 theme in cinnamon
Selecting Windows-10 theme in cinnamon

Now my desktop is starting to really look like Windows 10 although I can’t work out how to change the Menu button to a Windows 10 one !

Citrix Session with cinnamon desktop and the Windows 10 theme
Citrix Session with cinnamon desktop and the Windows 10 theme

Overall it was an interesting learning curve although I soon found out that the cinnamon desktop behaves a bit poorly in software rendering mode so it’s probably not one for shared desktops unless your kit’s got a GPU card in it !

Leave a Reply

Your email address will not be published.