Tips & Tricks Blog
Notes, ideas and general comments on anything related to high-tech.

July 30, 2021

Adding borders to terminal windows under Ubuntu 18.04

Filed under: Linux

The new fashion of having borderless windows is quite annoying (struggled with that under both MS Win 10 and Ubuntu).
Here’s the solution for Ubuntu (combined from a couple posts on stack overflow)…

First make “~/.config/gtk-3.0/gtk.css” with the following content:

decoration {
  border: 1px solid gray;
  background: gray;
}

Second paste this into shell and after that run “reload_gtk_theme”:

function reload_gtk_theme() {
  theme=$(gsettings get org.gnome.desktop.interface gtk-theme)
  gsettings set org.gnome.desktop.interface gtk-theme ''
  sleep 1
  gsettings set org.gnome.desktop.interface gtk-theme $theme
}

March 4, 2017

ESXi 6.5 and Ubuntu clipboard

Filed under: ESXi, Linux

Every time I have to set up new ESXi and add Ubuntu machine templates I’m getting into the same troubles, now writing it down to remember…
VmWare tools and clipboard are not working in Ubuntu desktop, so for the recent Ubuntu versions (14.xx, 16.xx):

1. In the ESXi host add the last 2 lines to the config and reboot:
[root@esxi1:~] cat /etc/vmware/config
libdir = “/usr/lib/vmware”
authd.proxy.nfc = “vmware-hostd:ha-nfc”
authd.proxy.nfcssl = “vmware-hostd:ha-nfcssl”
authd.proxy.vpxa-nfcssl = “vmware-vpxa:vpxa-nfcssl”
authd.proxy.vpxa-nfc = “vmware-vpxa:vpxa-nfc”
authd.fullpath = “/sbin/authd”
isolation.tools.copy.disable=”FALSE”
isolation.tools.paste.disable=”FALSE”

2. In the Ubuntu guest instead of installing the tools bundled with ESXi:
sudo apt-get install open-vm-tools-desktop



Home

OkOb.net Tips & Tricks Blog
Powered by WordPress