UbuntuKDE22 VM

Update IP Address:

Edit /etc/netplan/01-network-manager-all.yaml

To something like this:

network:

version: 2

renderer: networkd

ethernets:

ens33:

addresses:

- 10.0.1.12/24

routes:

- to: default

via: 10.0.1.1

nameservers:

search: [domain.local]

addresses: [10.0.1.11,10.0.1.13]

Install Horizon Agent:

Needed Files:

# apt install make gcc libglvnd-dev open-vm-tools open-vm-tools-dev open-vm-tools-desktop

Then unzip and install agent (reboot afterwards)

Attach agent to horizon client

Enable RDP access:

# sudo apt install xrdp

Change default destkop if another one is installed:

# sudo update-alternatives --config x-session-manager

Install KDE:

# sudo apt install kde-full

See previous to change destkop

Install desktop settings as normal server:

https://thegnome.nchar.com/linux-links/a-base-linux-setup

When using a domain, you'll need to add home path or the desktop will get lots of errors. Do do this:

Edit /etc/apparmor.d/tunables/home.d/ubuntu

Uncomment the @{HOMEDIRS} to something such as this:

@{HOMEDIRS}+=/home/MYDOMAINCOMPANY/

Make sure to use the trailing slash. Reboot to restart all the services needed.

Make the Desktop use an upper toolbar to save space (like a mac *sigh*):

Add a blank new top pannel. Then add to it, from left to right: application menu, global menu, spacer, system area.

Add latte dock for the bottom menu

# sudo apt-get install latte-dock

Install windows button applet - Prerequisite:

# sudo apt-get install build-essential cmake extra-cmake-modules qtbase5-dev qtdeclarative5-dev libkf5declarative-dev libkf5plasma-dev libkdecorations2-dev gettext

Grab the install files:

https://github.com/psifidotos/applet-window-buttons

Then install from that directory:

# ./install.sh

Add app to top bar

Remove the borders of maximized windows in KDE

# kwriteconfig5 --file ~/.config/kwinrc --group Windows --key BorderlessMaximizedWindows true

# qdbus org.kde.KWin /KWin reconfigure

While this actually works -- if you've got latte active than you need to go to details of the layout and disable boarders there. Also support boarderless windows layouts in the default profile.



Resources:
https://ubuntu.com/server/docs/network-configuration
https://www.dedoimedo.com/computers/plasma-look-like-mac.html
https://www.dedoimedo.com/computers/plasma-global-menu-app-title-window-buttons-like-mac-unity.html
https://askubuntu.com/questions/253337/remove-title-bar-and-borders-on-maximized-windows-in-kubuntu